Localization method, location information calculation method, system, terminal and storage medium
Technical field
The present invention relates to internet of things field more particularly to localization method, location information calculation method, systems, terminal
And storage medium.
Background technique
Internet of Things is the important component of generation information technology, and the important development stage in " informationization " epoch.
Its English name is: " Internet of things (IoT) ".As its name suggests, Internet of Things is exactly the connected internet of object object.This
There is two layers of meaning: first, the core of Internet of Things and basis are still internet, it is extension and extension based on the internet
Network;Second, its user terminal extends and extends between any article and article, information exchange and communication are carried out, that is,
Object object mutually ceases.Internet of Things communicates cognition technology by Intellisense, identification technology and general fit calculation etc., is widely used in network
In fusion, also therefore it is referred to as the third wave that world information industry develops after computer, internet.Internet of Things is mutual
The application extension of networking, rather than Internet of Things is network, Internet of Things is business and application.Therefore, application innovation is object
The core of networking development is the soul of Internet of Things development using user experience as the innovation 2.0 of core.
Currently, popularizing with global position system, mobile phone autonomous positioning becomes mainstream.But for Internet of Things IOT
For terminal, the physical entities such as GPS chip and the equal nothing of scheme for shortening positioning time based on server- aided downloading almanac data
Method will be in lower power consumption to the IOT terminal for using disposable battery power supply that can work the several years.
Therefore, the new resolving ideas for not increasing positioning expense and invention are found, by the great application for expanding IOT terminal
Field.
Summary of the invention
In view of this, the technical problem to be solved in the present invention is to provide a kind of localization method, location information calculation method, being
System, terminal and storage medium lead to internet-of-things terminal positioning power consumption are biggish to ask to solve the existing GPS positioning technology of terminal
Topic.
It is as follows that the present invention solves technical solution used by above-mentioned technical problem:
A kind of localization method is applied to terminal, the described method comprises the following steps:
Obtain terminal wake-up signal;
Network resident is carried out by 3GPP technology;
User Payload data are sent to Cloud Server;
Cloud Server is received to be calculated according to the positional parameter vector that the user Payload data and core net node provide
The location information of acquisition;
The location information is being locally stored and is executing location tasks using the location information.
Further, the step of the method further comprises to Cloud Server transmission user Payload data: taking to cloud
Business device sends user Payload data and local time zone information and current time information corresponding with time zone.
Further, the step of the method receives Cloud Server according to the user Payload data and core net section
The positional parameter vector that point provides calculates the location information obtained:
Receive the location information that Cloud Server is fed back to terminal, the acquisition process of the location information are as follows: Cloud Server obtains
When to user's Payload data, positional parameter acquisition request is initiated to cellular core network node, core net node is received and is taken to cloud
The positional parameter vector that business device returns, the complicated position for then carrying out carrier-class calculate and multiple positioning planes are carried out difference
Change.
To solve the above problems, furthermore providing a kind of positioning system, the positioning system includes:
Terminal, the terminal setting are as follows: after obtaining terminal wake-up signal, network resident, Xiang Yun are carried out by 3GPP technology
Server sends user Payload data;And receive Cloud Server fed back to terminal location information, be locally stored and making
Location tasks are executed with the location information;
Cloud Server, the Cloud Server setting are as follows: user's Payload data that terminal is sent are received, according to the use
The positional parameter vector that family Payload data and core net node provide calculates location information and feeds back to associated terminal.
Further, the Cloud Server is further arranged to: user's Payload data that terminal is sent is received, from connecing
Positional parameter information is obtained in user's Payload data of receipts, when Cloud Server obtains data, is initiated to cellular core network node
Positional parameter acquisition request receives the positional parameter vector that core net node is returned to Cloud Server, then carries out carrier-class
Complicated position calculate and by multiple positioning planes carry out differencing acquisition location information.
Further, the terminal is further arranged to: after obtaining terminal wake-up signal, carrying out network by 3GPP technology
It is resident, user Payload data and local time zone information and current time information corresponding with time zone are sent to Cloud Server;With
And receive Cloud Server feed back to terminal location information, be locally stored and using the location information execution location tasks.
To solve the above problems, furthermore providing a kind of location information calculation method, it is applied to Cloud Server, the side
Method the following steps are included:
Positional parameter information is obtained from received user Payload data;
When Cloud Server obtains data, positional parameter acquisition request is initiated to cellular core network node, receives core net section
The positional parameter vector that point is returned to Cloud Server;
The complicated position for carrying out carrier-class calculates and multiple positioning planes is carried out differencing.
Further, when the step Cloud Server of the method obtains data, positioning ginseng is initiated to cellular core network node
Number acquisition request, receiving the positional parameter vector that core net node is returned to Cloud Server includes: before synchronous cellular network base
Stand pond information to cellular network core net node.
To solve the above problems, furthermore provide a kind of terminal, including memory, processor and at least one stored
In the memory and it is configured as the finder executed by the processor, at least one described finder is configured
For for executing localization method described in any of the above-described claim.
To solve the above problems, furthermore providing a kind of storage medium, it is stored with finder on the storage medium,
The step of finder realizes localization method described in any of the above embodiments when being executed by processor.
Localization method, location information calculation method, system, terminal and the storage medium that the present invention realizes, by by cloud
Server obtains positional parameter according to cellular network node by Cloud Server and carries out location Calculation, then obtains used for positioning
The latitude and longitude information of acquisition is fed back to terminal again by latitude and longitude information, Cloud Server, to make terminal obtain location information, relatively
In existing GPS positioning mode, the power consumption of terminal is greatly reduced, battery capacity has been saved, use can be widely used in
The internet-of-things terminal of disposable battery.
Detailed description of the invention
Fig. 1 is that various embodiments of the present invention position operation schematic diagram;
Fig. 2 is the localization method implementation process diagram that first embodiment of the invention provides;
Fig. 3 is the location information schematic diagram of calculation flow that third embodiment of the invention provides.
Specific embodiment
In order to be clearer and more clear technical problems, technical solutions and advantages to be solved, tie below
Drawings and examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only
To explain the present invention, it is not intended to limit the present invention.
Embodiment one
First embodiment of the invention provides a kind of localization method, is applied to terminal, the described method comprises the following steps:
S11 obtains terminal wake-up signal;
Specifically, the signal that terminal wakes up can be terminal starting-up signal, the signal that terminal screen is lit, or there is foreground
Signal or terminal that task is executed in terminal turn to the signal of high power operation from low power run.
S12 carries out network resident by 3GPP technology;
Network resident is carried out by 3GPP technology, including but not limited to 2G/3G/4G/NB-IoT/5G carries out network resident,
3GPP is mainly worked out based on GSM core net, and UTRA (FDD is W-CDMA technology, and TDD is TD-CDMA technology) is wireless
The third-generation technology specification of interface, the target of 3GPP are to realize by the smooth transition of 2G network to 3G network, guarantee WeiLai Technology
Backwards compatibility, support the roaming and compatibility between light networking and system.
S13 sends user Payload data to Cloud Server;
Internet-of-things terminal and cellular network base station communication, and communication registration is completed, into connection status.
Terminal sends Payload data to Cloud Server by resident network;Payload data (the Payload
Data) refer to the part data that recite information.Usually when transmitting data, in order to keep data transmission more reliable, original
Beginning data batchwise transfer, and certain auxiliary information is all added in the head and tail of every batch of data, such as this batch of data amount
Size, check bit etc. is equivalent in this way to initial data adds some housings in batches, these housings play mark and make
With so that initial data is not easy to lose.Batch of data adds its " housing ", is formed transmission list basic in transmission channel
Member is called data frame or data packet (some places data frame and data packet be not identical concept such as network transmission).These
The initial data of record information in data frame is exactly payload data, i.e. Payload data.
In order to keep location information more accurate, the data that terminal is sent after resident to Cloud Server, in addition to including user
It can also include local time zone information and current time information corresponding with time zone except Payload data.The information can be into
Terminal major edge calculating task of the one-step optimization based on position and time, time zone.
S14 receives the positional parameter vector that Cloud Server is provided according to the user Payload data and core net node
Calculate the location information obtained;
When Cloud Server receives user's Payload data, positional parameter acquisition request is initiated to cellular core network node, is looked into
Ask the present terminal presence information and the relevant parameter letter of cellular radio (cellular radio) of 3GPP core network element MME
Breath receives the positional parameter vector that core net node is returned to Cloud Server;Then Cloud Server is according to the parameter information of acquisition
It carries out the complicated position location computation of carrier-class (carrier grade) and multiple positioning planes is subjected to differencing, obtain
Location information;Cloud Server passes through the longitude and latitude and optional elevation information expressed with coordinate systems such as WGS-84, GCJ-2
UDP or TCP link is handed down to terminal.
It in core net node data deficiencies, optionally needs to obtain base station pond information, is such as obtained from MME.
The core net: simply, mobile network can be divided into three parts, base station sub-system, network subsystem
System and system support section such as safety management etc. these.Core network part is exactly to be located in network subsystem, core net
Main function is the call request or request of data that A mouthfuls are come up, and is routed on different networks.MME(Mobility
Management Entity) it is the key control node that 3GPP agreement LTE accesses network, it is responsible for the UE (User of idle mode
Equipment process, including relaying are notified from a phone call in positioning), and briefly MME is responsible for signaling processing part.
The location information is being locally stored and is executing location tasks using the location information by S15.
Terminal applies enter dormant state after using location data, to reduce power consumption to greatest extent.
The reduction of power consumption can be embodied by comparing with current existing GPS/AGPS scheme:
Comparative indices include processing time and operating current:
The internet-of-things terminal of 1.1GPS/AGPS scheme there are thermal starting, warm starting, be cold-started several scenes.Battery power supply
Internet-of-things terminal can not accomplish that GPS chip is normally opened, therefore thermal starting is not suitable for this scene.Therefore more to save power consumption
Warm starting for compare: TTFF index (primary positioning time) industry level average value was at 23.6 seconds or so, work
Electric current is above or below 50mA.
1.2 counterpart terminals of the present invention are after uplink Payload has been sent, it is only necessary under waiting under idle mode state
Cell message of the row containing latitude and longitude information is 3GPP agreement T3324 10 seconds a length of when most, and corresponding operating current is on 5mA
Under.
The localization method that the present embodiment is realized, working time shorten 50% or so, operating current and are reduced to original 1/10
Left and right;It is worked while power consumption is greatly reduced, operating time shortens with low current, the service life of battery can be greatly prolonged,
To increase the service life of terminal.
Embodiment two
Second embodiment of the invention also provides a kind of positioning system, and the positioning system includes:
Terminal, the terminal setting are as follows: after obtaining terminal wake-up signal, network resident, Xiang Yun are carried out by 3GPP technology
Server sends user Payload data;And receive Cloud Server fed back to terminal location information, be locally stored and making
Location tasks are executed with the location information;
Specifically, the signal that terminal wakes up can be terminal starting-up signal, the signal that terminal screen is lit, or there is foreground
Signal or terminal that task is executed in terminal turn to the signal of high power operation from low power run.
Network resident is carried out by 3GPP technology, including but not limited to 2G/3G/4G/NB-IoT/5G carries out network resident,
3GPP is mainly worked out based on GSM core net, and UTRA (FDD is W-CDMA technology, and TDD is TD-CDMA technology) is wireless
The third-generation technology specification of interface, the target of 3GPP are to realize by the smooth transition of 2G network to 3G network, guarantee WeiLai Technology
Backwards compatibility, support the roaming and compatibility between light networking and system.
Internet-of-things terminal and cellular network base station communication, and communication registration is completed, into connection status.
Terminal sends Payload data to Cloud Server by resident network;Payload data (the Payload
Data) refer to the part data that recite information.Usually when transmitting data, in order to keep data transmission more reliable, original
Beginning data batchwise transfer, and certain auxiliary information is all added in the head and tail of every batch of data, such as this batch of data amount
Size, check bit etc. is equivalent in this way to initial data adds some housings in batches, these housings play mark and make
With so that initial data is not easy to lose.Batch of data adds its " housing ", is formed transmission list basic in transmission channel
Member is called data frame or data packet (some places data frame and data packet be not identical concept such as network transmission).These
The initial data of record information in data frame is exactly payload data, i.e. Payload data.
In order to keep location information more accurate, the data that terminal is sent after resident to Cloud Server, in addition to including user
It can also include local time zone information and current time information corresponding with time zone except Payload data.The information can be into
Terminal major edge calculating task of the one-step optimization based on position and time, time zone.
After terminal obtains location information, it is being locally stored and is executing location tasks using the location information, positioning is completed
Enter dormant state, afterwards to reduce power consumption to greatest extent.
Cloud Server, the Cloud Server setting are as follows: user's Payload data that terminal is sent are received, according to the use
The positional parameter vector that family Payload data and core net node provide calculates location information and feeds back to associated terminal.
When Cloud Server receives user's Payload data, positional parameter acquisition request is initiated to cellular core network node, is looked into
Ask the present terminal presence information and the relevant parameter letter of cellular radio (cellular radio) of 3GPP core network element MME
Breath receives the positional parameter vector that core net node is returned to Cloud Server;Then Cloud Server is according to the parameter information of acquisition
It carries out the complicated position location computation of carrier-class (carrier grade) and multiple positioning planes is subjected to differencing, obtain
Location information;Cloud Server passes through the longitude and latitude and optional elevation information expressed with coordinate systems such as WGS-84, GCJ-2
UDP or TCP link is handed down to terminal.
It in core net node data deficiencies, optionally needs to obtain base station pond information, is such as obtained from MME.
The core net: simply, mobile network can be divided into three parts, base station sub-system, network subsystem
System and system support section such as safety management etc. these.Core network part is exactly to be located in network subsystem, core net
Main function is the call request or request of data that A mouthfuls are come up, and is routed on different networks.MME(Mobility
Management Entity) it is the key control node that 3GPP agreement LTE accesses network, it is responsible for the UE (User of idle mode
Equipment process, including relaying are notified from a phone call in positioning), and briefly MME is responsible for signaling processing part.
The reduction of power consumption can be embodied by comparing with current existing GPS/AGPS scheme:
Comparative indices include processing time and operating current:
The internet-of-things terminal of 1.1GPS/AGPS scheme there are thermal starting, warm starting, be cold-started several scenes.Battery power supply
Internet-of-things terminal can not accomplish that GPS chip is normally opened, therefore thermal starting is not suitable for this scene.Therefore more to save power consumption
Warm starting for compare: TTFF index (primary positioning time) industry level average value was at 23.6 seconds or so, work
Electric current is above or below 50mA.
1.2 counterpart terminals of the present invention are after uplink Payload has been sent, it is only necessary under waiting under idle mode state
Cell message of the row containing latitude and longitude information is 3GPP agreement T3324 10 seconds a length of when most, and corresponding operating current is on 5mA
Under.
The positioning system that the present embodiment is realized, working time shorten 50% or so, operating current and are reduced to original 1/10
Left and right;It is worked while power consumption is greatly reduced, operating time shortens with low current, the service life of battery can be greatly prolonged,
To increase the service life of terminal.
Embodiment three
Third embodiment of the invention provides a kind of location information calculation method, is applied to Cloud Server, the method includes
Following steps:
S21 obtains positional parameter information from received user Payload data;
S22 when Cloud Server obtains data, initiates positional parameter acquisition request to cellular core network node, receives core
The positional parameter vector that net node is returned to Cloud Server;
When Cloud Server receives user's Payload data, positional parameter acquisition request is initiated to cellular core network node, is looked into
Ask the present terminal presence information and the relevant parameter letter of cellular radio (cellular radio) of 3GPP core network element MME
Breath receives the positional parameter vector that core net node is returned to Cloud Server;Then Cloud Server is according to the parameter information of acquisition
It carries out the complicated position location computation of carrier-class (carrier grade) and multiple positioning planes is subjected to differencing, obtain
Location information;Cloud Server passes through the longitude and latitude and optional elevation information expressed with coordinate systems such as WGS-84, GCJ-2
UDP or TCP link is handed down to terminal.
It include: synchronous cellular network base station pond before the step S22 of the method in core net node data deficiencies
Information is such as obtained from MME to cellular network core net node.
The core net: simply, mobile network can be divided into three parts, base station sub-system, network subsystem
System and system support section such as safety management etc. these.Core network part is exactly to be located in network subsystem, core net
Main function is the call request or request of data that A mouthfuls are come up, and is routed on different networks.MME(Mobility
Management Entity) it is the key control node that 3GPP agreement LTE accesses network, it is responsible for the UE (User of idle mode
Equipment process, including relaying are notified from a phone call in positioning), and briefly MME is responsible for signaling processing part.
S23, the complicated position for carrying out carrier-class calculate and multiple positioning planes are carried out differencing.
The location information calculation method that the present embodiment is realized, by being taken using the cloud of operational capability and power supply abundance
Business device makes full use of core net to obtain positional parameter vector necessary to calculating longitude and latitude information, is then calculated according to set algorithm
Specific latitude and longitude information out is realized for internet-of-things terminal and is positioned.
Example IV
Fourth embodiment of the invention provides a kind of terminal, including memory, processor and at least one be stored in it is described
In memory and it is configured as the finder executed by the processor, at least one described finder is configurable for
Execute localization method described in embodiment one.
Embodiment five
Fifth embodiment of the invention provides a kind of storage medium, and finder is stored on the storage medium, described fixed
The step of position program realizes localization method described in embodiment one when being executed by processor.
It should be noted that the technical characteristic in above method embodiment is corresponding applicable in the present apparatus, it is no longer heavy here
It states.
Those of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with
Relevant hardware is controlled by program to complete, the program can be stored in a computer readable storage medium,
The storage medium, such as ROM/RAM, disk, CD.
Preferred embodiments of the present invention have been described above with reference to the accompanying drawings, not thereby limiting the scope of the invention.This
Without departing from the scope and spirit of the invention, there are many variations to implement the present invention by field technical staff, for example as one
The feature of a embodiment can be used for another embodiment and obtain another embodiment.It is all to use institute within technical concept of the invention
Any modifications, equivalent replacements, and improvements of work, should all be within interest field of the invention.