CN109347907A - Installation kit method for down loading and device - Google Patents
Installation kit method for down loading and device Download PDFInfo
- Publication number
- CN109347907A CN109347907A CN201811008861.9A CN201811008861A CN109347907A CN 109347907 A CN109347907 A CN 109347907A CN 201811008861 A CN201811008861 A CN 201811008861A CN 109347907 A CN109347907 A CN 109347907A
- Authority
- CN
- China
- Prior art keywords
- installation kit
- server
- terminal
- test
- data
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Environmental & Geological Engineering (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention provides a kind of installation kit method for down loading and device.Installation kit method for down loading includes: the download progress of terminal record installation kit and the downloading data for storing installation kit when detecting that terminal does not receive the data for the installation kit downloaded in the first preset duration;When detecting the network connection state between terminal and server is to be connected to, terminal is according to download progress, from the remaining data of server downloading installation kit.Method provided in this embodiment records the download progress of installation kit and stores the downloading data of installation kit, and in network recovery in terminal and server disconnection, according to download progress, from the remaining data of server downloading installation kit.When can avoid downloading installation kit every time, all installation bag datas are re-downloaded, while having saved flow, improve the efficiency of installation kit downloading.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of installation kit method for down loading and device.
Background technique
Automated driving system is to utilize all kinds of sensors being mounted on vehicle (automobile, electric vehicle, train etc.),
The environment of surrounding is incuded in vehicle travel process at any time, to assist/replace driver's operating and controlling vehicle and pre- to driver
The danger that police may occur improves safety and comfort of the driver in vehicle travel process.
Traditional automated driving system is using the structure being directly integrated in vehicle control electronics, although can be effective
Meet the needs of using, but leads to upgrading, maintenance and the troubleshooting task difficulty of automated driving system in actual use
Greatly, working efficiency is low, and reliability is low.
Current automated driving system is widely used the form of software to realize Function for Automatic Pilot, therefore, drives automatically
The update reliability for sailing system becomes the major criterion for measuring automated driving system.But the vehicle of automated driving system is installed
Network connection it is unstable, often cannot connect to network during the installation kit of download system, cause downloading install
Packet failure can only re-download installation kit in network connection next time.Existing installation kit method for down loading flow expends big, effect
Rate is low.
Summary of the invention
The present invention provides a kind of installation kit method for down loading and device, can solve existing installation kit method for down loading flow and expend
Greatly, the problem of low efficiency.
The first aspect of the present invention provides a kind of installation kit method for down loading, comprising:
When detecting that terminal does not receive the data for the installation kit downloaded in the first preset duration, terminal record
The download progress of the installation kit and the downloading data for storing the installation kit;
When detecting the network connection state between the terminal and server is to be connected to, the terminal is according under described
Degree of being loaded into downloads the remaining data of the installation kit from the server.
Optionally, it is described detect terminal do not received in the first preset duration the installation kit downloaded data it
Before, the installation kit method for down loading further include:
The terminal is determined according to the current version of the system in the terminal from server downloading latest edition
Installation kit, the installation kit is for updating the system;
The terminal starts the data that the installation kit is downloaded from the server.
Optionally, the terminal is determined from server downloading most according to the current version of the system in the terminal
The installation kit of new version, comprising:
The terminal obtains the latest edition of the corresponding installation kit of the system in the server;
If the current version, earlier than the latest edition, the terminal determines described newest from server downloading
The installation kit of version.
Optionally, the installation kit method for down loading further include:
When the terminal is restarted, the complete installation kit for the current version for being later than the system there are version is detected whether;
If it does not exist, then the system of the current version is loaded.
Optionally, after the system of the load current version, the installation kit method for down loading further include:
The terminal downloads the remaining data of the installation kit from the server according to the download progress.
Optionally, before the network connection state detected between the terminal and server is connection, the peace
Fill packet method for down loading further include:
It is disconnected when detecting the network connection state between the terminal and the server in the second preset duration
When opening, the terminal sends network connecting request to the server, when second preset duration is default less than described first
It is long.
Optionally, the network connection state detected between the terminal and server is to be connected to, comprising:
The terminal sends test request message to the server, and the test request message is for testing the terminal
Whether the network between the server is connected to, and the test request message includes at least one test data packet;
The terminal receives the test response message that the server is sent, and the test response message is used to indicate described
Server receives the time delay of each test data packet;
The terminal determines the network connection shape between the terminal and the server according to the test response message
State is connection.
Optionally, the terminal determines the net between the terminal and the server according to the test response message
Network connection status is connection, comprising:
The terminal determines the terminal and the server when the quantity of the first test data packet is greater than preset quantity
Between network connection state be connection, the first test data packet is the test data packet that time delay is greater than default time delay.
Optionally, the installation kit is for updating the Unmanned Systems installed in the terminal.
Optionally, it is described detect terminal do not received in the first preset duration the installation kit downloaded data it
Before, the installation kit method for down loading further include:
The terminal receives the more new command that the server is sent, and the more new command is used to indicate in the service
There are the installation kits of the new version of the system of the terminal.
The second aspect of the present invention provides a kind of installation kit download apparatus, comprising:
Processor is being downloaded for that ought detect that the installation kit download apparatus does not receive in the first preset duration
Installation kit data when, record the download progress of the installation kit and store the downloading data of the installation kit;
Receiver detects that the network connection state between the installation kit download apparatus and server is to be connected to for working as
When, according to the download progress, the remaining data of the installation kit is downloaded from the server.
Optionally, the processor is also used to, and according to the current version of the system in the installation kit download apparatus, is determined
From the installation kit of server downloading latest edition, the installation kit is for updating the system;
The receiver, the data for starting to download the installation kit from the server.
Optionally, the receiver is also used to, and obtains the newest of the corresponding installation kit of the system in the server
Version;
The processor is also used to, if the current version is earlier than the latest edition, it is determined that under the server
Carry the installation kit of the latest edition.
Optionally, the processor is also used to, and when the installation kit download apparatus is restarted, detects whether that there are version evenings
In the complete installation kit of the current version of the system;
The receiver is also used to, and in the complete installation kit for the current version for being later than the system there is no version, is added
The system for carrying the current version.
Optionally, the receiver is also used to, and according to the download progress, downloads the installation kit from the server
Remaining data.
Optionally, the installation kit download apparatus further include:
Transmitter detects that the network connection state between the installation kit download apparatus and the server exists for working as
When being disconnection in the second preset duration, the installation kit download apparatus sends network connecting request to the server, described
Second preset duration is less than first preset duration.
Optionally, the installation kit download apparatus further include:
Transmitter, for sending test request message to the server, the test request message is described for testing
Whether the network between installation kit download apparatus and the server is connected to, and the test request message includes at least one test
Data packet;
The receiver is also used to, and receives the test response message that the server is sent, and the test response message is used
The time delay of each test data packet is received in the instruction server;
The processor is also used to, and according to the test response message, determines the installation kit download apparatus and the clothes
Network connection state between business device is connection.
Optionally, the processor is specifically used for, and when the quantity of the first test data packet is greater than preset quantity, determines institute
Stating the network connection state between installation kit download apparatus and the server is to be connected to, and the first test data packet is time delay
Greater than the test data packet of default time delay.
Optionally, the installation kit is for updating the Unmanned Systems installed on the installation kit download apparatus.
Optionally, the receiver is also used to, and receives the more new command that the server is sent, and the more new command is used
There are the installation kits of the new version of the system of the terminal in the instruction service.
The third aspect of the present invention provides a kind of installation kit download apparatus, comprising: at least one processor and memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of the memory storage, so that under the installation kit
It carries to set and executes above-mentioned installation kit method for down loading.
The fourth aspect of the present invention provides a kind of computer readable storage medium, deposits on the computer readable storage medium
Computer executed instructions are contained, when the computer executed instructions are executed by processor, realize above-mentioned installation kit method for down loading.
The present invention provides a kind of installation kit method for down loading and device.Installation kit method for down loading includes: to work as to detect that terminal exists
When not receiving the data for the installation kit downloaded in the first preset duration, terminal records the download progress of installation kit and storage
The downloading data of installation kit;When detecting the network connection state between terminal and server is to be connected to, terminal is under
Degree of being loaded into, from the remaining data of server downloading installation kit.Method provided in this embodiment is in terminal and server disconnection, note
It records the download progress of installation kit and stores the downloading data of installation kit, and in network recovery, according to download progress, from service
The remaining data of device downloading installation kit.When can avoid downloading installation kit every time, all installation bag datas are re-downloaded, are being saved
While flow, the efficiency of installation kit downloading is improved.
Detailed description of the invention
Fig. 1 is the application scenarios schematic diagram of installation kit method for down loading provided by the invention;
Fig. 2 is the flow diagram one of installation kit method for down loading provided by the invention;
Fig. 3 is the flow diagram two of installation kit method for down loading provided by the invention;
Fig. 4 is the flow diagram three of installation kit method for down loading provided by the invention;
Fig. 5 is the flow diagram four of installation kit method for down loading provided by the invention;
Fig. 6 is the structural schematic diagram one of installation kit download apparatus provided by the invention;
Fig. 7 is the structural schematic diagram two of installation kit download apparatus provided by the invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the embodiment of the present invention, to this
Technical solution in inventive embodiments is clearly and completely described, it is clear that described embodiment is that a part of the invention is real
Example is applied, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creation
Property labour under the premise of every other embodiment obtained, shall fall within the protection scope of the present invention.
Fig. 1 is the application scenarios schematic diagram of installation kit method for down loading provided by the invention.As shown in Figure 1, being equipped with automatic
The vehicle of control loop needs the installation kit for whether having the automated driving system of new version in real-time monitoring server.It is taken when detecting
When having the installation kit of new version in business device, installation kit and more new system need to be downloaded, to guarantee the safety of automatic Pilot process.
But the network connection of vehicle there is a situation where unstable, often cannot connect to when downloading installation kit
Network leads to installation kit failed download, influences the update and stability of automated driving system.
To solve the above problems, the present invention provides a kind of installation kit method for down loading and device.Combined with specific embodiments below
Installation kit method for down loading provided by the invention and device are illustrated.
Fig. 2 is the flow diagram one of installation kit method for down loading provided by the invention, the execution master of method flow shown in Fig. 1
Body can be terminal, or, the application/software in terminal.The terminal can be the smart machines such as vehicle-mounted computer.The executing subject can
By arbitrary software and or hardware realization.As shown in Figure 1, installation kit method for down loading provided in this embodiment may include:
S101, when detecting that terminal does not receive the data for the installation kit downloaded in the first preset duration, eventually
The download progress of end record installation kit and the downloading data for storing installation kit.
Illustratively, the installation kit in the embodiment of the present invention can be used for the Unmanned Systems installed on more new terminal.It can
Choosing, installation kit can be also used for other systems or software on more new terminal.
In the present embodiment, for terminal during downloading installation kit, terminal continues the data that installation kit is obtained from server.
But when the network between terminal and server disconnects, terminal can not continue the data that installation kit is received from server.This
When, terminal is sustainable to send request of data to server, and when the network recovery connection between terminal and server, terminal can be connect
Receive the data of the installation kit of server return.Alternatively, terminal gives up the data for the installation kit downloaded, to terminal and server
Between network recovery connection when, re-download installation kit.Traditional installation kit downloading mode flow is larger.
In the present embodiment, when detecting terminal in the first preset duration and not receiving the data of installation kit, it is believed that
Continue the first preset duration disconnection between terminal and server, terminal records the download progress of installation kit and stores installation kit at this time
Downloading data.
Optionally, when the network disconnection between terminal and server, terminal device can start timing, and in accumulative disconnection
When duration reaches the second preset duration, terminal to server sends network connecting request.Wherein, the second preset duration is less than first
Preset duration.
Optionally, terminal can also diagnose the network between terminal and server, determine network disconnection reason, and will
Disconnection reason is sent to user.
S102, when detecting the network connection state between terminal and server is to be connected to, terminal according to download progress,
From the remaining data of server downloading installation kit.
Illustratively, terminal persistently carries out network connection state detection, when detecting network connection state to be connected to, eventually
End starts again at downloading installation kit.Specifically, the download progress of terminal historically, from the remainder of server downloading installation kit
According to.Optionally, the data of the remaining data of installation kit and the installation kit of last downloading are according to the storage rule for installing bag data
It is stored together.
Optionally, terminal device sends request of data to server, carry in request of data installation kit mark and
Download progress mark, so that server can be identified according to the mark and download progress of installation kit provides the terminal with the installation
The remaining data of packet.
Optionally, when the installation kit of new version downloads interruption because of network disconnection, if terminal is restarted, at this point, terminal loads
The system of current version.I.e. terminal loads do not update before version system.
Specifically, terminal detects whether the complete installation for the current version for being later than system there are version when terminal is restarted
Packet;
If it does not exist, then the system of current version is loaded.
Optionally, after the system of current version is restarted and loaded to terminal, terminal is downloaded according to download progress from server
The remaining data of installation kit.
Optionally, terminal is according to download progress, and before the remaining data of server downloading installation kit, terminal need to determine end
End is to be connected to the network connection state between server.
Optionally, it downloads and finishes before terminal is restarted when the installation kit of new version, then load new version when terminal is restarted
Installation kit completes the installation of the system of new version.
Installation kit method for down loading provided in this embodiment includes: to work as to detect that terminal does not receive in the first preset duration
When the data for the installation kit downloaded, the download progress of terminal record installation kit and the downloading data for storing installation kit;When
Detect that the network connection state between terminal and server is when being connected to, terminal is downloaded from server and pacified according to download progress
Fill the remaining data of packet.Method provided in this embodiment records the download progress of installation kit simultaneously in terminal and server disconnection
The downloading data of installation kit is stored, and in network recovery, according to download progress, from the remainder of server downloading installation kit
According to.When can avoid downloading installation kit every time, re-downloads all installation bag datas and improved while having saved flow
The efficiency of installation kit downloading.
On the basis of above-mentioned embodiment illustrated in fig. 1, the triggering mode that installation kit is downloaded is carried out into one below with reference to Fig. 3
Step explanation, Fig. 3 is the flow diagram two of installation kit method for down loading provided by the invention, as shown in figure 3, provided in this embodiment
Installation kit method for down loading may include:
S201, terminal determine the installation kit from server downloading latest edition according to the current version of the system in terminal.
S202, terminal start the data that installation kit is downloaded from server.
Illustratively, the version information of the system in terminal detection terminal, version information illustratively can be the time,
It can be number.When terminal determines the peace needed from server downloading latest edition according to the version information of the current version of system
When dress packet, terminal starts from the data from server downloading installation kit.
Illustratively, terminal server sends request of data, to obtain the data of installation kit.
Optionally, the installation kit in server can be the installation kit comprising all system informations, can also for comprising with
The installation kit of the different information of the installation kit of last revision.
Illustratively, when determining from the installation kit of server downloading latest edition, terminal sets down downloading mark to
It carries, when terminal detects downloading mark instruction downloading installation kit, sends installation kit acquisition request to server.When terminal determines
Without from server downloading latest edition installation kit when, terminal will downloading mark is set as without downloading.
S203, when detecting that terminal does not receive the data for the installation kit downloaded in the first preset duration, eventually
The download progress of end record installation kit and the downloading data for storing installation kit.
S204, when detecting the network connection state between terminal and server is to be connected to, terminal according to download progress,
From the remaining data of server downloading installation kit.
The embodiment of S203 and S204 in the present embodiment specifically can refer to S101's in above-described embodiment and S102
Associated description, this will not be repeated here.
In the present embodiment, terminal is determined according to the current version of the system in terminal from server downloading latest edition
Installation kit.By determining whether the installation kit from server downloading latest edition according to the current version of the system in terminal,
The current version that can avoid system in the terminal is repeated downloads installation kit in the case where latest edition, can save flow.
On the basis of above-mentioned embodiment illustrated in fig. 2, the reality of downloading installation kit is determined according to current version below with reference to Fig. 4
Existing mode is further described, and Fig. 4 is the flow diagram three of installation kit method for down loading provided by the invention, as shown in figure 4,
Installation kit method for down loading provided in this embodiment may include:
S301, terminal obtain the latest edition of the corresponding installation kit of system in server.
Whether S302, terminal judge current version earlier than latest edition;If so, executing S303.
S303, terminal determine the installation kit from server downloading latest edition.
Illustratively, terminal obtains the latest edition of the corresponding installation kit of system in server, and compares current version
Whether earlier than latest edition.When version information is the time, whether the time of current version may compare earlier than latest edition
Time, when version information is number, whether the number that may compare current version is less than the number of latest edition.
When current version is earlier than latest edition, it may be determined that current version is not latest edition, therefore needs to obtain to server
Take data packet.
S304, terminal start the data that installation kit is downloaded from server.
S305, when detecting that terminal does not receive the data for the installation kit downloaded in the first preset duration, eventually
The download progress of end record installation kit and the downloading data for storing installation kit.
S306, when detecting the network connection state between terminal and server is to be connected to, terminal according to download progress,
From the remaining data of server downloading installation kit.
The embodiment of S303 to S306 in the present embodiment specifically can refer to the S202 in above-described embodiment to S204's
Associated description, this will not be repeated here.
In the present embodiment, terminal is according to the latest edition of the data packet in the current version and server of the system in terminal
This, it is determined whether is from the installation kit of server downloading latest edition.It is newest for can avoid the current version of system in the terminal
Repeated downloads installation kit in the case where version can save flow.
Optionally, the triggering mode of another installation kit downloading can be that server sends more new command to terminal, update
Instruction be used to indicate service in there are the installation kits of the new version of the system of terminal.
Terminal starts to download installation kit from server when receiving the more new command of server transmission.
Based on any of the above embodiments, below with reference to Fig. 5 to the network connection between detection terminal and server
State is further described, and Fig. 5 is the flow diagram four of installation kit method for down loading provided by the invention, as shown in figure 5, this
The network connection state detected between the terminal and server in installation kit method for down loading that embodiment provides is to be connected to,
Include:
S401, terminal to server send test request message.
Wherein, whether the network that test request message is used to test between terminal and server is connected to, test request message
Including at least one test data packet.
The present embodiment does not limit the quantity of test data packet and each test data included by above-mentioned test request message
The size of packet can specifically be set according to the demand of user.For example, above-mentioned test request message includes 5 test data packets, often
A test data packet is 32 bytes.
Optionally, above-mentioned test request message for example can be ping message.
S402, terminal receive the test response message that server is sent.
Wherein, test response message is used to indicate the time delay that server receives each test data packet.
Optionally, above-mentioned test response message for example may be used to indicate that each test data received by server
The size (such as byte number) of packet sends total consumption that the test data packet receives the test data packet to server from terminal
When.
With above-mentioned test request message be ping message, test request message includes test data packet, a server
For address is 192.168.1.1, then above-mentioned test response message for example can be such that
Reply from 192.168.1.1:bytes=32 time=1244ms TTL=46.
Wherein, bytes=32 be used for indicate test data packet received by server size (such as byte number),
Time=1244ms for indicating to send the total time-consuming that the test data packet receives the test data packet to server from terminal,
TTL=46 server is directed to the reception delay of the test data packet.
It is appreciated that if server does not receive a certain test data packet, test response message transmitted by server
It would not instruct that any information about the test data packet.
S403, terminal determine that the network connection state between terminal and server is to be connected to according to test response message.
Optionally, terminal determines between terminal and server when the quantity of the first test data packet is greater than preset quantity
Network connection state be connection.
Wherein, the first test data packet is the test data packet that time delay is greater than default time delay.
Illustratively, server receives all test data packets, wherein there is the reception delay of a test data packet
Greater than preset threshold, then terminal can determine that network is disconnection between terminal and server.Preset threshold mentioned here is for example
It can be 400 milliseconds, 1000 milliseconds etc..
Illustratively, when some test data of server Bao Wei is received, then terminal can determine terminal and service
Network is disconnection between device.
Optionally, terminal executes above-mentioned when detecting the network disconnection between terminal and server according to predetermined period
The step of S401 to S402, until obtaining S403.
Fig. 6 is the structural schematic diagram one of installation kit download apparatus provided by the invention, as shown in fig. 6, the installation kit is downloaded
Device includes:
Processor 501 detects that described device does not receive the installation downloaded in the first preset duration for working as
When the data of packet, records the download progress of the installation kit and store the downloading data of the installation kit;
Receiver 502, for when detect the network connection state between described device and server be connected to when, according to
The download progress downloads the remaining data of the installation kit from the server.
The principle and technical effect that installation kit download apparatus provided in this embodiment and above-mentioned installation kit method for down loading are realized
Similar, therefore not to repeat here.
Optionally, the processor 501 is also used to, according to the current version of the system in the installation kit download apparatus,
Determine that the installation kit is for updating the system from the installation kit of server downloading latest edition;
The receiver 502, the data for starting to download the installation kit from the server.
Optionally, the receiver 502 is also used to, and obtains the corresponding installation kit of the system in the server most
New version;
The processor 501 is also used to, if the current version is earlier than the latest edition, it is determined that from the server
Download the installation kit of the latest edition.
Optionally, the processor 501 is also used to, and when the installation kit download apparatus is restarted, detects whether that there are versions
Originally it is later than the complete installation kit of the current version of the system;
The receiver 502 is also used to, in the complete installation kit for the current version for being later than the system there is no version,
The system for loading the current version.
Optionally, the receiver 502 is also used to, and according to the download progress, downloads the installation from the server
The remaining data of packet.
Optionally, as shown in fig. 6, the installation kit download apparatus further include:
Transmitter 503, for working as the network connection shape detected between the installation kit download apparatus and the server
When state is disconnection in the second preset duration, the installation kit download apparatus sends network connecting request to the server,
Second preset duration is less than first preset duration.
Optionally, the installation kit download apparatus further include:
Transmitter 503, for sending test request message to the server, the test request message is for testing institute
State whether the network between installation kit download apparatus and the server is connected to, the test request message includes at least one survey
Try data packet;
The receiver 502 is also used to, and receives the test response message that the server is sent, the test response message
It is used to indicate the time delay that the server receives each test data packet;
The processor 501 is also used to, according to the test response message, determine the installation kit download apparatus with it is described
Network connection state between server is connection.
Optionally, the processor 501 is specifically used for, when the quantity of the first test data packet is greater than preset quantity, really
Network connection state between the fixed installation kit download apparatus and the server is to be connected to, and the first test data packet is
Time delay is greater than the test data packet of default time delay.
Optionally, the installation kit is for updating the Unmanned Systems installed on the installation kit download apparatus.
Optionally, the receiver 502 is also used to, and receives the more new command that the server is sent, and the update refers to
Order is used to indicate in the service that there are the installation kits of the new version of the system of the terminal.
Fig. 7 is the structural schematic diagram two of installation kit download apparatus provided by the invention.As shown in fig. 7, the installation kit is downloaded
Device includes: memory 601 and at least one processor 602.
Memory 601, for storing program instruction.
Processor 602, it is specific real for being performed the installation kit method for down loading realized in the present embodiment in program instruction
Existing principle can be found in above-described embodiment, and details are not described herein again for the present embodiment.
The installation kit download apparatus can also include and input/output interface 603.
Input/output interface 603 may include independent output interface and input interface, or integrated input and defeated
Integrated interface out.Wherein, output interface is used for output data, and input interface is used to obtain the data of input, above-mentioned output
Data are the general designation exported in above method embodiment, and the data of input are the general designation inputted in above method embodiment.
The present invention also provides a kind of readable storage medium storing program for executing, it is stored with and executes instruction in readable storage medium storing program for executing, when under installation kit
When carrying at least one processor set and executing this and execute instruction, when computer executed instructions are executed by processor, in realization
State the installation kit method for down loading in embodiment.
The present invention also provides a kind of program product, the program product include execute instruction, this execute instruction be stored in it is readable
In storage medium.At least one processor of installation kit download apparatus can read this from readable storage medium storing program for executing and execute instruction, until
A few processor executes this and executes instruction so that installation kit download apparatus implements the installation that above-mentioned various embodiments provide
Packet method for down loading.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit
Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) or processor (English: processor) execute this hair
The part steps of bright each embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory
(English: Read-Only Memory, abbreviation: ROM), random access memory (English: Random Access Memory, letter
Claim: RAM), the various media that can store program code such as magnetic or disk.
In the embodiment of the above-mentioned network equipment or terminal device, it should be appreciated that processor can be central processing unit
(English: Central Processing Unit, referred to as: CPU), it can also be other general processors, digital signal processor
(English: Digital Signal Processor, abbreviation: DSP), specific integrated circuit (English: Application
Specific Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor
It is also possible to any conventional processor etc..Hardware handles can be embodied directly in conjunction with the step of method disclosed in the present application
Device executes completion, or in processor hardware and software module combination execute completion.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (22)
1. a kind of installation kit method for down loading characterized by comprising
When detecting that terminal does not receive the data for the installation kit downloaded in the first preset duration, described in terminal record
The download progress of installation kit and the downloading data for storing the installation kit;
When detecting the network connection state between the terminal and server is to be connected to, the terminal is downloaded into according to
Degree, the remaining data of the installation kit is downloaded from the server.
2. the method according to claim 1, wherein described detect that terminal does not receive in the first preset duration
To before the data for the installation kit downloaded, the method also includes:
The terminal determines the installation from server downloading latest edition according to the current version of the system in the terminal
Packet, the installation kit is for updating the system;
The terminal starts the data that the installation kit is downloaded from the server.
3. according to the method described in claim 2, it is characterized in that, the terminal is according to the current version of the system in the terminal
This, determines the installation kit from server downloading latest edition, comprising:
The terminal obtains the latest edition of the corresponding installation kit of the system in the server;
If the current version, earlier than the latest edition, the terminal, which is determined from the server, downloads the latest edition
Installation kit.
4. according to the method in claim 2 or 3, which is characterized in that the method also includes:
When the terminal is restarted, the complete installation kit for the current version for being later than the system there are version is detected whether;
If it does not exist, then the system of the current version is loaded.
5. described according to the method described in claim 4, it is characterized in that, after the system of the load current version
Method further include:
The terminal downloads the remaining data of the installation kit from the server according to the download progress.
6. method according to any one of claims 1 to 5, which is characterized in that described to detect the terminal and server
Between network connection state be connection before, the method also includes:
When detecting that the network connection state between the terminal and the server is disconnection in the second preset duration,
The terminal sends network connecting request to the server, and second preset duration is less than first preset duration.
7. the method according to claim 1, wherein the network detected between the terminal and server
Connection status is connection, comprising:
The terminal sends test request message to the server, and the test request message is for testing the terminal and institute
State whether the network between server is connected to, the test request message includes at least one test data packet;
The terminal receives the test response message that the server is sent, and the test response message is used to indicate the service
Device receives the time delay of each test data packet;
The terminal determines that the network connection state between the terminal and the server is according to the test response message
Connection.
8. the method according to the description of claim 7 is characterized in that the terminal determines institute according to the test response message
Stating the network connection state between terminal and the server is to be connected to, comprising:
The terminal determines between the terminal and the server when the quantity of the first test data packet is greater than preset quantity
Network connection state be connection, the first test data packet is the test data packet that time delay is greater than default time delay.
9. method according to any one of claims 1 to 8, which is characterized in that the installation kit is for updating the terminal
The Unmanned Systems of upper installation.
10. the method according to claim 1, wherein described detect that terminal does not connect in the first preset duration
Before the data for receiving the installation kit downloaded, the method also includes:
The terminal receives the more new command that the server is sent, and the more new command, which is used to indicate in the service, to be existed
The installation kit of the new version of the system of the terminal.
11. a kind of installation kit download apparatus characterized by comprising
Processor detects that described device does not receive the data for the installation kit downloaded in the first preset duration for working as
When, it records the download progress of the installation kit and stores the downloading data of the installation kit;
Receiver, for when detect the network connection state between described device and server be connected to when, under described
Degree of being loaded into downloads the remaining data of the installation kit from the server.
12. device according to claim 11, which is characterized in that the processor is also used to, according in described device
The current version of system determines that the installation kit is for updating the system from the installation kit of server downloading latest edition
System;
The receiver, the data for starting to download the installation kit from the server.
13. device according to claim 12, which is characterized in that the receiver is also used to, and is obtained in the server
The corresponding installation kit of the system latest edition;
The processor is also used to, if the current version is earlier than the latest edition, it is determined that downloads institute from the server
State the installation kit of latest edition.
14. device according to claim 12 or 13, which is characterized in that the processor is also used to, in described device weight
Qi Shi detects whether the complete installation kit for the current version for being later than the system there are version;
The receiver is also used to, and in the complete installation kit for the current version for being later than the system there is no version, loads institute
The system for stating current version.
15. device according to claim 14, which is characterized in that the receiver is also used to, according to the download progress,
The remaining data of the installation kit is downloaded from the server.
16. 1 to 15 described in any item devices according to claim 1, which is characterized in that described device further include:
Transmitter, for that ought detect the network connection state between described device and the server in the second preset duration
When being disconnection, described device sends network connecting request to the server, and second preset duration is less than described first
Preset duration.
17. device according to claim 11, which is characterized in that described device further include:
Transmitter, for sending test request message to the server, the test request message is for testing described device
Whether the network between the server is connected to, and the test request message includes at least one test data packet;
The receiver is also used to, and receives the test response message that the server is sent, the test response message is for referring to
Show that the server receives the time delay of each test data packet;
The processor is also used to, and according to the test response message, determines the network between described device and the server
Connection status is connection.
18. device according to claim 17, which is characterized in that the processor is specifically used for, in the first test data
When the quantity of packet is greater than preset quantity, determine that the network connection state between described device and the server is to be connected to, it is described
First test data packet is the test data packet that time delay is greater than default time delay.
19. 1 to 18 described in any item devices according to claim 1, which is characterized in that the installation kit is for updating the dress
Set the Unmanned Systems of installation.
20. device according to claim 11, which is characterized in that the receiver is also used to, and receives the server
The more new command sent, the more new command are used to indicate in the service that there are the installations of the new version of the system of the terminal
Packet.
21. a kind of installation kit download apparatus characterized by comprising at least one processor and memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of the memory storage, so that carrying under the installation kit
It sets perform claim and requires 1 to 10 described in any item methods.
22. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
It executes instruction, when the computer executed instructions are executed by processor, realizes the described in any item sides of claims 1 to 10
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811008861.9A CN109347907A (en) | 2018-08-31 | 2018-08-31 | Installation kit method for down loading and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811008861.9A CN109347907A (en) | 2018-08-31 | 2018-08-31 | Installation kit method for down loading and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109347907A true CN109347907A (en) | 2019-02-15 |
Family
ID=65296697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811008861.9A Pending CN109347907A (en) | 2018-08-31 | 2018-08-31 | Installation kit method for down loading and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109347907A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111845771A (en) * | 2019-04-29 | 2020-10-30 | 百度(美国)有限责任公司 | Data collection automation system |
CN114793241A (en) * | 2021-01-26 | 2022-07-26 | 南宁富联富桂精密工业有限公司 | Firmware updating method, electronic device and computer readable storage medium |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674590A (en) * | 2009-09-29 | 2010-03-17 | 中兴通讯股份有限公司 | Client device and remote updating method and remote updating service system thereof |
CN102314369A (en) * | 2011-10-09 | 2012-01-11 | 杭州先锋电子技术股份有限公司 | Self-upgrade method for equipment in remote online monitoring system |
CN102510409A (en) * | 2011-12-19 | 2012-06-20 | 厦门雅迅网络股份有限公司 | Method and system for quickly and remotely updating program of mobile terminal by using wireless network |
CN102523268A (en) * | 2011-12-08 | 2012-06-27 | 北京新媒传信科技有限公司 | Client side upgrading method and system |
CN102710758A (en) * | 2012-05-22 | 2012-10-03 | 苏州云博信息技术有限公司 | Method for continuously transferring breakpoint of data stream based on single chip system |
CN102790961A (en) * | 2011-05-20 | 2012-11-21 | 腾讯科技(深圳)有限公司 | Update method of application program, mobile terminal and server |
CN104539676A (en) * | 2014-12-18 | 2015-04-22 | 深圳市腾讯计算机系统有限公司 | Method, device and system for providing and obtaining application installation packets |
EP2872992A1 (en) * | 2012-07-10 | 2015-05-20 | Tencent Technology (Shenzhen) Co., Ltd | Method and apparatus for acquiring online game resources |
CN104754012A (en) * | 2013-12-31 | 2015-07-01 | 北京新媒传信科技有限公司 | Data transmission method and system |
CN105099780A (en) * | 2015-08-12 | 2015-11-25 | 北京思特奇信息技术股份有限公司 | Automatic file publishing or upgrading method and system thereof |
CN105162841A (en) * | 2015-08-03 | 2015-12-16 | 广东美的环境电器制造有限公司 | Domestic appliance control method and system |
CN105208112A (en) * | 2015-08-28 | 2015-12-30 | 安徽江淮汽车股份有限公司 | Automobile controller software remote upgrade method and internet-of-vehicle system |
CN105743974A (en) * | 2016-01-26 | 2016-07-06 | 北京乐动卓越科技有限公司 | Client information updating method |
CN106331140A (en) * | 2016-08-31 | 2017-01-11 | 北京小米移动软件有限公司 | Method and device for loading network data |
CN106462424A (en) * | 2015-03-24 | 2017-02-22 | 华为技术有限公司 | Method for updating terminal system, terminal and system |
CN106899961A (en) * | 2015-12-21 | 2017-06-27 | 北京奇虎科技有限公司 | A kind of data download method, server and mobile terminal |
CN107819794A (en) * | 2016-09-12 | 2018-03-20 | 厦门雅迅网络股份有限公司 | Car-mounted terminal programme upgrade method and its system |
-
2018
- 2018-08-31 CN CN201811008861.9A patent/CN109347907A/en active Pending
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674590A (en) * | 2009-09-29 | 2010-03-17 | 中兴通讯股份有限公司 | Client device and remote updating method and remote updating service system thereof |
CN102790961A (en) * | 2011-05-20 | 2012-11-21 | 腾讯科技(深圳)有限公司 | Update method of application program, mobile terminal and server |
CN102314369A (en) * | 2011-10-09 | 2012-01-11 | 杭州先锋电子技术股份有限公司 | Self-upgrade method for equipment in remote online monitoring system |
CN102523268A (en) * | 2011-12-08 | 2012-06-27 | 北京新媒传信科技有限公司 | Client side upgrading method and system |
CN102510409A (en) * | 2011-12-19 | 2012-06-20 | 厦门雅迅网络股份有限公司 | Method and system for quickly and remotely updating program of mobile terminal by using wireless network |
CN102710758A (en) * | 2012-05-22 | 2012-10-03 | 苏州云博信息技术有限公司 | Method for continuously transferring breakpoint of data stream based on single chip system |
EP2872992A1 (en) * | 2012-07-10 | 2015-05-20 | Tencent Technology (Shenzhen) Co., Ltd | Method and apparatus for acquiring online game resources |
CN104754012A (en) * | 2013-12-31 | 2015-07-01 | 北京新媒传信科技有限公司 | Data transmission method and system |
CN104539676A (en) * | 2014-12-18 | 2015-04-22 | 深圳市腾讯计算机系统有限公司 | Method, device and system for providing and obtaining application installation packets |
CN106462424A (en) * | 2015-03-24 | 2017-02-22 | 华为技术有限公司 | Method for updating terminal system, terminal and system |
CN105162841A (en) * | 2015-08-03 | 2015-12-16 | 广东美的环境电器制造有限公司 | Domestic appliance control method and system |
CN105099780A (en) * | 2015-08-12 | 2015-11-25 | 北京思特奇信息技术股份有限公司 | Automatic file publishing or upgrading method and system thereof |
CN105208112A (en) * | 2015-08-28 | 2015-12-30 | 安徽江淮汽车股份有限公司 | Automobile controller software remote upgrade method and internet-of-vehicle system |
CN106899961A (en) * | 2015-12-21 | 2017-06-27 | 北京奇虎科技有限公司 | A kind of data download method, server and mobile terminal |
CN105743974A (en) * | 2016-01-26 | 2016-07-06 | 北京乐动卓越科技有限公司 | Client information updating method |
CN106331140A (en) * | 2016-08-31 | 2017-01-11 | 北京小米移动软件有限公司 | Method and device for loading network data |
CN107819794A (en) * | 2016-09-12 | 2018-03-20 | 厦门雅迅网络股份有限公司 | Car-mounted terminal programme upgrade method and its system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111845771A (en) * | 2019-04-29 | 2020-10-30 | 百度(美国)有限责任公司 | Data collection automation system |
CN114793241A (en) * | 2021-01-26 | 2022-07-26 | 南宁富联富桂精密工业有限公司 | Firmware updating method, electronic device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107769949B (en) | Application component deployment method and deployment node | |
JP6327539B2 (en) | Method for checking whether intelligent terminal hardware is operating abnormally and intelligent terminal | |
CN111930406B (en) | Vehicle-mounted terminal micro control unit software upgrading method, electronic equipment and storage medium | |
CN103036706A (en) | Local processing method of application upgrading abnormity | |
CN105426271A (en) | Lock management method and device for distributed storage system | |
CN106528214B (en) | A kind of installation method of OS, server and system | |
CN107315656A (en) | The Embedded PLC software rejuvenation method and PLC of many kernels | |
CN102487342B (en) | Device and method for controlling virtual internet protocol address binding | |
CN109347907A (en) | Installation kit method for down loading and device | |
CN103092720A (en) | Core processing device used for vehicular terminal and restoring method for core processing device | |
CN106095474A (en) | For the method and apparatus updating the software in means of transport | |
CN106020917B (en) | A kind of software installation method and device, user terminal | |
CN102073523A (en) | Method and device for implementing software version synchronization | |
CN109002305A (en) | A kind of update method and its system of device program | |
CN104750537A (en) | Test case execution method and device | |
CN113688094A (en) | Data communication method, device and system of vehicle-mounted machine system and storage medium | |
CN108028767A (en) | For the method for adapter upgrade, mobile terminal and adapter | |
CN103139036A (en) | Electronic equipment and information processing method thereof | |
CN114090048B (en) | Software upgrading method and device | |
CN105704707A (en) | Slave equipment and air upgrading method thereof | |
CN107301072B (en) | Automatic loading method and device for upgrade file | |
CN112596764B (en) | Internet of things monitoring method and device based on NB-IoT remote upgrade | |
CN109062718A (en) | A kind of server and data processing method | |
CN116243949A (en) | Software upgrading method and device, embedded equipment and storage medium | |
CN108037942B (en) | Adaptive data recovery and update method and device for embedded equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190215 |