CN110489146A - A kind of neighbouring OTA upgrade-system and method of terminal device - Google Patents
A kind of neighbouring OTA upgrade-system and method of terminal device Download PDFInfo
- Publication number
- CN110489146A CN110489146A CN201910741961.0A CN201910741961A CN110489146A CN 110489146 A CN110489146 A CN 110489146A CN 201910741961 A CN201910741961 A CN 201910741961A CN 110489146 A CN110489146 A CN 110489146A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- file
- update
- trunking
- updates
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Abstract
This application discloses a kind of neighbouring OTA upgrade-systems of terminal device, including OTA server, gateway and multiple terminal devices.The inquiry that the OTA server is used to respond terminal device updates request and downloading updates request.The gateway is used to realize the communication forwarding between OTA server and terminal device.The terminal device, which issues to inquire to OTA server, updates request, and receives OTA server and inform with the presence or absence of update;The terminal device issues downloading to OTA server and updates request, it is directly obtained from OTA server when adjacent terminals equipment is not downloaded and updates file and updates file, obtained when being loaded with update file down in adjacent terminals equipment from the terminal device that neighbouring being loaded with down updates file and update file.The application updates the update source of the terminal device of file using the terminal device for updating file has been downloaded as neighbouring not downloading, alleviates the pressure of OTA server, improves the efficiency of OTA update.
Description
Technical field
This application involves a kind of firmware or software upgrade methods of terminal device.
Background technique
With the rise of Internet of Things, the access quantity of internet-of-things terminal equipment is in explosive growth.For upgrade function, repair
The purpose of multiple defect, repairing security breaches, manufacturer needs sporadically to update the firmware in internet-of-things terminal equipment.Internet of Things
Network termination equipment is geographically widely distributed, and the state that the overwhelming majority is looked after in nobody generally uses OTA(Over The
It is Air, aerial to download) mode update firmware.OTA update refers to be updated using wireless communication technique transmission firmware, Internet of Things
Network termination equipment, which is inquired by network to server, to be updated, and then requests to download to server if any updating, and is downloaded to packet is updated
It completes to update in the internal storage of internet-of-things terminal equipment.
Referring to Fig. 1, OTA server 10 is used as update source, each object in the OTA upgrade-system of existing terminal device
Networked terminals equipment 30 requires individually to communicate the process that could complete that inquiry updates, downloading updates with OTA server 10.Specifically
For, each terminal device 30, which is sent, updates request, is forwarded to OTA server 10 by gateway 20.OTA server 10 issues more
New file is forwarded to the terminal device 30 by gateway 20.The size for usually updating file is tens KB to several hundred KB etc., due to
The quantity of internet-of-things terminal equipment 30 is more, therefore the load and cost of meeting a larger increase OTA server 10, while will also occupy
More Internet resources pay more network flow cost, and it is also relatively low to update efficiency.
Summary of the invention
The technical problem to be solved by the application is to provide a kind of neighbouring OTA upgrade-systems of terminal device, support one
Terminal device communication distance can and in the range of obtained from neighbouring terminal device and update file, including pass through trunking and turn
Hair and and range, without from server download update file.For this purpose, the application also provides a kind of neighbour of terminal device
Nearly OTA upgrade method.The application can mitigate the load and cost of server, reduce the occupancy to Internet resources, while significantly
Improve the efficiency that OTA updates.
In order to solve the above technical problems, this application discloses a kind of neighbouring OTA upgrade-system of terminal device, including OTA
Server, gateway and multiple terminal devices.The OTA server be used to update request in response to the inquiry of terminal device and to the end
End equipment is informed with the presence or absence of update;The downloading that the OTA server also is used to respond terminal device updates request, when the terminal
The adjacent terminals equipment of equipment is not downloaded and directly issues update file to the terminal device when updating file, when the terminal device
Adjacent terminals equipment in be loaded with down and indicate that the terminal device updates end of file from neighbouring be loaded with down when updating file
End equipment, which obtains, updates file.The gateway is used to realize the communication forwarding between OTA server and terminal device.The terminal
Equipment, which issues to inquire to OTA server, updates request, and receives OTA server and inform with the presence or absence of update;The terminal device
Downloading is issued to OTA server and updates request, and the terminal device is direct when adjacent terminals equipment is not downloaded and updates file
It is obtained from OTA server and updates file, the terminal device is loaded with down when updating file from neighbouring in adjacent terminals equipment
Be loaded with down update file terminal device obtain update file.
The neighbouring OTA upgrade-system of above-mentioned terminal device is embodiments herein one, by will download update file
Terminal device update the update source of the terminal device of file as neighbouring do not download, alleviate the pressure of OTA server, mention
The efficiency that high OTA updates.
Further, the proximity relations between the terminal device refer between terminal device in communication distance can and
In the range of, including by trunking forwarding and range.The purpose of this restriction be to ensure that neighbouring terminal device it
Between can carry out wireless communication.
Preferably, update file of the terminal device for updating file in addition to downloading itself directly is obtained from OTA server, also
The update file of the terminal device of different model is downloaded for distributing.This is a kind of preferred implementation.
Preferably, it is perhaps directly communicated between the terminal device or is carried out by trunking pass-through mode
Communication.This is a kind of preferred implementation.
Disclosed herein as well is a kind of neighbouring OTA upgrade methods of terminal device, include the following steps.Step S302: eventually
End equipment issues inquiry to OTA server and updates request.Step S304:OTA server whether there is to terminal device informing
It updates;If it is not, then escalation process terminates;If it is, entering step S306.Step S306: the terminal device is serviced to OTA
Device issues downloading and updates request.Step S308:OTA server judges whether downloaded in the adjacent terminals equipment of the terminal device
Update file;If it is, entering step S310;If it is not, then entering step S312.The instruction of step S310:OTA server should
Terminal device is obtained from the terminal device that neighbouring being loaded with down updates file updates file;Subsequently enter step S314.Step
S312:OTA server directly issues update file to the terminal device;Subsequently enter step S314.Step S314: the terminal is set
The update file that standby application is got realizes that firmware or software updates.
The neighbouring OTA upgrade method of above-mentioned terminal device is embodiments herein one, by will download update file
Terminal device update the update source of the terminal device of file as neighbouring do not download, alleviate the pressure of OTA server, mention
The efficiency that high OTA updates.
Disclosed herein as well is a kind of neighbouring OTA upgrade-systems of terminal device, including multiple terminal devices, wherein at least
One terminal device has stored update file.The terminal device for being stored with update file, which is used to respond other terminals, to be set
Standby inquiry updates request and informs to other terminal devices with the presence or absence of update;The terminal for being stored with update file is set
The standby downloading for also being used to respond other terminal devices updates request and transmits to other terminal devices and update file.
The neighbouring OTA upgrade-system of above-mentioned terminal device is embodiments herein two, is no longer needed compared with embodiment one
Gateway and OTA server are wanted, can be made of completely terminal device.
Further, described to be stored with the terminal device for updating file or got update text from OTA server
Part, or got by manual type and update file.This is two kinds of preferred implementations.
Preferably, the update file for being stored with the terminal device for updating file in addition to storing itself, also stores not
Update file with the terminal device of model is used to distribute.This is a kind of preferred implementation.
Preferably, it is perhaps directly communicated between the terminal device or is carried out by trunking pass-through mode
Communication.This is a kind of preferred implementation.
Disclosed herein as well is a kind of neighbouring OTA upgrade methods of terminal device, include the following steps.Step S502: eventually
It is communicated between end equipment, judges whether there is and be stored with update file on any terminal device;If so, entering step
S504;If it is not, then escalation process terminates.Step S504: will be stored with the terminal device for updating file and be known as terminal device A,
Remaining terminal device issues downloading to terminal device A and updates request.Step S506: terminal device A transmits to other terminal devices
Update file.Step S508: the update file that other terminal device applications are got realizes that firmware or software updates.
The neighbouring OTA upgrade method of above-mentioned terminal device is embodiments herein two, is no longer needed compared with embodiment one
Gateway and OTA server are wanted, can be made of completely terminal device.
Disclosed herein as well is a kind of neighbouring OTA upgrade-systems of terminal device, including OTA server, gateway, multiple ends
End equipment and at least one trunking.The OTA server is used to respond terminal device or the inquiry update of trunking is asked
It asks and informs to the terminal device or trunking with the presence or absence of update;The OTA server also is used to respond terminal device
Downloading updates request, directly issues to the terminal device when the adjacent terminals equipment of the terminal device, which is not downloaded, updates file
File is updated, indicates the terminal device from neighbouring when being loaded with down in the adjacent terminals equipment of the terminal device and updating file
It is loaded with the terminal device acquisition update file for updating file down;The OTA server also is used to respond the downloading of trunking
It updates request and directly issues update file to the trunking.The gateway be used to realize OTA server and terminal device it
Between or between OTA server and trunking communication forwarding.At least partly terminal device is connected to net by trunking
It closes, remaining terminal device is directly connected to gateway.The terminal device for being directly connected to gateway issues inquiry to OTA server and updates
Request, and receive OTA server and inform with the presence or absence of update;The terminal device for being directly connected to gateway services under sending to OTA
It carries and updates request, be directly connected to the terminal device of gateway when adjacent terminals equipment is not downloaded and updates file directly from OTA
Server, which obtains, updates file, is directly connected to the terminal device of gateway and has been loaded with down when updating file in adjacent terminals equipment
The terminal device for updating file from neighbouring being loaded with down, which obtains, updates file.It is set by the terminal that trunking is connected to gateway
Standby issue to trunking inquires update request, and receives trunking and inform with the presence or absence of update;It is connected by trunking
Downloading is issued to trunking to the terminal device of gateway and updates request, and is obtained from trunking and updated file.The relaying
Equipment forwards channel as the communication at least partly between terminal device and gateway;The trunking is issued to OTA server
Inquiry updates request, and receives OTA server and inform that query context is connected including at least the trunking with the presence or absence of updating
Terminal device in firmware or software whether have update;The trunking issues downloading to OTA server and updates request, and
It is directly obtained from OTA server and updates file, downloading range includes at least consolidating in the terminal device of trunking connection
The update file of part or software.
The neighbouring OTA upgrade-system of above-mentioned terminal device is embodiments herein three, is increased compared with embodiment one
The update source for the terminal device that trunking is connected as the trunking, alleviates the pressure of OTA server, improves OTA
The efficiency of update.
Further, the proximity relations between the terminal device refer between terminal device in communication distance can and
In the range of, including by trunking forwarding and range.The purpose of this restriction be to ensure that neighbouring terminal device it
Between can carry out wireless communication.
Disclosed herein as well is a kind of neighbouring OTA upgrade methods of terminal device, include the following steps.Step S702: in
Inquiry is issued to OTA server after equipment and updates request, and query context includes at least the terminal device of trunking connection
In firmware or software whether have update.Step S704:OTA server is informed to the trunking with the presence or absence of update;If
It is no, then enter step S710;If it is, entering step S706.Step S706: under the trunking is issued to OTA server
It carries and updates request, downloading range includes at least the update text of the firmware or software in the terminal device of trunking connection
Part.Step S708:OTA server directly issues update file to the trunking.Step S710: it is connected to by trunking
The terminal device of gateway issues inquiry to trunking and updates request.Step S712: trunking is informed to the terminal device is
It is no to there is update;If it is not, then escalation process terminates;If it is, entering step S714.Step S714: the terminal device to
Trunking issues downloading and updates request.Step S716: trunking directly issues update file to the terminal device.Step
S718: the update file that the terminal device application is got realizes that firmware or software updates.
The neighbouring OTA upgrade method of above-mentioned terminal device is embodiments herein three, is increased compared with embodiment one
The update source for the terminal device that trunking is connected as the trunking, alleviates the pressure of OTA server, improves OTA
The efficiency of update.
Disclosed herein as well is a kind of neighbouring OTA upgrade-systems of terminal device, including multiple terminal devices and at least one
A trunking at least stores the update text that the terminal device of gateway is connected to by trunking in the trunking
Part;The inquiry that the trunking is used to respond the terminal device for being connected to gateway by trunking, which updates, requests to these
Terminal device is informed with the presence or absence of update;The trunking is also used to respond to be set by the terminal that trunking is connected to gateway
Standby downloading updates request and transmits to these terminal devices and update file.
The neighbouring OTA upgrade-system of above-mentioned terminal device is embodiments herein four, is no longer needed compared with embodiment three
Gateway and OTA server are wanted, can be made of completely terminal device and trunking.
Further, the trunking, which is either got from OTA server, updates file, or by artificial side
Formula, which is got, updates file.This is two kinds of preferred implementations.
Disclosed herein as well is a kind of neighbouring OTA upgrade methods of terminal device, include the following steps.Step S902: logical
It crosses trunking and is connected to the terminal device of gateway and issues inquiry to trunking and update request.Step S904: trunking to
The terminal device is informed with the presence or absence of update;If it is not, then escalation process terminates;If it is, entering step S906.Step
S906: the terminal device issues downloading to trunking and updates request.Step S908: trunking is directly under the terminal device
Hair updates file.Step S910: the update file that the terminal device application is got realizes that firmware or software updates.
The neighbouring OTA upgrade method of above-mentioned terminal device is embodiments herein four, is no longer needed compared with embodiment three
Gateway and OTA server are wanted, can be made of completely terminal device and trunking.
Terminal device or trunking can be used as update source in having the technical effect that for the application acquirement, alleviates OTA
The load of server also reduces the occupancy of Internet resources, the consumption of flow is reduced, to reduce cost.In addition, can also make simultaneously
Use multiple terminal devices and/or trunking as update source, multipoint parallel carries out firmware or soft to multiple terminal devices simultaneously
Part updates, and greatly improves the efficiency of OTA update.
Detailed description of the invention
Fig. 1 is the schematic diagram of the OTA upgrade-system of existing terminal device.
Fig. 2 is the schematic diagram of the embodiment one of the OTA upgrade-system of terminal device provided by the present application.
Fig. 3 is the flow chart of the embodiment one of the OTA upgrade method of terminal device provided by the present application.
Fig. 4 is the schematic diagram of the embodiment two of the OTA upgrade-system of terminal device provided by the present application.
Fig. 5 is the flow chart of the embodiment two of the OTA upgrade method of terminal device provided by the present application.
Fig. 6 is the schematic diagram of the embodiment three of the OTA upgrade-system of terminal device provided by the present application.
Fig. 7 is the flow chart of the embodiment three of the OTA upgrade method of terminal device provided by the present application.
Fig. 8 is the schematic diagram of the example IV of the OTA upgrade-system of terminal device provided by the present application.
Fig. 9 is the flow chart of the example IV of the OTA upgrade method of terminal device provided by the present application.
Description of symbols in figure: 10 be OTA server;20 be gateway;30 be terminal device;35 be trunking.
Specific embodiment
Referring to Fig. 2, the embodiment one of the neighbouring OTA upgrade-system of terminal device provided by the present application is serviced including OTA
Device 10, gateway 20 and multiple terminal devices 30.The OTA server 10 be used in response to terminal device 30 inquiry update request and
It informs to the terminal device 30 with the presence or absence of update file.The OTA server 10 also is used to respond the downloading of terminal device 30
Request is updated, is directly issued to the terminal device 30 when the adjacent terminals equipment of the terminal device 30, which is not downloaded, updates file
File is updated, indicates the terminal device 30 from neighbour when being loaded with down in the adjacent terminals equipment of the terminal device 30 and updating file
Close is loaded with down the terminal device acquisition update file for updating file.The gateway 20 is used to realize OTA server 10 and end
The forwarding of communication between end equipment 30.The terminal device 30 has internal storage, for storing update file.All ends
End equipment 30, which issues to inquire to OTA server 10, updates request, and receives OTA server 10 and inform with the presence or absence of update.Institute
There is terminal device 30 to issue downloading to OTA server 10 and update request, terminal device 30 is not downloaded in adjacent terminals equipment
It is directly obtained from OTA server 10 when updating file and updates file, terminal device 30 is loaded with down in adjacent terminals equipment
It is obtained when new file from the terminal device that neighbouring being loaded with down updates file and updates file.
Proximity relations between the terminal device refer between terminal device in communication distance can and in the range of,
Including by trunking forwarding and range, this can any realization in the following way.First, a certain terminal is set
The signal of standby detection surrounding terminal device, records the terminal device that can be detected as neighbouring terminal device, and optionally
It is reported to OTA server.Second, OTA server judge terminal according to the positioning chip (such as GPS chip) of each terminal device
It whether is proximity relations between equipment.Third, when disposing terminal device or changing the position of terminal device, manual record terminal
Proximity relations between equipment is simultaneously stored in OTA server.4th, it is connected to the terminal device of same trunking.
Preferably as distribution source terminal device in addition to can by the update file distributing of itself downloaded give same model
Terminal device, can also extraly download the update file of the terminal device of different model for distributing.
Preferably, it is perhaps directly communicated or is carried out by trunking pass-through mode between two terminal devices
Communication.
Referring to Fig. 3, the embodiment one of the neighbouring OTA upgrade method of terminal device provided by the present application includes following step
Suddenly.
Step S302: terminal device issues inquiry to OTA server and updates request.
Step S304:OTA server is informed to the terminal device with the presence or absence of update.If there is no update, then upgrade
Process terminates.If there is update, then S306 is entered step.
Step S306: the terminal device issues downloading to OTA server and updates request.
Step S308:OTA server judges update file whether has been downloaded in the adjacent terminals equipment of the terminal device.Such as
Fruit is then to enter step S310.If it is not, then entering step S312.
Step S310:OTA server indicates that the terminal device is obtained from the terminal device that neighbouring being loaded with down updates file
Take update file.Subsequently enter step S314.
Step S312:OTA server directly issues update file to the terminal device.Subsequently enter step S314.
Step S314: the update file that the terminal device application is got realizes that firmware or software updates.
In the neighbouring OTA upgrade-system of above-mentioned terminal device and the embodiment one of method, one in network can be used
Terminal device updates file as do not needed to download from server if with distribution source as distribution source, remaining terminal device, can
It is directly obtained from distribution source and updates file.In preferred application scenarios, there are multiple distribution sources, multiple terminal devices in network
It is obtained simultaneously from identical or different distribution source and updates file, multipoint parallel, while carrying out firmware or software update.This can show
Landing reduces the operating pressure of OTA server, and the efficiency of OTA upgrading is substantially improved.
Referring to Fig. 4, the embodiment two of the neighbouring OTA upgrade-system of terminal device provided by the present application includes multiple terminals
Equipment 30, wherein at least one terminal device 30 have stored update file.It is described to be stored with the terminal device for updating file
30 inquiries for being used to respond other terminal devices 30 update request and whether there is to other terminal devices 30 informing and update file.
It is described be stored with update file terminal device 30 also be used to respond other terminal devices 30 downloading update request and to its
He updates file at the transmission of terminal device 30.
The terminal device 30 for being stored with update file is, for example, to get to update file from OTA server 10,
The forwarding of the communication between OTA server 10 and terminal device 30 can be realized by gateway 20 at this time.It is described to be stored with update text
The terminal device 30 of part, which can also be to be got by manual type, updates file, i.e., by will manually update file imported into it is described
It is stored in the terminal device 30 for updating file.
Preferably as distribution source terminal device in addition to can by the update file distributing of itself downloaded give same model
Terminal device, can also extraly download the update file of the terminal device of different model for distributing.
Preferably, it is perhaps directly communicated or is carried out by trunking pass-through mode between two terminal devices
Communication.
Referring to Fig. 5, the embodiment two of the neighbouring OTA upgrade method of terminal device provided by the present application includes following step
Suddenly.
Step S502: being communicated between terminal device, is judged whether there is and is stored with update file on any terminal device.
If so, entering step S504.If it is not, then escalation process terminates.
Step S504: the terminal device for updating file will be stored with and be known as terminal device A, remaining terminal device is set to terminal
Standby A issues downloading and updates request.
Step S506: terminal device A transmits update file to other terminal devices.
Step S508: the update file that other terminal device applications are got realizes that firmware or software updates.
In the neighbouring OTA upgrade-system of above-mentioned terminal device and the embodiment two of method, gateway and OTA server no longer at
For the component that there must be, a terminal device in network can be used as distribution source, remaining terminal device is from the distribution
Source downloading updates file.Obviously, it must satisfy proximity relations between terminal device just and can be carried out communication, issue request and transmission text
Part.
In an application scenarios, there are multiple distribution sources in network, and multiple terminal devices are simultaneously from identical or different
Distribution source, which obtains, updates file, multipoint parallel, while carrying out firmware or software update.This can reduce OTA server significantly
Operating pressure, be substantially improved OTA upgrading efficiency.
In another application scenarios, several terminal devices form a Mesh network.Terminal device A for example takes from OTA
Business device or manual type get update file, and terminal device B, C, E get update file from terminal device A, and terminal is set
Standby D gets firmware update from terminal device C, and terminal device F gets firmware update from terminal device B, by promoting layer by layer
Mode make entire Mesh network complete firmware or software to update.
Referring to Fig. 6, the embodiment three of the neighbouring OTA upgrade-system of terminal device provided by the present application is serviced including OTA
Device 10, gateway 20, multiple terminal devices 30 and at least one trunking 35.
The OTA server 10 be used to update request in response to the inquiry of terminal device 30 or trunking 35 and to the terminal
Equipment 30 or trunking 35 are informed with the presence or absence of update file.The OTA server 10 is also used to respond terminal device 30
Downloading updates request, when the adjacent terminals equipment of the terminal device 30, which is not downloaded, updates file directly to the terminal device 30
Update file is issued, indicates the terminal device 30 when being loaded with down in the adjacent terminals equipment of the terminal device 30 and updating file
The terminal device for updating file from neighbouring being loaded with down, which obtains, updates file.The OTA server 10 is also used to respond relaying
The downloading of equipment 35 updates request and directly issues update file to the trunking 35.
The gateway 20 is used to realize between OTA server 10 and terminal device 30 or OTA server 10 and trunking
The forwarding of communication between 35.
The terminal device 30 has internal storage, for storing update file.At least partly terminal device 30 passes through
Trunking 35 is connected to gateway 20, remaining terminal device 30 is for example directly connected to gateway 20.
The terminal device 30 for being directly connected to gateway 20 issues inquiry to OTA server 10 and updates request, and receives OTA clothes
The informing of device 10 be engaged in the presence or absence of update.The terminal device 30 for being directly connected to gateway 20 issues downloading to OTA server 10 and updates
Request, the terminal device 30 for being directly connected to gateway 20 directly take from OTA when adjacent terminals equipment is not downloaded and updates file
Business device 10, which obtains, updates file, and the terminal device 30 for being directly connected to gateway 20 has been loaded with down update text in adjacent terminals equipment
It is obtained when part from the terminal device that neighbouring being loaded with down updates file and updates file.
Inquiry, which is issued, to trunking 35 by the terminal device 30 that trunking 35 is connected to gateway 20 updates request, and
Trunking 35 is received to inform with the presence or absence of update.It is set by the terminal device 30 that trunking 35 is connected to gateway 20 to relaying
Standby 35, which issue downloading, updates request, and obtains from trunking 35 and update file.
The trunking 35 forwards channel as the communication at least partly between terminal device 30 and gateway 20.In described
Inquiry update request is issued to OTA server 10 after equipment 35, and receives OTA server 10 and informs with the presence or absence of updating, is inquired
Whether the firmware or software that range includes at least in the terminal device 30 of the trunking 35 connection has update.The relaying is set
Standby 35, which issue downloading to OTA server 10, updates request, and directly obtains from OTA server 10 and update file, and downloading range is extremely
It less include the update file of the firmware or software in the terminal device 30 of the trunking 35 connection.
Proximity relations between the terminal device refer between terminal device in communication distance can and in the range of,
Including by trunking forwarding and range, this can any realization in the following way.First, a certain terminal is set
The signal of standby detection surrounding terminal device, records the terminal device that can be detected as neighbouring terminal device, and optionally
It is reported to OTA server.Second, OTA server judge terminal according to the positioning chip (such as GPS chip) of each terminal device
It whether is proximity relations between equipment.Third, when disposing terminal device or changing the position of terminal device, manual record terminal
Proximity relations between equipment is simultaneously stored in OTA server.4th, it is connected to the terminal device of same trunking.
Preferably as distribution source terminal device in addition to can by the update file distributing of itself downloaded give same model
Terminal device, can also extraly download the update file of the terminal device of different model for distributing.
Preferably, it is perhaps directly communicated or is carried out by trunking pass-through mode between two terminal devices
Communication.
Referring to Fig. 7, the embodiment three of the neighbouring OTA upgrade method of terminal device provided by the present application includes following step
Suddenly.
Step S702: trunking issues inquiry to OTA server and updates request, and query context includes at least the relaying
Whether the firmware or software in the terminal device of equipment connection has update.
Step S704:OTA server is informed to the trunking with the presence or absence of update.If there is no update, then enter
Step S710.If there is update, then S706 is entered step.
Step S706: the trunking issues downloading to OTA server and updates request, and downloading range includes at least in described
After the update file of the firmware or software in the terminal device of equipment connection.
Step S708:OTA server directly issues update file to the trunking.
Step S710: inquiry is issued to trunking by the terminal device that trunking is connected to gateway and updates request.
Step S712: trunking is informed to the terminal device with the presence or absence of update.If there is no update, then upgraded
Journey terminates.If there is update, then S714 is entered step.
Step S714: the terminal device issues downloading to trunking and updates request.
Step S716: trunking directly issues update file to the terminal device.
Step S718: the update file that the terminal device application is got realizes that firmware or software updates.
In the neighbouring OTA upgrade-system of above-mentioned terminal device and the embodiment three of method, it is directly connected to the terminal of gateway
The method that equipment carries out firmware or software upgrading can refer to embodiment one shown in Fig. 3.Compared with embodiment one, embodiment three
Increase the firmware or software upgrade method that the terminal device of gateway is connected to by trunking.Embodiment three can be superimposed upon
On embodiment one.
Referring to Fig. 8, the example IV of the neighbouring OTA upgrade-system of terminal device provided by the present application includes multiple terminals
Equipment 30 and at least one trunking 35, the trunking 35 have stored update file.The trunking 35 is used to
The inquiry for the terminal device 30 that response is connected to gateway 20 by trunking 35 updates request and accuses to these terminal devices 30
Know with the presence or absence of update file.The trunking 35 also is used to respond to set by the terminal that trunking 35 is connected to gateway 20
Standby 30 downloading updates request and transmits to these terminal devices 30 and update file.
The trunking 35 is, for example, to get to update file from OTA server 10, and downloading range includes at least institute
State the update file of the firmware or software in the terminal device 30 of the connection of trunking 35.OTA clothes can be realized by gateway 20 at this time
The forwarding for the communication being engaged between device 10 and trunking 35.The trunking 35, which can also be, gets update text by manual type
Part, i.e., it is imported into the trunking 35 by will manually update file.
Referring to Fig. 9, the example IV of the neighbouring OTA upgrade method of terminal device provided by the present application includes following step
Suddenly.
Step S902: inquiry is issued to trunking by the terminal device that trunking is connected to gateway and updates request.
Step S904: trunking is informed to the terminal device with the presence or absence of update.If there is no update, then upgraded
Journey terminates.If there is update, then S906 is entered step.
Step S906: the terminal device issues downloading to trunking and updates request.
Step S908: trunking directly issues update file to the terminal device.
Step S910: the update file that the terminal device application is got realizes that firmware or software updates.
In the neighbouring OTA upgrade-system of above-mentioned terminal device and the example IV of method, gateway and OTA server no longer at
For the component that there must be, the trunking in network can be used as distribution source, gateway is connected to by trunking
Terminal device is downloaded from the distribution source updates file.Compared with embodiment two, example IV is increased to be connected by trunking
To the firmware or software upgrade method of the terminal device of gateway.Example IV can be superimposed upon on embodiment two.
In an application scenarios (as shown in Figure 8), terminal device A, B are directly connected to gateway, and terminal device C, D, E are logical
It crosses trunking and is connected to gateway.Terminal device A, B get update file from OTA server respectively.Trunking is also from OTA
Server gets the update file of terminal device C, D, E, and is stored in the memory of itself.Terminal device C, D, E are therefrom
Respective update file is got after equipment.Whole network is set to complete firmware or software more by way of promoting layer by layer in this way
Newly.
The neighbouring OTA upgrade-system and method of terminal device provided by the present application have following beneficial technical effect.
First, the load of OTA server is alleviated since terminal device or trunking can be used as update source,
Also the occupancy for reducing Internet resources, reduces the consumption of flow, to reduce cost.
Second, can use multiple terminal devices and/or trunking as update source simultaneously, multipoint parallel is simultaneously to more
A terminal device carries out firmware or software update, greatly improves the efficiency of OTA update.
The above is only preferred embodiment of the present application, it is not used to limit the application.Come for those skilled in the art
It says, various changes and changes are possible in this application.Within the spirit and principles of this application, made any modification, equivalent
Replacement, improvement etc., should be included within the scope of protection of this application.
Claims (16)
1. a kind of neighbouring OTA upgrade-system of terminal device, characterized in that set including OTA server, gateway and multiple terminals
It is standby;
The OTA server is used to update request in response to the inquiry of terminal device and inform to the terminal device with the presence or absence of more
Newly;The downloading that the OTA server also is used to respond terminal device updates request, when the adjacent terminals equipment of the terminal device is equal
It does not download and directly issues update file to the terminal device when updating file, under in the adjacent terminals equipment of the terminal device
It is loaded with and indicates that the terminal device obtains update file from the terminal device that neighbouring being loaded with down updates file when updating file;
The gateway is used to realize the communication forwarding between OTA server and terminal device;
The terminal device, which issues to inquire to OTA server, updates request, and receives OTA server and inform with the presence or absence of update;
The terminal device issues downloading to OTA server and updates request, and the terminal device is not downloaded more in adjacent terminals equipment
It is directly obtained from OTA server when new file and updates file, the terminal device is loaded with down update in adjacent terminals equipment
It is obtained when file from the terminal device that neighbouring being loaded with down updates file and updates file.
2. the neighbouring OTA upgrade-system of terminal device according to claim 1, characterized in that between the terminal device
Proximity relations refer between terminal device in communication distance can and in the range of, including by trunking forwarding and
Range.
3. the neighbouring OTA upgrade-system of terminal device according to claim 1, characterized in that directly obtained from OTA server
Take update file of the terminal device for updating file in addition to downloading itself, also the update file of the terminal device of downloading different model
For distributing.
4. the neighbouring OTA upgrade-system of terminal device according to claim 1, characterized in that between the terminal device
Perhaps it is directly communicated or is communicated by trunking pass-through mode.
5. a kind of neighbouring OTA upgrade method of terminal device, characterized in that include the following steps:
Step S302: terminal device issues inquiry to OTA server and updates request;
Step S304:OTA server is informed to the terminal device with the presence or absence of update;If it is not, then escalation process terminates;If
It is then to enter step S306;
Step S306: the terminal device issues downloading to OTA server and updates request;
Step S308:OTA server judges update file whether has been downloaded in the adjacent terminals equipment of the terminal device;If
It is then to enter step S310;If it is not, then entering step S312;
Step S310:OTA server indicates that the terminal device obtains more from the terminal device that neighbouring being loaded with down updates file
New file;Subsequently enter step S314;
Step S312:OTA server directly issues update file to the terminal device;Subsequently enter step S314;
Step S314: the update file that the terminal device application is got realizes that firmware or software updates.
6. a kind of neighbouring OTA upgrade-system of terminal device, characterized in that including multiple terminal devices, wherein at least one is whole
End equipment has stored update file;The terminal device for being stored with update file is used to respond looking into for other terminal devices
It askes and updates request and whether there is to other terminal devices informing and update;The terminal device for being stored with update file is also used
It is transmitted to other terminal devices to respond the downloading update request of other terminal devices and updates file.
7. the neighbouring OTA upgrade-system of terminal device according to claim 6, characterized in that described to be stored with update
The terminal device of file, which is either got from OTA server, updates file, or gets update text by manual type
Part.
8. the neighbouring OTA upgrade-system of terminal device according to claim 6, characterized in that described to be stored with update
Update file of the terminal device of file in addition to storing itself, also the update file of the terminal device of storage different model is for dividing
Hair.
9. the neighbouring OTA upgrade-system of terminal device according to claim 6, characterized in that between the terminal device
Perhaps it is directly communicated or is communicated by trunking pass-through mode.
10. a kind of neighbouring OTA upgrade method of terminal device, characterized in that include the following steps:
Step S502: being communicated between terminal device, is judged whether there is and is stored with update file on any terminal device;If
It is to enter step S504;If it is not, then escalation process terminates;
Step S504: it will be stored with and update the terminal device of file and be known as terminal device A, remaining terminal device is to terminal device A
It issues downloading and updates request;
Step S506: terminal device A transmits update file to other terminal devices;
Step S508: the update file that other terminal device applications are got realizes that firmware or software updates.
11. a kind of neighbouring OTA upgrade-system of terminal device, characterized in that including OTA server, gateway, multiple terminal devices
With at least one trunking;
The OTA server be used to update request in response to the inquiry of terminal device or trunking and to the terminal device or relaying
Equipment is informed with the presence or absence of update;The downloading that the OTA server also is used to respond terminal device updates request, when the terminal is set
Standby adjacent terminals equipment is not downloaded and directly issues update file to the terminal device when updating file, when the terminal device
It is loaded with the terminal for indicating that the terminal device updates file from neighbouring being loaded with down when updating file in adjacent terminals equipment down
Equipment, which obtains, updates file;The OTA server be also used in response to trunking downloading update request and directly to the relaying
Equipment issues update file;
The gateway is used to realize that the communication between OTA server and terminal device or between OTA server and trunking turns
Hair;
At least partly terminal device is connected to gateway by trunking, remaining terminal device is directly connected to gateway;
The terminal device of gateway is directly connected to the sending inquiry update request of OTA server, and receive OTA server informing to be
It is no to there is update;The terminal device for being directly connected to gateway is serviced to OTA issues downloading update request, is directly connected to gateway
Terminal device is directly obtained from OTA server when adjacent terminals equipment is not downloaded and updates file updates file, is directly connected to
From neighbouring be loaded with down file is updated when being loaded with down in adjacent terminals equipment to the terminal device of gateway and updated file
Terminal device, which obtains, updates file;
Inquiry is issued to trunking by the terminal device that trunking is connected to gateway and updates request, and receives trunking
It informs with the presence or absence of update;Downloading, which is issued, to trunking by the terminal device that trunking is connected to gateway updates request,
And it is obtained from trunking and updates file;
The trunking forwards channel as the communication at least partly between terminal device and gateway;The trunking to
OTA server issues inquiry and updates request, and receives OTA server and inform that query context includes at least institute with the presence or absence of updating
Whether the firmware or software stated in the terminal device of trunking connection has update;The trunking is issued to OTA server
Downloading updates request, and directly obtains from OTA server and update file, and downloading range includes at least trunking connection
The update file of firmware or software in terminal device.
12. the neighbouring OTA upgrade-system of terminal device according to claim 11, characterized in that the terminal device it
Between proximity relations refer between terminal device in communication distance can and in the range of, including pass through trunking forward
And range.
13. a kind of neighbouring OTA upgrade method of terminal device, characterized in that include the following steps:
Step S702: trunking issues inquiry to OTA server and updates request, and query context includes at least the trunking
Whether the firmware or software in the terminal device of connection has update;
Step S704:OTA server is informed to the trunking with the presence or absence of update;If it is not, then entering step S710;If
It is then to enter step S706;
Step S706: the trunking issues downloading to OTA server and updates request, and downloading range includes at least the relaying and sets
The update file of firmware or software in the terminal device of standby connection;
Step S708:OTA server directly issues update file to the trunking;
Step S710: inquiry is issued to trunking by the terminal device that trunking is connected to gateway and updates request;
Step S712: trunking is informed to the terminal device with the presence or absence of update;If it is not, then escalation process terminates;If
It is then to enter step S714;
Step S714: the terminal device issues downloading to trunking and updates request;
Step S716: trunking directly issues update file to the terminal device;
Step S718: the update file that the terminal device application is got realizes that firmware or software updates.
14. a kind of neighbouring OTA upgrade-system of terminal device, characterized in that including multiple terminal devices and at least one relaying
Equipment at least stores the update file that the terminal device of gateway is connected to by trunking in the trunking;It is described
The inquiry that trunking is used to respond the terminal device for being connected to gateway by trunking updates request and sets to these terminals
It is standby to inform with the presence or absence of update;The trunking, which is also used to respond, to be connected under the terminal device of gateway by trunking
It carries and updates request and transmitted to these terminal devices and update file.
15. the neighbouring OTA upgrade-system of terminal device according to claim 14, characterized in that the trunking or
Person is to get to update file from OTA server, or got by manual type and update file.
16. a kind of neighbouring OTA upgrade method of terminal device, characterized in that include the following steps:
Step S902: inquiry is issued to trunking by the terminal device that trunking is connected to gateway and updates request;
Step S904: trunking is informed to the terminal device with the presence or absence of update;If it is not, then escalation process terminates;If
It is then to enter step S906;
Step S906: the terminal device issues downloading to trunking and updates request;
Step S908: trunking directly issues update file to the terminal device;
Step S910: the update file that the terminal device application is got realizes that firmware or software updates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910741961.0A CN110489146A (en) | 2019-08-13 | 2019-08-13 | A kind of neighbouring OTA upgrade-system and method of terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910741961.0A CN110489146A (en) | 2019-08-13 | 2019-08-13 | A kind of neighbouring OTA upgrade-system and method of terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110489146A true CN110489146A (en) | 2019-11-22 |
Family
ID=68550630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910741961.0A Pending CN110489146A (en) | 2019-08-13 | 2019-08-13 | A kind of neighbouring OTA upgrade-system and method of terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110489146A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111158727A (en) * | 2019-12-31 | 2020-05-15 | 上海能塔智能科技有限公司 | OTA upgrade processing method, OTA upgrade processing device, electronic equipment and storage medium |
CN112612494A (en) * | 2020-12-26 | 2021-04-06 | 中国农业银行股份有限公司 | Version update management method and related device |
CN112671591A (en) * | 2021-01-15 | 2021-04-16 | 江苏米塔网络科技服务有限公司 | Remote updating method based on OTA technology |
CN112788570A (en) * | 2020-12-31 | 2021-05-11 | 广州技象科技有限公司 | Internet of things equipment management method and device |
CN113765950A (en) * | 2020-06-02 | 2021-12-07 | 富泰华工业(深圳)有限公司 | Internet of things equipment, server and software updating method |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1964429A (en) * | 2006-11-17 | 2007-05-16 | 华为技术有限公司 | A management method, system and device to update distributed set top box |
CN101465757A (en) * | 2009-01-15 | 2009-06-24 | 武汉烽火网络有限责任公司 | Method for batch upgrade in cluster network |
CN101478446A (en) * | 2008-12-30 | 2009-07-08 | 华为技术有限公司 | Network appliance version loading method, apparatus and system |
CN103516771A (en) * | 2012-09-27 | 2014-01-15 | 深圳市友讯达科技发展有限公司 | Method for upgrading child node operational software and information collection system |
CN103532922A (en) * | 2012-09-29 | 2014-01-22 | 深圳市友讯达科技发展有限公司 | Software version upgrade method, device and system |
CN103906087A (en) * | 2012-12-28 | 2014-07-02 | 华为技术有限公司 | Access point upgrading method, device and system |
CN104780189A (en) * | 2014-01-13 | 2015-07-15 | 中兴通讯股份有限公司 | Software upgrading method and software upgrading device |
WO2016090846A1 (en) * | 2014-12-11 | 2016-06-16 | 中兴通讯股份有限公司 | Network version upgrade method and apparatus |
CN106506595A (en) * | 2016-10-08 | 2017-03-15 | 深圳广田智能科技有限公司 | Upgrade method based on point-to-point Internet of Things intelligent Community equipment |
CN107248936A (en) * | 2017-06-19 | 2017-10-13 | 深圳市盛路物联通讯技术有限公司 | A kind of method and forward node by adjacent node control terminal device upgrade |
CN107770279A (en) * | 2017-10-31 | 2018-03-06 | 深圳市银河风云网络系统股份有限公司 | Remote upgrade method and system |
CN108400882A (en) * | 2017-12-29 | 2018-08-14 | 乐鑫信息科技(上海)有限公司 | Device updating method in a kind of mesh networks |
CN108737178A (en) * | 2018-05-21 | 2018-11-02 | 珠海中慧微电子有限公司 | The upgrade method of wireless network child nodes |
CN109074248A (en) * | 2016-04-04 | 2018-12-21 | 鲁门无线电通信公司 | Method for the software upgrading distributed in communication network |
-
2019
- 2019-08-13 CN CN201910741961.0A patent/CN110489146A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1964429A (en) * | 2006-11-17 | 2007-05-16 | 华为技术有限公司 | A management method, system and device to update distributed set top box |
CN101478446A (en) * | 2008-12-30 | 2009-07-08 | 华为技术有限公司 | Network appliance version loading method, apparatus and system |
CN101465757A (en) * | 2009-01-15 | 2009-06-24 | 武汉烽火网络有限责任公司 | Method for batch upgrade in cluster network |
CN103516771A (en) * | 2012-09-27 | 2014-01-15 | 深圳市友讯达科技发展有限公司 | Method for upgrading child node operational software and information collection system |
CN103532922A (en) * | 2012-09-29 | 2014-01-22 | 深圳市友讯达科技发展有限公司 | Software version upgrade method, device and system |
CN103906087A (en) * | 2012-12-28 | 2014-07-02 | 华为技术有限公司 | Access point upgrading method, device and system |
CN104780189A (en) * | 2014-01-13 | 2015-07-15 | 中兴通讯股份有限公司 | Software upgrading method and software upgrading device |
WO2016090846A1 (en) * | 2014-12-11 | 2016-06-16 | 中兴通讯股份有限公司 | Network version upgrade method and apparatus |
CN109074248A (en) * | 2016-04-04 | 2018-12-21 | 鲁门无线电通信公司 | Method for the software upgrading distributed in communication network |
CN106506595A (en) * | 2016-10-08 | 2017-03-15 | 深圳广田智能科技有限公司 | Upgrade method based on point-to-point Internet of Things intelligent Community equipment |
CN107248936A (en) * | 2017-06-19 | 2017-10-13 | 深圳市盛路物联通讯技术有限公司 | A kind of method and forward node by adjacent node control terminal device upgrade |
CN107770279A (en) * | 2017-10-31 | 2018-03-06 | 深圳市银河风云网络系统股份有限公司 | Remote upgrade method and system |
CN108400882A (en) * | 2017-12-29 | 2018-08-14 | 乐鑫信息科技(上海)有限公司 | Device updating method in a kind of mesh networks |
CN108737178A (en) * | 2018-05-21 | 2018-11-02 | 珠海中慧微电子有限公司 | The upgrade method of wireless network child nodes |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111158727A (en) * | 2019-12-31 | 2020-05-15 | 上海能塔智能科技有限公司 | OTA upgrade processing method, OTA upgrade processing device, electronic equipment and storage medium |
CN113765950A (en) * | 2020-06-02 | 2021-12-07 | 富泰华工业(深圳)有限公司 | Internet of things equipment, server and software updating method |
CN113765950B (en) * | 2020-06-02 | 2023-11-14 | 富泰华工业(深圳)有限公司 | Internet of things equipment, server and software updating method |
CN112612494A (en) * | 2020-12-26 | 2021-04-06 | 中国农业银行股份有限公司 | Version update management method and related device |
CN112788570A (en) * | 2020-12-31 | 2021-05-11 | 广州技象科技有限公司 | Internet of things equipment management method and device |
CN112671591A (en) * | 2021-01-15 | 2021-04-16 | 江苏米塔网络科技服务有限公司 | Remote updating method based on OTA technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110489146A (en) | A kind of neighbouring OTA upgrade-system and method of terminal device | |
KR100874773B1 (en) | Method, device, and system for enabling data synchronization between a plurality of devices | |
CN104539686B (en) | Exempt from method, terminal and the server-side of flow downloading application | |
CN101668325B (en) | Admission control method, admission control device and admission control system | |
CN104093118A (en) | Resource notification method, machine-to-machine nodes and system | |
CN106162602A (en) | The method and apparatus downloaded for the configuration file of group device | |
CN103298072A (en) | Method and system for automatically connecting to WiFi (wireless fidelity) access points and mobile communication terminal | |
CN102045691B (en) | Method and device for acquiring grouped identifiers of machine type communication (MTC) equipment | |
US10887745B2 (en) | Method and device for sharing file between different terminals | |
CN102118418A (en) | Mobile terminal data sharing system and method | |
CN103533531B (en) | For collocation method, network and terminal unit and system close to perceptive function | |
CN104320502A (en) | Terminal gateway IP address assignment method, data transmission method, MME and system | |
CN104883673A (en) | Dataflow share method, device and system between mobile terminals | |
CN106059917B (en) | Routing information processing method and device | |
CN111935267B (en) | Industrial 5G rapid networking method and system | |
US20220256329A1 (en) | Method for handling of terminal capabilities in a wireless network | |
CN103095587B (en) | A method for registration service, network group center control nodes and system | |
CN105282682A (en) | Method for realizing resource attribute announcement and common service entity | |
CN105045110B (en) | Method and device for forwarding household appliance service call request | |
CN105281941A (en) | Data transmission method, first CSE, intermediate CSE, and second CSE | |
JP2005020708A (en) | Position information retrieval device and method using mobile communication terminal | |
CN106209641A (en) | A kind of method, system and device of Message processing | |
CN105554731A (en) | OTA upgrading method and OTA upgrading device | |
CN102625420B (en) | Method for network access and system | |
CN102036185A (en) | Equipment group management method, network node and communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20191122 |
|
WD01 | Invention patent application deemed withdrawn after publication |