CN113079213A - Safety upgrading method for remote upgrading gateway safety audit plug-in - Google Patents

Safety upgrading method for remote upgrading gateway safety audit plug-in Download PDF

Info

Publication number
CN113079213A
CN113079213A CN202110367324.9A CN202110367324A CN113079213A CN 113079213 A CN113079213 A CN 113079213A CN 202110367324 A CN202110367324 A CN 202110367324A CN 113079213 A CN113079213 A CN 113079213A
Authority
CN
China
Prior art keywords
gateway
message
value
upgrade
upgrading
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.)
Granted
Application number
CN202110367324.9A
Other languages
Chinese (zh)
Other versions
CN113079213B (en
Inventor
高瞻
刘继明
金宁
陈浮
陈刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ITIBIA TECHNOLOGIES (SUZHOU) CO LTD
Original Assignee
ITIBIA TECHNOLOGIES (SUZHOU) CO LTD
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ITIBIA TECHNOLOGIES (SUZHOU) CO LTD filed Critical ITIBIA TECHNOLOGIES (SUZHOU) CO LTD
Priority to CN202110367324.9A priority Critical patent/CN113079213B/en
Publication of CN113079213A publication Critical patent/CN113079213A/en
Application granted granted Critical
Publication of CN113079213B publication Critical patent/CN113079213B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic 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/3236Cryptographic 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 using cryptographic hash functions
    • H04L9/3239Cryptographic 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 using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD

Abstract

The invention relates to a safety upgrading method for remotely upgrading a gateway security check plug-in, which is characterized in that the validity of a gateway is verified when the gateway security check plug-in is remotely upgraded, gateway data is verified, the attack of illegal equipment is eliminated, the verification data is encrypted when the gateway establishes connection, the data is safe and reliable and is prevented from being cracked and utilized, a message is sent at regular time after the connection is established to ensure the connection to be stable, an upgrading version is verified when the upgrading is carried out, the upgrading is carried out when the version meets the requirements, the version of the plug-in is updated to be latest, confirmation signals are mutually replied after the upgrading is finished, and the consistency of the updating. The platform carries out safety verification on the gateway, establishes stable connection and carries out safety upgrading; the upgrading platform only provides service for the gateway for inputting information, so that illegal gateway connection is prevented; the equipment for establishing the connection is subjected to periodic packet sending, and the continuity of the connection is kept uninterrupted; and when the upgrading operation is issued, the file version is checked and the platform upgrading state is replied, so that the states of the two ends are ensured to be synchronous.

Description

Safety upgrading method for remote upgrading gateway safety audit plug-in
Technical Field
The invention relates to a safety upgrading method for remotely upgrading a gateway safety audit plug-in.
Background
At present, as the network technology is developed more and more due to the rapid development of the network technology, more network risks are brought, the legality of the gateway needs to be guaranteed when the gateway is remotely upgraded and audited, an upgrade file needs to be checked in the upgrading process, safety and reliability are guaranteed when the upgrade is carried out, and the risks are avoided.
Therefore, a method for better upgrading the gateway security check plug-in is needed.
Disclosure of Invention
The invention aims to overcome the defects in the prior art, provides a safe upgrading method for remotely upgrading a gateway security check plug-in, and aims to ensure the safety and reliability of the upgrading process.
The purpose of the invention is realized by the following technical scheme:
the safety upgrading method for the remote upgrading gateway safety audit plug-in is characterized in that: when the gateway is remotely upgraded and the plug-in is installed, the gateway validity is checked, the gateway data is checked, the attack of illegal equipment is eliminated, the check data is encrypted when the gateway establishes connection, the data is safe and reliable and is prevented from being cracked and utilized, the connection is ensured to be stable by sending messages regularly after the connection is established, the upgrade version is checked when the upgrade is carried out, the upgrade is carried out when the version meets the requirements, the plug-in version is updated to be latest, and after the upgrade is finished, confirmation signals are mutually replied, so that the upgrade state is ensured to be consistent; the method comprises the following steps:
1) the upgrading platform inputs basic parameters of equipment needing to provide upgrading service;
2) the gateway equipment sends a boot message after being started, and the upgrading platform checks parameters and replies a boot message result after receiving the boot message;
3) the gateway judges the reply result, if the verification is passed, the periodic transmission ping message keeps connection, and the upgrading platform replies to the gateway ping message which passes the verification;
4) when the upgrading platform carries out upgrading operation on the gateway, firstly sending a check message, wherein the message carries the name and the version number of an auditing manufacturer, and after receiving the check message, the gateway checks the data and replies the check message result;
5) after the upgrading platform receives the verification result, if the verification fails, sending an end message; if the verification is successful, sending an upgrade message and carrying a download address of the security audit plug-in; after receiving the update file, the gateway downloads the update file according to the download address, starts updating, and replies an update message result after updating;
6) and after receiving the upgrading result, the platform sends an end message to indicate that the upgrading service is ended, and the gateway also replies the end message after receiving the message.
Further, in the above security upgrade method for a remote upgrade gateway security audit plug-in, in step 1), the security audit upgrade platform needs to enter basic parameters of a gateway that needs to provide an upgrade service, including a mac address, sn and supportable security audit manufacturer information, where the mac address is used to distinguish each gateway of the platform, and the sn is used to perform encryption verification when establishing a connection.
Further, in the above security upgrade method for a remote upgrade gateway security audit plug-in, in step 2), after the gateway device is powered on and started, a boot message is sent to the platform, where the boot message includes md5 encrypted data generated with a method parameter value being boot, an id value being a random number, a mac address value being a gateway mac, and a check value being a sn + id value.
Further, in the above security upgrading method for the remote upgrading gateway security audit plug-in, in step 2), after the platform receives the boot message sent by the gateway, the mac address in the boot message is obtained, and whether the mac address is recorded in the platform is judged; if yes, md5 encrypted data is generated according to the gateway parameter sn recorded by the platform and the received id value, and is compared with the received check value, if yes, a boot message is replied, the reply message contains a method value as boot, the id value is the id value in the received gateway boot message, and the result value is 0; if the comparison results are different, the gateway is judged to be an illegal gateway, the result value is-1, if not, the gateway is judged to be an input gateway, and the result value is-2.
Further, in the above security upgrading method for a remote upgrading gateway security audit plug-in, in step 3), if a result value in a boot message returned by the platform is 0, the gateway periodically sends a ping message to maintain connection with the platform, where the message includes a method value of ping, an id value of the ping message is the id value of the boot message plus 1, and then the id value in the sent ping message is gradually plus 1; if the result value is not 0, the gateway side checks the relevant problems according to the specific value.
Further, in the security upgrading method for the remote upgrading gateway security audit plug-in, in step 3), after receiving the ping message sent by the gateway, the platform replies to the gateway ping message, where the reply message includes a method value of ping and an id value of the received gateway ping message; if the platform does not receive the gateway ping packet within the three ping message intervals, the connection with the gateway is disconnected, and the gateway can be connected with the platform only by resending the boot message.
Further, in the above security upgrading method for the remote upgrading gateway security audit plug-in, in step 4), when the platform upgrades the gateway, a check message is sent first, where the message includes a method value of check, a Version value of an audit Version number, and a factor value of an audit manufacturer.
Further, in the above security upgrading method for the remote upgrading gateway security audit plug-in, in step 4), after receiving a check message sent by the platform, the gateway obtains a factor value to check whether the security audit manufacturer is supported, if not, the check result is-1, obtains a Version value to check whether the Version is higher than the current Version, if the Version check is lower than the current Version or the versions are the same, the check result is-2, if the checks are all passed, the check result is 0, and then the gateway replies the platform check message, where the message includes a method value of check and a result value of result of check.
Further, in the above security upgrading method for the remote upgrading gateway security audit plug-in, in step 5), after the platform receives the check message replied by the gateway, if the result value is-1 or-2, the verification is judged to be failed, the upgrading platform sends an end message, the message includes a method value as end, and the gateway indicates that the upgrading is finished after receiving the end message; if the result value is 0, sending an upgrade message to the gateway, wherein the message comprises a method value of upgrade and a url value of an address of a download security audit upgrade file;
after receiving the upgrade message sent by the platform, the gateway acquires a url value, acquires a related upgrade file according to the url value and carries out upgrading, and then sends the upgrade message, wherein the message contains a method value of upgrade, if the upgrade is successful, a result value is 0, if the upgrade file is abnormally downloaded, the result value is-1, and if the upgrade file is abnormally quitted, the result value is-2.
Further, in the above security upgrading method for the remote upgrading gateway security audit plug-in, in step 6), after receiving the upgrade message sent by the gateway, the platform acquires a result value and synchronizes the upgrading state, and then sends an end message, where the message includes a method value of end, and after receiving the end message, the gateway replies to the platform end message, where the message includes a method value of end, which indicates that the upgrading is finished.
Compared with the prior art, the invention has obvious advantages and beneficial effects, and is embodied in the following aspects:
firstly, the relevant data of the gateway is checked before the upgrading, and the upgrading can be carried out only after the checking is passed; inputting basic parameters of a gateway in an safety audit upgrading platform before upgrading; after the gateway equipment is started, the gateway equipment is remotely connected with the platform, and the platform can provide a remote upgrading function only after confirming that the connection gateway is the input gateway; when the platform is upgraded remotely, the name and the version number of an upgrade manufacturer are sent first, and if the gateway confirms that the name and the version number of the manufacturer are correct, the reply parameter passes verification; the upgrading platform sends an upgrading request address after receiving the verification, and the gateway carries out downloading and upgrading according to the received address; after the upgrade is completed, replying the upgrade completion, and synchronizing the upgrade state after the platform receives an upgrade completion message sent by the gateway;
secondly, a safety mode of remotely upgrading the gateway safety audit plug-in is realized, the platform checks the safety of the gateway, and the gateway and the platform establish stable connection and carry out safety upgrade; the upgrading platform only provides service for the gateway for inputting information, so that illegal gateway connection is prevented;
carrying out periodic packet sending on the equipment for establishing the connection, and keeping the connection continuous without interruption; and when the upgrading operation is issued, the file version is subjected to relevant inspection and the platform upgrading state is replied, so that the states of the two ends are ensured to be synchronous.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description.
Drawings
FIG. 1: the flow chart of the invention is schematic;
FIG. 2: the data format of the boot message is sent by the gateway;
FIG. 3: the upgrading platform replies the data format of the boot message;
FIG. 4: the gateway sends the data format of the ping message;
FIG. 5: the upgrading platform replies the data format of the ping message;
FIG. 6: and the upgrading platform sends the data format of the upgrading check message.
FIG. 7: the gateway replies the data format of the check message;
FIG. 8: the upgrading platform sends the data format of the upgrade message;
FIG. 9: the gateway replies the data format of the upgrade message;
FIG. 10: the upgrading platform sends the data format of the end message;
FIG. 11: the gateway replies to the data format of the end message.
Detailed Description
In order to more clearly understand the technical features, objects, and effects of the present invention, specific embodiments will now be described in detail.
As shown in fig. 1, the security upgrade method for remotely upgrading the gateway security audit plug-in includes verifying the validity of the gateway when the gateway security audit plug-in is remotely upgraded, verifying the gateway data, eliminating attacks of illegal devices, encrypting the verification data when the gateway establishes connection, so that the data is safe and reliable, preventing the data from being cracked and utilized, regularly sending messages after the connection is established to ensure stable connection, verifying the upgrade version during upgrading, upgrading if the version meets the requirement, upgrading, updating the plug-in version to be latest, replying a confirmation signal after upgrading is completed, and ensuring the consistency of the update state; the method comprises the following specific steps:
1) the safety audit upgrading platform inputs basic parameters of a gateway which needs to provide upgrading service;
the gateway mac address D8AE9018073F, sn is CMCC9018073F, and supports CMCC safety check plug-in;
2) the gateway equipment sends a boot message after being started, and the upgrading platform checks parameters and replies a boot message result after receiving the boot message;
as shown in fig. 2, the boot message is sent after the gateway device is booted up,
the message is { "method": "boot", "id": 126 "," mac ": "D8 AE 9018073F", "check": "d 21e2da5ccb4bccb3bea71af4717d8 ce", where the method parameter is boot, which represents the initial packet of the gateway, ID is a random number, which represents the number of this message, mac is the mac address of the gateway, and check is the md5 value calculated after the sn and number are concatenated, and this value is used for checking at the upgrade platform;
as shown in fig. 3, after receiving a boot message of a gateway, the upgrade platform acquires a mac address in the message, searches whether there is a gateway entering the mac through the mac address, if not, the platform replies that a result value is-1, if so, the upgrade platform concatenates the entered gateway sn and an id in the message to calculate an md5 value, compares whether the check value in the message is consistent with the check value in the message, if so, the result value in the reply message is 0, if not, the result value in the reply message is-1, and the message replies as a { "method": "boot", "id": 126 "," result ": "0" };
3) the gateway judges the reply result, if the verification is passed, the periodic transmission ping message keeps connection, and the upgrading platform replies to the gateway ping message which passes the verification;
as shown in fig. 4, the gateway receives the result value in the boot message replied by the platform, if the result value is not 0, it indicates that the verification fails, and the gateway checks the related problems according to the reply value; if the result value is 0, it indicates that the check passes, and a ping message is sent every three minutes to keep connected, and the format of the ping message is { "method": "ping", "id": 127 "}, wherein the method value is ping, the id value is the id value in the boot message plus 1, and check is the calculated md5 value after sn and number splicing;
as shown in fig. 5, after receiving the gateway ping message, the upgrade platform also replies to the ping message, where the message format is { "method": the platform judges that the gateway is offline at the moment if the platform does not receive the ping message at the gateway side for more than three times, and the gateway needs to send the boot message again to establish connection;
4) when the upgrading platform carries out upgrading operation on the gateway, firstly sending a check message, wherein the message carries the name and the version number of an auditing manufacturer, and after receiving the check message, the gateway checks the data and replies the check message result;
as shown in fig. 6, when the platform issues the upgrade operation, a check message is first sent to the gateway, where the check message is { "method": "check", "id": 145 "," Version ": "V1.2.5", "factory": the CMCC is characterized in that a method value is check, a Version value is an safety inspection Version number, and a factor value is an safety inspection manufacturer;
as shown in fig. 7, after receiving a check message sent by a platform, a gateway acquires a factor value to check whether the security and audit manufacturer is supported, if not, the check result is-1, and acquires a Version value to check whether the Version is higher than the current Version, if not, the check result is-2, if the checks are passed, the check result is 0, and then the gateway replies the platform check message, where the message is { "method": "check", "id": 145 "," result ": "0", the message contains a method value as check, and a result value as a check result value;
5) after the upgrading platform receives the verification result, if the verification fails, sending an end message; if the verification is successful, sending an upgrade message and carrying a download address of the security audit plug-in; after receiving the update file, the gateway downloads the update file according to the download address, starts updating, and replies an update message result after updating;
as shown in fig. 8, after the platform receives the check message replied by the gateway, if the result value is-1 or-2, it is determined that the verification fails, and the server sends an end message; if the obtained result value is 0, sending an upgrade message to the gateway, wherein the message is { "method": "upgrade", "id": 147 "," url ": "https:// omc1. itibia.com: 8000/anshen/loadfile/CMCC _ wifi w.tar' }, wherein the method value is upgrade, and the url value is the address of the download security audit upgrade file;
as shown in fig. 9, after receiving the upgrade message sent by the platform, the gateway acquires a url value, acquires a related upgrade file according to the url value, and upgrades the related upgrade file, and then the gateway sends the upgrade message, where the message includes a method value of upgrade, and if the upgrade is successful, a result value is 0, and the message is { "method": "upgrade", "id": 147 "," result ": 0, if the download of the upgrade file is abnormal, the result value is-1, if the upgrade file is abnormal, the result value is-2;
6) after receiving the upgrading result, the platform sends an end message to indicate that the upgrading service is ended, and the gateway also replies the end message after receiving the message;
step 3) after receiving the upgrade message sent by the gateway, the platform acquires a result value and synchronizes the upgrade state, and then sends an end message, as shown in fig. 10, the message is { "method": "end", "id": 148 "}, where the method value is end, and after receiving the end message, the gateway replies to the platform end message, as shown in fig. 11, the message format is {" method ": "end", "id": 148 "}, where the method value is end, which means the end of the upgrade.
In conclusion, the invention realizes the safety mode of remotely upgrading the gateway safety audit plug-in, the platform checks the safety of the gateway, the gateway and the platform establish stable connection, and the safety upgrade is carried out; the upgrading platform only provides service for the gateway for inputting information, so that illegal gateway connection is prevented; the equipment for establishing the connection is subjected to periodic packet sending, and the continuity of the connection is kept uninterrupted; and when the upgrading operation is issued, the file version is subjected to relevant inspection and the platform upgrading state is replied, so that the states of the two ends are ensured to be synchronous.
It should be noted that: the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention; while the foregoing is directed to embodiments of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.

Claims (10)

1. The safety upgrading method for the remote upgrading gateway safety audit plug-in is characterized in that: when the gateway is remotely upgraded and the plug-in is installed, the gateway validity is checked, the gateway data is checked, the attack of illegal equipment is eliminated, the check data is encrypted when the gateway establishes connection, the data is safe and reliable and is prevented from being cracked and utilized, the connection is ensured to be stable by sending messages regularly after the connection is established, the upgrade version is checked when the upgrade is carried out, the upgrade is carried out when the version meets the requirements, the plug-in version is updated to be latest, and after the upgrade is finished, confirmation signals are mutually replied, so that the upgrade state is ensured to be consistent; the method comprises the following steps:
1) the upgrading platform inputs basic parameters of equipment needing to provide upgrading service;
2) the gateway equipment sends a boot message after being started, and the upgrading platform checks parameters and replies a boot message result after receiving the boot message;
3) the gateway judges the reply result, if the verification is passed, the periodic transmission ping message keeps connection, and the upgrading platform replies to the gateway ping message which passes the verification;
4) when the upgrading platform carries out upgrading operation on the gateway, firstly sending a check message, wherein the message carries the name and the version number of an auditing manufacturer, and after receiving the check message, the gateway checks the data and replies the check message result;
5) after the upgrading platform receives the verification result, if the verification fails, sending an end message; if the verification is successful, sending an upgrade message and carrying a download address of the security audit plug-in; after receiving the update file, the gateway downloads the update file according to the download address, starts updating, and replies an update message result after updating;
6) and after receiving the upgrading result, the platform sends an end message to indicate that the upgrading service is ended, and the gateway also replies the end message after receiving the message.
2. The security upgrade method for a remote upgrade gateway audit plug-in according to claim 1, wherein: step 1), the security audit upgrading platform needs to input basic parameters of a gateway which needs to provide upgrading service, wherein the basic parameters comprise a mac address, a sn and supportable security audit manufacturer information, the mac address is used for distinguishing each gateway of the platform, and the sn is used for carrying out encryption verification when connection is established.
3. The security upgrade method for a remote upgrade gateway audit plug-in according to claim 1, wherein: and step 2), after the gateway equipment is powered on and started, a boot message is sent to the platform, wherein the boot message comprises md5 encrypted data generated by using a method parameter value as boot, an id value as a random number, a mac address value as gateway mac and a check value as sn + id value.
4. The security upgrade method for a remote upgrade gateway audit plug-in according to claim 1, wherein: step 2), after receiving the boot message sent by the gateway, the platform acquires the mac address in the boot message and judges whether the mac address is recorded in the platform; if yes, md5 encrypted data is generated according to the gateway parameter sn recorded by the platform and the received id value, and is compared with the received check value, if yes, a boot message is replied, the reply message contains a method value as boot, the id value is the id value in the received gateway boot message, and the result value is 0; if the comparison results are different, the gateway is judged to be an illegal gateway, the result value is-1, if not, the gateway is judged to be an input gateway, and the result value is-2.
5. The security upgrade method for a remote upgrade gateway audit plug-in according to claim 1, wherein: step 3), if the result value in the boot message received by the gateway and replied by the platform is 0, periodically sending a ping message to keep the connection with the platform, wherein the message contains a method value of ping, an id value of the ping message is the id value of the boot message plus 1, and the id value of the ping message sent is gradually plus 1; if the result value is not 0, the gateway side checks the relevant problems according to the specific value.
6. The security upgrade method for a remote upgrade gateway audit plug-in according to claim 1, wherein: step 3), after receiving the ping message sent by the gateway, the platform replies the gateway ping message, wherein the reply message contains a method value of ping and an id value of the received gateway ping message; if the platform does not receive the gateway ping packet within the three ping message intervals, the connection with the gateway is disconnected, and the gateway can be connected with the platform only by resending the boot message.
7. The security upgrade method for a remote upgrade gateway audit plug-in according to claim 1, wherein: and step 4), when the platform performs upgrading operation on the gateway, firstly sending a check message, wherein the message comprises a method value of check, a Version value of an safety audit Version number and a factor value of an safety audit manufacturer.
8. The security upgrade method for a remote upgrade gateway audit plug-in according to claim 1, wherein: and 4), after receiving the check message sent by the platform, the gateway acquires whether factorary value check supports the security and audit manufacturer, if not, the check result is-1, and acquires whether Version value check Version is higher than the current Version, if Version check is lower than the current Version or the versions are the same, the check result is-2, if the check is passed, the check result is 0, and then the gateway replies the platform check message, wherein the message contains a method value of check and a result value of result of.
9. The security upgrade method for a remote upgrade gateway audit plug-in according to claim 1, wherein: step 5), after the platform receives the check message replied by the gateway, if the result value is-1 or-2, the platform judges that the verification fails, the upgrading platform sends an end message, the message contains a method value as end, and the gateway indicates that the upgrading is finished after receiving the end message; if the result value is 0, sending an upgrade message to the gateway, wherein the message comprises a method value of upgrade and a url value of an address of a download security audit upgrade file;
after receiving the upgrade message sent by the platform, the gateway acquires a url value, acquires a related upgrade file according to the url value and carries out upgrading, and then sends the upgrade message, wherein the message contains a method value of upgrade, if the upgrade is successful, a result value is 0, if the upgrade file is abnormally downloaded, the result value is-1, and if the upgrade file is abnormally quitted, the result value is-2.
10. The security upgrade method for a remote upgrade gateway audit plug-in according to claim 1, wherein: and 6), after receiving the upgrade message sent by the gateway, the platform acquires a result value and synchronizes the upgrade state, and then sends an end message, wherein the end message contains a method value of end, and after receiving the end message, the gateway replies the platform end message, and the end message contains a method value of end, which indicates that the upgrade is finished.
CN202110367324.9A 2021-04-06 2021-04-06 Safety upgrading method for remote upgrading gateway safety audit plug-in Active CN113079213B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110367324.9A CN113079213B (en) 2021-04-06 2021-04-06 Safety upgrading method for remote upgrading gateway safety audit plug-in

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110367324.9A CN113079213B (en) 2021-04-06 2021-04-06 Safety upgrading method for remote upgrading gateway safety audit plug-in

