CN106325904B - Method for updating terminal software, server and terminal - Google Patents
Method for updating terminal software, server and terminal Download PDFInfo
- Publication number
- CN106325904B CN106325904B CN201510374727.0A CN201510374727A CN106325904B CN 106325904 B CN106325904 B CN 106325904B CN 201510374727 A CN201510374727 A CN 201510374727A CN 106325904 B CN106325904 B CN 106325904B
- Authority
- CN
- China
- Prior art keywords
- terminal
- information
- server
- upgrade package
- predeterminable area
- 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
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000005540 biological transmission Effects 0.000 claims description 25
- 238000013507 mapping Methods 0.000 claims description 6
- 230000000116 mitigating effect Effects 0.000 abstract description 2
- 230000005484 gravity Effects 0.000 description 34
- 238000010586 diagram Methods 0.000 description 12
- 241000208340 Araliaceae Species 0.000 description 5
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 5
- 235000003140 Panax quinquefolius Nutrition 0.000 description 5
- 235000008434 ginseng Nutrition 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000009434 installation Methods 0.000 description 4
- 238000011017 operating method Methods 0.000 description 4
- 238000011160 research Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 230000008014 freezing Effects 0.000 description 2
- 238000007710 freezing Methods 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The present invention provides a kind of method for updating terminal software, server and terminal, and method includes: the location information that server receiving terminal is sent, and the location information is for positioning region locating for the terminal;The server judges whether the terminal is located at predeterminable area according to the positional information, if judging, the terminal is located at the predeterminable area, then the server sends upgrade package corresponding with the predeterminable area to the terminal, so that the terminal is upgraded according to the upgrade package;Otherwise upgrade package is not sent to the terminal.The terminal for according to the present invention it is possible to avoid the information exchange of big flow, mitigating the burden of network, and can be avoided other regions carries out upgrading bring risk.
Description
Technical field
The present invention relates to wireless communication technique more particularly to a kind of method for updating terminal software, server and terminal.
Background technique
With increasingly popularizing for mobile terminal, mobile terminal is towards more intelligent, more high integration, more powerful
Direction develop.Mobile terminal while bringing more convenience for user, user to the various application software of mobile terminal with
And functional demand of operating system is also more more and more intense.
Currently, software is possible to the problem of a certain specific region is not available.For example, colder in northeast
Area, terminal can not start due to the influence of ambient temperature, certain softwares.For example, in order to protect terminal inner to be arranged
Gravity sensor, corresponding range can be set to the operating temperature of gravity sensor, be generally located on subzero 20 degrees Celsius
More than, but for area as Mo River, into winter general temperature all can at subzero 30 degrees Celsius or 40 degrees Celsius,
Due to having exceeded the operating temperature of gravity sensor setting, gravity sensor no longer works, and needs to use gravity biography in this way
Certain softwares of sensor will can not start, and in fact gravity sensor be can subzero 40 degrees Celsius even subzero 50
It works at a temperature of degree Celsius, in this way, in the case where not changing terminal hardware, it is necessary to the software is upgraded, with
Keep the institute of user's normal use of the Northeast operating system functional, and the software can also be made by other areas
With.
Again for example, SIM (Subscriber Identity Module, client identification module) is blocked, it is different
Region is to contract to make to different manufacturers.When SIM card is fitted into terminal, terminal first has to identify whether SIM card is effective,
Need certain specific fields in reading SIM card.For national most area, which is that the first parameter indicates to be somebody's turn to do
SIM card is effective, so the operating system of terminal can be set as identifying that the SIM card is effective when specific fields are the first parameter.
But for Hubei Province, the specific fields of SIM card indicate that the SIM card is effective when being the second parameter, the second parameter and the first ginseng
Number is different, first parameter and the second parameter specifically can be AN-AAA (Access Network-Authentication,
Accounting, Authorization Server, access net authentication authorize accounting server) parameter, just it will appear at this time
Terminal can not identify the case where effective SIM card, need to upgrade the operating system of terminal, so that terminal can recognize that
The SIM card in Hubei Province, and terminal also can recognize that the SIM card in other regions.
It is all in the prior art the upgrading to orient towards the whole country to the upgrading of software, that is, the new version of software orients towards the whole country each
A terminal is issued, and national terminal will cause the information exchange of big flow to the upgrading of software, and in fact, for occurring
The upgrading of the terminal in the region other than problem, software will not carry out any change to the functional bands of terminal, thus come to Netowrk tape
Unnecessary burden.
Summary of the invention
The present invention provides a kind of method for updating terminal software, server and terminal, to solve the software whole nation in the prior art
Upgrade the problem of carrying out unnecessary burden to Netowrk tape.
First aspect of the present invention provides a kind of method for updating terminal software, comprising:
The location information that server receiving terminal is sent, the location information is for positioning region locating for the terminal;
The server judges whether the terminal is located at predeterminable area according to the positional information, if judging the end
End is located at the predeterminable area, then the server sends upgrade package corresponding with the predeterminable area to the terminal, so that
The terminal is upgraded according to the upgrade package;Otherwise upgrade package is not sent to the terminal.
Another aspect of the invention provides a kind of method for updating terminal software, comprising:
Terminal to server sends location information, and the location information is for positioning region locating for the terminal;
The terminal receives the upgrade package that the server is sent, and the upgrade package is the server according to the position
Information judges that the upgrade package sent when the terminal is located at predeterminable area, the upgrade package are corresponding with the predeterminable area;
The terminal is upgraded according to the upgrade package.
Another aspect of the present invention provides a kind of server, comprising:
First receiving module, for receiving the location information of terminal transmission, the location information is for positioning the terminal
Locating region;
Judgment module, for judging whether the terminal is located at predeterminable area according to the positional information, if judging institute
It states terminal and is located at the predeterminable area, then trigger the first sending module, otherwise do not send upgrade package to the terminal;
First sending module, for sending upgrade package corresponding with the predeterminable area to the terminal, so that the end
End is upgraded according to the upgrade package.
Another aspect of the present invention provides terminal, comprising:
Second sending module, for sending location information to server, the location information is for positioning the terminal institute
Locate region;
Second receiving module, the upgrade package sent for receiving the server, the upgrade package are the server root
The upgrade package sent when judging that the terminal is located at predeterminable area according to the location information, the upgrade package and the preset areas
Domain is corresponding;
Upgraded module, for being upgraded according to the upgrade package.
As shown from the above technical solution, compared with prior art, method for updating terminal software provided by the invention, server
And terminal, server receive the location information of terminal transmission first, and the geographical location of terminal is determined according to location information, if
Judge that terminal in predeterminable area, just sends the upgrade package corresponding with predeterminable area to terminal, so that terminal upgrade, otherwise
Just upgrade package is not sent to terminal, in this way, being directed to the upgrade package of the predeterminable area by only sending to the terminal of predeterminable area, i.e.,
It only can just upgrade in the terminal of predeterminable area, not only can mitigate the burden of network, Er Qieneng to avoid the information exchange of big flow
The terminal in other regions is enough avoided to carry out upgrading bring risk.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram according to the method for updating terminal software of one embodiment of the invention;
Fig. 2 is the flow diagram according to the method for updating terminal software of another embodiment of the present invention;
Fig. 3 is the flow diagram according to the method for updating terminal software of further embodiment of this invention;
Fig. 4 is the flow diagram according to the method for updating terminal software of yet another embodiment of the invention;
Fig. 5 is the structural schematic diagram according to the server of another embodiment of the present invention;
Fig. 6 is the structural schematic diagram according to the terminal of yet another embodiment of the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Embodiment one
The present embodiment provides a kind of method for updating terminal software, upgrade for the target software to terminal, to solve
Corresponding problem of the terminal in predeterminable area.The executing subject of the present embodiment is server.
As shown in Figure 1, for according to the flow diagram of the method for updating terminal software of the present embodiment.The terminal software upgrading
Method includes:
Step 101, the location information that server receiving terminal is sent, location information is for region locating for positioning terminal.
The location information that terminal is sent, can carry and send in other communication informations, can also individually be sent, and have
Body can be set according to actual needs.In addition, the location information, which can be, is sent to server every preset time by terminal,
Or the location information is that server triggers terminal is sent, for example, server reports information to terminal transmission, with triggering terminal
Location information is sent, in this way, terminal receives after this reports information, so that it may report information to send the position of terminal according to this
Information.
It optionally, include the geographical location of terminal in the location information, terminal can be by itself GPS (Global
Positioning System, global positioning system) the current geographical location of positioning, and the geographical location is reported to server.
Alternatively, IP (Internet Protocol, the agreement interconnected between network) information in the location information including terminal.
Step 102, server judges whether terminal is located at predeterminable area according to location information, if it is pre- to judge that terminal is located at
If region, then server sends upgrade package corresponding with predeterminable area to terminal, so that terminal is upgraded according to upgrade package;It is no
Then upgrade package is not sent to terminal.
If the location information that terminal is sent includes the geographical location of terminal, server judges that terminal is according to geographical location
It is no to be located in predeterminable area;If the location information that terminal is sent includes the IP information of terminal, server is believed according to the IP of terminal
Breath obtains the geographical location of terminal, and server judges whether terminal is located in predeterminable area according to geographical location.Service implement body
How the prior art belonged to according to the geographical location of IP information acquisition terminal, details are not described herein.
Since the target software in terminal different problems may occur in different predeterminable areas, in terminal
Target software can correspond to different upgrade package in different predeterminable areas.In addition, the corresponding upgrade package of a certain predeterminable area is
It can be used in other regions for not occurring same problem, i.e., upgrade package has compatibility.Certainly, due to solve the problems, such as when
Between it is very urgent, it is possible to the upgrade package of the target software is only applicable to corresponding predeterminable area, and the liter is installed in other regions
Whether will lead to target software when grade packet and go wrong has uncertainty, and detects whether the upgrade package can be compatible with other
Area needs a large amount of testing time.At this point it is possible to temporarily only upgrade to the target software of predeterminable area, so that the target
Software is available in the predeterminable area, and then can be to avoid the other region bring risk problems of upgrading, and research staff is subsequent
There can be the relatively sufficient time further perfect to the target software, so that the target software whole nation is general.
Compared with prior art, the method for updating terminal software of the present embodiment, server receive the position of terminal transmission first
Confidence ceases, and the geographical location of terminal is determined according to location information, if judging, terminal in predeterminable area, is just sent out to terminal
The upgrade package corresponding with predeterminable area is sent, so that terminal upgrade, does not otherwise just send upgrade package to terminal, in this way, by only
The upgrade package for being directed to the predeterminable area is sent to the terminal of predeterminable area, i.e., only can just upgrade in the terminal of predeterminable area, not only
The burden of network can be mitigated to avoid the information exchange of big flow, and the terminal that can be avoided other regions carries out upgrading band
The risk come.
Embodiment two
The present embodiment is unlike the embodiments above, and server can also receive the current of the target software of terminal transmission
Version information, if server has judged the target software of terminal according to the current version information and preset latest version information
It is latest edition, then does not have to send upgrade package corresponding with latest edition to terminal again.The current version of the target software is believed
Breath can be carried to be sent in location information, can also individually be sent, or is carried and sent in other information, specifically not
It limits.
Optionally, in the present embodiment, if server reports information to send location information with triggering terminal to terminal transmission,
Report may include in information target software identification information, with triggering terminal send location information, in this way, terminal receives this
After reporting information, so that it may the identification information of the target software in information be reported to know that this reports working as which software according to this
Preceding version information sends the mark of target software to terminal after can also be that server judges that terminal is located in predeterminable area
Information is known, so that terminal to server sends the current version information of the target software in terminal.By in server triggers terminal
The current version information for reporting target software can be avoided the current version information that terminal blindly reports target software, i.e. server
It can know which software goes wrong in predeterminable area and has new upgrade package, it is only necessary to which triggering terminal reports the software
Current version information, have stronger specific aim.Certainly, terminal can also make the information of softwares all in terminal
It is reported for target software, can specifically be set according to actual needs.
For example, in the prior art, the operating temperature of gravity sensor is generally set in subzero 20 degrees Celsius to zero
It is upper between 40 degrees Celsius.It is assumed that predeterminable area is Heilongjiang Province, winter is colder, has exceeded gravity sensor setting
Operating temperature, the target for needing to use gravity sensor, which turns part, to work, and gravity sensor can actually be subzero four
It works at a temperature of ten degrees Celsius even subzero 50 degrees Celsius.At this point, target software is used to start gravity sensor, the mesh
The corresponding upgrade package of latest version information of mark software is used to reset the temperature range of target software starting gravity sensor
Lower limit be the first temperature, the range of the first temperature is subzero 50 degrees Celsius to subzero 40 degrees Celsius.By the latest edition
The corresponding upgrade package of information is arranged in server end, and the corresponding predeterminable area of the upgrade package is Heilongjiang Province.Server according to
The information of the upgrade package knows the information of the target software, such as the identification information of target software.Terminal can be when default
Between, location information is sent to server, includes the IP information of the terminal and the current version letter of target software in the location information
Breath, it is current in server comparison position information if server judges that the terminal is located in Heilongjiang Province according to IP information
Version information and latest version information, if judging, the target software of the terminal is not latest edition, sends this most to terminal
The corresponding upgrade package of new version information, so that the terminal in Heilongjiang Province is upgraded.And in winter, the temperature in Hainan is zero
Upper 16 degrees Celsius to 24 degrees Celsius, that is to say, that Hainan region is not in if Heilongjiang Province is due to cold in winter
The problem of gravity sensor can not work, also there is no need to the upgrade package of the corresponding latest edition in Heilongjiang Province in Hainan region, i.e.,
The terminal of Hainan Region does not have to be upgraded for the upgrade package of Heilongjiang Province, at this time the liter of the corresponding latest edition in Hainan region
Grade packet can be the upgrade package before the upgrade package of the corresponding latest edition in Heilongjiang Province, be also possible to for solving Hainan region
The upgrade package of the particular problem of appearance.
Again for example, predeterminable area is Hubei Province.The SIM card of national most area is effectively identified as the first ginseng
In number, i.e. SIM card installation such as terminal, if it is the first parameter that terminal recognition, which goes out specific fields, it is determined that the SIM card is effective, and lake
The specific fields in backlands area are the second parameter, i.e., should be that terminal recognition goes out to determine the SIM card when specific fields are the second parameter
Effectively.In this way, the terminal that Hubei Province just will appear Hubei Province can not identify effective SIM card, then target software client for identification
Identification module SIM card, the corresponding upgrade package of latest version information is for including: that setting target software identifies SIM in resetting
The effective field of card includes the first parameter and the second parameter.The corresponding upgrade package of the latest version information is arranged in server
End, and the corresponding predeterminable area of the upgrade package is Hubei Province.Server knows the target software according to the information of the upgrade package
Information, such as the identification information of target software, next, terminal sends location information, the position to server every preset time
It include the IP information of the terminal and the current version information of target software in confidence breath, if server judges this according to IP information
Terminal is in Hubei Province, then the current version information and latest version information in server comparison position information, if judging this
The target software of terminal is not latest edition, then sends the corresponding upgrade package of the latest version information, so that the end in Hubei Province
End is upgraded.And in Hainan region, the specific fields of SIM card are the first parameter, that is to say, that Hainan region be not in as
The problem of specific fields of the SIM card in Hubei Province cause terminal that can not identify effective SIM card for the second parameter, Hainan region
There is no need to the upgrade package of the corresponding latest edition in Hubei Province, i.e., the terminal in Hainan region do not have to the upgrade package for Hubei Province into
Row upgrading, at this time the upgrade package of the corresponding latest edition in Hainan region can be the corresponding latest edition in Hubei Province upgrade package it
Preceding upgrade package is also possible to the upgrade package of the particular problem for solving the appearance of Hainan region.
As shown in Fig. 2, for according to the flow diagram of the method for updating terminal software of the present embodiment.
Step 201, the location information that server receiving terminal is sent includes target software in terminal in the location information
The IP information of current version information and terminal.
The target software can be the software that all softwares or user are being currently used in terminal, or random
Software or predetermined software can specifically be set according to actual needs.
Step 202, server is according to the current location information of the IP information acquisition terminal of terminal.
How server according to the current location information of IP information acquisition terminal belongs to the prior art, and details are not described herein.
Step 203, server judges that terminal whether in predeterminable area, if the determination result is YES, thens follow the steps 204, no
Then follow the steps 206.
In the present embodiment, the mapping of predeterminable area upgrade package corresponding with the latest edition of target software can be pre-established
Relationship, in this way, can by the corresponding predeterminable area of upgrade package of the acquisition of information of the target software target software, server into
And it can know terminal whether in predeterminable area according to the current location information of terminal.
Step 204, server judges terminal according to the latest version information of current version information and preset target software
In target software whether be latest edition, if judging result be it is no, then follow the steps 205, it is no to then follow the steps 206.
The latest edition of target software is stored in advance in the server.
Step 205, server sends the upgrading of the latest version information corresponding with predeterminable area of target software to terminal
Packet, so that terminal upgrades target software according to upgrade package.
How terminal, which passes through upgrade package, is upgraded, and belongs to the prior art, details are not described herein.
Step 206, server is used to indicate instruction information of the target software without latest edition to terminal return.
Compared with prior art, the band that the method for updating terminal software of the present embodiment, first server receiving terminal are sent
There is target to turn the location information of the current version information of part, when determining terminal in predeterminable area, just compares current version letter
The latest version information of breath and preset target software just sends upgrading corresponding with predeterminable area to terminal if the two is different
Packet, so that terminal upgrade only exists in this way, being directed to the upgrade package of the predeterminable area by only sending to the terminal of predeterminable area
The terminal of predeterminable area can just upgrade, and not only can mitigate the burden of network, and can keep away to avoid the information exchange of big flow
The terminal for exempting from other regions carries out upgrading bring risk.Moreover, can be avoided service by terminal active reporting location information
Device reports information and the huge flow of bring to terminal transmission in all parts of the country, and then further avoids coming for Netowrk tape biggish
Burden.
Embodiment three
It is unlike the embodiments above the present embodiment provides a kind of method for updating terminal software, the execution of the present embodiment
Main body is terminal, illustrates how terminal side is upgraded in predeterminable area.
As shown in figure 3, for according to the flow diagram of the method for updating terminal software of the present embodiment.
Step 301, terminal to server sends location information, and location information is for region locating for positioning terminal.
The location information that terminal is sent, can carry and send in other communication informations, can also individually be sent, and have
Body can be set according to actual needs.In addition, the location information can be and be sent every preset time to server from terminal,
It is also possible to not access wireless network for a long time in terminal, active transmission when accessing wireless network again at this time can also be server
What triggering terminal was sent, for example, server reports information to terminal transmission, so that terminal is according to the position for reporting information to send terminal
Confidence breath.
It optionally, include the geographical location of terminal in the location information, terminal can be by itself GPS (Global
Positioning System, global positioning system) the current geographical location of positioning, and the geographical location is reported to server.
Alternatively, IP (Internet Protocol, the agreement interconnected between network) information in the location information including terminal.
Step 302, terminal receives the upgrade package that server is sent, and upgrade package judges end according to location information for server
End is located at the upgrade package sent when predeterminable area, and upgrade package is corresponding with predeterminable area.
Since target software different problems may occur in different predeterminable areas, the target software in terminal is not
Same predeterminable area can correspond to different upgrade package.In addition, the corresponding upgrade package of a certain predeterminable area be can it is other not
What the region of appearance same problem used, i.e., upgrade package has compatibility.Certainly, since the time solved the problems, such as is very urgent,
It is possible that the upgrade package of the target software is only applicable to corresponding predeterminable area, and whether when upgrade package is installed in other regions can
Causing target software to go wrong has uncertainty, and detects whether the upgrade package can be compatible with other area needs largely
Testing time.At this point it is possible to temporarily only upgrade to the target software of predeterminable area, so that the target software is default at this
Region is available, and then can be to avoid upgrading other region bring risk problems, and research staff is subsequent can have relatively
The sufficient time is further perfect to the target software, so that the target software whole nation is general.
If location information includes the geographical location of terminal, it is default that server according to geographical location judges whether terminal is located at
In region;If location information includes the IP information of terminal, server according to the geographical location of the IP information acquisition terminal of terminal,
And judge whether terminal is located in predeterminable area according to geographical location.
Step 303, terminal is upgraded according to upgrade package.
How specific terminal, which installs upgrade package, belongs to the prior art to carry out upgrading to target software, and details are not described herein.
Compared with prior art, the method for updating terminal software of the present embodiment, the terminal that terminal is sent to server first
Location information so that server according to location information determine terminal locating for region, if judge terminal in predeterminable area,
The upgrade package corresponding with predeterminable area just is sent to terminal, terminal is upgraded according to the upgrade package, in this way, by only to pre-
If the terminal in region sends the upgrade package for being directed to the predeterminable area, i.e., only can just upgrade in the terminal of predeterminable area, it not only can be with
The information exchange for avoiding big flow, mitigates the burden of network, and the terminal that can be avoided other regions carries out upgrading bring
Risk.
Example IV
The present embodiment is unlike the embodiments above, and terminal can also send the current version of target software to server
Information, if server judges that the target software of terminal has been according to the current version information and preset latest version information
Latest edition does not have to then send upgrade package corresponding with latest edition to terminal again.The current version information of the target software can
It is sent, can also be individually sent in location information with carrying, or carried and sent in other information, do not limited specifically
It is fixed.The identification information of target software, server can be carried and be sent in reporting information, can also judge the terminal
It is individually sent after predeterminable area, specifically without limitation.In this way, terminal receives after this reports information, so that it may
To be reported the identification information of the target software in information to know according to this, this reports the current version information of which software.By servicing
Device triggering terminal reports the current version information of target software, can be avoided terminal and blindly the current version of target software is reported to believe
Breath, i.e. server can know which software goes wrong in predeterminable area and has new upgrade package, it is only necessary to which triggering is eventually
End reports the current version information of the software, has stronger specific aim.Certainly, terminal can also will be all soft in terminal
The information of part is used as target software to be reported, after can also be that server judges that terminal is located in predeterminable area, to
Terminal sends the identification information of target software, so that terminal to server sends the current version letter of the target software in terminal
Breath, can specifically set according to actual needs.
For example, in the prior art, the operating temperature of gravity sensor is generally set in subzero 20 degrees Celsius to zero
It is upper between 40 degrees Celsius.It is assumed that predeterminable area is Heilongjiang Province, winter is colder, has exceeded gravity sensor setting
Operating temperature, the target for needing to use gravity sensor, which turns part, to work, and gravity sensor can actually be subzero four
It works at a temperature of ten degrees Celsius even subzero 50 degrees Celsius.At this point, target software is used to start gravity sensor, the mesh
The corresponding upgrade package of latest version information of mark software is used to reset the temperature range of target software starting gravity sensor
Lower limit be the first temperature, the range of the first temperature is subzero 50 degrees Celsius to subzero 40 degrees Celsius.By the latest edition
The corresponding upgrade package of information is arranged in server end, and the corresponding predeterminable area of the upgrade package is Heilongjiang Province.Server according to
The information of the upgrade package knows the information of the target software, such as the identification information of target software.Terminal can be when default
Between, location information is sent to server, includes the IP information of the terminal and the current version letter of target software in the location information
Breath, it is current in server comparison position information if server judges that the terminal is located in Heilongjiang Province according to IP information
Version information and latest version information, if judging, the target software of the terminal is not latest edition, sends this most to terminal
The corresponding upgrade package of new version information, so that the terminal in Heilongjiang Province is upgraded.And in winter, the temperature in Hainan is zero
Upper 16 degrees Celsius to 24 degrees Celsius, that is to say, that Hainan region is not in if Heilongjiang Province is due to cold in winter
The problem of gravity sensor can not work, also there is no need to the upgrade package of the corresponding latest edition in Heilongjiang Province in Hainan region, i.e.,
The terminal of Hainan Region does not have to be upgraded for the upgrade package of Heilongjiang Province, at this time the liter of the corresponding latest edition in Hainan region
Grade packet can be the upgrade package before the upgrade package of the corresponding latest edition in Heilongjiang Province, be also possible to for solving Hainan region
The upgrade package of the particular problem of appearance.
Again for example, predeterminable area is Hubei Province.The SIM card of national most area is effectively identified as the first ginseng
In number, i.e. SIM card installation such as terminal, if it is the first parameter that terminal recognition, which goes out specific fields, it is determined that the SIM card is effective, and lake
The specific fields in backlands area are the second parameter, i.e., should be that terminal recognition goes out to determine the SIM card when specific fields are the second parameter
Effectively.In this way, the terminal that Hubei Province just will appear Hubei Province can not identify effective SIM card, then target software client for identification
Identification module SIM card, the corresponding upgrade package of latest version information is for including: that setting target software identifies SIM in resetting
The effective field of card includes the first parameter and the second parameter.The corresponding upgrade package of the latest version information is arranged in server
End, and the corresponding predeterminable area of the upgrade package is Hubei Province.Server knows the target software according to the information of the upgrade package
Information, such as the identification information of target software, next, terminal sends location information, the position to server every preset time
It include the IP information of the terminal and the current version information of target software in confidence breath, if server judges this according to IP information
Terminal is in Hubei Province, then the current version information and latest version information in server comparison position information, if judging this
The target software of terminal is not latest edition, then sends the corresponding upgrade package of the latest version information, so that the end in Hubei Province
End is upgraded.And in Hainan region, the specific fields of SIM card are the first parameter, that is to say, that Hainan region be not in as
The problem of specific fields of the SIM card in Hubei Province cause terminal that can not identify effective SIM card for the second parameter, Hainan region
There is no need to the upgrade package of the corresponding latest edition in Hubei Province, i.e., the terminal in Hainan region do not have to the upgrade package for Hubei Province into
Row upgrading, at this time the upgrade package of the corresponding latest edition in Hainan region can be the corresponding latest edition in Hubei Province upgrade package it
Preceding upgrade package is also possible to the upgrade package of the particular problem for solving the appearance of Hainan region.
As shown in figure 4, for according to the flow diagram of the method for updating terminal software of the present embodiment.
Step 401, terminal to server sends location information, includes the current of target software in terminal in the location information
The IP information of version information and terminal.
For example, terminal sends location information to server every preset time.The target software of the present embodiment can be end
All software or the currently used software of user in end.
Step 402, terminal receives the upgrade package that server is sent, and upgrade package is that server is judged according to terminal IP information
The upgrade package that terminal, which is located at predeterminable area and judges the target software in terminal not, to be sent when being latest edition, upgrade package and default
Region is corresponding.
How server according to the current location information of IP information acquisition terminal belongs to the prior art, and details are not described herein.
In the present embodiment, the mapping of predeterminable area upgrade package corresponding with the latest edition of target software can be pre-established
Relationship, in this way, can by the corresponding predeterminable area of upgrade package of the acquisition of information of the target software target software, server into
And it can know terminal whether in predeterminable area according to the current location information of terminal.
Server judges in terminal with specific reference to the latest version information of current version information and preset target software
Whether target software is latest edition.
Step 403, terminal is upgraded according to upgrade package.
How terminal, which specifically carries out upgrading according to upgrade package, belongs to the prior art, and details are not described herein.
Compared with prior art, the method for updating terminal software of the present embodiment, terminal have to what server was sent first
The location information of the current version information of target software, server are determining that target of the terminal in predeterminable area and terminal is soft
When part is not latest edition, upgrade package corresponding with predeterminable area just is sent to terminal, so that terminal upgrade, in this way, by only
The upgrade package for being directed to the predeterminable area is sent to the terminal of predeterminable area, i.e., only can just upgrade in the terminal of predeterminable area, not only
The burden of network can be mitigated to avoid the information exchange of big flow, and the terminal that can be avoided other regions carries out upgrading band
The risk come.Moreover, can be avoided server by terminal active reporting location information and reported to terminal transmission in all parts of the country
Information and the huge flow of bring, and then further avoid carrying out biggish burden for Netowrk tape.
Embodiment five
The present embodiment provides a kind of server, for send upgrade package to terminal so that terminal according to upgrade package to software into
Row upgrading.The present embodiment illustrates the structure of server, and illustrates how the modules of server work.
As shown in figure 5, for according to the structural schematic diagram of the server of the present embodiment.The server includes: the first reception mould
Block 501, judgment module 502 and the first sending module 503.
Wherein, the first receiving module 501 is used to receive the location information of terminal transmission, and location information is used for positioning terminal institute
Locate region;Judgment module 502 is used to judge whether terminal is located at predeterminable area according to location information, if it is pre- to judge that terminal is located at
If region, then the first sending module 503 is triggered, does not otherwise send upgrade package to terminal;First sending module 503 is used for terminal
Upgrade package corresponding with predeterminable area is sent, so that terminal is upgraded according to upgrade package.
Optionally, if including the geographical location of terminal in location information, the judgment module 502 of the present embodiment is specifically used for
Judge whether terminal is located in predeterminable area according to geographical location.
Optionally, if including the IP information of terminal in location information, the judgment module 502 of the present embodiment is specifically used for:
According to the geographical location of the IP information acquisition terminal of terminal;
Judge whether terminal is located in predeterminable area according to geographical location.
The operating method and embodiment one of the server of the present embodiment are consistent, and details are not described herein.
Compared with prior art, the server of the present embodiment, the first receiving module 501 receive the position of terminal transmission first
Information, judgment module 502 determine the geographical location of terminal according to location information, if judge terminal in predeterminable area,
Trigger the first sending module 503 and send corresponding with the predeterminable area upgrade package to terminal so that terminal upgrade, otherwise just not to
Terminal sends upgrade package, in this way, being directed to the upgrade package of the predeterminable area by only sending to the terminal of predeterminable area, i.e., only pre-
If the terminal in region can just upgrade, not only the burden of network can be mitigated, and can be avoided to avoid the information exchange of big flow
The terminal in other regions carries out upgrading bring risk.
Embodiment six
The present embodiment is unlike the embodiments above, and server can also receive the current of the target software of terminal transmission
Version information, if server has judged the target software of terminal according to the current version information and preset latest version information
It is latest edition, then does not have to send upgrade package corresponding with latest edition to terminal again.The current version of the target software is believed
Breath can be carried to be sent in location information, can also individually be sent, or is carried and sent in other information, specifically not
It limits.
Optionally, in the present embodiment, if server reports information to send location information with triggering terminal to terminal transmission,
Report may include in information target software identification information, with triggering terminal send location information, in this way, terminal receives this
After reporting information, so that it may the identification information of the target software in information be reported to know that this reports working as which software according to this
Preceding version information sends the mark of target software to terminal after can also be that server judges that terminal is located in predeterminable area
Information is known, so that terminal to server sends the current version information of the target software in terminal.By in server triggers terminal
The current version information for reporting target software can be avoided the current version information that terminal blindly reports target software, i.e. server
It can know which software goes wrong in predeterminable area and has new upgrade package, it is only necessary to which triggering terminal reports the software
Current version information, have stronger specific aim.Certainly, terminal can also make the information of softwares all in terminal
It is reported for target software, can specifically be set according to actual needs.
For example, in the prior art, the operating temperature of gravity sensor is generally set in subzero 20 degrees Celsius to zero
It is upper between 40 degrees Celsius.It is assumed that predeterminable area is Heilongjiang Province, winter is colder, has exceeded gravity sensor setting
Operating temperature, the target for needing to use gravity sensor, which turns part, to work, and gravity sensor can actually be subzero four
It works at a temperature of ten degrees Celsius even subzero 50 degrees Celsius.At this point, target software is used to start gravity sensor, the mesh
The corresponding upgrade package of latest version information of mark software is used to reset the temperature range of target software starting gravity sensor
Lower limit be the first temperature, the range of the first temperature is subzero 50 degrees Celsius to subzero 40 degrees Celsius.By the latest edition
The corresponding upgrade package of information is arranged in server end, and the corresponding predeterminable area of the upgrade package is Heilongjiang Province.Server according to
The information of the upgrade package knows the information of the target software, such as the identification information of target software.Terminal can be when default
Between, location information is sent to server, includes the IP information of the terminal and the current version letter of target software in the location information
Breath, it is current in server comparison position information if server judges that the terminal is located in Heilongjiang Province according to IP information
Version information and latest version information, if judging, the target software of the terminal is not latest edition, sends this most to terminal
The corresponding upgrade package of new version information, so that the terminal in Heilongjiang Province is upgraded.And in winter, the temperature in Hainan is zero
Upper 16 degrees Celsius to 24 degrees Celsius, that is to say, that Hainan region is not in if Heilongjiang Province is due to cold in winter
The problem of gravity sensor can not work, also there is no need to the upgrade package of the corresponding latest edition in Heilongjiang Province in Hainan region, i.e.,
The terminal of Hainan Region does not have to be upgraded for the upgrade package of Heilongjiang Province, at this time the liter of the corresponding latest edition in Hainan region
Grade packet can be the upgrade package before the upgrade package of the corresponding latest edition in Heilongjiang Province, be also possible to for solving Hainan region
The upgrade package of the particular problem of appearance.
Again for example, predeterminable area is Hubei Province.The SIM card of national most area is effectively identified as the first ginseng
In number, i.e. SIM card installation such as terminal, if it is the first parameter that terminal recognition, which goes out specific fields, it is determined that the SIM card is effective, and lake
The specific fields in backlands area are the second parameter, i.e., should be that terminal recognition goes out to determine the SIM card when specific fields are the second parameter
Effectively.In this way, the terminal that Hubei Province just will appear Hubei Province can not identify effective SIM card, then target software client for identification
Identification module SIM card, the corresponding upgrade package of latest version information is for including: that setting target software identifies SIM in resetting
The effective field of card includes the first parameter and the second parameter.The corresponding upgrade package of the latest version information is arranged in server
End, and the corresponding predeterminable area of the upgrade package is Hubei Province.Server knows the target software according to the information of the upgrade package
Information, such as the identification information of target software, next, terminal sends location information, the position to server every preset time
It include the IP information of the terminal and the current version information of target software in confidence breath, if server judges this according to IP information
Terminal is in Hubei Province, then the current version information and latest version information in server comparison position information, if judging this
The target software of terminal is not latest edition, then sends the corresponding upgrade package of the latest version information, so that the end in Hubei Province
End is upgraded.And in Hainan region, the specific fields of SIM card are the first parameter, that is to say, that Hainan region be not in as
The problem of specific fields of the SIM card in Hubei Province cause terminal that can not identify effective SIM card for the second parameter, Hainan region
There is no need to the upgrade package of the corresponding latest edition in Hubei Province, i.e., the terminal in Hainan region do not have to the upgrade package for Hubei Province into
Row upgrading, at this time the upgrade package of the corresponding latest edition in Hainan region can be the corresponding latest edition in Hubei Province upgrade package it
Preceding upgrade package is also possible to the upgrade package of the particular problem for solving the appearance of Hainan region.
If the judgment module of i.e. the present embodiment is also used to judge that the target software in terminal is for latest edition, to end
End returns and is used to indicate instruction information of the target software without latest edition.
The operating method of the server of the present embodiment can be consistent with embodiment two, and details are not described herein.
Compared with prior art, what the server of the present embodiment, first reception terminal were sent turns the current of part with target
The location information of version information just compares current version information and preset target is soft when determining terminal in predeterminable area
The latest version information of part just sends upgrade package corresponding with predeterminable area to terminal if the two is different, so that terminal upgrade,
In this way, being directed to the upgrade package of the predeterminable area by only sending to the terminal of predeterminable area, i.e., only in the terminal ability of predeterminable area
It can upgrade, not only can mitigate the burden of network, and can be avoided the terminal in other regions to avoid the information exchange of big flow
Carry out upgrading bring risk.Moreover, can be avoided server to end in all parts of the country by terminal active reporting location information
End, which is sent, reports information and the huge flow of bring, and then further avoids carrying out biggish burden for Netowrk tape.
Embodiment seven
The present embodiment provides a kind of terminals, the upgrade package that the server for receiving above-described embodiment is sent, and using liter
Grade packet upgrades target software.The present embodiment illustrates the structure of terminal, and illustrates how modules work.
As shown in fig. 6, for according to the structural schematic diagram of the terminal of the present embodiment.The terminal of the present embodiment includes: the second hair
Send module 601, the second receiving module 602 and upgraded module 603.
Wherein, the second sending module 601 is used to send location information to server 500, and location information is used for positioning terminal
Locating region;Second receiving module 602 is used to receive the upgrade package of the transmission of server 500, and upgrade package is server 500 according to position
Confidence breath judges that the upgrade package sent when terminal is located at predeterminable area, upgrade package are corresponding with predeterminable area;Upgraded module 603 is used
Upgraded according to upgrade package.
Second sending module 601 can be carried out the operation to the transmission location information of server 500 every preset time,
Can receive server 500 transmission report information after, according to report information to server 500 send location information.
The location information that second sending module 601 is sent, can carry and send in other communication informations, can also individually be sent out
It send, can specifically set according to actual needs.In addition, the location information can be from terminal every preset time to server
500 transmissions, it is also possible to not access wireless network for a long time in terminal, active transmission when accessing wireless network again at this time may be used also
To be that 500 triggering terminal of server is sent, for example, server 500 reports information to terminal transmission, so that the second sending module
601 according to the location information for reporting information to send terminal.
It may include the location information of terminal or the IP information of terminal in location information, so that server 500 is by obtaining
Know the current geographic position of the terminal, and judges whether the terminal is located at predeterminable area, it is when the judgment result is yes, soft to target
Part sends upgrade package, so that terminal upgrades target software according to upgrade package.
Since target software different problems may occur in different predeterminable areas, the target software in terminal is not
Same predeterminable area can correspond to different upgrade package.In addition, the corresponding upgrade package of a certain predeterminable area be can it is other not
What the region of appearance same problem used, i.e., upgrade package has compatibility.Certainly, since the time solved the problems, such as is very urgent,
It is possible that the upgrade package of the target software is only applicable to corresponding predeterminable area, and whether when upgrade package is installed in other regions can
Causing target software to go wrong has uncertainty, and detects whether the upgrade package can be compatible with other area needs largely
Testing time.At this point it is possible to temporarily only upgrade to the target software of predeterminable area, so that the target software is default at this
Region is available, and then can be to avoid upgrading other region bring risk problems, and research staff is subsequent can have relatively
The sufficient time is further perfect to the target software, so that the target software whole nation is general.
The operating method of the present embodiment can be consistent with embodiment three, and details are not described herein.
Compared with prior art, the terminal of the present embodiment, the end that the second sending module 601 is sent to server 500 first
The location information at end so that server 500 according to location information determine terminal locating for region, if server 500 judges end
In predeterminable area, the second receiving module 602 just receives upgrading corresponding with predeterminable area that terminal is sent to terminal at end
Packet, and then upgraded module 603 is upgraded according to the upgrade package, otherwise terminal will not receive upgrade package, in this way, by only right
The terminal of predeterminable area sends the upgrade package for being directed to the predeterminable area, i.e., only can just upgrade in the terminal of predeterminable area, not only may be used
The terminal for avoid the information exchange of big flow, mitigating the burden of network, and can be avoided other regions carries out upgrading and brings
Risk.
Embodiment eight
The present embodiment is unlike the embodiments above, and terminal can also send the current version of target software to server
Information, if server judges that the target software of terminal has been according to the current version information and preset latest version information
Latest edition does not have to then send upgrade package corresponding with latest edition to terminal again.The current version information of the target software can
It is sent, can also be individually sent in location information with carrying, or carried and sent in other information, do not limited specifically
It is fixed.The identification information of target software, server can be carried and be sent in reporting information, can also judge the terminal
It is individually sent after predeterminable area, specifically without limitation.In this way, terminal receives after this reports information, so that it may
To be reported the identification information of the target software in information to know according to this, this reports the current version information of which software.By servicing
Device triggering terminal reports the current version information of target software, can be avoided terminal and blindly the current version of target software is reported to believe
Breath, i.e. server can know which software goes wrong in predeterminable area and has new upgrade package, it is only necessary to which triggering is eventually
End reports the current version information of the software, has stronger specific aim.Certainly, terminal can also will be all soft in terminal
The information of part is used as target software to be reported, after can also be that server judges that terminal is located in predeterminable area, to
Terminal sends the identification information of target software, so that terminal to server sends the current version letter of the target software in terminal
Breath, can specifically set according to actual needs.
In the prior art, the operating temperature of gravity sensor is generally set in subzero 20 degrees Celsius to above freezing 40 Celsius
Between degree.It is assumed that predeterminable area is Heilongjiang Province, winter is colder, has exceeded the operating temperature of gravity sensor setting, needs
The target for using gravity sensor, which turns part, to work, and gravity sensor can actually be at subzero 40 degrees Celsius even
It works at a temperature of subzero 50 degrees Celsius.At this point, target software is for starting gravity sensor, the target software it is newest
The lower limit that the corresponding upgrade package of version information is used to reset the temperature range of target software starting gravity sensor is first
Temperature, the range of the first temperature are subzero 50 degrees Celsius to subzero 40 degrees Celsius.By the corresponding liter of the latest version information
Grade packet is arranged in server end, and the corresponding predeterminable area of the upgrade package is Heilongjiang Province.Server is according to the letter of the upgrade package
Breath knows the information of the target software, such as the identification information of target software.Terminal can be sent out every preset time to server
Location information is sent, the current version information of IP information and target software in the location information including the terminal, if server root
Judge that the terminal is located in Heilongjiang Province according to IP information, then the current version information in server comparison position information and newest
Version information, if judging, the target software of the terminal is not latest edition, and it is corresponding to send the latest version information to terminal
Upgrade package so that the terminal in Heilongjiang Province is upgraded.And in winter, the temperature in Hainan at 16 degrees Celsius above freezing extremely
24 degrees Celsius, that is to say, that Hainan region is not in such as Heilongjiang Province since cold gravity sensor can not in winter
The problem of work, also there is no need to the upgrade package of the corresponding latest edition in Heilongjiang Province, the i.e. terminal of Hainan Region in Hainan region
Upgraded without the upgrade package for Heilongjiang Province, the upgrade package of the corresponding latest edition in Hainan region can be black dragon at this time
Upgrade package before the upgrade package of the corresponding latest edition of river province is also possible to the particular problem for solving the appearance of Hainan region
Upgrade package.
Again for example, predeterminable area is Hubei Province.The SIM card of national most area is effectively identified as the first ginseng
In number, i.e. SIM card installation such as terminal, if it is the first parameter that terminal recognition, which goes out specific fields, it is determined that the SIM card is effective, and lake
The specific fields in backlands area are the second parameter, i.e., should be that terminal recognition goes out to determine the SIM card when specific fields are the second parameter
Effectively.In this way, the terminal that Hubei Province just will appear Hubei Province can not identify effective SIM card, then target software client for identification
Identification module SIM card, the corresponding upgrade package of latest version information is for including: that setting target software identifies SIM in resetting
The effective field of card includes the first parameter and the second parameter.The corresponding upgrade package of the latest version information is arranged in server
End, and the corresponding predeterminable area of the upgrade package is Hubei Province.Server knows the target software according to the information of the upgrade package
Information, such as the identification information of target software, next, terminal sends location information, the position to server every preset time
It include the IP information of the terminal and the current version information of target software in confidence breath, if server judges this according to IP information
Terminal is in Hubei Province, then the current version information and latest version information in server comparison position information, if judging this
The target software of terminal is not latest edition, then sends the corresponding upgrade package of the latest version information, so that the end in Hubei Province
End is upgraded.And in Hainan region, the specific fields of SIM card are the first parameter, that is to say, that Hainan region be not in as
The problem of specific fields of the SIM card in Hubei Province cause terminal that can not identify effective SIM card for the second parameter, Hainan region
There is no need to the upgrade package of the corresponding latest edition in Hubei Province, i.e., the terminal in Hainan region do not have to the upgrade package for Hubei Province into
Row upgrading, at this time the upgrade package of the corresponding latest edition in Hainan region can be the corresponding latest edition in Hubei Province upgrade package it
Preceding upgrade package is also possible to the upgrade package of the particular problem for solving the appearance of Hainan region.
The operating method of the present embodiment can be consistent with example IV, and details are not described herein.
Compared with prior art, the method for updating terminal software of the present embodiment, terminal have to what server was sent first
The location information of the current version information of target software, server are determining that target of the terminal in predeterminable area and terminal is soft
When part is not latest edition, upgrade package corresponding with predeterminable area just is sent to terminal, so that terminal upgrade, in this way, by only
The upgrade package for being directed to the predeterminable area is sent to the terminal of predeterminable area, i.e., only can just upgrade in the terminal of predeterminable area, not only
The burden of network can be mitigated to avoid the information exchange of big flow, and the terminal that can be avoided other regions carries out upgrading band
The risk come.Moreover, can be avoided server by terminal active reporting location information and reported to terminal transmission in all parts of the country
Information and the huge flow of bring, and then further avoid carrying out biggish burden for Netowrk tape.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light
The various media that can store program code such as disk.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, the range for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (7)
1. a kind of method for updating terminal software characterized by comprising
The location information that server receiving terminal is sent, the location information is for positioning region locating for the terminal;
The server judges whether the terminal is located at predeterminable area according to the positional information, if judging the terminal position
In the predeterminable area, then the server sends upgrade package corresponding with the predeterminable area to the terminal, so that described
Terminal is upgraded according to the upgrade package;Otherwise upgrade package is not sent to the terminal;Wherein, the upgrade package with it is described pre-
If there are the mapping relations pre-established between region;
Before the location information that the server receiving terminal is sent, further includes: the server is sent to the terminal
It notifies breath, sends the location information to trigger the terminal;The mark reported including the target software in terminal in information
Know information, the server also receives the current version information of the target software of terminal transmission;
After judging that the terminal is located at the predeterminable area, and the server to the terminal send with it is described pre-
If before the corresponding upgrade package in region, the method for updating terminal software further include:
The server judges terminal according to the latest version information of the current version information and the preset target software
In target software whether be latest edition;
If judging result be it is no, the server executes to the terminal and sends corresponding with predeterminable area upgrade package
Operation.
2. method for updating terminal software according to claim 1, which is characterized in that the location information includes the terminal
Geographical location;
The server judges whether the terminal is located at the predeterminable area and includes: according to the positional information
The server judges whether the terminal is located in the predeterminable area according to the geographical location.
3. method for updating terminal software according to claim 1, which is characterized in that the location information includes the terminal
IP information;
The server judges whether the terminal is located at the predeterminable area and includes: according to the positional information
The geographical location of server terminal according to the IP acquisition of information of the terminal;
The server judges whether the terminal is located in the predeterminable area according to the geographical location.
4. a kind of method for updating terminal software characterized by comprising
Terminal to server sends location information, and the location information is for positioning region locating for the terminal;
The terminal receives the upgrade package that the server is sent, the upgrade package be the server according to the positional information
Judge that the upgrade package sent when the terminal is located at predeterminable area, the upgrade package are corresponding with the predeterminable area;Wherein, institute
State the mapping relations for existing between upgrade package and the predeterminable area and pre-establishing;
The terminal is upgraded according to the upgrade package;
Wherein, the method for updating terminal software further include: what the terminal received that the server sends reports information;It is described
Terminal to server sends location information and specifically includes: believing the position that the terminal reports information to send the terminal according to
Breath;The identification information reported including the target software in terminal in information, so that the server is receiving terminal transmission
The target software current version information after, most according to the current version information and the preset target software
New version information judges that the target software in terminal is not latest edition, and sends the upgrade package to the terminal.
5. method for updating terminal software according to claim 4, which is characterized in that the location information includes the ground of the terminal
Manage the IP information of position or terminal.
6. a kind of server characterized by comprising
First receiving module, for receiving the location information of terminal transmission, the location information is for positioning locating for the terminal
Region;
Judgment module, for judging whether the terminal is located at predeterminable area according to the positional information, if judging the end
End is located at the predeterminable area, then triggers the first sending module, does not otherwise send upgrade package to the terminal;Wherein, the liter
There are the mapping relations pre-established between grade packet and the predeterminable area;
First sending module, for sending upgrade package corresponding with the predeterminable area to the terminal, so that the terminal root
Upgraded according to the upgrade package;
The server, which is also used to send to the terminal, reports information, sends the location information to trigger the terminal;Institute
The identification information reported including the target software in terminal in information is stated, the server also receives the target of terminal transmission
The current version information of software;
The server is sent out in the server to the terminal after judging that the terminal is located at the predeterminable area
Before sending upgrade package corresponding with the predeterminable area, it is also used to soft according to the current version information and the preset target
The latest version information of part judges whether the target software in terminal is latest edition;If judging result is no, the service
Device sends the operation of upgrade package corresponding with the predeterminable area to the terminal.
7. a kind of terminal characterized by comprising
Second sending module, for sending location information to server, the location information is for positioning area locating for the terminal
Domain;
Second receiving module, the upgrade package sent for receiving the server, the upgrade package is the server according to institute
It states location information and judges the upgrade package sent when the terminal is located at predeterminable area, the upgrade package and the predeterminable area pair
It answers;Wherein, there are the mapping relations pre-established between the upgrade package and the predeterminable area;
Upgraded module, for being upgraded according to the upgrade package;
Wherein, after second sending module is also used to report information receive that the server sends, on described
Breath of notifying sends the location information of the terminal;The identification information reported including the target software in terminal in information, with
For the server after the current version information for receiving the target software that terminal is sent, believed according to the current version
Breath and the latest version information of the preset target software judge that the target software in terminal is not latest edition, and to institute
It states terminal and sends the upgrade package.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510374727.0A CN106325904B (en) | 2015-06-30 | 2015-06-30 | Method for updating terminal software, server and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510374727.0A CN106325904B (en) | 2015-06-30 | 2015-06-30 | Method for updating terminal software, server and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106325904A CN106325904A (en) | 2017-01-11 |
CN106325904B true CN106325904B (en) | 2019-02-12 |
Family
ID=57723122
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510374727.0A Active CN106325904B (en) | 2015-06-30 | 2015-06-30 | Method for updating terminal software, server and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106325904B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018209550A1 (en) * | 2017-05-16 | 2018-11-22 | 深圳市乃斯网络科技有限公司 | Terminal system update method and system |
CN109582327A (en) * | 2017-09-29 | 2019-04-05 | 北京国双科技有限公司 | Update method and device |
CN107896285A (en) * | 2017-12-27 | 2018-04-10 | 广东欧珀移动通信有限公司 | data reporting method, device, mobile terminal and computer-readable medium |
CN111078241B (en) * | 2018-10-22 | 2023-10-03 | 成都鼎桥通信技术有限公司 | OTA upgrading method and device |
CN110474804B (en) * | 2019-08-14 | 2022-06-14 | 福建星网智慧科技有限公司 | Intelligent home gateway batch upgrading method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103020845A (en) * | 2012-12-14 | 2013-04-03 | 百度在线网络技术(北京)有限公司 | Mobile application pushing method and system |
CN103309694A (en) * | 2012-03-14 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Application program updating method and device |
-
2015
- 2015-06-30 CN CN201510374727.0A patent/CN106325904B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103309694A (en) * | 2012-03-14 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Application program updating method and device |
CN103020845A (en) * | 2012-12-14 | 2013-04-03 | 百度在线网络技术(北京)有限公司 | Mobile application pushing method and system |
Also Published As
Publication number | Publication date |
---|---|
CN106325904A (en) | 2017-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106325904B (en) | Method for updating terminal software, server and terminal | |
ES2877227T3 (en) | Selection of uplink transmission parameters for transmission and retransmission of initial random access messages | |
US20120276924A1 (en) | System and method for positioning mobile terminal, and mobile terminal | |
US20140115574A1 (en) | Cost optimization for firmware updates for globally mobile machine-to-machine devices | |
US8744484B2 (en) | Wireless network coverage estimation using down-sampled crowd-sourced data | |
CN104144423B (en) | The localization method and network server of pseudo-base station | |
EP3726869A1 (en) | Subscriber identity module activation for nb-iot devices | |
CN106211167A (en) | A kind of terminal, pseudo-base station recognition methods and system | |
CN104349455A (en) | WIFI (wireless fidelity) hotspot location method and system | |
CN107819950A (en) | Anti-theft method for mobile terminal, device, equipment and computer-readable recording medium | |
US20130079051A1 (en) | Method and system for managing subscriber identity modules on wireless networks for machine-to-machine applications | |
US9137647B2 (en) | Wireless machine to machine (M2M) communication | |
Muruganandham et al. | Real time web based vehicle tracking using GPS | |
CN104285473B (en) | Method and apparatus for the multipriority access in Radio Network System | |
CN105430669B (en) | A kind of pseudo-base station localization method, equipment, server and system | |
CN103763731B (en) | Positioning detection method and device | |
CN109068329A (en) | Dummy location recognition methods, device, equipment and computer readable storage medium | |
CN111954252B (en) | Unauthorized unmanned aerial vehicle detection method, device and system | |
CN103781053A (en) | Method, device and correlated terminal for locking network and module of multi-module mobile terminal | |
US9584962B2 (en) | System and method for mobile localization using fake location updates | |
CN106254448A (en) | A kind of information getting method and device | |
US11101958B2 (en) | Method and device for signaling transmission | |
CN109165598A (en) | Verification method and device are verified in a kind of field | |
CN111767971A (en) | Terminal control method and device based on electronic tag, terminal and readable storage medium | |
EP2763452B1 (en) | Method and system for monitoring the performance of a network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Shandong City, Qingdao Province, Jiangxi City Road No. 11 Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd. Country or region after: China Address before: Shandong City, Qingdao Province, Jiangxi City Road No. 11 Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |