Location information acquisition method and equipment
Technical field
The present invention relates to machine communication field, in particular to a kind of location information acquisition method and equipment.
Background technique
M2M (Machine-to-Machine Communications, machine communication) technology is that one kind is handed over machine intelligence
Core, networking application technology each other, the M2M system using the technology include CSE (Common Service Entity,
UNIVERSAL BUSINESS ENTITIES).LOC CSF (Location Common Service Function, position functions) is for obtaining and managing
Geographical location information is managed, the CSE comprising LOC CSF is LOC CSE, and the location information which can be realized M2M system obtains
Take function.
In the prior art, obtaining the M2M system of function with location information includes: request equipment, and LOC CSE and target are set
It is standby.The request equipment can obtain the location information of target device by LOC CSE.Specifically, request equipment setting positioning week
Phase, the locating periodically are used to indicate the time cycle for obtaining the location information of target device, then request equipment will be with positioning
The position requests in period are sent to LOC CSE;LOC CSE obtains target every the corresponding time cycle according to the locating periodically and sets
Standby location information, such as locating periodically are set as 10 minutes, then LOC CSE obtained a target device every 10 minutes
Location information, and the location information of target device is returned into request equipment.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
During location information obtains, LOC CSE carries out target according to the locating periodically of request equipment setting and sets
The acquisition of standby location information, and the locating periodically is fixed and invariable, therefore, the flexibility that location information obtains is lower.
Summary of the invention
In order to which the flexibility for solving the problems, such as that location information obtains is lower, the embodiment of the invention provides a kind of location informations
The method and apparatus of acquisition.The technical solution is as follows:
In a first aspect, providing a kind of location information acquisition equipment, for the LOC CSE of M2M system, the location information is obtained
The equipment is taken to include:
Receiving unit indicates that parameter, the adjustment instruction parameter are used to indicate for receiving the adjustment that request equipment is sent
Whether the adjustment of locating periodically is carried out;
Determination unit, when for indicating the adjustment of parameter instruction progress locating periodically in the adjustment, then according to the tune
Whole instruction parameter determines the first locating periodically;
Acquiring unit, for obtaining the location information of target device according to first locating periodically.
With reference to first aspect, can be in realization mode at the first, the adjustment instruction parameter includes: cycle dynamics adjustment ginseng
Number, the determination unit, comprising:
First determining module, for determining first locating periodically according to the cycle dynamics adjusting parameter;
Alternatively, first obtains module, for indicating that parameter is locally obtaining cycle dynamics adjusting parameter according to the adjustment,
Module is adjusted, for determining first locating periodically according to the cycle dynamics adjusting parameter.
Mode can be realized in conjunction with the first, in second of achievable mode, the determination unit, comprising:
Second obtains module, for obtaining particular parameter value;
Comparison module, for the particular parameter value to be compared with the cycle dynamics adjusting parameter;
Second determining module, for determining that first locating periodically, first locating periodically are big according to comparison result
In or be equal to the initial alignment period, the initial alignment period be it is described request equipment send locating periodically.
, can be in realization mode at the third in conjunction with second of achievable mode, the cycle dynamics adjusting parameter includes pre-
If threshold value, second determining module, comprising:
First determines submodule, described in determining when the particular parameter value is greater than or equal to the preset threshold
First locating periodically is equal to the initial alignment period;
Second determines submodule, for when the particular parameter value is less than the preset threshold, determining that described first is fixed
Bit period is greater than the initial alignment period;
Wherein, the preset threshold includes threshold speed, the particular parameter value include: target device instantaneous velocity,
Target device current locating periodically average speed and target device in the average speed of top n locating periodically at least one
Kind, the N is greater than or equal to 1, alternatively, the preset threshold includes distance threshold, the particular parameter value includes: target device
At a distance from the beginning of the finish time in M period is with the M period and target device M period average departure
At least one of from, the M is greater than or equal to 1.
In conjunction with second of achievable mode, in the 4th kind of achievable mode, the cycle dynamics adjusting parameter includes pre-
If range, second determining module, comprising:
Third determines submodule, for when except the preset range, determining described first in the particular parameter value
Locating periodically is equal to the initial alignment period;
4th determines submodule, for determining described first when the particular parameter value is within the preset range
Locating periodically is greater than the initial alignment period;
Wherein, the preset range is regional scope, and the particular parameter value is the position of current target equipment, or
Person, the preset range are time range, and the particular parameter value is current time.
With reference to first aspect, any one in first to fourth kind of achievable mode, in the 5th kind of achievable mode, institute
State acquiring unit, comprising:
Sending module, for sending position request information to the target device, the position request information includes described
First locating periodically is believed in order to which the target device is in the first locating periodically start time according to the position requests
Breath obtains the location information of the target device;
Receiving module, for receiving the location information for the target device that the target device is sent.
Second aspect provides a kind of location information acquisition equipment, for the request equipment of M2M system, the location information
Obtaining equipment includes:
Generation unit, for generating adjustment instruction parameter, the adjustment instruction parameter is used to indicate whether to carry out positioning week
The adjustment of phase;
Transmission unit indicates parameter for sending the adjustment to LOC CSE, in order to which the LOC CSE is in the tune
When whole instruction parameter instruction carries out the adjustment of locating periodically, indicate that parameter determines the first locating periodically, and root according to the adjustment
The location information of target device is obtained according to first locating periodically.
The third aspect provides a kind of location information acquisition equipment, for the target device of M2M system, the location information
Obtaining equipment includes:
Receiving unit, for receiving the position request information of LOC CSE transmission, the position request information is the LOC
CSE receive request equipment send adjustment indicate parameter, and according to the adjustment instruction parameter determine the first locating periodically after
It sends;
Acquiring unit, for obtaining the location information of the target device according to the position request information.
, can be in realization mode at the first in conjunction with the third aspect, the position request information includes the first positioning week
Phase, the acquiring unit, comprising:
Module is obtained, in the first locating periodically start time, according to the position request information, described in acquisition
The location information of target device.
Fourth aspect provides a kind of location information acquisition method, the LOC CSE for M2M system, which comprises
It receives the adjustment that request equipment is sent and indicates that parameter, the adjustment instruction parameter are used to indicate whether to carry out positioning week
The adjustment of phase;
If the adjustment instruction parameter instruction carries out the adjustment of locating periodically, indicate that parameter determines according to the adjustment
First locating periodically;
The location information of target device is obtained according to first locating periodically.
, can be in realization mode at the first in conjunction with fourth aspect, the adjustment instruction parameter includes: cycle dynamics adjustment ginseng
Number, it is described to indicate that parameter determines the first locating periodically according to the adjustment, comprising:
First locating periodically is determined according to the cycle dynamics adjusting parameter;
Alternatively, indicate that parameter is locally obtaining cycle dynamics adjusting parameter according to the adjustment,
First locating periodically is determined according to the cycle dynamics adjusting parameter.
Mode can be realized in conjunction with the first, and in second of achievable mode, described adjust according to the cycle dynamics is joined
Number determines first locating periodically, comprising:
Obtain particular parameter value;
The particular parameter value is compared with the cycle dynamics adjusting parameter;
Determine that first locating periodically, first locating periodically are greater than or equal to initial alignment week according to comparison result
Phase, the initial alignment period are the locating periodically that the request equipment is sent.
, can be in realization mode at the third in conjunction with second of achievable mode, the cycle dynamics adjusting parameter includes pre-
It is described that first locating periodically is determined according to comparison result if threshold value, comprising:
When the particular parameter value is greater than or equal to the preset threshold, it is initial fixed to determine that first locating periodically is equal to
Bit period;
When the particular parameter value be less than the preset threshold, determine first locating periodically be greater than initial alignment week
Phase;
Wherein, the preset threshold includes threshold speed, the particular parameter value include: target device instantaneous velocity,
Target device current locating periodically average speed and target device in the average speed of top n locating periodically at least one
Kind, the N is greater than or equal to 1, alternatively, the preset threshold includes distance threshold, the particular parameter value includes: target device
At a distance from the beginning of the finish time in M period is with the M period and target device M period average departure
At least one of from, the M is greater than or equal to 1.
In conjunction with second of achievable mode, in the 4th kind of achievable mode, the cycle dynamics adjusting parameter includes pre-
It is described that first locating periodically is determined according to comparison result if range, comprising:
When the particular parameter value is except the preset range, determine that first locating periodically is equal to initial alignment week
Phase;
When the particular parameter value is within the preset range, it is described initial fixed to determine that first locating periodically is greater than
Bit period;
Wherein, the preset range is regional scope, and the particular parameter value is the position of current target equipment, or
Person, the preset range are time range, and the particular parameter value is current time.
In conjunction with any one in fourth aspect, first to fourth kind of achievable mode, in the 5th kind of achievable mode, institute
State the location information that target device is obtained according to first locating periodically, comprising:
Position request information is sent to the target device, the position request information includes first locating periodically,
In order to which the target device is in the first locating periodically start time, the target is obtained according to the position request information
The location information of equipment;
Receive the location information for the target device that the target device is sent.
5th aspect, provides a kind of location information acquisition method, the request equipment for M2M system, which comprises
Adjustment instruction parameter is generated, the adjustment instruction parameter is used to indicate whether to carry out the adjustment of locating periodically;
The adjustment is sent to LOC CSE and indicates parameter, in order to which the LOC CSE is in adjustment instruction parameter instruction
When carrying out the adjustment of locating periodically, indicate that parameter determines the first locating periodically according to the adjustment, and according to first positioning
The location information of period acquisition target device.
6th aspect, provides a kind of location information acquisition method, the target device for M2M system, which comprises
The position request information that LOC CSE is sent is received, the position request information is that the LOC CSE is receiving request
The adjustment that equipment is sent indicates parameter, and is determined according to the adjustment instruction parameter and sent after the first locating periodically;
According to the position request information, the location information of the target device is obtained.
, can be in realization mode at the first in conjunction with the 6th aspect, the position request information includes the first positioning week
It is phase, described according to the position request information, obtain the location information of the target device, comprising:
The position of the target device is obtained according to the position request information in the first locating periodically start time
Confidence breath.
In conclusion receiving unit receives the embodiment of the invention provides the method and apparatus that a kind of location information obtains
The adjustment sent to request equipment indicates that parameter, determination unit indicate that parameter determines the first locating periodically according to the adjustment, according to
First locating periodically, the location information that acquiring unit obtains target device are obtained since locating periodically can be determined flexibly
The trigger time of location information can flexibly change, then the acquisition of location information can also be determined flexibly, therefore improve position
Set the flexibility of acquisition of information.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of M2M system structure diagram that one embodiment of the invention provides;
Fig. 2 is the structural schematic diagram that a kind of location information that one embodiment of the invention provides obtains equipment;
Fig. 3 is the structural schematic diagram that another location information that one embodiment of the invention provides obtains equipment;
Fig. 4 is the structural schematic diagram that another location information that one embodiment of the invention provides obtains equipment;
Fig. 5 is a kind of location information acquisition method flow chart that one embodiment of the invention provides;
Fig. 6 is another location information acquisition method flow chart that one embodiment of the invention provides;
Fig. 7 is another location information acquisition method flow chart that one embodiment of the invention provides;
Fig. 8 is another location information acquisition method flow chart that one embodiment of the invention provides;
Fig. 9 is a kind of method flow diagram for adjustment locating periodically that one embodiment of the invention provides;
Figure 10 is another M2M system structure diagram that one embodiment of the invention provides;
Figure 11 is the structural schematic diagram that another location information that one embodiment of the invention provides obtains equipment;
Figure 12 is the structural schematic diagram for the determination unit that a kind of location information that one embodiment of the invention provides obtains equipment;
Figure 13 is that the structure for another determination unit that a kind of location information that one embodiment of the invention provides obtains equipment is shown
It is intended to;
Figure 14 is that the structure for the another determination unit that a kind of location information that one embodiment of the invention provides obtains equipment is shown
It is intended to;
Figure 15 is that the structure for the second determining module that a kind of location information that one embodiment of the invention provides obtains equipment is shown
It is intended to;
Figure 16 is the knot for another second determining module that a kind of location information that one embodiment of the invention provides obtains equipment
Structure schematic diagram;
Figure 17 is the structural schematic diagram for the acquiring unit that a kind of location information that one embodiment of the invention provides obtains equipment;
Figure 18 be another embodiment of the present invention provides a kind of location information obtain equipment structural schematic diagram;
Figure 19 be another embodiment of the present invention provides another location information obtain equipment structural schematic diagram;
Figure 20 be another embodiment of the present invention provides a kind of location information obtain equipment acquiring unit structural representation
Figure.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Referring to FIG. 1, it illustrates a kind of M2M systems involved in location information acquisition method provided in an embodiment of the present invention
The environmental structure diagram of system, the M2M system 00 include: request equipment 01, LOC CSE02 and target device 03.The request is set
Standby 01 can obtain the location information of target device 03 by LOC CSE02, and target device 03 can integrate on automobile, can also
To integrate on mobile terminals.
The embodiment of the present invention provides a kind of location information acquisition equipment 20, as shown in Fig. 2, being used for the LOC of M2M system
CSE, it includes: receiver 201 and processor 202 which, which obtains equipment 20,.
Receiver 201 indicates parameter for receiving the adjustment that request equipment is sent, and adjustment instruction parameter is sent to
Processor 202, adjustment instruction parameter are used to indicate whether to carry out the adjustment of locating periodically.
Processor 202, the adjustment for receiving the transmission of receiver 201 indicate parameter, carry out in adjustment instruction parameter instruction
When the adjustment of locating periodically, then the first locating periodically is determined according to adjustment instruction parameter.
Processor 202 is also used to obtain the location information of target device according to the first locating periodically.
In conclusion receiver receives the adjustment instruction parameter that request equipment is sent, processor is indicated according to the adjustment
Parameter determines the first locating periodically, and according to first locating periodically, processor obtains the location information of target device, due to positioning
Period can flexibly determine that the trigger time of i.e. acquisition location information can flexibly change, then the acquisition of location information can also
Flexibly to determine, therefore improve the flexibility of location information acquisition.
It should be noted that adjustment instruction parameter includes: cycle dynamics adjusting parameter, which can be with
It also may include preset range including preset threshold.
Processor 202 is specifically used for: first locating periodically is determined according to cycle dynamics adjusting parameter, alternatively, according to
Adjustment instruction parameter is locally obtaining cycle dynamics adjusting parameter, determines the first positioning week according to cycle dynamics adjusting parameter
Phase.
Processor 202 is specifically used for: obtaining particular parameter value;Particular parameter value and cycle dynamics adjusting parameter are compared
Compared with;Determine that the first locating periodically, the first locating periodically are greater than or equal to initial alignment period, initial alignment week according to comparison result
Phase is the locating periodically for requesting equipment to send.
Cycle dynamics adjusting parameter may include preset threshold, and processor 202 is specifically used for: when particular parameter value is greater than or
Equal to preset threshold, determine that the first locating periodically is equal to the initial alignment period;When particular parameter value is less than preset threshold, the is determined
One locating periodically is greater than the initial alignment period.Wherein, preset threshold includes threshold speed, and particular parameter value includes: target device
Instantaneous velocity, target device current locating periodically average speed and target device top n locating periodically average speed
At least one of degree, N are greater than or equal to 1, alternatively, preset threshold includes distance threshold, particular parameter value includes: target device
At a distance from the beginning of the finish time in M period is with M period and target device is in the average distance in M period
At least one, M be greater than or equal to 1.
Cycle dynamics adjusting parameter may include preset range, and processor 202 is specifically used for: when particular parameter value is default
Except range, determine that the first locating periodically is equal to the initial alignment period;When particular parameter value is within preset range, first is determined
Locating periodically is greater than the initial alignment period.Wherein, preset range is regional scope, and particular parameter value is current target
The position of equipment, alternatively, preset range is time range, particular parameter value is current time.
Processor 202 is specifically used for: sending position request information to target device, position request information includes the first positioning
Period obtains the position of target device according to position request information in order to which target device is in the first locating periodically start time
Information;Receive the location information for the target device that target device is sent.
In conclusion receiver receives the adjustment instruction parameter that request equipment is sent, processor is indicated according to the adjustment
Parameter determines the first locating periodically, and according to first locating periodically, processor obtains the location information of target device, due to positioning
Period can flexibly determine that the trigger time of i.e. acquisition location information can flexibly change, then the acquisition of location information can also
Flexibly to determine, therefore improve the flexibility of location information acquisition.
The embodiment of the present invention provides a kind of location information acquisition equipment 30, as shown in figure 3, the request for M2M system is set
Standby, it includes: processor 301 and transmitter 302 which, which obtains equipment 30,.
Processor 301 is sent to transmitter 302 for generating adjustment instruction parameter, and by adjustment instruction parameter, the tune
Whole instruction parameter is used to indicate whether to carry out the adjustment of locating periodically.
Transmitter 302, the adjustment for receiving the transmission of processor 301 indicates parameter, and sends adjustment instruction to LOC CSE
Parameter determines in order to which LOC CSE is when adjustment instruction parameter instruction carries out the adjustment of locating periodically according to adjustment instruction parameter
First locating periodically, and according to the location information of the first locating periodically acquisition target device.
In conclusion the adjustment instruction parameter that processor generates is sent to LOC CSE by transmitter, LOC CSE is according to this
Adjustment instruction parameter determines the first locating periodically, and according to first locating periodically, LOC CSE obtains the position letter of target device
Breath, since locating periodically can be determined flexibly, i.e. the trigger time of acquisition location information can flexibly change, then location information
Acquisition can also flexibly determine, therefore improve location information acquisition flexibility.
The embodiment of the present invention provides a kind of location information acquisition equipment 40, as shown in figure 4, the target for M2M system is set
Standby, it includes: receiver 401 and processor 402 that location information, which obtains equipment 40,.
Receiver 401 for receiving the position request information of LOC CSE transmission, and the position request information is sent to
Processor 402, the position request information are LOC CSE in the adjustment instruction parameter for receiving request equipment transmission, and according to adjustment
It indicates that parameter determines to send after the first locating periodically.
Processor 402, according to position request information, obtains mesh for receiving the position request information of the transmission of receiver 401
The location information of marking device.
Processor 402 is specifically used for: obtaining target according to position request information in the first locating periodically start time and sets
Standby location information.
In conclusion receiver receives the position request information that LOC CSE is sent, which is LOC CSE
It receiving the adjustment that request equipment is sent indicates parameter, and is determined according to adjustment instruction parameter and sent after locating periodically, processing
Device obtains the location information of target device according to the position request information, since locating periodically can be determined flexibly, that is, obtains position
The trigger time of confidence breath can flexibly change, then the acquisition of location information can also be determined flexibly, therefore improve position
The flexibility of acquisition of information.
Location information provided in an embodiment of the present invention, which obtains equipment, can be applied to location information acquisition side described below
Method, the workflow of each unit and working principle may refer to the description in hereafter each embodiment in the embodiment of the present invention.
The embodiment of the present invention provides a kind of location information acquisition method, as shown in figure 5, for M2M system shown in FIG. 1
LOC CSE, this method comprises:
Step 501 receives the adjustment instruction parameter that request equipment is sent, and adjustment instruction parameter is used to indicate whether to carry out
The adjustment of locating periodically.
If step 502, adjustment instruction parameter instruction carry out the adjustment of locating periodically, determined according to adjustment instruction parameter
First locating periodically.
Step 503, the location information that target device is obtained according to the first locating periodically.
The location information may include: at least one of longitude and latitude, height above sea level and speed.
In conclusion request equipment sends adjustment instruction parameter to LOC CSE, LOC CSE indicates parameter according to the adjustment
Determine the first locating periodically, according to first locating periodically, LOC CSE obtains the location information of target device, due to positioning week
Phase can flexibly determine, i.e. the trigger time of acquisition location information can flexibly change, then the acquisition of location information can also be with
It flexibly determines, therefore improves the flexibility of location information acquisition.
It is to be appreciated that adjustment instruction parameter may include: that cycle dynamics adjusting parameter refers to according to adjustment in step 502
Show that parameter determines the first locating periodically, comprising: the first locating periodically is determined according to cycle dynamics adjusting parameter.
In step 502, the first locating periodically is determined according to adjustment instruction parameter, may include: according to adjustment instruction ginseng
Number is locally obtaining cycle dynamics adjusting parameter;The first locating periodically is determined according to cycle dynamics adjusting parameter.
It may include: acquisition particular parameter value specifically, determining the first locating periodically according to cycle dynamics adjusting parameter;
Particular parameter value is compared with cycle dynamics adjusting parameter;The first locating periodically, the first positioning are determined according to comparison result
Period is greater than or equal to the initial alignment period, which is the locating periodically for requesting equipment to send.
Wherein, cycle dynamics adjusting parameter is different, and the method that LOC CSE carries out locating periodically adjustment is also different, specific to wrap
Include following two aspect:
In a first aspect, cycle dynamics adjusting parameter may include preset threshold, then the first positioning is determined according to comparison result
The method in period includes:
When particular parameter value is greater than or equal to preset threshold, it is determined that the first locating periodically is equal to the initial alignment period;When
Particular parameter value is less than preset threshold, determines that the first locating periodically is greater than the initial alignment period.
It should be noted that preset threshold may include threshold speed, then particular parameter value is velocity parameter values, comprising:
The instantaneous velocity of target device, target device current locating periodically average speed and target device in top n locating periodically
At least one of average speed, N is greater than or equal to 1;Alternatively, preset threshold may include distance threshold, then special parameter
Value be distance parameter value, comprising: target device at the beginning of the finish time in M period is with M period at a distance from and M
At least one of the average distance in a period, M are greater than or equal to 1.
On the other hand, cycle dynamics adjusting parameter may include preset range, then determines the first positioning according to comparison result
The method in period includes:
When particular parameter value is except preset range, it is determined that the first locating periodically is equal to the initial alignment period;When specific
Parameter value determines that the first locating periodically is greater than the initial alignment period within preset range.
It should be noted that preset range is regional scope, particular parameter value is location parameter value, is specifically as follows current
The position (such as longitude and latitude, position code etc.) of moment target device;Alternatively, preset range is time range, particular parameter value
For time parameter values, it is specifically as follows current time.
Further, step 503 may include:
Position request information is sent to target device, position request information includes the first locating periodically, in order to which target is set
For in the first locating periodically start time, the location information of target device is obtained according to position request information;Receive target device
The location information of the target device of transmission.
When M2M system includes: location server, then LOC CSE can take according to the first determining locating periodically to position
Device of being engaged in sends position request information, in order to location server will position request information carry out protocol conversion after be sent to target and set
It is standby;The location information of the target device of location server forwarding is received, the location information of target device is will by location server
The information that target device is sent to location server carries out what protocol conversion obtained, alternatively, receiving the mesh that location server is sent
The location information of marking device, the location information of target device are by location server in the first locating periodically start time, according to
What position request information obtained.
In conclusion request equipment sends adjustment instruction parameter to LOC CSE, LOC CSE indicates parameter according to the adjustment
Determine the first locating periodically, according to first locating periodically, LOC CSE obtains the location information of target device, due to positioning week
Phase can flexibly determine, i.e. the trigger time of acquisition location information can flexibly change, then the acquisition of location information can also be with
It flexibly determines, therefore improves the flexibility of location information acquisition.
The embodiment of the present invention provides a kind of location information acquisition method, as shown in fig. 6, it is used for the request equipment of M2M system,
This method comprises:
Step 601 generates adjustment instruction parameter, and adjustment instruction parameter is used to indicate whether to carry out the adjustment of locating periodically.
Step 602 sends adjustment instruction parameter to LOC CSE, in order to which LOC CSE is carried out in adjustment instruction parameter instruction
When the adjustment of locating periodically, the first locating periodically is determined according to adjustment instruction parameter, and target is obtained according to the first locating periodically
The location information of equipment.
In conclusion LOC CSE is according to this due to requesting equipment that the adjustment instruction parameter of generation is sent to LOC CSE
Adjustment instruction parameter determines the first locating periodically, and according to first locating periodically, LOC CSE obtains the position letter of target device
Breath, since locating periodically can be determined flexibly, i.e. the trigger time of acquisition location information can flexibly change, then location information
Acquisition can also flexibly determine, therefore improve location information acquisition flexibility.
Equipment is requested to generate adjustment instruction parameter, which indicates that parameter may include cycle dynamics adjusting parameter, this is dynamic
State period modulation parameter may include preset threshold, also may include preset range, correspondingly, the determination side of the first locating periodically
Method is as follows:
On the one hand, cycle dynamics adjusting parameter may include preset threshold, which is used to indicate LOC CSE and compares
The size of particular parameter value and preset threshold determines the first locating periodically according to comparison result.
Wherein, preset threshold may include threshold speed, and particular parameter value is velocity parameter values, comprising: target device
Instantaneous velocity, target device current locating periodically average speed and target device top n locating periodically average speed
At least one of, N is greater than or equal to 1;Alternatively, preset threshold includes distance threshold, particular parameter value is distance parameter value, packet
Include: target device at the beginning of the finish time in M period is with M period at a distance from and the average distance in M period in
At least one, M be greater than or equal to 1.
On the other hand, cycle dynamics adjusting parameter includes preset range, and it is more specific that preset range is used to indicate LOC CSE
Whether within a preset range, according to comparison result parameter value determines the first locating periodically.
Wherein, preset range is regional scope, and particular parameter value is location parameter value, specially current target equipment
Position;Alternatively, preset range is time range, particular parameter value is time parameter values, specially current time.
In conclusion LOC CSE is according to this due to requesting equipment that the adjustment instruction parameter of generation is sent to LOC CSE
Adjustment instruction parameter determines the first locating periodically, and according to first locating periodically, LOC CSE obtains the position letter of target device
Breath, since locating periodically can be determined flexibly, i.e. the trigger time of acquisition location information can flexibly change, then location information
Acquisition can also flexibly determine, therefore improve location information acquisition flexibility.
The embodiment of the present invention provides a kind of location information acquisition method, for the target device of M2M system, as shown in fig. 7,
Method includes:
Step 701 receives the position request information that LOC CSE is sent, which is that LOC CSE is asked in reception
The adjustment instruction parameter for asking equipment to send, and determined according to adjustment instruction parameter and to be sent after the first locating periodically.
Step 702, according to position request information, obtain the location information of target device.
In conclusion target device according to position request information, obtains the location information of target device, and the position requests
Information is LOC CSE in the adjustment instruction parameter for receiving request equipment transmission, and determines locating periodically according to instruction parameter is adjusted
It sends afterwards, since locating periodically can be determined flexibly, i.e. the trigger time of acquisition location information can flexibly change, then position
The acquisition of confidence breath can also be determined flexibly, therefore improve the flexibility of location information acquisition.
It should be noted that position request information includes the first locating periodically, in a step 702, target device can be
First locating periodically start time obtained the location information of target device according to position request information.
When M2M system includes: location server, location server receives the position request information that LOC CSE is sent, target
Equipment receives the position request information that location server is sent, which is to be sent out LOC CSE by location server
The information sent carries out what protocol conversion obtained;Location server obtains the location information of target device, can be target device meter
Calculation is sent to location server after obtaining the location information of target device;It is also possible to what location server was calculated, this
In the case of kind, the location information being calculated is sent to target device by location server.It should be noted that location server
Before the location information of target device is sent to LOC CSE, need to carry out protocol conversion to the location information of target device.
In conclusion target device according to position request information, obtains the location information of target device, and the position requests
Information is LOC CSE in the adjustment instruction parameter for receiving request equipment transmission, and determines locating periodically according to instruction parameter is adjusted
It sends afterwards, since locating periodically can be determined flexibly, i.e. the trigger time of acquisition location information can flexibly change, then position
The acquisition of confidence breath can also be determined flexibly, therefore improve the flexibility of location information acquisition.
The embodiment of the present invention provides a kind of location information acquisition method, as shown in Figure 8, comprising:
Step 801, request equipment send request to create to LOC CSE, which includes: the initial alignment period.
OneM2M agreement is one of the International Standards Organization of the generally acknowledged M2M communication specification of industry, and the initial alignment period can
To be identified using the locationUpdatePeriod parameter in oneM2M agreement, the locationUpdatePeriod parameter
Interval parameter corresponding to MLP (Mobile Location Protocol, mobile location protocol).
The initial alignment period is usually to be arranged by request equipment.Specifically, request equipment can by user interface to
User prompts cycle options, such as 10min (minute), 20min and 30min, user to select to want to make in the cycle options
Then locating periodically requests equipment to receive the corresponding cycle options of user's triggering, and is arranged according to the cycle options and is determined
Bit period, it is exemplary, it is assumed that initial alignment period corresponding parameter is " locationUpdatePeriod ", the week of user's selection
Phase option is 10min, the then locating periodically for including are as follows: locationUpdatePeriod=10min, the positioning in request to create
Period indicates that LOC CSE obtained location information and the storage of a target device every 10 minutes, and the initial alignment period can also be with
The satisfactory time is inputted by user oneself.
Step 802, LOC CSE are successfully established response to request equipment transmission.
Request equipment receive LOC CSE transmission be successfully established response after, LOC CSE and request equipment business connect
Connect foundation.
Step 803, request equipment send adjustment instruction parameter to LOC CSE.
Update request can be generated in request equipment, and update request includes adjustment instruction parameter, by sending to LOC CSE
Update request, so that LOC CSE obtains corresponding adjustment instruction parameter, adjustment instruction parameter is used to indicate whether to be determined
The adjustment of bit period.
Step 804, LOC CSE obtain cycle dynamics adjusting parameter according to adjustment instruction parameter.
The adjustment indicates that parameter can there are many forms, exemplary, which indicates that parameter can only include instruction parameter,
The instruction parameter can be dynamicUpdate, and there are two kinds of parameter values of ture and false, ture indicates to permit the instruction parameter
Perhaps the adjustment of locating periodically is carried out;False indicates the adjustment for not allowing to carry out locating periodically, then when the tune that LOC CSE is received
When instruction parameter in whole instruction parameter is dynamicUpdate=ture, the adjustment of locating periodically can be just carried out, in this feelings
Under condition, when instruction parameter instruction allows to carry out the adjustment of locating periodically, LOC CSE can indicate parameter in local according to the adjustment
Obtain cycle dynamics adjusting parameter, it should be noted that the cycle dynamics adjusting parameter locally obtained is usually pre- by operator
The parameter being first arranged.
The adjustment indicates that parameter can only include cycle dynamics adjusting parameter, in the case, default adjustment instruction parameter
Indicate the adjustment for allowing to carry out locating periodically, LOC CSE can directly acquire cycle dynamics adjustment ginseng in adjustment instruction parameter
Number.
The adjustment indicates that parameter can not only include instruction parameter, but also including cycle dynamics adjusting parameter, in the case, if
Indicate that parameter instruction allows to carry out the adjustment of locating periodically, LOC CSE can directly acquire dynamic week in adjustment instruction parameter
Phase adjusting parameter, if instruction parameter instruction does not allow to carry out the adjustment of locating periodically, cycle dynamics adjusting parameter is invalid.
Cycle dynamics adjusting parameter may include preset threshold, also may include presetting such as threshold speed or distance threshold
Range, such as time range and regional scope.
Request equipment can be used to indicate user with display reminding information, the prompt information and carry out cycle dynamics adjusting parameter
It determines, exemplary, if cycle dynamics adjusting parameter includes threshold speed, prompt information can show speed option 10km
(km), 20km and 30km, user select in these three options, and request equipment obtains in the speed option of user's selection
Value as cycle dynamics adjusting parameter;If cycle dynamics adjusting parameter includes distance threshold, prompt information can be shown
Time option 10min, 20min and 30min etc. for prompting the user setting initial alignment period, user in these options into
Row selection, it is assumed that user selects 30min, then 30min is the initial alignment period, it is assumed that the request equipment is located on automobile, request
Whether equipment can drive a car further according to the initial alignment period display reminding information, the prompt information for user, common row
Sail speed is how many, often high speed or urban district traveling etc., request equipment further according to user a series of selections obtain away from
From threshold interval, it is assumed that request equipment is shown by prompt information suggests distance threshold section 25km-35km, and user is again at this
The specific distance threshold of distance threshold interval selection, request equipment obtain the distance threshold that user selects and adjust as cycle dynamics
Parameter;If cycle dynamics adjusting parameter includes time range, prompt information can show time range option, such as 9:00-
10:00 and 10:00-11:00 etc., user select in these options, and request equipment obtains the time model of user's selection
It encloses as cycle dynamics adjusting parameter;If cycle dynamics adjusting parameter includes regional scope, prompt information can be with viewing area
Domain scope option, such as " beijing " and " nanjing ", user select in these options, and request equipment, which obtains, to be used
The regional scope that family selects is as cycle dynamics adjusting parameter.It should be noted that request equipment using prompt information in addition to being referred to
Show that user makes a choice to cycle dynamics adjusting parameter, it can also be by receiving the satisfactory information inputted by user oneself
As cycle dynamics adjusting parameter.
Step 805, LOC CSE adjust locating periodically according to cycle dynamics adjusting parameter.
It may include steps of as shown in figure 9, LOC CSE adjusts locating periodically according to cycle dynamics adjusting parameter:
Step 8051, LOC CSE obtain particular parameter value.
Cycle dynamics adjusting parameter includes preset threshold, also may include preset range.
When cycle dynamics adjusting parameter includes preset threshold, preset threshold may include threshold speed, particular parameter value
Can be velocity parameter values, comprising: the instantaneous velocity of target device, target device current locating periodically average speed and mesh
Marking device is at least one of the average speed of top n locating periodically, and N is more than or equal to 1.Wherein, target device is instant
Speed is speed of the target device at current time, and above-mentioned threshold speed can be indicated using parameter velocityLimit, such as
VelocityLimit=60km (km), instruction threshold speed are 60km/h (kilometer per hour).
When cycle dynamics adjusting parameter includes preset threshold, preset threshold may include distance threshold, particular parameter value
Can be distance parameter value, comprising: target device at the beginning of the finish time in M period is with M period at a distance from, and
At least one of the average distance in M period, the distance can be linear distance, be also possible to practical moving distance, and M is greater than
Or be equal to 1, M period can according to predetermined period acquisition Rule period, it is exemplary, it is assumed that according to predetermined period
Rule is obtained, which is the M period before current period, as M=3, average distance=(the current week in M period
The 3rd period before the distance+current period in the 2nd period before the distance+current period in the 1st period before the phase
Distance)/3.Above-mentioned distance threshold can indicate using parameter distanceLimit, such as distanceLimit=60km,
Instruction distance threshold is 60km.
When cycle dynamics adjusting parameter includes preset range, preset range can be regional scope, and particular parameter value is
Location parameter value is specifically as follows the position of current target equipment.Above-mentioned zone range can use parameter areaLimit
Indicate, parameter areaLimit can for longitude and latitude, regular figure region, cell (cell) ID (Identification,
Mark) and specified realm identifier in any one, wherein regular figure region can be border circular areas, elliptical region,
Specified realm identifier can be the identifier " shanghai " etc. in Shanghai.
For example, when regional scope is specified realm identifier, it is assumed that the specified realm identifier is " beijing ", then
Regional scope may include:
<area>
<name_area>beijing</name_area>
</area>
At this point, areaLimit=beijing, inside, indicate that the regional scope is inside Beijing.
When regional scope is regular figure region, it is assumed that the regular figure region is with longitude for " 353524.139 ",
Latitude is that the point of " 1393524.754 " is the center of circle, and 100m (rice) is the border circular areas of radius, then regional scope may include:
At this point, areaLimit=, centered on specific longitude and latitude point, radius is the border circular areas of 100m,
Outside indicates that the regional scope is centered on specific longitude and latitude point, and radius is the area except the border circular areas of 100m
Domain.
When cycle dynamics adjusting parameter includes preset range, preset range can be time range, and particular parameter value is
Time parameter values are specifically as follows current time.Above-mentioned time range can indicate using parameter durationLimit, such as
DurationLimit=9:00-12:00, inside, instruction time range are within 9:00-12:00.
Particular parameter value is compared by step 8052, LOC CSE with cycle dynamics adjusting parameter.
When cycle dynamics adjusting parameter includes preset threshold, compare the size of particular parameter value and preset threshold;When dynamic
When state period modulation parameter includes preset range, compare particular parameter value whether within preset range.
Step 8053, LOC CSE determine the first locating periodically according to comparison result, which is greater than or equal to
The initial alignment period.
The first locating periodically may be the same or different with the initial alignment period in embodiments of the present invention.When dynamic
When period modulation parameter includes preset threshold, when particular parameter value be greater than or equal to preset threshold, determine first locating periodically etc.
In the initial alignment period;When particular parameter value be less than preset threshold, determine the first locating periodically be greater than the initial alignment period.
In embodiments of the present invention, LOC CSE can set Dynamic gene, according to the ratio of particular parameter value and preset threshold
Compared with as a result, the product for obtaining the Dynamic gene and initial alignment cycle T obtains the first locating periodically.Such as, when particular parameter value is big
In or equal to preset threshold, Dynamic gene 1, then the first locating periodically is equal to the initial alignment period;When particular parameter value is less than
Preset threshold, Dynamic gene 1.2, then the first locating periodically is equal to 1.2 times of initial alignment period.Dynamic gene both can be by
Operator's setting, can also be sent to LOC CSE by request equipment.
It should be noted that LOC CSE can divide different according to the threshold speed when preset threshold is threshold speed
Speed interval, corresponding Dynamic gene is arranged in corresponding each speed interval, and the interval of every two Dynamic gene can be identical.
It is exemplary, when threshold speed is K, by corresponding particular parameter value V with divide obtained different speed intervals
It is compared, corresponding Dynamic gene B is determined according to the comparison result, according to multiplying for the Dynamic gene and initial alignment cycle T
Product obtains the first locating periodically T1, specific such as table 1.In table 1, when speed interval is [K ,+∞), Dynamic gene 1, first is fixed
Bit period T1=T;When speed interval be [2/3K, K), Dynamic gene 1.2, the first locating periodically T1=1.2T;When speed area
Between for [1/3K, 2/3K), Dynamic gene 1.4, the first locating periodically T1=1.4T;When speed interval be [0,1/3K), adjustment
The factor is 1.6, the first locating periodically T1=1.6T.Particular parameter value V is compared from obtained different speed intervals are divided
Compared with working as V >=K, take B=1, then the first locating periodically T1=T;As 2/3K≤V < K, B=1.2 is taken, then the first locating periodically T1
=1.2T;As 1/3K≤V < 2/3K, B=1.4 is taken, then the first locating periodically T1=1.4T;As 0≤V < 1/3K, B=1.6 is taken,
Then the first locating periodically T1=1.6T.Wherein, particular parameter value V may include that the instantaneous velocity of target device, target device exist
The average speed and target device of current locating periodically top n locating periodically at least one of average speed, N be greater than or
Equal to 1.
Table 1
Speed interval |
Dynamic gene |
First locating periodically T1 |
[K,+∞) |
1 |
T |
[2/3K,K) |
1.2 |
1.2T |
[1/3K,2/3K) |
1.4 |
1.4T |
[0,1/3K) |
1.6 |
1.6T |
It is exemplary, when distance threshold be H when, by corresponding particular parameter value D with division obtain it is different at a distance from section
It is compared, corresponding Dynamic gene B is determined according to the comparison result, according to multiplying for the Dynamic gene and initial alignment cycle T
Product obtains the first locating periodically T1, specific such as table 2.In table 2, when distance range is [H ,+∞), Dynamic gene 1, first is fixed
Bit period T1=T;When distance range be [0, H), Dynamic gene 1.2, the first locating periodically T1=1.2T.By particular parameter value
D with divide obtain it is different at a distance from section be compared, work as D >=H, take B=1, then the first locating periodically T1=T;When 0≤
D < H takes B=1.2, then the first locating periodically T1=1.2T.Wherein, particular parameter value D may include: target device M week
At a distance from the beginning of the finish time of phase and M period and at least one of the average distance in M period, M be greater than or
Equal to 1.
Table 2
Apart from section |
Dynamic gene |
First locating periodically T1 |
[H,+∞) |
1 |
T |
[0,H) |
1.2 |
1.2T |
When cycle dynamics adjusting parameter includes preset range, when particular parameter value is except preset range, first is determined
Locating periodically is equal to the initial alignment period;When particular parameter value is within preset range, it is initial to determine that the first locating periodically is greater than
Locating periodically.Preset range is regional scope, and particular parameter value is the position of current target equipment;Alternatively, preset range
For time range, particular parameter value is current time.Exemplary, when preset range is regional scope, which is set as
Within " beijing ", when the position of target device is " changanjie ", since particular parameter value " changanjie " is pre-
If within range " beijing ", it is determined that the first locating periodically is greater than the initial alignment period, it is assumed that the initial alignment period is T, is adjusted
Integral divisor is 1.5, then the first locating periodically is 1.5T;When preset range is regional scope, which is set as
Within " beijing ", when the position of target device is " shijiazhuang ", due to particular parameter value " shijiazhuang "
At the regional level except " beijing ", it is determined that the first locating periodically is equal to the initial alignment period, it is assumed that the initial alignment period is
T, then the first locating periodically is T;When preset range is time range, which is set as within 9:00-12:00, currently
Moment is 10:20, since particular parameter value 10:20 is within time range 9:00-12:00, it is determined that the first locating periodically is big
In the initial alignment period, it is assumed that the initial alignment period is T, and Dynamic gene 1.3, then the first locating periodically is 1.3T;When default
Range is time range, which is set as within 9:00-12:00, current time 8:00, due to particular parameter value 8:
00 except time range 9:00-12:00, it is determined that the first locating periodically is equal to the initial alignment period, it is assumed that initial alignment week
Phase is T, then the first locating periodically is T.
It should be noted that default adjusted value can be set in LOC CSE, it, should for adjusting the interval of adjacent Dynamic gene
Default adjusted value can be 0.2,, can be by adjacent Dynamic gene if T is 30min when initial alignment cycle T is larger
Interval adjustment to less than or be equal to default adjusted value, in order to avoid the overlong time that locating periodically elongates, causes bad user experience;?
When initial alignment cycle T is lesser, if T is 10min, the interval of two neighboring Dynamic gene can be adjusted to more than default
Adjusted value had not only reduced the influence to user experience, but also can further save various resources.It should be noted that for different
Cycle dynamics adjusting parameter, such as threshold speed, distance threshold, regional scope, time range, LOC CSE can be set different
Dynamic gene, it is not limited in the embodiment of the present invention.
Optionally, it should be noted that request equipment can also send preset threshold section pass corresponding with locating periodically
System, alternatively, the corresponding relationship of preset range section and locating periodically is to LOC CSE, LOC CSE is according to preset threshold section and determines
The corresponding relationship of bit period, alternatively, the corresponding relationship of preset range section and locating periodically determines the first locating periodically.Example
, the pass shown in the relationship or table 2 of speed interval shown in table 1 and the first locating periodically apart from section and the first locating periodically
System can also be arranged by request equipment, be then forwarded to LOC CSE, and LOC CSE carries out the tune of locating periodically according to corresponding relationship
It is whole.
It should be noted that cycle dynamics adjusting parameter may include in threshold speed, regional scope and time range
At least one, or including at least one of distance threshold, regional scope and time range.When cycle dynamics adjusting parameter has
When multiple, LOC CSE needs to obtain particular parameter value corresponding with multiple cycle dynamics adjusting parameter, by multiple dynamic week
The corresponding particular parameter value of phase adjusting parameter is compared, and positioning is adjusted according to the intersection of multiple comparison results or union
It is period, exemplary, when cycle dynamics adjusting parameter includes threshold speed K and regional scope " beijing ", when using multiple ratios
The intersection of relatively result is come when adjusting locating periodically, and when velocity parameter values are less than threshold speed K, and the location parameter is in region model
It encloses within " beijing ", determines that first locating periodically is greater than the initial alignment period, it can be according to velocity parameter values and speed threshold
The comparison of value determines the first locating periodically or determines the first positioning week according to the comparison of location parameter and regional scope
Phase;Other situations determine that first locating periodically is equal to the initial alignment period.
When the union using multiple comparison results is to adjust locating periodically, it is less than the speed when meeting velocity parameter values
Threshold k, and any one situation of the location parameter " beijing " at the regional level, determine that first locating periodically is big
In the initial alignment period;Other situations determine that first locating periodically is equal to the initial alignment period.
Particularly, when cycle dynamics adjusting parameter has multiple, request equipment or operator that each dynamic also can be set
The priority of period modulation parameter, the cycle dynamics adjusting parameter that LOC CSE can only compare highest priority are corresponding
Then particular parameter value adjusts locating periodically according to comparison result.
Particularly, LOC CSE can establish resource unit<locationPolicy>, and the resource unit<
The value of first locating periodically is stored in the resource unit by locationPolicy > be provided with cycle parameter dynamicPeriod
In the cycle parameter dynamicPeriod of<locationPolicy>, for example, the first locating periodically is 30min, then
DynamicPeriod=30min.Further, after the target device and request equipment registered in the LOC CSE is authorized
The first locating periodically, the i.e. value of the dynamicPeriod can be obtained, target device or request equipment can show this to user
First locating periodically, in order to which user understands the current actual location period.
In the prior art, there are target devices in one or more locating periodically, and position is almost unchanged or changes
The case where very little, for example, target device is integrated on automobile, and the automobile encounters traffic congestion, speed limit, rugged mountain in the process of moving
Phenomena such as road, sleet, failure, so that the state that the automobile is in parking or runs at a low speed.Alternatively, target device is carried at
With life, the possible most of time of target device all only stays in some fixed area, and for example the student is basic in 8:00-15:00
All in school, then target device is almost unchanged or vary less in the position of 8:00-15:00.And in practical application, for
Family periodically obtains the location information of target device, but more concerned with mesh by requesting equipment to wish long-term follow target device
The shift in position of marking device, the location information not changed have little significance for certain user;For target device, if more
The secondary location information for obtaining target device, but each location information is basically unchanged, and increases the meaningless positioning of target device
Number, and this positioning also causes calculating in vain and consumes brought electric energy loss;For operator, set in each target
In standby location information acquisition process, there is multiple Signalling exchange, and the location information being basically unchanged causes network signaling overhead
Waste.Therefore, when there are target devices in one or more locating periodically, position is almost unchanged or varies less
Situation, existing location information acquisition method cause the waste to computing resource, energy consumption and network overhead.
In the embodiment of the present invention, since LOC CSE determines the first locating periodically according to cycle dynamics adjusting parameter, this first
Locating periodically be greater than or equal to the initial alignment period, then illustrate the first locating periodically compared to the initial alignment period elongate or not
Become, at the same time in section, compared with the prior art, it is possible to reduce the times of acquisition of the location information of target device are set in target
Standby position is almost unchanged or in the case where varying less, and effectively reduces the waste of computing resource, energy consumption and network overhead.
Step 806, LOC CSE send position request information to target device.
LOC CSE sends position request information to target device, may include the first positioning week in the position request information
Phase, in practical application, the specific structure of M2M system 00 can be different in Fig. 1, and in different M2M systems 00, LOC CSE is to mesh
The method that marking device sends position request information is also different.
When M2M system is the first structure, the environmental structure of M2M system 00 can be as shown in Figure 10, the M2M system 00
It include: request equipment 01, LOC CSE02, target device 03 and location server 04, then LOC CSE can be to location server
Position request information is sent, which is carried out agreement and turned by location server after having received position request information
Target device is transmitted to after changing, exemplary, location server carries out inter-process to position request information, by it by MLP information
Become SUPL (Secure User Plane Location, secure user plane positioning) protocol information.It should be noted that
When the environmental structure of M2M system 00 is as shown in Figure 10, any information that LOC CSE is sent to location server requires to convert
For the protocol information that the location server can be supported, in embodiments of the present invention, position request information can be OMA (Open
Mobile Alliance, Open Mobile Alliance) the MLP information that defines.The position request information can increase message newly with MLP
Form is sent to location server, and the newly-increased message of the MLP, which is used to indicate, is updated to the first positioning for the numerical value of interval parameter
The numerical value of interval parameter in LOC CSE and location server message is updated to the number of the first locating periodically by the period
Value, the position request information can also include the ID of request equipment and the ID of target device, and location server is forwarding the position
When solicited message, target device can be determined by the ID of target device.The location server increases the MLP newly message and assists
It is sent to target device after view conversion, corresponding, the SUPL agreement between location server and target device is also provided with newly-increased disappear
Breath, is updated to the first locating periodically for the numerical value of locating periodically.The newly-increased message of the MLP and SUPL is used to indicate more new definition week
The numerical value of phase makes the numerical value of updated the first locating periodically of numerical value.
It should be noted that location server can be set with target after location server receives position request information
It is standby to execute the initial process of orientation triggering, by a plurality of round-trip signaling, establish the connection of location server and target device, and into
The corresponding capability negotiation of row, such as location capability negotiation.
When M2M system is second of structure, in M2M system 00 shown in Fig. 1, GPS is provided in target device 03
(Global Positioning System, global positioning system) receiver, then LOC CSE can be directly to target device
GPS receiver sends position request information.It should be noted that requesting equipment, LOC when M2M system is second of structure
CSE and target device can integrate in the same equipment, which can be automobile, and LOC CSE is sent to GPS receiver
Any information requires to be converted into the protocol information that the GPS receiver can be supported, in embodiments of the present invention, position requests letter
Breath can call for system or JNI (Java Native Interface, Java are locally called) information.
When M2M system is the third structure, in M2M system 00 shown in Fig. 1, communication is provided in target device 03
Unit and GPS receiver, then LOC CSE can send position request information to the communication unit of target device, by the communication unit
Member sends position request information to GPS receiver, and the function of the communication unit can be realized by application software, as M2M is answered
Use client.It should be noted that when M2M system is the third structure, any letter that communication unit is sent to GPS receiver
Breath requires to be converted into the protocol information that the GPS receiver can be supported, in embodiments of the present invention, position request information can be with
For system calling or JNI information.
Step 807, target device obtain the location information of target device according to position request information.
When M2M system is the first above-mentioned structure, target device can be in the first locating periodically start time, according to position
Solicited message is set, by the location information for obtaining target device with the Signalling exchange of location server.
Exemplary, at the beginning of reaching the first locating periodically, the SUPL client instruction on target device needs to open
Beginning is positioned, and establishes data connection between the SUPL client and location server.Specifically, target device can pass through
SUPL client sends localization message to location-server, and instruction starts position fixing process, carries session id in the localization message
(session-ID), position ID, such as the ability parameter of GSM cell ID and SUPL client, the ability parameter include supporting to determine
Method and agreement of position etc..
In specific position fixing process, the determination that target device carries out the location information of itself can be.When target device into
The timing really of the location information of row itself, is mainly positioned, location server carries out auxiliary by the SUPL client of target device
Positioning is helped, target device is after the auxiliary positioning parameter for receiving location server transmission, in conjunction with the main positioning of itself acquisition
The location information of itself is calculated in parameter.
When M2M system is above-mentioned second of structure or the third structure, the GPS receiver of target device is in the first positioning
Start time in period obtains satellite information according to position request information, the position of target device is calculated according to the satellite information
Information.
It should be noted that the first locating periodically start time can be target device and receive position request information
At the moment, at the time of being also possible to target device and LOC CSE agreement, it is not limited in the embodiment of the present invention.First positioning
As soon as the period is a time cycle, target device obtains a location information every the time cycle, such as first locating periodically
It is 10 minutes, then target device obtained the location information of a target device every 10 minutes.
Step 808, target device send the location information of the target device to LOC CSE.
When M2M system is the first above-mentioned structure, in step 807, when the position for carrying out itself by target device is believed
Really the location information of target device can be sent to location server to breath by timing, target device, and location server is receiving
To after the location information of the target device, carries out protocol conversion and be transmitted to LOC CSE.
When M2M system is above-mentioned second of structure, the location information that the GPS receiver of target device will acquire is sent to
LOC CSE。
When M2M system is the third above-mentioned structure, the location information that the GPS receiver of target device will acquire is sent to
Communication unit is sent to LOC CSE by the communication unit.
In the standard criterion of oneM2M, if request equipment needs to obtain the position of target device at regular intervals
Some time value of parameter locationUpdatePeriod=can be arranged, such as in information in LOC CSE
LocationUpdatePeriod=10min, such LOC CSE will every 10min be obtained according to the parameter of this setting
Purpose equipment location information simultaneously stores.LocationUpdatePeriod is the attribute ginseng of resource unit<locationPolicy>
One of number, when resource unit<locationPolicy>is successfully created, corresponding storage unit<container>also immediately from
Dynamic creation, which is the location information for storing target device, when LOC CSE receives mesh
The location information for the target device that marking device is sent, just according to storage in the updating location information storage unit<container>
Information.
It should be noted that after step 806, when M2M system is the first above-mentioned structure, the position of target device
Information is also possible to what location server was determined, at this point, mainly being positioned by location server, the client of target device
End carries out auxiliary positioning, and location server obtains after the auxiliary positioning parameter for receiving target information transmission in conjunction with itself
The location information of target device is calculated in main positional parameter.It is set correspondingly, location server sends the target to LOC CSE
Standby location information, and execute step 809.
Step 809, LOC CSE send the location information of target device to request equipment.
Position request information can also include the ID of request equipment it can be seen from step 806, then target in step 808
When equipment returns to the location information of target device to LOC CSE, the ID of the request equipment can be carried, LOC CSE is asked according to this
It asks the ID of equipment to determine corresponding request equipment, and sends the location information of target device to the request equipment.
In conclusion request equipment sends adjustment instruction parameter to LOC CSE, LOC CSE indicates parameter according to the adjustment
Determine the first locating periodically, according to first locating periodically, LOC CSE obtains the location information of target device, due to positioning week
Phase can flexibly determine, i.e. the trigger time of acquisition location information can flexibly change, then the acquisition of location information can also be with
It flexibly determines, therefore improves the flexibility of location information acquisition.Simultaneously as LOC CSE is according to cycle dynamics adjusting parameter
Locating periodically is adjusted, the first locating periodically is greater than or equal to the initial alignment period, then illustrates the first locating periodically compared to initial
Locating periodically elongation or constant, at the same time in section, compared with the prior art, it is possible to reduce the location information of target device obtains
Number is taken, in the case where the position of target device is almost unchanged or varies less, effectively reduces computing resource, energy consumption and network
The waste of expense.
The embodiment of the present invention provides a kind of location information acquisition equipment 90, as shown in figure 11, for M2M as shown in Figure 1
The LOC CSE of system, it includes: receiving unit 901, determination unit 902 and acquiring unit that the location information, which obtains equipment 90,
903。
Receiving unit 901 indicates parameter for receiving the adjustment that request equipment is sent, and adjustment instruction parameter, which is used to indicate, is
The no adjustment for carrying out locating periodically.
Determination unit 902, for when adjustment instruction parameter instruction carries out the adjustment of locating periodically, then being indicated according to adjustment
Parameter determines the first locating periodically.
Acquiring unit 903, for obtaining the location information of target device according to the first locating periodically.
In conclusion receiving unit receives the adjustment instruction parameter that request equipment is sent, determination unit is according to the adjustment
Instruction parameter determines the first locating periodically, and according to first locating periodically, acquiring unit obtains the location information of target device, by
It can flexibly determine in locating periodically, i.e. the trigger time of acquisition location information can flexibly change, then location information obtains
Taking flexibly to determine, therefore improves the flexibility of location information acquisition.
Specifically, adjustment instruction parameter includes: cycle dynamics adjusting parameter.As shown in figure 12, determination unit 902, comprising:
First determining module 9021.
First determining module 9021, for determining the first locating periodically according to cycle dynamics adjusting parameter.
As shown in figure 13, determination unit 902, comprising: first obtains module 9022 and adjustment module 9023.
First obtains module 9022, for locally obtaining cycle dynamics adjusting parameter according to adjustment instruction parameter.
Module 9023 is adjusted, for determining the first locating periodically according to cycle dynamics adjusting parameter.
As shown in figure 14, determination unit 902, comprising: second obtains module 9024, and comparison module 9025 and second determine mould
Block 9026.
Second obtains module 9024, for obtaining particular parameter value.
Comparison module 9025, for particular parameter value to be compared with cycle dynamics adjusting parameter.
Second determining module 9026, for determining the first locating periodically according to comparison result, the first locating periodically be greater than or
Equal to the initial alignment period, the initial alignment period is the locating periodically for requesting equipment to send.
It should be noted that cycle dynamics adjusting parameter may include preset threshold, and as shown in figure 15, the second determining module
9026, comprising: first determines that submodule 90261 and second determines submodule 90262.
First determines submodule 90261, for determining the first positioning when particular parameter value is greater than or equal to preset threshold
Period is equal to the initial alignment period.
Second determines submodule 90262, for determining that the first locating periodically is big when particular parameter value is less than preset threshold
In the initial alignment period.
Wherein, preset threshold includes threshold speed, and particular parameter value includes: the instantaneous velocity of target device, target device
Current locating periodically average speed and target device at least one of the average speed of top n locating periodically, N is greater than
Or it is equal to 1, alternatively, preset threshold includes distance threshold, particular parameter value includes: finish time of the target device M period
It is greater than or waits with average distance at least one of of the target device M period, M at a distance from the beginning of M period
In 1.
Cycle dynamics adjusting parameter further includes preset range, as shown in figure 16, the second determining module 9026, comprising: third
Determine that submodule 90263 and the 4th determines submodule 90264.
Third determines submodule 90263, for when except preset range, determining the first locating periodically in particular parameter value
Equal to the initial alignment period.
4th determines submodule 90264, for determining the first locating periodically when particular parameter value is within preset range
Greater than the initial alignment period.
Wherein, preset range is regional scope, and particular parameter value is the position of current target equipment, alternatively, default
Range is time range, and particular parameter value is current time.
As shown in figure 17, acquiring unit 903 includes: sending module 9031 and receiving module 9032.
Sending module 9031, for sending position request information to target device, position request information includes the first positioning
Period obtains the position of target device according to position request information in order to which target device is in the first locating periodically start time
Information.
Receiving module 9032, the location information of the target device for receiving target device transmission.
In conclusion location information provided in an embodiment of the present invention obtains in equipment, receiving unit receives request equipment
The adjustment of transmission indicates that parameter, determination unit indicate that parameter determines the first locating periodically according to the adjustment, according to first positioning
In the period, acquiring unit obtains the location information of target device, since locating periodically can be determined flexibly, that is, obtains location information
Trigger time can flexibly change, then the acquisition of location information can also be determined flexibly, therefore improve location information acquisition
Flexibility.
The embodiment of the present invention provides a kind of location information acquisition equipment 100, as shown in figure 18, the request for M2M system
Equipment, it includes: generation unit 1001 and transmission unit 1002 that location information, which obtains equipment 100,.
Generation unit 1001, for generating adjustment instruction parameter, adjustment instruction parameter is used to indicate whether to carry out positioning week
The adjustment of phase.
Transmission unit 1002, for sending adjustment instruction parameter to LOC CSE, in order to which LOC CSE is in adjustment instruction ginseng
When number instruction carries out the adjustment of locating periodically, the first locating periodically is determined according to adjustment instruction parameter, and according to the first positioning week
The location information of phase acquisition target device.
In conclusion transmission unit refers to the adjustment that generation unit generates since generation unit generates adjustment instruction parameter
Show that parameter is sent to LOC CSE, LOC CSE indicates that parameter determines the first locating periodically according to the adjustment, according to first positioning
In the period, LOC CSE obtains the location information of target device, since locating periodically can be determined flexibly, that is, obtains location information
Trigger time can flexibly change, then the acquisition of location information can also be determined flexibly, therefore improve location information acquisition
Flexibility.
The embodiment of the present invention provides a kind of location information acquisition equipment 110, as shown in figure 19, the target for M2M system
Equipment, it includes: receiving unit 1101 and acquiring unit 1102 that location information, which obtains equipment 110,.
Receiving unit 1101, for receiving the position request information of LOC CSE transmission, position request information is LOC CSE
It receiving the adjustment that request equipment is sent indicates parameter, and is determined according to adjustment instruction parameter and sent after the first locating periodically.
Acquiring unit 1102, for obtaining the location information of target device according to position request information.
As shown in figure 20, acquiring unit 1102, comprising: obtain module 11021.
Module 11021 is obtained, for obtaining target according to position request information in the first locating periodically start time and setting
Standby location information.
In conclusion receiving unit receives the position request information that LOC CSE is sent, which is LOC
CSE indicates parameter receiving the adjustment that request equipment is sent, and is determined according to adjustment instruction parameter and sent after locating periodically, obtains
Unit is taken to be obtained according to the location information that the position request information obtains target device since locating periodically can be determined flexibly
Taking the trigger time of location information can flexibly change, then the acquisition of location information can also be determined flexibly, therefore be improved
The flexibility that location information obtains.
The embodiment of the present invention provides a kind of location information and obtains system to be specifically included including M2M system as shown in Figure 1:
Request equipment, LOC CSE and target device.The LOC CSE includes that location information shown in Fig. 2 obtains equipment 20, requests equipment
Equipment 30 is obtained including location information shown in Fig. 3, target device includes that location information shown in Fig. 4 obtains equipment 40.
Further, it can also include location server that the location information, which obtains system,.
The embodiment of the present invention provides a kind of location information and obtains system to be specifically included including M2M system as shown in Figure 1:
Request equipment, LOC CSE and target device.The LOC CSE includes that location information shown in Figure 11 obtains equipment 90, requests equipment
Equipment 100 is obtained including location information shown in Figure 18, target device includes that location information shown in Figure 19 obtains equipment 110.
Further, it can also include location server that the location information, which obtains system,.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of equipment and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.