Publications (2)

Publication Number Publication Date
CN113079213A true CN113079213A (en) 2021-07-06
CN113079213B CN113079213B (en) 2022-08-26

Family

ID=76615860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110367324.9A Active CN113079213B (en) 2021-04-06 2021-04-06 Safety upgrading method for remote upgrading gateway safety audit plug-in

Country Status (1)

Country Link
CN (1) CN113079213B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201219515D0 (en) * 2012-10-30 2012-12-12 Barclays Bank Plc Secure computing environment
CN103595802A (en) * 2013-11-19 2014-02-19 烽火通信科技股份有限公司 Method for remotely and automatically updating family gateway software
CN110457908A (en) * 2019-08-13 2019-11-15 山东爱德邦智能科技有限公司 A kind of firmware upgrade method of smart machine, device, equipment and storage medium
CN112486554A (en) * 2020-12-01 2021-03-12 中国科学院合肥物质科学研究院 Vehicle-mounted networking terminal software upgrading method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201219515D0 (en) * 2012-10-30 2012-12-12 Barclays Bank Plc Secure computing environment
CN103595802A (en) * 2013-11-19 2014-02-19 烽火通信科技股份有限公司 Method for remotely and automatically updating family gateway software
CN110457908A (en) * 2019-08-13 2019-11-15 山东爱德邦智能科技有限公司 A kind of firmware upgrade method of smart machine, device, equipment and storage medium
CN112486554A (en) * 2020-12-01 2021-03-12 中国科学院合肥物质科学研究院 Vehicle-mounted networking terminal software upgrading method

