CN112799705A - Simulation structure system upgrading method - Google Patents

Simulation structure system upgrading method Download PDF

Info

Publication number
CN112799705A
CN112799705A CN202110174280.8A CN202110174280A CN112799705A CN 112799705 A CN112799705 A CN 112799705A CN 202110174280 A CN202110174280 A CN 202110174280A CN 112799705 A CN112799705 A CN 112799705A
Authority
CN
China
Prior art keywords
upgrading
broadcast data
udp broadcast
data packet
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.)
Granted
Application number
CN202110174280.8A
Other languages
Chinese (zh)
Other versions
CN112799705B (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.)
Zhuhai Comleader Information Technology Co Ltd
Henan Xinda Wangyu Technology Co Ltd
Original Assignee
Zhuhai Comleader Information Technology Co Ltd
Henan Xinda Wangyu Technology 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 Zhuhai Comleader Information Technology Co Ltd, Henan Xinda Wangyu Technology Co Ltd filed Critical Zhuhai Comleader Information Technology Co Ltd
Priority to CN202110174280.8A priority Critical patent/CN112799705B/en
Publication of CN112799705A publication Critical patent/CN112799705A/en
Application granted granted Critical
Publication of CN112799705B publication Critical patent/CN112799705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The invention provides a method for upgrading a mimicry construction system, which comprises the following steps: constructing a UDP broadcast data packet containing an upgrading program; the upgrading server sends a UDP broadcast data packet to the mimicry construction system through a service interface, and the UDP broadcast data packet is transmitted in the input/output agent module, the heterogeneous executive body, the arbitration module and the feedback scheduling module in sequence; and after the mimic component and the heterogeneous executive body receive the UDP broadcast data packet, verifying the UDP broadcast data packet, if the verification is successful, starting a software upgrading process of the corresponding component, otherwise, transmitting the UDP broadcast data packet. The method adopts an upgrading method of 'step-by-step transmission, step-by-step matching and signature verification' by means of the single linearity of the internal communication of the mimicry construction system, and realizes the safe upgrading of the mimicry assembly and the heterogeneous executive body by means of the service interface of the mimicry construction system.

Description

Simulation structure system upgrading method
Technical Field
The invention belongs to the technical field of mimicry security, and particularly relates to an upgrading method of a mimicry construction system.
Background
Due to the introduction of new functions or the repair of certain BUGs, the system often needs to upgrade software to meet new service requirements. The mimicry structure system is composed of a mimicry component and a heterogeneous executive body, due to the unidirectional property of internal communication of the mimicry structure system and the complexity of an internal software module, the upgrade is carried out in a traditional mode of directly uploading an upgrade package, the mimicry structure system is only suitable for the condition that the mimicry structure system has a single upgrade management interface, and the upgrade of the system is completed through a system reserved interface. In some cases, the upgrade needs to be completed by the service interface of the mimicry construction system, and at this time, a new upgrade method is needed to meet the software upgrade requirements of the mimicry component and the executive.
Disclosure of Invention
The invention aims to provide a method for upgrading a pseudo-configuration system, aiming at the defects of the prior art.
In order to achieve the purpose, the invention adopts the technical scheme that:
the invention provides a method for upgrading a pseudo-configuration system in a first aspect, which comprises the following steps:
constructing a UDP broadcast data packet containing an upgrading program;
the upgrading server sends a UDP broadcast data packet to the mimicry construction system through a service interface, and the UDP broadcast data packet is transmitted in the input/output agent module, the heterogeneous executive body, the arbitration module and the feedback scheduling module in sequence;
and after the mimic component and the heterogeneous executive body receive the UDP broadcast data packet, verifying the UDP broadcast data packet, if the verification is successful, starting a software upgrading process of the corresponding component, otherwise, transmitting the UDP broadcast data packet.
Based on the above, the transmission format of the data packet of the UDP broadcast packet is type, untype, Sversion, Ulen, Udata, and Ucheck, which are arranged in sequence; wherein the content of the first and second substances,
type represents software upgrading type, 0x10 represents input agent module for upgrading, 0x11 represents output agent module for upgrading, 0x12 represents arbitration module for upgrading, and 0x13 represents feedback scheduling module for upgrading; 0x2n represents the heterogeneous executant n to upgrade;
utype represents the initial stage of the upgrading process, 0x01 represents the start of upgrading, 0x02 represents the progress of upgrading, and 0x03 represents the end of upgrading;
sversion represents the version number of the upgrading software, and the version numbers are sequentially increased from 0x 01;
ulen represents the data length of Udata;
udata represents upgrade data, and when the Utype is 0x01 or 0x03, the Udata is represented by all 0;
ucheck is the checksum of Udata.
Based on the above, after the input/output proxy module receives the complete UDP broadcast data packet, the signature verification is performed on the UDP broadcast data packet, if the verification is successful, the update process of the system is started, otherwise, the update is abandoned.
Based on the above, the mimicry component and the heterogeneous executive body do not feed back whether the upgrade is successful or not to the upgrade server; and the upgrade server checks whether the upgrade is successful or not by acquiring the highest authority of the mimicry construction system.
Based on the above, the arbitration module arbitrates the UDP broadcast data packet sent by each heterogeneous executive first after receiving the UDP broadcast data packet, and if the arbitration is successful, one part of the UDP broadcast data packet is reserved for continuous transmission or for self use; if the judgment fails, a dynamic scheduling process is started to clean the heterogeneous executives.
The invention provides a mimicry construction system, which comprises an input/output agent module, a heterogeneous executive body, a judgment module, a feedback scheduling module and an upgrading server, wherein when the mimicry construction system needs to be upgraded, the mimicry construction system upgrading method is executed.
Compared with the prior art, the method has outstanding substantive characteristics and remarkable progress, and particularly, the method realizes the safe upgrade of the mimicry component and the heterogeneous executive body by the service interface of the mimicry construction system by means of the single linearity of the internal communication of the mimicry construction system and adopting an upgrade method of 'step-by-step transmission, step-by-step matching and signature verification'.
Drawings
FIG. 1 is a schematic block diagram of the system of the present invention.
Detailed Description
The technical solution of the present invention is further described in detail by the following embodiments.
Example 1
As shown in fig. 1, the present embodiment provides a method for upgrading a pseudo configuration system according to a first aspect of the present invention, including:
constructing a UDP broadcast data packet containing an upgrading program;
in order to ensure the single linearity of an upgrading link, an upgrading server sends a UDP broadcast data packet to a mimicry construction system through a service interface, and the UDP broadcast data packet is transmitted in an input/output agent module, a heterogeneous executive body, a decision module and a feedback scheduling module in sequence.
Specifically, the transmission format of the data packet of the UDP broadcast packet is:
Stype Utype Sversion Ulen Udata Ucheck
type represents software upgrading type, 0x10 represents input agent module for upgrading, 0x11 represents output agent module for upgrading, 0x12 represents arbitration module for upgrading, and 0x13 represents feedback scheduling module for upgrading; 0x2n represents the heterogeneous executant n to upgrade;
utype represents the initial stage of the upgrading process, 0x01 represents the start of upgrading, 0x02 represents the progress of upgrading, and 0x03 represents the end of upgrading;
sversion represents the version number of the upgrading software, and the version numbers are sequentially increased from 0x 01;
ulen represents the data length of Udata;
udata represents upgrade data, and when the Utype is 0x01 or 0x03, the Udata is represented by all 0;
ucheck is the checksum of Udata.
After the input/output agent module receives the complete UDP broadcast data packet, firstly, signature verification is carried out on the UDP broadcast data packet, if the verification is successful, the updating process of the system is started, otherwise, the updating is abandoned; after the updating process of the system is started, after the mimic component and the heterogeneous executive body receive the UDP broadcast data packet, the UDP broadcast data packet is verified, if the verification is successful, the software upgrading process of the corresponding component is started, otherwise, the UDP broadcast data packet is transmitted.
Specifically, after receiving the UDP broadcast packet, the input/output proxy module first takes out a type from the UDP broadcast packet, determines whether the type is 0x10 or 0x12, and if not, distributes and transmits the UDP broadcast packet; if yes, taking out Sversion from the UDP broadcast data packet, comparing with local Sversion, if the value of Sversion is larger than the value of local Sversion, starting the upgrading process of the input/output agent module, otherwise, canceling the upgrading process of the input/output agent module.
Similarly, the heterogeneous executives, the arbitration module and the feedback scheduling module are upgraded in sequence, upgrade messages (UDP broadcast data packets) are transmitted layer by layer, and each mimicry component or heterogeneous executives are adapted according to the types of the messages. Due to the single linearity of the upgrading link, each component cannot feed back a message whether the upgrading is successful to the upgrading server, and whether the upgrading is successful can be checked by means of the highest authority of the system.
In particular, the upgrade data package is an upgrade package of the heterogeneous executable itself, and is not transmitted to the arbitration module any more. If the upgrade data is the upgrade data of the arbitration module or the feedback scheduling module, the arbitration module arbitrates the UDP broadcast data packets sent by each heterogeneous executive body, if the arbitration is successful, one UDP broadcast data packet is reserved to be continuously transmitted or used by the heterogeneous executive body, and if the arbitration is failed, a dynamic scheduling process is started to clean the heterogeneous executive bodies.
Example 2
The embodiment provides a pseudo-configuration system, which comprises an input/output agent module, a heterogeneous executive body, a arbitration module, a feedback scheduling module and an upgrade server, wherein when the pseudo-configuration system needs to be upgraded, the pseudo-configuration system upgrading method of the embodiment 1 is executed.
Those of ordinary skill in the art will appreciate that the various illustrative elements and method steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention and not to limit it; although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art will understand that: modifications to the specific embodiments of the invention or equivalent substitutions for parts of the technical features may be made; without departing from the spirit of the present invention, it is intended to cover all aspects of the invention as defined by the appended claims.

Claims (6)

1. A method for upgrading a pseudo-structured system, comprising:
constructing a UDP broadcast data packet containing an upgrading program;
the upgrading server sends a UDP broadcast data packet to the mimicry construction system through a service interface, and the UDP broadcast data packet is transmitted in the input/output agent module, the heterogeneous executive body, the arbitration module and the feedback scheduling module in sequence;
and after the mimic component and the heterogeneous executive body receive the UDP broadcast data packet, verifying the UDP broadcast data packet, if the verification is successful, starting a software upgrading process of the corresponding component, otherwise, transmitting the UDP broadcast data packet.
2. The pseudo-structured system upgrade method according to claim 1, characterized in that: the transmission format of the data message of the UDP broadcast data packet is Stype, Utype, Sversion, Ulen, Udata and Ucheck which are arranged in sequence; wherein the content of the first and second substances,
type represents software upgrading type, 0x10 represents input agent module for upgrading, 0x11 represents output agent module for upgrading, 0x12 represents arbitration module for upgrading, and 0x13 represents feedback scheduling module for upgrading; 0x2n represents the heterogeneous executant n to upgrade;
utype represents the initial stage of the upgrading process, 0x01 represents the start of upgrading, 0x02 represents the progress of upgrading, and 0x03 represents the end of upgrading;
sversion represents the version number of the upgrading software, and the version numbers are sequentially increased from 0x 01;
ulen represents the data length of Udata;
udata represents upgrade data, and when the Utype is 0x01 or 0x03, the Udata is represented by all 0;
ucheck is the checksum of Udata.
3. The pseudo-structured system upgrade method according to claim 2, characterized in that: and after the input/output agent module receives the complete UDP broadcast data packet, firstly, carrying out signature verification on the UDP broadcast data packet, if the verification is successful, starting the updating process of the system, and if not, giving up the updating.
4. The pseudo-structured system upgrade method according to claim 1, characterized in that: the mimicry component and the heterogeneous executive body do not feed back whether the upgrade is successful or not to the upgrade server; and the upgrade server checks whether the upgrade is successful or not by acquiring the highest authority of the mimicry construction system.
5. The pseudo-structured system upgrade method according to claim 1, characterized in that: the arbitration module arbitrates UDP broadcast data packets sent by each heterogeneous executive body first after receiving the UDP broadcast data packets, and if the arbitration is successful, one part of the UDP broadcast data packets is reserved to be continuously transmitted or used by the UDP broadcast data packets; if the judgment fails, a dynamic scheduling process is started to clean the heterogeneous executives.
6. A mimicry construction system comprises an input/output agent module, a heterogeneous executive body, a sanction module and a feedback scheduling module, and is characterized in that: the upgrade server is further used for executing the simulation construction system upgrading method of any one of claims 1-5 when the simulation construction system is required to be upgraded.
CN202110174280.8A 2021-02-07 2021-02-07 Simulation structure system upgrading method Active CN112799705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110174280.8A CN112799705B (en) 2021-02-07 2021-02-07 Simulation structure system upgrading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110174280.8A CN112799705B (en) 2021-02-07 2021-02-07 Simulation structure system upgrading method

Publications (2)

Publication Number Publication Date
CN112799705A true CN112799705A (en) 2021-05-14
CN112799705B CN112799705B (en) 2022-10-21

Family

ID=75814868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110174280.8A Active CN112799705B (en) 2021-02-07 2021-02-07 Simulation structure system upgrading method

Country Status (1)

Country Link
CN (1) CN112799705B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363051A (en) * 2021-12-31 2022-04-15 河南信大网御科技有限公司 Mimic switch and mimic system internal one-way communication method

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6711151B1 (en) * 2000-10-10 2004-03-23 Computer Access Technology Corporation Apparatus and method using paging for synchronizing to a communication network without joining the network
US20090100297A1 (en) * 2007-10-12 2009-04-16 Sun Microsystems, Inc. System and method for verifying the receive path of an input/output component
WO2015103971A1 (en) * 2014-01-07 2015-07-16 Tencent Technology (Shenzhen) Company Limited Method and system for verifying transactions using a smart card
KR101818977B1 (en) * 2017-06-27 2018-01-16 주식회사 인터엠 Method of providing batch process of software upgrade for pluralities of heterogeneous broadcasting equipments
CN110740077A (en) * 2019-09-24 2020-01-31 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Simulation system heterogeneity testing system, method and device based on network packet capturing
US20200167472A1 (en) * 2018-11-28 2020-05-28 The Boeing Company Systems and methods of software load verification
CN111541786A (en) * 2020-07-08 2020-08-14 中科全维科技(苏州)有限公司 P2P network-oriented geospatial situation system and construction method
CN111556008A (en) * 2020-03-16 2020-08-18 中国人民解放军战略支援部队信息工程大学 Method for synchronizing stateful protocols in a pseudo-fabric switching device
CN111858091A (en) * 2020-07-06 2020-10-30 河南信大网御科技有限公司 Mimicry architecture based on process level and mimicry defense method
CN111885124A (en) * 2020-07-07 2020-11-03 河南信大网御科技有限公司 Mimicry distributed storage system, data reading and writing method and readable storage medium
CN111935103A (en) * 2020-07-22 2020-11-13 河南信大网御科技有限公司 System and method for recursive simulation of executive service function

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6711151B1 (en) * 2000-10-10 2004-03-23 Computer Access Technology Corporation Apparatus and method using paging for synchronizing to a communication network without joining the network
US20090100297A1 (en) * 2007-10-12 2009-04-16 Sun Microsystems, Inc. System and method for verifying the receive path of an input/output component
WO2015103971A1 (en) * 2014-01-07 2015-07-16 Tencent Technology (Shenzhen) Company Limited Method and system for verifying transactions using a smart card
KR101818977B1 (en) * 2017-06-27 2018-01-16 주식회사 인터엠 Method of providing batch process of software upgrade for pluralities of heterogeneous broadcasting equipments
US20200167472A1 (en) * 2018-11-28 2020-05-28 The Boeing Company Systems and methods of software load verification
CN110740077A (en) * 2019-09-24 2020-01-31 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Simulation system heterogeneity testing system, method and device based on network packet capturing
CN111556008A (en) * 2020-03-16 2020-08-18 中国人民解放军战略支援部队信息工程大学 Method for synchronizing stateful protocols in a pseudo-fabric switching device
CN111858091A (en) * 2020-07-06 2020-10-30 河南信大网御科技有限公司 Mimicry architecture based on process level and mimicry defense method
CN111885124A (en) * 2020-07-07 2020-11-03 河南信大网御科技有限公司 Mimicry distributed storage system, data reading and writing method and readable storage medium
CN111541786A (en) * 2020-07-08 2020-08-14 中科全维科技(苏州)有限公司 P2P network-oriented geospatial situation system and construction method
CN111935103A (en) * 2020-07-22 2020-11-13 河南信大网御科技有限公司 System and method for recursive simulation of executive service function

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BIN LI: "Mimic Encryption System for Network Security", 《IEEE ACCESS》 *
沈丛麒: "基于信誉度与相异度的自适应拟态控制器研究", 《通信学报》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363051A (en) * 2021-12-31 2022-04-15 河南信大网御科技有限公司 Mimic switch and mimic system internal one-way communication method

Also Published As

Publication number Publication date
CN112799705B (en) 2022-10-21

Similar Documents

Publication Publication Date Title
CN110471680A (en) Control method for the upgrading of hydrogen energy automobile controller software and failure rollback
US6978453B2 (en) System with required enhancements to syncML DM environment to support firmware updates
US20210004221A1 (en) Method and apparatus for updating devices in a remote network
CN111385191A (en) Vehicle-mounted interconnected gateway, vehicle OTA upgrading system and method and computer storage medium
CN101719937B (en) Method and system for updating terminal device
CN106603311A (en) OTA upgrade method, client, server and system
CN112799705B (en) Simulation structure system upgrading method
CN101808009A (en) Method and system for upgrading network equipment
CN103888422A (en) Security certificate updating method, client and server
US20170371647A1 (en) Terminal management framework and terminal management method
CN103391215A (en) Remote software downloading and updating method, device and system based on chain network
CN105897461A (en) Multi-system OTA upgrading method and multi-system device
WO2021136258A1 (en) Method and apparatus for upgrading software
CN107566028A (en) A kind of in-orbit file updating method of satellite based on VxWorks
CN112433707B (en) High-safety configurable real-time data transmission framework supporting heterogeneous bus
CN110427202A (en) A kind of system and method for car networking TBOX end FOTA
CN107181618A (en) Firmware upgrade method and system
WO2016026329A1 (en) Terminal upgrade method and apparatus
CN114124917A (en) Remote upgrading method, equipment, system and medium for ground lock firmware
CN105786636B (en) A kind of system repair and device
CN111736866A (en) One-to-one and one-to-many compatible online upgrading method and terminal equipment
CN109933045A (en) A kind of vehicle automatic technique upgrade method and system
GB2505204A (en) Implementing data load protocols with protocol conversion at a proxy device
CN110147246A (en) Version checking method and device, storage medium and the terminal of space download technology
CN113986289A (en) Firmware upgrading method and device for edge computing gateway

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