CN110351316A - A kind of remote software upgrade method and device - Google Patents
A kind of remote software upgrade method and device Download PDFInfo
- Publication number
- CN110351316A CN110351316A CN201810294969.2A CN201810294969A CN110351316A CN 110351316 A CN110351316 A CN 110351316A CN 201810294969 A CN201810294969 A CN 201810294969A CN 110351316 A CN110351316 A CN 110351316A
- Authority
- CN
- China
- Prior art keywords
- signing messages
- transmitting terminal
- terminal device
- terminal
- software upgrade
- 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
-
- 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
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3247—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the present application provides a kind of remote software upgrade method and device, wherein the described method includes: terminal device receives the signing messages of the first private key signature by transmitting terminal;The terminal device carries out matching certification to the signing messages by the second public key stored;If the signing messages, by matching certification, the terminal device determines that the transmitting terminal is legal transmitting terminal, and carries out software upgrading by the software upgrade data packet of the legal transmitting terminal transmission.Method in the application is by judging that can the second public key of terminal device itself storage authenticate the signing messages of the first private key institute digital signature of transmitting terminal, judge that can the second public key match with the first private key, to judge whether using the transmitting terminal of the first private key be legal transmitting terminal, and then the identity of the transmitting terminal is precisely authenticated, improve safety of the terminal device when carrying out software upgrading.
Description
Technical field
This application involves software upgrading technical field, in particular to a kind of remote software upgrade method and device.
Background technique
With the fast development of modern terminal technology, terminal device such as microcontroller etc. is in industry, military field
Using more and more extensive.As terminal device uses the extension of time, generally require to carry out software upgrading to terminal device.Software
Upgrade and refer to that data of the software from lowest version to highest version update, by carrying out software upgrading to terminal device, it can be made to obtain
Obtain more perfect working performance.But some terminal devices are mainly used under the severe working environment such as high temperature, high pressure, example
Such as oil field, this allows for becoming difficult to implement by the live method for closely carrying out software upgrading to these terminal devices,
Therefore, by remotely coming into being come the method for upgrading terminals device software.
The method of remote upgrade terminal device software is generally divided into long-range cable data upgrading and the upgrading of long distance wireless data,
Long-range cable data upgrading is generally carried out transmitting terminal with terminal device using the modes such as Ethernet or insertion communication interface wired
Connection, and software upgrade data packet is sent to terminal device from transmitting terminal in a manner of wire transmission;Long distance wireless data liter
Grade then uses general packet radio service (General Packet Radio Service, GPRS) emerging in recent years, 3G, 4G
Or transmitting terminal and terminal device are wirelessly connected by the mobile radio networks such as 5G, and software upgrade data packet is passed through service
Device is sent to terminal device from transmitting terminal.But since the transmission range of long-range cable data upgrading is limited, and build cost
It is higher, so transmission range is wider, cheap long distance wireless data upgrading is more advantageous.
In the method for long distance wireless data upgrading, information interchange can not be directly carried out between transmitting terminal and terminal device,
Usually pass through bridge of the server as intercommunication.Existing long distance wireless data updating method principle are as follows: transmitting terminal will be soft
Part upgrade command, terminal device address and software upgrade data packet digital information are sent to server, and server passes through reception
Digital information obtains the terminal device address in digital information, determines terminal device further according to the terminal device address, then take
Digital information is forwarded to terminal device by business device, and terminal device receives digital information, and software upgrade order, receives software
Upgrading data packet carries out software upgrading.
In addition, existing long distance wireless data transmission method is in transmission process in order to improve the safety of digital information
It can also be verified using hash algorithms such as SHA-1, MD5 by integrality of the hash algorithm to digital information.It is calculated with MD5
For method, principle is: MD5 algorithm generates one when transmitting terminal sends digital information and terminal device receives digital information respectively
A MD5 value compares two MD5 values, if two MD5 values are identical, determines that digital information keeps complete, so that it is determined that
Digital information is not tampered in transmission process, if it is not the same, then determining that digital information is tampered in transmission process.
But inventor has found in the research process of the application, although the prior art can determine that digital information is passing
Whether it is tampered during defeated, but illegal transmitting terminal can generate digital information sometimes, and be transmitted by server to terminal device
The digital information, in this case, even if determining that digital information is not tampered in transmission process by the prior art, still not
The safety that can ensure digital information causes terminal device to there is a problem of that safety is lower when carrying out software upgrading.
Summary of the invention
The application provides a kind of remote software upgrade method, and there are safeties when solving terminal device progress software upgrading
Lower problem.
In a first aspect, the embodiment of the present application provides a kind of remote software upgrade method, comprising:
Terminal device receives the signing messages of the first private key signature by transmitting terminal;
The terminal device carries out matching certification to the signing messages by the second public key stored;
If the signing messages, by matching certification, the terminal device determines that the transmitting terminal is legal transmitting terminal, and
Software upgrading is carried out by the software upgrade data packet of the legal transmitting terminal transmission.
With reference to first aspect, in one implementation, if the signing messages passes through matching certification, the terminal device
It determines that the transmitting terminal is legal transmitting terminal, and software upgrading is carried out by the software upgrade data packet that legal transmitting terminal transmits,
Include:
If carrying the transmitting terminal identity information of the legal transmitting terminal in the signing messages, the terminal device passes through institute
State the request that transmitting terminal identity information sends transmitting software upgrading data packet to the legal transmitting terminal;
First identity information is compared by the terminal device with the second identity information, wherein the first identity letter
Breath is the transmitting terminal identity information of the legal transmitting terminal carried in the signing messages, and second identity information is described
The transmitting terminal identity information carried in software upgrade data packet;
If first identity information is identical as second identity information, terminal device receives the software upgrading number
Software upgrading is carried out according to packet, and according to the software upgrade data packet.
With reference to first aspect, in one implementation, if the signing messages passes through matching certification, the terminal device
It determines that the transmitting terminal is legal transmitting terminal, and software upgrading is carried out by the software upgrade data packet that legal transmitting terminal transmits,
Include:
The terminal device downloads software upgrade data packet from the signing messages, and according to the software upgrade data
Packet carries out software upgrading, wherein the software upgrade data packet is carried in the signing messages.
Second aspect, the embodiment of the present application provide a kind of remote software upgrade method, comprising:
Transmitting terminal is digitally signed digital information by the first private key, obtains signing messages;
The signing messages is transmitted to terminal device by server by the transmitting terminal, so as to the terminal device according to
Second public key of itself storage carries out matching certification to the signing messages.
In conjunction with second aspect, in one implementation, further includes:
It include the first public key to match with first private key in the signing messages, so that the server is according to institute
It states the first public key and matching certification is carried out to the signing messages.
The third aspect, the embodiment of the present application provide a kind of remote software upgrade method, comprising:
Server receives signing messages, and the signing messages is the signing messages by the first private key signature of transmitting terminal;
The server finds terminal device according to the terminal device address for including in the signing messages, and will be described
Signing messages is sent to the terminal device.
In conjunction with the third aspect, in one implementation, further includes:
If further including the first public key to match with first private key in the signing messages, the server passes through institute
It states the first public key and matching certification is carried out to the signing messages;
If the signing messages is by matching certification, the server executes again is sent to the end for the signing messages
The operation of end equipment.
Fourth aspect, the embodiment of the present application provide a kind of remote software update device, comprising:
First receiving module receives the signing messages of the first private key signature by transmitting terminal for terminal device;
Authentication module carries out matching to the signing messages by the second public key stored for the terminal device and recognizes
Card;
Software upgrade module, if for the signing messages by matching certification, the terminal device determines the transmission
End is legal transmitting terminal, and carries out software upgrading by the software upgrade data packet of the legal transmitting terminal transmission.
5th aspect, the embodiment of the present application provide a kind of remote software update device, comprising:
Signature blocks are digitally signed digital information by the first private key for transmitting terminal, obtain signing messages;
The signing messages is transmitted to terminal device by server for the transmitting terminal, with toilet by transmission module
It states terminal device and matching certification is carried out to the signing messages according to the second public key that itself is stored.
6th aspect, the embodiment of the present application provide a kind of remote software update device, comprising:
Second receiving module receives signing messages for server, and the signing messages is the first private by transmitting terminal
The signing messages of key signature;
Sending module finds terminal according to the terminal device address for including in the signing messages for the server
Equipment, and the signing messages is sent to the terminal device.
From the above technical scheme, the embodiment of the present application provides a kind of remote software upgrade method and device, wherein institute
The method of stating includes: the signing messages for the first private key signature that terminal device is received through transmitting terminal;The terminal device is by depositing
Second public key of storage carries out matching certification to the signing messages;If the signing messages is set by matching certification, the terminal
It is standby to determine that the transmitting terminal is legal transmitting terminal, and software is carried out by the software upgrade data packet of the legal transmitting terminal transmission
Upgrading.
In conclusion staff predefines the first private key of each legal transmitting terminal, and deposited in terminal device
The second public key that first private key of storage and legal transmitting terminal matches, in this case, terminal device to signing messages into
When row certification, the second public key for using itself to store, rather than the first public key for including in signing messages, in the application
Method, which passes through, judges that can the second public key of terminal device itself storage to the signature of the first private key institute digital signature of transmitting terminal
Information is authenticated, that is, judges that can the second public key match with the first private key, to judge the transmitting terminal using the first private key
Whether it is legal transmitting terminal, and then the identity of the transmitting terminal is precisely authenticated, improves terminal device and carrying out software
Safety when upgrading.
Detailed description of the invention
Fig. 1 is a kind of workflow schematic diagram of remote software upgrade method provided by the embodiments of the present application;
Fig. 2 is that a kind of software upgrade data packet provided by the embodiments of the present application receives flow diagram;
Fig. 3 is a kind of information exchange flow diagram of remote software upgrade method provided by the embodiments of the present application;
Fig. 4 is that another software upgrade data packet provided by the embodiments of the present application receives flow diagram;
Fig. 5 is the workflow schematic diagram of another remote software upgrade method provided by the embodiments of the present application;
Fig. 6 is the workflow schematic diagram of another remote software upgrade method provided by the embodiments of the present application;
Fig. 7 is a kind of workflow schematic diagram of server provided by the embodiments of the present application;
Fig. 8 is a kind of remote software update device structural schematic diagram provided by the embodiments of the present application;
Fig. 9 is another remote software update device structural schematic diagram provided by the embodiments of the present application;
Figure 10 is another remote software update device structural schematic diagram provided by the embodiments of the present application.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real
Applying mode, the present application will be further described in detail.
Refering to fig. 1, a kind of workflow schematic diagram of remote software upgrade method provided by the embodiments of the present application is shown,
It can specifically include following steps:
Step 101, terminal device receives the signing messages of the first private key signature by transmitting terminal.
In this step, the signing messages is the signing messages that terminal device is signed by the first private key, at least
Including terminal device address.
Step 102, the terminal device carries out matching certification to the signing messages by the second public key stored.
In this step, staff predefines the first private key of each legal transmitting terminal, and deposits in terminal device
The second public key that first private key of storage and legal transmitting terminal matches.Terminal device makes when authenticating to signing messages
It is the second public key of itself storage, rather than the first public key for including, the method in the application is by sentencing in signing messages
Can the second public key of disconnected terminal device itself storage recognize the signing messages of the first private key institute digital signature of transmitting terminal
Card, that is, judge that can the second public key match with the first private key, to judge whether using the transmitting terminal of the first private key be described
Transmitting terminal corresponding to terminal device, and then the identity of the transmitting terminal is precisely authenticated.
Wherein, digital signature, which will refer to, to need the use of information private key that sends to encrypt, recipient can only by with institute
Stating the corresponding public key of private key can just be decrypted and obtain information, that is to say, that and digital signature is the process of an encryption,
It is the process of a decryption with certification.In this step, terminal device utilizes the of storage after the signing messages for obtaining encryption
Two public keys carry out matching certification to the signing messages, i.e., are decrypted using signing messages of second public key to the first private key,
If successful decryption, match certification and pass through, the second public key matches with the first private key, that is, can determine whether that transmitting terminal is legal hair
Sending end matches certification and does not pass through if decryption is unsuccessful, and the second public key and the first private key mismatch, that is, can determine whether transmitting terminal
For illegal transmitting terminal.
In addition, the storage mode of second public key can be in the high safety chip being solidificated on terminal device.At present
High safety chip functions in the market are stronger and stronger, while having and possessing multiplex roles, more algorithms, large capacity and automatic flash
The advantages such as programming function, allowing for the terminal device configured with high safety chip in this way has better working performance.
Step 103, if the signing messages is by matching certification, the terminal device determines that the transmitting terminal is legal hair
Sending end, and software upgrading is carried out by the software upgrade data packet of the legal transmitting terminal transmission.
In this step, when the second public key stored in terminal device passes through signing messages matching certification, then show the
Two public keys match with the first private key, that is, can determine whether that the transmitting terminal for sending signing messages is legal transmitting terminal.
By scheme disclosed in the embodiment of the present application, the second public key that terminal device is stored by itself is to private by first
The first public key that the signing messages of key signature carries out matching certification, rather than carries in signing messages, has effectively ensured transmission
The accuracy for holding identity, realizes the accurate identification to transmitting terminal identity, avoids terminal device by illegal transmitting terminal malicious attack,
Improve safety of the terminal device when carrying out software upgrading.
Referring to Fig.2, showing a kind of software upgrade data packet provided by the embodiments of the present application receives flow diagram.
Step 201, if carrying the transmitting terminal identity information of the legal transmitting terminal in the signing messages, the terminal is set
The standby request for sending transmitting software upgrading data packet to the legal transmitting terminal by the transmitting terminal identity information.
In this step, the transmitting terminal identity information of legal transmitting terminal is carried in the signing messages, terminal device from
After second public key of body storage passes through signing messages matching certification, terminal device is by the transmitting terminal identity information to conjunction
Method transmitting terminal sends the request of a transmitting software upgrading data packet, and legal transmitting terminal relies on the transmitting terminal identity information and request
Software upgrade data packet is sent to terminal device.
Step 202, the first identity information is compared by the terminal device with the second identity information, wherein described
One identity information is the transmitting terminal identity information of the legal transmitting terminal carried in the signing messages, the second identity letter
Breath is the transmitting terminal identity information carried in the software upgrade data packet.
In this step, the second identity information is carried in software upgrade data packet transmitted by legal transmitting terminal, by terminal
The first identity information that equipment is obtained from signing messages is compared with second identity information, to prevent software upgrading
Data packet is tampered in transmission process, further improves the safety of the received software upgrade data packet of terminal device.
Step 203, if first identity information is identical as second identity information, terminal device receives described soft
Part upgrading data packet, and software upgrading is carried out according to the software upgrade data packet.
Refering to Fig. 3, the information exchange process for showing a kind of remote software upgrade method provided by the embodiments of the present application is shown
It is intended to, wherein signing messages is sent to server by transmitting terminal, and server is according to the terminal device address carried in signing messages
Find terminal device, and signing messages be sent to terminal device, terminal device after carrying out matching certification to signing messages,
The request of transmitting software upgrading data packet is sent to transmitting terminal by server according to the first identity information carried in signing messages,
Software upgrade data packet is sent to terminal device after receiving the request, then through server by transmitting terminal, wherein software
Carry the second identity information in upgrading data packet, terminal device judge the first identity information it is identical as the second identity information it
Afterwards, it receives software upgrade data packet and carries out software upgrading.
Refering to Fig. 4, shows another software upgrade data packet provided by the embodiments of the present application and receive flow diagram.
Step 301, terminal device receives the signing messages of the first private key signature by transmitting terminal.
Step 302, the terminal device carries out matching certification to the signing messages by the second public key stored.
Step 303, if the signing messages is by matching certification, the terminal device determines that the transmitting terminal is legal hair
Sending end, the terminal device download software upgrade data packet from the signing messages, and according to the software upgrade data packet
Carry out software upgrading, wherein the software upgrade data packet is carried in the signing messages.
In above-mentioned steps, step 301 to step 302 is identical to step 102 as step 102, carries in the signing messages
There is software upgrade data packet, after the second public key of terminal device itself storage passes through signing messages matching certification, terminal
Equipment downloads software upgrade data packet directly from the signing messages and carries out software upgrading.
Refering to Fig. 5, the workflow signal of another remote software upgrade method provided by the embodiments of the present application is shown
Figure.
Step 401, transmitting terminal is digitally signed digital information by the first private key, obtains signing messages.
In this step, transmitting terminal is digitally signed using information of first private key to required transmission, in order to terminal
Can equipment carry out legitimacy of the matching certification to judge transmitting terminal identity by judging to signing messages, and then to transmitting terminal
Identity is precisely authenticated, and safety of the terminal device when carrying out software upgrading is improved.
In addition, including the first public key that first private key matches in the signing messages, so as to the server root
Matching certification is carried out to the signing messages according to first public key, in this case, server is receiving signing messages
Afterwards, it extracts the first public key and matching certification is carried out to signing messages, which authenticates the process for being similarly decryption, if be decrypted into
Function then shows that signing messages is not tampered in transmission process, if decryption is unsuccessful, shows that signing messages is being transmitted across
It is tampered in journey, to ensure the accuracy of signing messages
Step 402, the signing messages is transmitted to terminal device by server by the transmitting terminal, so as to the terminal
Equipment carries out matching certification to the signing messages according to the second public key that itself is stored.
In this step, the signing messages that transmitting terminal is transmitted to terminal device can be two dimensional code format, because two dimensional code has
Have the characteristics that information capacity is big, coding range is wide, the shape of bar code symbol is variable, and two dimensional code has and generally uses both at home and abroad
Coding standard, while existing sending ending equipment generally has the function of generating two dimensional code, therefore software upgrading order is set
Being set to two dimensional code format can reduce the applicable threshold of sending ending equipment, be suitable for more sending ending equipments.
In addition, the signing messages that transmitting terminal is transmitted to terminal device can also be barcode format, since bar code has
Transmission speed is fast, high reliablity, it is flexibly practical the features such as, in addition bar code is easy to make, advantage of lower cost, therefore, will be soft
Part upgrade command is set as the transmission speed that barcode format is able to ascend signing messages, promotes the efficiency of remote software upgrading.
Refering to Fig. 6, the workflow signal of another remote software upgrade method provided by the embodiments of the present application is shown
Figure.
Step 501, server receives signing messages, and the signing messages is the label by the first private key signature of transmitting terminal
Name information.
Step 502, the server finds terminal device according to the terminal device address for including in the signing messages,
And the signing messages is sent to the terminal device.
In above-mentioned steps, server, can be accurately by signature according to the terminal device address for including in signing messages
Information is forwarded to terminal device, improves the accuracy of data in remote software escalation process.
Refering to Fig. 7, a kind of workflow schematic diagram of server provided by the embodiments of the present application is shown.
Step 601, if in the signing messages further including the first public key to match with first private key, the service
Device carries out matching certification to the signing messages by first public key.
Step 602, if the signing messages is by matching certification, the server executes again sends the signing messages
To the operation of the terminal device.
In above-mentioned steps, if including the first public key in signing messages, the first public key of server by utilizing is to signing messages
Matching certification is carried out, if matching certification passes through, shows that signing messages keeps completely, being not tampered in transmission process,
If matching certification does not pass through, show that signing messages is tampered in transmission process, to ensure the signature that server receives
The accuracy of information.
Refering to Fig. 8, a kind of remote software update device structural schematic diagram provided by the embodiments of the present application is shown.
First receiving module 701 receives the signing messages of the first private key signature by transmitting terminal for terminal device;
Authentication module 702 matches the signing messages by the second public key stored for the terminal device
Certification;
Software upgrade module 703, if for the signing messages by matching certification, the terminal device determines the hair
Sending end is legal transmitting terminal, and carries out software upgrading by the software upgrade data packet of the legal transmitting terminal transmission.
Refering to Fig. 9, another remote software update device structural schematic diagram provided by the embodiments of the present application is shown.
Signature blocks 801 are digitally signed digital information by the first private key for transmitting terminal, obtain A.L.S.
Breath;
The signing messages is transmitted to terminal device by server for the transmitting terminal by transmission module 802, so as to
The terminal device carries out matching certification to the signing messages according to the second public key that itself is stored.
Refering to fig. 10, show another remote software update device structural schematic diagram provided by the embodiments of the present application.
Second receiving module 901 receives signing messages for server, and the signing messages is to pass through the first of transmitting terminal
The signing messages of private key signature;
Sending module 902 is found for the server according to the terminal device address for including in the signing messages
Terminal device, and the signing messages is sent to the terminal device.
In the specific implementation, the application also provides a kind of computer storage medium, wherein the computer storage medium can store
There is program, which may include the part or complete in each embodiment for the defence method that DNS provided by the present application is kidnapped when executing
Portion's step.The storage medium can for magnetic disk, CD, read-only memory (English: read-only memory, referred to as:
ROM) or random access memory (English: random access memory, referred to as: RAM) etc..
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software
The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present application substantially or
Say that the part that contributes to existing technology can be embodied in the form of software products, which can deposit
Storage is in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that computer equipment (can be with
It is personal computer, server or the network equipment etc.) execute certain part institutes of each embodiment of the application or embodiment
The method stated.
Same and similar part may refer to each other between each embodiment in this specification.Implement especially for device
For example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring in embodiment of the method
Explanation.
Above-described the application embodiment does not constitute the restriction to the application protection scope.
Claims (10)
1. a kind of remote software upgrade method characterized by comprising
Terminal device receives the signing messages of the first private key signature by transmitting terminal;
The terminal device carries out matching certification to the signing messages by the second public key stored;
If the signing messages, by matching certification, the terminal device determines that the transmitting terminal is legal transmitting terminal, and passes through
The software upgrade data packet of the legal transmitting terminal transmission carries out software upgrading.
2. remote software upgrade method according to claim 1, which is characterized in that if the signing messages is recognized by matching
Card, the terminal device determine that the transmitting terminal is legal transmitting terminal, and the software upgrade data transmitted by legal transmitting terminal
Packet carries out software upgrading, comprising:
If carrying the transmitting terminal identity information of the legal transmitting terminal in the signing messages, the terminal device passes through the hair
Sending end identity information sends the request of transmitting software upgrading data packet to the legal transmitting terminal;
First identity information is compared by the terminal device with the second identity information, wherein first identity information is
The transmitting terminal identity information of the legal transmitting terminal carried in the signing messages, second identity information are the software
The transmitting terminal identity information carried in upgrading data packet;
If first identity information is identical as second identity information, terminal device receives the software upgrade data
Packet, and software upgrading is carried out according to the software upgrade data packet.
3. remote software upgrade method according to claim 1, which is characterized in that if the signing messages is recognized by matching
Card, the terminal device determine that the transmitting terminal is legal transmitting terminal, and the software upgrade data transmitted by legal transmitting terminal
Packet carries out software upgrading, comprising:
The terminal device downloads software upgrade data packet from the signing messages, and according to the software upgrade data packet into
Row software upgrading, wherein the software upgrade data packet is carried in the signing messages.
4. a kind of remote software upgrade method characterized by comprising
Transmitting terminal is digitally signed digital information by the first private key, obtains signing messages;
The signing messages is transmitted to terminal device by server by the transmitting terminal, so that the terminal device is according to itself
Second public key of storage carries out matching certification to the signing messages.
5. remote software upgrade method according to claim 4, which is characterized in that further include:
It include the first public key to match with first private key in the signing messages, so that the server is according to described
One public key carries out matching certification to the signing messages.
6. a kind of remote software upgrade method characterized by comprising
Server receives signing messages, and the signing messages is the signing messages by the first private key signature of transmitting terminal;
The server finds terminal device according to the terminal device address for including in the signing messages, and by the signature
Information is sent to the terminal device.
7. remote software upgrade method according to claim 6, which is characterized in that further include:
If in the signing messages further including the first public key to match with first private key, the server passes through described the
One public key carries out matching certification to the signing messages;
If the signing messages, by matching certification, the server executes again to be sent to the terminal for the signing messages and sets
Standby operation.
8. a kind of remote software update device characterized by comprising
First receiving module receives the signing messages of the first private key signature by transmitting terminal for terminal device;
Authentication module carries out matching certification to the signing messages by the second public key stored for the terminal device;
Software upgrade module, if for the signing messages by matching certification, the terminal device determines that the transmitting terminal is
Legal transmitting terminal, and software upgrading is carried out by the software upgrade data packet of the legal transmitting terminal transmission.
9. a kind of remote software update device characterized by comprising
Signature blocks are digitally signed digital information by the first private key for transmitting terminal, obtain signing messages;
The signing messages is transmitted to terminal device by server for the transmitting terminal, so as to the end by transmission module
End equipment carries out matching certification to the signing messages according to the second public key that itself is stored.
10. a kind of remote software update device characterized by comprising
Second receiving module receives signing messages for server, and the signing messages is the first private key label by transmitting terminal
The signing messages of name;
Sending module finds terminal according to the terminal device address for including in the signing messages for the server and sets
It is standby, and the signing messages is sent to the terminal device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810294969.2A CN110351316A (en) | 2018-04-04 | 2018-04-04 | A kind of remote software upgrade method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810294969.2A CN110351316A (en) | 2018-04-04 | 2018-04-04 | A kind of remote software upgrade method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110351316A true CN110351316A (en) | 2019-10-18 |
Family
ID=68173801
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810294969.2A Pending CN110351316A (en) | 2018-04-04 | 2018-04-04 | A kind of remote software upgrade method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110351316A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112800488A (en) * | 2021-04-12 | 2021-05-14 | 支付宝(杭州)信息技术有限公司 | Application upgrading method and device and electronic equipment |
CN112860293A (en) * | 2021-02-26 | 2021-05-28 | 三一石油智能装备有限公司 | Electronic device, fracturing equipment control software management method and fracturing equipment |
CN113034811A (en) * | 2021-03-23 | 2021-06-25 | 深圳市顺易通信息技术有限公司 | Intelligent electronic cabinet supporting remote control protocol |
WO2021136258A1 (en) * | 2019-12-30 | 2021-07-08 | 华为技术有限公司 | Method and apparatus for upgrading software |
CN113701832A (en) * | 2021-08-28 | 2021-11-26 | 上海光华仪表有限公司 | Control method and system of high-voltage union electromagnetic flowmeter |
CN113806749A (en) * | 2021-09-23 | 2021-12-17 | 航天信息股份有限公司 | Upgrading method, device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090300596A1 (en) * | 2008-05-29 | 2009-12-03 | Research In Motion Limited | Method and system for performing a software upgrade on an electronic device connected to a computer |
CN102882847A (en) * | 2012-08-24 | 2013-01-16 | 山东省计算中心 | Secure digital (SD)-password-card-based Internet of things healthcare service system and secure communication method thereof |
CN102955700A (en) * | 2011-08-18 | 2013-03-06 | 腾讯科技(深圳)有限公司 | System and method for upgrading software |
CN103888257A (en) * | 2013-11-03 | 2014-06-25 | 北京工业大学 | Network camera identity authentication method based on TPCM |
CN104954364A (en) * | 2015-05-25 | 2015-09-30 | 收付宝科技有限公司 | Electronic signature information pushing method and system |
CN105656859A (en) * | 2014-11-18 | 2016-06-08 | 航天信息股份有限公司 | Secure online upgrade method and system for tax control equipment software |
-
2018
- 2018-04-04 CN CN201810294969.2A patent/CN110351316A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090300596A1 (en) * | 2008-05-29 | 2009-12-03 | Research In Motion Limited | Method and system for performing a software upgrade on an electronic device connected to a computer |
CN102955700A (en) * | 2011-08-18 | 2013-03-06 | 腾讯科技(深圳)有限公司 | System and method for upgrading software |
CN102882847A (en) * | 2012-08-24 | 2013-01-16 | 山东省计算中心 | Secure digital (SD)-password-card-based Internet of things healthcare service system and secure communication method thereof |
CN103888257A (en) * | 2013-11-03 | 2014-06-25 | 北京工业大学 | Network camera identity authentication method based on TPCM |
CN105656859A (en) * | 2014-11-18 | 2016-06-08 | 航天信息股份有限公司 | Secure online upgrade method and system for tax control equipment software |
CN104954364A (en) * | 2015-05-25 | 2015-09-30 | 收付宝科技有限公司 | Electronic signature information pushing method and system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021136258A1 (en) * | 2019-12-30 | 2021-07-08 | 华为技术有限公司 | Method and apparatus for upgrading software |
CN113127020A (en) * | 2019-12-30 | 2021-07-16 | 华为技术有限公司 | Software upgrading method and device |
CN112860293A (en) * | 2021-02-26 | 2021-05-28 | 三一石油智能装备有限公司 | Electronic device, fracturing equipment control software management method and fracturing equipment |
CN113034811A (en) * | 2021-03-23 | 2021-06-25 | 深圳市顺易通信息技术有限公司 | Intelligent electronic cabinet supporting remote control protocol |
CN112800488A (en) * | 2021-04-12 | 2021-05-14 | 支付宝(杭州)信息技术有限公司 | Application upgrading method and device and electronic equipment |
CN113701832A (en) * | 2021-08-28 | 2021-11-26 | 上海光华仪表有限公司 | Control method and system of high-voltage union electromagnetic flowmeter |
CN113806749A (en) * | 2021-09-23 | 2021-12-17 | 航天信息股份有限公司 | Upgrading method, device and storage medium |
CN113806749B (en) * | 2021-09-23 | 2024-04-05 | 航天信息股份有限公司 | Upgrading method, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110351316A (en) | A kind of remote software upgrade method and device | |
US11229023B2 (en) | Secure communication in network access points | |
US8526606B2 (en) | On-demand secure key generation in a vehicle-to-vehicle communication network | |
CN104185176B (en) | A kind of long-range initial method of Internet of Things virtual user identification module card and system | |
CN110958111B (en) | Block chain-based identity authentication mechanism of electric power mobile terminal | |
CN101997678A (en) | A method and terminal for obtaining a password | |
CN115396121B (en) | Security authentication method for security chip OTA data packet and security chip device | |
CN112311533B (en) | Terminal identity authentication method, system and storage medium | |
CN108024243B (en) | A kind of eSIM is caught in Network Communication method and its system | |
CN102474724A (en) | Method for securely broadcasting sensitive data in a wireless network | |
CN111541716A (en) | Data transmission method and related device | |
CN110650478A (en) | OTA method, system, device, SE module, program server and medium | |
CN113423104A (en) | Security negotiation method, terminal equipment and network equipment | |
US11399279B2 (en) | Security credentials recovery in Bluetooth mesh network | |
CN114205133A (en) | Information security enhancement method for vehicle-mounted CAN network and electronic equipment | |
CN108900306A (en) | A kind of production method and system of wireless router digital certificate | |
JP2002232962A (en) | Mobile communication authentication interworking method | |
CN109391473B (en) | Electronic signature method, device and storage medium | |
CN109068284A (en) | The physical layer authentication method and system connected based on group between internet of things equipment | |
CN111769952B (en) | Data processing system of block chain sensor | |
CN111563980B (en) | Bluetooth lock key generation and authentication method | |
CN111585939B (en) | End-to-end identity authentication and communication encryption method and system between Internet of things devices | |
CN111489462B (en) | Personal Bluetooth key system | |
CN113114465B (en) | Processing method and device for attribution authority, storage medium, and electronic device | |
JP5664104B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND PROGRAM |
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 |
Application publication date: 20191018 |
|
RJ01 | Rejection of invention patent application after publication |