Also Published As

Publication number Publication date
CN113079213B (en) 2022-08-26

Similar Documents

Publication Publication Date Title
CN107239288B (en) Version upgrading method and device for mobile terminal
CN105978921A (en) Remote upgrading method for vehicle-mounted communication terminal
CN104125276A (en) Upgrading method and device
CN111240713A (en) Method for detecting remote breakpoint continuous transmission through power utilization
US8312178B2 (en) Field communication management apparatus
US10469620B2 (en) Method for transferring a new software version to at least one electricity meter via a communication network
CN110262820A (en) Method, apparatus, system and storage medium based on MQTT protocol realization OTA upgrading
CN110045969B (en) Application program installation method, server, system, device and storage medium
CN105635218A (en) Software center system
CN115086287A (en) Automatic deployment method and system for software products
CN113079213B (en) Safety upgrading method for remote upgrading gateway safety audit plug-in
RU2546314C2 (en) Time check method and base station
CN114398050A (en) Charging pile software upgrading method, device, equipment and storage medium
WO2024002143A1 (en) Root certificate updating method and apparatus
CN111427609A (en) Automatic application upgrading method based on multi-node server
CN112925538B (en) Equipment updating method, system and device
WO2021007756A1 (en) Device update method and system, and first internet of things device and computer-readable medium
CN104426601A (en) Automatic detection and software rollback reporting method and device in optical network terminal (ONT)
WO2022257927A1 (en) Key burning method and apparatus, electronic device board card, and storage medium
KR102201461B1 (en) Recording medium and method for upgrading firmware in embedded system of remot device in constrained environment
CN112533179B (en) Soft card module of 4G Internet of things module and updating method thereof
CN114666217B (en) One-key upgrading method and system based on easy mesh
CN110727445B (en) Method and system for upgrading tower hanging equipment based on OTA
CN116827693B (en) Method and system for carrying out off-line OTA on two-wheel vehicle based on can bus
US20080244558A1 (en) Content downloading in a radio communication network

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
GR01 Patent grant
GR01 Patent grant