CN105516923B - A kind of method and OTA server of determining terminal device region position - Google Patents
A kind of method and OTA server of determining terminal device region position Download PDFInfo
- Publication number
- CN105516923B CN105516923B CN201510944097.6A CN201510944097A CN105516923B CN 105516923 B CN105516923 B CN 105516923B CN 201510944097 A CN201510944097 A CN 201510944097A CN 105516923 B CN105516923 B CN 105516923B
- Authority
- CN
- China
- Prior art keywords
- terminal device
- ota server
- position information
- address
- zone position
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
Abstract
The invention discloses the methods and OTA server of a kind of determining terminal device region position, and OTA server is enable to get the location information of terminal device, to help to instruct product supply and stock control.Method includes: OTA server after receiving the version querying request of terminal device transmission, obtains IP address from version querying request;According to the corresponding relationship of preset IP address and zone position information, the corresponding zone position information of the IP address is determined;And save the zone position information of the terminal device.Since OTA server can be according to the corresponding relationship of preset IP address and zone position information, determine the regional location where any terminal equipment, utilize the zone position information of terminal device, it can know the corresponding sales region of terminal device, and then help to instruct product supply and stock control.
Description
Technical field
The present invention relates to field of communication technology, in particular to a kind of the method and sky of determining terminal device region position
Middle downloading (over the air, OTA) server.
Background technique
OTA technology is by mobile communication (global system for mobile communications (Global System for Mobile
Communication, GSM) or CDMA (Code Division Multiple Access, CDMA)) air interface
The technology that client identification module (Subscriber Identity Module, SIM) card data and application are remotely managed.
Air interface can be grouped using Wireless Application Protocol (Wireless Application Protocol, WAP), wireless universal
Business (General Packet Radio Service, GPRS), CDMA1X and short message service technology.The application of OTA technology, so that
Mobile communication can not only provide voice-and-data service, but also can also provide new business downloading.
OTA upgrading refers to the standard software upgrading mode that android system provides, can be with free of losses upgrade-system, terminal
Equipment (such as mobile phone, tablet computer) can by network (including Wireless Fidelity (Wireless Fidelity, WIFI), 3G,
4G etc.) upgrade package, automatic upgrading are downloaded automatically.OTA escalation process is as shown in Figure 1 at present, comprising:
1, the terminal device that user is used by itself sends version querying request to OTA server, and looks into the version
Ask the version information (such as version number) that carried terminal equipment itself is current in request;
2, after OTA server receives version querying request, all versions being locally stored are traversed, and ask with version querying
The version information of middle carrying is asked to be compared;
If 3, the version information of all versions of OTA server repository is equal to or less than the current version letter of terminal device
Breath, OTA server return to the state without upgrading, and process terminates at this time;
If 4, there is the version for being higher than the current version information of terminal device in OTA server, the return of OTA server can
Upgrade status, and it is higher than the version information of the version of the version information of terminal device;
5, after user reads the version information of OTA server push, decide whether to upgrade;If user decides not to upgrade,
Current process terminates.
If 6, user determines upgrading, user sends upgrade request to OTA server by terminal device;
7, OTA server pushes the address of current scalable version to terminal device;
8, terminal device is according to the address received, from OTA server, downloads current scalable version, and upgrade automatically.
Currently, OTA server can not get the location information of terminal device, to product supply and stock control progress
Guidance.
Summary of the invention
The embodiment of the invention provides the methods and OTA server of a kind of determining terminal device region position, make OTA
Server can get the location information of terminal device, to help to instruct product supply and stock control.
The embodiment of the invention provides a kind of methods of determining terminal device region position, comprising:
OTA server is obtained from version querying request after receiving the version querying request of terminal device transmission
Take IP address, wherein the IP address is that the carrier network of the terminal device region is the terminal device distribution
, the version querying request is for requesting the OTA server inquiry with the presence or absence of higher than the terminal device current version
Version;
The OTA server is according to the corresponding relationship of preset IP address and zone position information, with determining the IP
The corresponding zone position information in location;
The OTA server saves the zone position information of the terminal device.
In possible implementation, the OTA server, should after receiving the version querying request of terminal device transmission
Method further include:
The OTA server obtains the string number for terminal device described in unique identification;
The OTA server is determined not saving the end in the OTA server according to the string number of the terminal device
When the zone position information of end equipment, triggering is from the version querying request the step of acquisition IP address.So as to know
The terminal device for the first time when being connect with OTA server where zone position information, and then can be to being produced in the sales region
Product supply and stock control are instructed.
In possible implementation, the OTA server obtains the string number for terminal device described in unique identification, packet
It includes:
The OTA server gets the string number of the terminal device from version querying request;
Or
The OTA server sends inquiry signaling to the terminal device;And the OTA server receives the terminal
The string number for the terminal device that equipment returns.
In possible implementation, the OTA server obtains Internet protocol IP from version querying request
Behind location, this method further include:
The OTA server saves corresponding first record of the terminal device, wherein includes institute in first record
State the IP address of terminal, the string number of the terminal device and the terminal device and when the OTA server establishes connection
Temporal information.
In possible implementation, after the OTA server saves corresponding first record of the terminal device, the party
Method further include: when setting end cycle, the OTA server obtains all terminal devices pair saved in the setting period
The first record answered;
The OTA server is according to the corresponding relationship of preset IP address and zone position information, with determining the IP
The corresponding zone position information in location, comprising: the OTA server is closed according to preset IP address is corresponding with zone position information
System determines the corresponding zone position information of IP address in every got first record;
The OTA server saves the zone position information of the terminal device, comprising: the OTA server saves institute
It states every first got in the setting period and records corresponding second record, wherein include the end in second record
The IP address of zone position information, the terminal device, the string number of the terminal device and the terminal where end equipment
Equipment and the OTA server establish temporal information when connection.
Based on any of the above-described embodiment, in possible implementation, this method further include:
After the OTA server receives the position requests of management client transmission, all terminal devices for will having saved
Zone position information be sent to the management client;Or
After the OTA server receives the position requests of management client transmission, according to the transmission of the position requests
Time determines the zone position information of the terminal device saved in the setting period nearest with the sending time distance, and
The zone position information for the terminal device determined is sent to the management client.
A kind of OTA server provided in an embodiment of the present invention, comprising:
First processing module, after being requested in the version querying for receiving terminal device transmission, from the version querying
Internet protocol address is obtained in request, wherein the IP address is the carrier network of the terminal device region
For terminal device distribution, the version querying request is for requesting the OTA server inquiry with the presence or absence of higher than institute
State the version of terminal device current version;
Second processing module is determined described for the corresponding relationship according to preset IP address and zone position information
The corresponding zone position information of IP address;
Memory module, for saving the zone position information of the terminal device.
In possible implementation, the first processing module is in the version querying request for receiving terminal device transmission
Afterwards, it is also used to:
Obtain the string number for terminal device described in unique identification;According to the string number of the terminal device, determine described
When not saving the zone position information of the terminal device in OTA server, triggering obtains IP from version querying request
Address.
In possible implementation, the memory module is also used to:
Save corresponding first record of the terminal device, wherein include the IP of the terminal in first record
Location, the string number of the terminal device and the terminal device and the OTA server establish temporal information when connection.
In possible implementation, the Second processing module is specifically used for: when setting end cycle, setting described in acquisition
Corresponding first record of all terminal devices saved in fixed cycle;It is corresponding with zone position information according to preset IP address
Relationship determines the corresponding zone position information of IP address in every got first record;
The memory module is specifically used for: saving every first got in the setting period and records corresponding second
Record, wherein include the IP of zone position information where the terminal device, the terminal device in second record
Location, the string number of the terminal device and the terminal device and the OTA server establish temporal information when connection.
In possible implementation, the OTA server further include:
Third processing module, all ends for will save after the position requests for receiving management client transmission
The zone position information of end equipment is sent to the management client;Or
Receive management client transmission position requests after, according to the sending time of the position requests, determine with
The zone position information for the terminal device that the sending time distance saves in the nearest setting period, and the terminal that will be determined
The zone position information of equipment is sent to the management client.
In method and apparatus provided in an embodiment of the present invention, OTA server can be according to preset IP address and region position
The corresponding relationship of confidence breath, determines the regional location where any terminal equipment, using the zone position information of terminal device,
It can know the corresponding sales region of terminal device, and then help to instruct product supply and stock control.
Detailed description of the invention
Fig. 1 is OTA escalation process schematic diagram;
Fig. 2 is a kind of flow diagram of the determination method of location information provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of embodiment one provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of the first OTA server provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of second of OTA server provided in an embodiment of the present invention.
Specific embodiment
Pass through the zone position information where the increase terminal device in existing OTA escalation process in the embodiment of the present invention
The scheme of acquisition utilizes terminal device so as to can get the zone position information where terminal device in escalation process
The zone position information at place can know the corresponding sales region of terminal device, and then facilitate to product supply and inventory
Management is instructed.
The embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification.It should be appreciated that described herein
Embodiment only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
The method of a kind of determining terminal device region position provided in an embodiment of the present invention, as shown in Fig. 2, this method
Include the following steps:
S21, OTA server are requested after receiving the version querying request of terminal device transmission from the version querying
Middle acquisition Internet protocol (Internet Protocol, IP) address, wherein the IP address is the terminal device place
The carrier network in region is terminal device distribution, and the version querying request is for requesting the OTA server to be looked into
It askes with the presence or absence of the version higher than the terminal device current version;
S22, OTA server are according to the corresponding relationship of preset IP address and zone position information, with determining the IP
The corresponding zone position information in location;
S23, OTA server save the zone position information of the terminal device.
In the embodiment of the present invention, OTA server can according to the corresponding relationship of preset IP address and zone position information,
It determines any terminal equipment location information corresponding with the IP address when connection of OTA server, utilizes the position of terminal device
Information can know the corresponding sales region of terminal device, and then help to instruct product supply and stock control.
As a kind of possible implementation, the current IP address pair of the terminal device that OTA server is determined in S22
The zone position information answered is the information of the prefecture-level city where the terminal device.Certainly, the embodiment of the present invention is not limited to above-mentioned reality
Existing mode can also be the information etc. in the province where the terminal device.
Since the different operators (such as telecommunications, movement, connection) of different provinces or different prefecture-level cities are terminal device distribution
IP address range it is different, therefore, the corresponding relationship of IP address and zone position information can be preset.
Optionally, OTA server after receiving the version querying request of terminal device transmission, also wrap by this method in S21
It includes:
OTA server obtains the string number for terminal device described in unique identification;
OTA server is determined not saving the terminal device in OTA server according to the string number of the terminal device
When zone position information, triggering is from the version querying request the step of acquisition IP address.
Specifically, OTA server is first according to the string number of terminal device, determining the terminal device, whether First Contact Connections are somebody's turn to do
OTA server judges the local zone position information for whether preserving the terminal device, sets if locally having preserved the terminal
Standby zone position information, then illustrating the terminal device not is the First Contact Connections OTA server, only need to be according to existing OTA
Upgrade process, carries out highest version inquiry and feedback;If the local zone position information for not saving the terminal device, illustrates
The terminal device is First Contact Connections OTA server, then triggers above-mentioned steps S21~step S23, to get the terminal device
First Contact Connections to OTA server zone position information, so as to know the terminal device for the first time and OTA server connect
Zone position information where when connecing, and then product supply in the sales region and stock control can be instructed.
Optionally, the string number of terminal device is the unique identification terminal device, can be terminal device international identity code
(International Mobile Equipment Identity, IMEI), or Terminal Equipment Identifier (Mobile
Equipment Identifier, MEID), it can also be the sequence number etc. of terminal device production process generation.It takes the mobile phone as an example,
The IMEI of mobile phone is the requirement according to International Telecommunication Association, and unique code of mobile phone is written, and length is 15, such as
867179020024778。
Optionally, OTA server obtains the string number for terminal device described in unique identification, including following two mode:
If carrying the string number of the terminal device in mode 1, version querying request, OTA server is requested from the version querying
In, obtain the string number of the terminal device.
If not carrying the string number of the terminal device in mode 2, version querying request, OTA server is sent to terminal device
String number request, the string number for the terminal device that receiving terminal apparatus returns, to get the string number of the terminal device.
Based on any of the above-described embodiment, as a kind of optional implementation, OTA server often gets terminal device
After IP address, it is performed both by step S22~step S23, to save the zone position information of each terminal.
In which, OTA server saves the zone position information of the terminal device in S23, comprising:
OTA server by the string number of terminal device be key value, and by the IP address of the terminal device, the terminal device with
The zone position information of temporal information and the terminal device when OTA server establishes connection is thresholding, saves the terminal and sets
Standby zone position information.
As another optional implementation, after OTA server often gets the IP address of terminal device, first saving should
The IP address of terminal device when setting end cycle, then executes step S22~step S23, specifically:
OTA server is after obtaining IP address in version querying request in S21, this method further include: OTA service
Device saves corresponding first record of the terminal device, wherein includes IP address, the end of the terminal in first record
The string number of end equipment and the terminal device and OTA server establish temporal information when connection.
It optionally, is key assignments with the string number of terminal device in the first record, and with the IP address of the terminal and the terminal
Temporal information when equipment establishes connection with OTA server is that thresholding is saved.
Further, after OTA server saves corresponding first record of the terminal device, and OTA server root in S22
According to the corresponding relationship of preset IP address and zone position information, determine the corresponding zone position information of the IP address it
Before, this method further include: when setting end cycle, the OTA server obtains all ends saved in the setting period
Corresponding first record of end equipment;
Correspondingly, OTA server is determined according to the corresponding relationship of preset IP address and zone position information in S22
The corresponding zone position information of the IP address, comprising: OTA server is according to pair of preset IP address and zone position information
It should be related to, determine the corresponding zone position information of IP address in every got first record;
Correspondingly, OTA server saves the zone position information of the terminal device in S23, specifically: OTA server
It saves every first got in the setting period and records corresponding second record, wherein include in second record
Zone position information, the IP address of the terminal device, the string number of the terminal device, Yi Jisuo where the terminal device
State temporal information when terminal device establishes connection with the OTA server.
For example, setting the period as one day, i.e., OTA server obtains the first record saved in one day in the past, and root
According to the corresponding relationship of preset IP address and zone position information, determine that the IP address in the get first record is corresponding
Zone position information, and save every first and record corresponding second record.Optionally, with terminal device in every second record
String number be key assignments, with the IP address and the terminal device of zone position information, the terminal device where the terminal device
Temporal information when establishing connection with OTA server is that thresholding is saved, to form message file.
Based on any of the above-described embodiment, as a kind of optional mode, this method further include:
OTA server is after the position requests for receiving management client transmission, by all terminal devices saved
Zone position information is sent to the management client.
For example, OTA server is by the downloading of the message file of the zone position information comprising all terminal devices
Location is sent to the management client, so that the management client downloads the message file according to the download address, it is every to get
Zone position information where its First Contact Connections to the terminal device of OTA server.
As another optional mode, this method further include:
After OTA server receives the position requests of management client transmission, according to the sending time of the position requests,
It determines the zone position information of the terminal device saved in the setting period nearest with the sending time distance, and will determine
The zone position information of terminal device out is sent to the management client.
In which, OTA server only saves the last period after the position requests for receiving management client transmission
The zone position information of terminal device be sent to management client.
Below with reference to a specific embodiment, to a kind of determining terminal device region position provided in an embodiment of the present invention
The method set is described in detail.
Embodiment one, as shown in figure 3, the terminal device in the present embodiment takes the mobile phone as an example, comprise the following processes following three
A process:
One, IP address stores, specific as follows:
1, mobile phone initiates version querying request to OTA server;Wherein, mobile phone is initiating version querying simultaneously, Ke Yizhu
The dynamic string number for reporting itself;
2, after OTA server receives version querying request, if not receiving the string number of mobile phone, signaling request mobile phone is replied
String number is provided;
3, it after OTA server acquires the string number of mobile phone, stores into temporary variable;
4, OTA server creates new process, to inquire whether the string number of the mobile phone is deposited in the database of OTA server
?;
If it is present OTA server terminates follow-up process, it only need to upgrade process according to existing OTA, carry out highest version
Inquiry and feedback;
If it does not exist, then illustrating that this mobile phone is that access OTA server, OTA server execute step 5 for the first time;
5, the OTA server IP address of acquisition mobile phone and mobile phone and OTA server from version querying request is established and is connected
The temporal information connect.
6, the string number of mobile phone is used as key assignments, IP address and temporal information as thresholding by OTA server, is stored in OTA's
In the database of server.
Two, zone position information determines, specific as follows:
7, the OTA server clothes that (the present embodiment is for one day) start by set date regional location judges within the period of setting
Business process;
8, OTA server inquires database first, according to the temporal information of preservation, obtains in the past in one day, mobile phone first
Secondary and OTA server establishes record when connection, to obtain the IP address in each record;
9, OTA server according to the corresponding relationship of preconfigured IP address and zone position information (in the present embodiment with
IP address with for the corresponding table of prefecture-level city), obtain each record include the corresponding prefecture-level city of IP address information;
10, OTA server will be all in record belonging to the information of the prefecture-level city determined and its corresponding IP address
Information is stored in the database that the OTA server creates daily, and according to the record in newly-built database, with text formatting
It prints in daily message file.
Three, position service function, specific as follows:
11, management client is requested to OTA server launch position, to obtain the region position of terminal device newly-increased daily
Confidence breath;
12, OTA server inquires the message file on the same day according to the time of request;
13, the address of the message file inquired is pushed to management client by OTA server;
14, management client download information file, and according to the regional location for the terminal device for including in the message file
Information, in the region product supply and stock control instruct.
Above method process flow can realize that the software program can store in storage medium with software program, when
When the software program of storage is called, above method step is executed.
Based on the same inventive concept, the embodiment of the invention provides a kind of OTA servers, since the OTA server solves
The principle of problem is similar to the determining method of terminal device region position of one of embodiment shown in Fig. 2, therefore should
The implementation of OTA server may refer to the implementation of method, and overlaps will not be repeated.As shown in figure 4, the OTA server includes:
First processing module 41, for being looked into from the version after receiving the version querying request of terminal device transmission
It askes in request and obtains internet protocol address, wherein the IP address is operator's net of the terminal device region
Network is terminal device distribution, and the version querying request is higher than for requesting the OTA server inquiry whether there is
The version of the terminal device current version;
Second processing module 42 determines institute for the corresponding relationship according to preset IP address and zone position information
State the corresponding zone position information of IP address;
Memory module 43, for saving the zone position information of the terminal device.
Optionally, the first processing module 41 is also used to after receiving the version querying request of terminal device transmission:
Obtain the string number for terminal device described in unique identification;According to the string number of the terminal device, determine described
When not saving the zone position information of the terminal device in OTA server, triggering obtains IP from version querying request
Address.
Optionally, the memory module 43 is also used to: saving corresponding first record of the terminal device, wherein described
It include that the IP address of the terminal, the string number of the terminal device and the terminal device and the OTA take in first record
Business device establishes temporal information when connection.
Further, the Second processing module 42 is specifically used for: when setting end cycle, obtaining in the setting period
Corresponding first record of all terminal devices saved;According to the corresponding relationship of preset IP address and zone position information, really
Make the corresponding zone position information of IP address in every first record got;
The memory module 43 is specifically used for: saving in the setting period get every first and records corresponding the
Two records, wherein the IP including zone position information, the terminal device where the terminal device in second record
Address, the string number of the terminal device and the terminal device and the OTA server establish temporal information when connection.
Based on any of the above-described embodiment, optionally, as shown in figure 5, the OTA server further include:
Third processing module 44, for owning after the position requests for receiving management client transmission by what is saved
The zone position information of terminal device is sent to the management client;Or
Receive management client transmission position requests after, according to the sending time of the position requests, determine with
The zone position information for the terminal device that the sending time distance saves in the nearest setting period, and the terminal that will be determined
The zone position information of equipment is sent to the management client.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (8)
1. a kind of method of determining terminal device region position, which is characterized in that this method comprises:
Aerial downloading OTA server is requested after receiving the version querying request of terminal device transmission from the version querying
Middle acquisition internet protocol address, wherein the IP address is that the carrier network of the terminal device region is institute
Terminal device distribution is stated, the version querying request is for requesting the OTA server inquiry with the presence or absence of higher than the end
The version of end equipment current version;
The OTA server determines the IP address pair according to the corresponding relationship of preset IP address and zone position information
The zone position information answered;
The OTA server saves the zone position information of the terminal device;
Wherein, this method further include:
The OTA server is after the position requests for receiving management client transmission, by all terminal devices saved
Zone position information is sent to the management client;Or
The OTA server is after the position requests for receiving management client transmission, when according to the transmission of the position requests
Between, determine the zone position information of the terminal device saved in the setting period nearest with the sending time distance, and will
The zone position information for the terminal device determined is sent to the management client.
2. the method as described in claim 1, which is characterized in that the OTA server is in the version for receiving terminal device transmission
After this inquiry request, this method further include:
The OTA server obtains the string number for terminal device described in unique identification;
The OTA server determines that not saving the terminal in the OTA server sets according to the string number of the terminal device
When standby zone position information, the step of triggering obtains IP address from version querying request.
3. method according to claim 2, which is characterized in that the OTA server is obtained from version querying request
After internet protocol address, this method further include:
The OTA server saves corresponding first record of the terminal device, wherein includes the end in first record
The IP address at end, the string number of the terminal device and the terminal device and the OTA server establish time when connection
Information.
4. method as claimed in claim 3, which is characterized in that the OTA server saves the terminal device corresponding the
After one record, this method further include: when setting end cycle, the OTA server is obtained in the setting period and saved
All terminal devices it is corresponding first record;
The OTA server determines the IP address pair according to the corresponding relationship of preset IP address and zone position information
The zone position information answered, comprising: the OTA server according to the corresponding relationship of preset IP address and zone position information,
Determine the corresponding zone position information of IP address in every got first record;
The OTA server saves the zone position information of the terminal device, comprising: sets described in the OTA server preservation
Every got in fixed cycle first records corresponding second record, wherein includes that the terminal is set in second record
The standby zone position information at place, the IP address of the terminal device, the terminal device string number and the terminal device
Temporal information when connection is established with the OTA server.
5. a kind of OTA server, which is characterized in that the OTA server includes:
First processing module, for being requested from the version querying after receiving the version querying request of terminal device transmission
Middle acquisition internet protocol address, wherein the IP address is that the carrier network of the terminal device region is institute
Terminal device distribution is stated, the version querying request is for requesting the OTA server inquiry with the presence or absence of higher than the end
The version of end equipment current version;
Second processing module, for the corresponding relationship according to preset IP address and zone position information, with determining the IP
The corresponding zone position information in location;
Memory module, for saving the zone position information of the terminal device;
Third processing module, for after the position requests for receiving management client transmission, all terminals saved to be set
Standby zone position information is sent to the management client;Or
Receive management client transmission position requests after, according to the sending time of the position requests, determine with it is described
The zone position information for the terminal device that sending time distance saves in the nearest setting period, and the terminal device that will be determined
Zone position information be sent to the management client.
6. OTA server as claimed in claim 5, which is characterized in that the first processing module is receiving terminal device
After the version querying request of transmission, it is also used to:
Obtain the string number for terminal device described in unique identification;According to the string number of the terminal device, the OTA clothes are determined
When not saving the zone position information of the terminal device in business device, triggering obtains IP address from version querying request.
7. OTA server as claimed in claim 6, which is characterized in that the memory module is also used to:
Save corresponding first record of the terminal device, wherein include IP address, the institute of the terminal in first record
The string number and the terminal device for stating terminal device establish temporal information when connection with the OTA server.
8. OTA server as claimed in claim 7, which is characterized in that the Second processing module is specifically used for: in setting week
At the end of phase, corresponding first record of all terminal devices saved in the setting period is obtained;According to preset IP address
With the corresponding relationship of zone position information, the corresponding zone position of IP address in every got first record is determined
Breath;
The memory module is specifically used for: saving every first got in the setting period and records corresponding second note
Record, wherein include the IP of zone position information where the terminal device, the terminal device in second record
Location, the string number of the terminal device and the terminal device and the OTA server establish temporal information when connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510944097.6A CN105516923B (en) | 2015-12-16 | 2015-12-16 | A kind of method and OTA server of determining terminal device region position |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510944097.6A CN105516923B (en) | 2015-12-16 | 2015-12-16 | A kind of method and OTA server of determining terminal device region position |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105516923A CN105516923A (en) | 2016-04-20 |
CN105516923B true CN105516923B (en) | 2019-09-17 |
Family
ID=55724495
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510944097.6A Active CN105516923B (en) | 2015-12-16 | 2015-12-16 | A kind of method and OTA server of determining terminal device region position |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105516923B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11726762B2 (en) * | 2018-03-23 | 2023-08-15 | Signify Holding B.V. | Method of and devices for performing an over-the-air, OTA, upgrade in a network of communicatively interconnected devices |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102970342A (en) * | 2012-11-01 | 2013-03-13 | 山东大学 | Automatic update method of embedded terminal based on over the air (OTA) technology |
CN103248723A (en) * | 2013-04-10 | 2013-08-14 | 腾讯科技(深圳)有限公司 | Determination method and device for IP address area |
CN104066077A (en) * | 2014-06-24 | 2014-09-24 | 青岛海信移动通信技术股份有限公司 | OTA downloading and upgrading method and device thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7016353B2 (en) * | 2001-06-13 | 2006-03-21 | Telcordia Technologies, Inc. | Method and system for dynamically assigning IP addresses in wireless networks |
CN101179425A (en) * | 2006-12-11 | 2008-05-14 | 腾讯科技(深圳)有限公司 | Client terminal software updating control method and system |
-
2015
- 2015-12-16 CN CN201510944097.6A patent/CN105516923B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102970342A (en) * | 2012-11-01 | 2013-03-13 | 山东大学 | Automatic update method of embedded terminal based on over the air (OTA) technology |
CN103248723A (en) * | 2013-04-10 | 2013-08-14 | 腾讯科技(深圳)有限公司 | Determination method and device for IP address area |
CN104066077A (en) * | 2014-06-24 | 2014-09-24 | 青岛海信移动通信技术股份有限公司 | OTA downloading and upgrading method and device thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105516923A (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6941679B2 (en) | Network slice selection method, user equipment, and network equipment | |
CN104137587B (en) | A kind of method and terminal device for sending, receiving user data | |
EP4210297A1 (en) | Edge application discovery method and apparatus, and edge application service support method and apparatus | |
CN110024426A (en) | It is accessed the device and method of control by eSIM | |
CN107135149B (en) | Method and equipment for recommending social users | |
KR20140037095A (en) | Mobile network operator identification | |
US11201928B2 (en) | Method of referencing a connection session with a wireless communication device in a local area, a system for implementing this method, a method of referencing an application user, a machine-readable medium for implementing this method, as well as a method of collecting data on the wireless communication device user, and a machine-readable medium for implementing this method | |
CN103686591A (en) | Method and system for acquiring position information | |
CN101237475B (en) | Information push system, method and device | |
CN107889194B (en) | Obtain, provide method, equipment and the medium of wireless access point access information | |
CN105530630B (en) | A kind of OTA upgrade method and equipment | |
CN105357031A (en) | OTA (over the air) upgrade method and device | |
EP3729845B1 (en) | Adaptive esim delivery | |
CN103491522B (en) | terminal adapting method and device | |
RU2601834C2 (en) | Method of application distribution, terminal and server | |
CN100455135C (en) | Mobile terminal positioning method and system | |
CN101925158A (en) | System and method for obtaining number detail | |
CN109087096B (en) | Block chain account checking method, device, equipment and storage medium | |
WO2015185997A2 (en) | Viral distribution of mobile application software | |
CN105516923B (en) | A kind of method and OTA server of determining terminal device region position | |
US11012830B2 (en) | Automated activation and onboarding of connected devices | |
CN105554731A (en) | OTA upgrading method and OTA upgrading device | |
US20160088076A1 (en) | Method, device and system for obtaining mobile network data resources | |
CN105357272B (en) | A kind of OTA upgrade method and equipment | |
JP7270845B2 (en) | Mobile service access method, device, system, storage medium, electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |