CN113961260A - System control software operation method, system, computer device and storage medium - Google Patents

System control software operation method, system, computer device and storage medium Download PDF

Info

Publication number
CN113961260A
CN113961260A CN202111573259.1A CN202111573259A CN113961260A CN 113961260 A CN113961260 A CN 113961260A CN 202111573259 A CN202111573259 A CN 202111573259A CN 113961260 A CN113961260 A CN 113961260A
Authority
CN
China
Prior art keywords
configuration data
firmware
logic control
control program
address
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
CN202111573259.1A
Other languages
Chinese (zh)
Other versions
CN113961260B (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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN202111573259.1A priority Critical patent/CN113961260B/en
Publication of CN113961260A publication Critical patent/CN113961260A/en
Application granted granted Critical
Publication of CN113961260B publication Critical patent/CN113961260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44557Code layout in executable memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses an operation method, an operation system, computer equipment and a storage medium of system control software. The running method of the system control software comprises the following steps: starting a bootstrap program to set a corresponding firmware carrying address; loading a logic control program firmware and a configuration data firmware into a preset memory address according to the firmware carrying address, wherein the logic control program firmware is obtained by compiling a logic control program in advance, and the configuration data firmware is obtained by compiling configuration data in advance; after the logic control program firmware and the configuration data firmware are loaded, operating a logic control program according to an access address of the logic control program firmware; after the logic control program runs, the configuration data is accessed based on the access address of the configuration data firmware. The embodiment of the invention can effectively improve the universality and the confidentiality of the system, optimize the version management of configuration and research and development, and improve the orderliness and the maintainability of data.

Description

System control software operation method, system, computer device and storage medium
Technical Field
The present disclosure relates generally to the field of rail transit technologies, and in particular, to an operating method, system, computer device, and storage medium for system control software.
Background
In embedded automatic control systems of rail transit and the like, system control software consists of control logic and configuration data for supporting logic operation. The logic control part of the system control software is generally applicable, and the configuration data needs to be matched and modified according to different scenes. Frequent modification of configuration data not only easily causes the logic part to be modified by mistake, but also brings out management confusion of codes due to frequent version upgrading, and increases the management cost of software versions. In addition, in a track traffic signal control system, a complete line may include a plurality of interlocking concentration areas, control devices and control logic parts of the concentration areas are the same, and data for supporting logic operation needs to be configured separately according to different jurisdictions, for example: the attributes of switches, signals, transponders, and the number of routes, etc., vary from jurisdiction to jurisdiction.
In the related art, a data part and a logic part are put in different modules in an interlocking code to be separately managed; the logic part is maintained and modified by a developer, and the data configuration part is maintained and modified by a line configuration personnel. C, converting the data of the circuit into a configuration source file according to the requirement by a configurator, and compiling the system logic code and the configuration data binding into an issuing file. There are the following problems: the configuration data and the logic control code are coupled together, and when the configuration data is modified, the logic code can be modified by misoperation; the data version is upgraded integrally every time, which is not beneficial to version management of codes; the availability and confidentiality of the system program is low.
Disclosure of Invention
In view of the above-mentioned shortcomings or drawbacks of the prior art, it is desirable to provide a method, system, computer device and storage medium for operating system control software.
In a first aspect, a method for operating system control software is provided, where the system control software includes a logic control program and configuration data, and the method includes:
starting a bootstrap program to set a corresponding firmware carrying address;
loading a logic control program firmware and a configuration data firmware into a preset memory address according to the firmware carrying address, wherein the logic control program firmware is obtained by compiling the logic control program in advance, and the configuration data firmware is obtained by compiling the configuration data in advance;
after the logic control program firmware and the configuration data firmware are loaded, operating the logic control program according to the access address of the logic control program firmware;
and after the logic control program runs, accessing the configuration data based on the access address of the configuration data firmware.
In a second aspect, there is provided an operating system of system control software, the system control software including a logic control program and configuration data, wherein the system includes:
the starting module is used for starting a bootstrap program so as to set a corresponding firmware carrying address;
the loading module is used for loading a logic control program firmware and a configuration data firmware into a preset memory address according to the firmware carrying address, wherein the logic control program firmware is obtained by compiling the logic control program in advance, and the configuration data firmware is obtained by compiling the configuration data in advance; (ii) a
The operation module is used for operating the logic control program according to the access address of the logic control program firmware after the logic control program firmware and the configuration data firmware are loaded; and after the logic control program runs, accessing the configuration data based on the access address of the configuration data firmware.
In a third aspect, a computer device is provided, comprising:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of operating the system control software provided by the embodiments of the present application.
In a fourth aspect, a computer-readable storage medium is provided, in which a computer program is stored, and the program, when executed by a processor, implements an operation method of a computer interlock system provided in embodiments of the present application.
In a fifth aspect, a computer program product is provided, which stores a computer program, and when the program is executed by a processor, the program implements an operation method of the system control software provided in the embodiments of the present application.
According to the operation method, the system, the computer equipment and the storage medium of the system control software, firstly, a bootstrap program is started to set a corresponding firmware carrying address; and then loading the logic control program firmware and the configuration data firmware into a memory address according to the firmware carrying address, wherein the logic control program firmware is obtained by compiling the logic control program in advance, and the configuration data firmware is obtained by compiling the configuration data in advance, so that after the logic control program firmware and the configuration data firmware are loaded, when the logic control program firmware is operated, an access address of the configuration data firmware can be obtained, and further, corresponding configuration data is accessed, so that the logic control program can be operated smoothly. By separately managing the configuration data and the logic control program, the universality of the system can be effectively improved, the confidentiality of the system can be improved, the version management of configuration and research and development can be optimized, and the orderliness and maintainability of the data are improved by the independent management of the configuration data.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flowchart of an operation method of system control software according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating firmware generation of configuration data in an operation method of system control software according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating an implementation process of an operation method of system control software according to an embodiment of the present application;
fig. 4 is a block diagram of an operating system of system control software according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
An operation method, a system, a computer device, and a storage medium of system control software according to embodiments of the present application are described below with reference to the accompanying drawings.
The system control software includes logic control program and configuration data. In an embedded automation control system such as rail transit, system control software is composed of control logic (i.e., a logic control program) and configuration data for supporting the operation of the control logic.
Fig. 1 is a flowchart of an operation method of system control software according to an embodiment of the present invention, and as shown in fig. 1, the operation method of the system control software according to an embodiment of the present invention includes the following steps:
s101: and starting a boot program to set a corresponding firmware carrying address.
S102: loading the logic control program firmware and the configuration data firmware into a preset memory address according to the firmware carrying address, wherein the logic control program firmware is obtained by compiling the logic control program in advance, and the configuration data firmware is obtained by compiling the configuration data in advance.
In the above description, the logic control program and the configuration data of the system control software are low-coupled, that is: the firmware formed by each can generally run independently. Therefore, the method of the embodiment of the invention can obtain the logic control program firmware and the configuration data firmware in advance.
In a specific example, the configuration data is written into a configuration data substructure in advance, and then one or more configuration data substructures form a total structure, namely a line total structure, and the configuration data firmware is obtained by compiling the line total structure. Specifically, the method comprises the following steps: the process of obtaining the total structure of the line is as follows: acquiring a line total structure of a line, wherein a configuration data substructure of at least one device is pre-configured in the line total structure, and the line total structure comprises a load address of the configuration data substructure of the at least one device; configuring a head address for the line total structure body, and taking the head address as the access address; and compiling the line total structure body to obtain the configuration data firmware.
Further, the process of obtaining the configuration data substructure of the device is as follows: and acquiring a configuration data substructure of the equipment, and writing the configuration data of the equipment into the configuration data substructure of the equipment.
In the above description, the apparatus includes at least one of the number of switches, semaphores, transponders, and routes; accordingly, the configuration data sub-structure of the device comprises at least one of: a switch configuration data substructure; the signal machine configuration data substructure; the transponder configures a data sub-structure.
In this example, before acquiring the configuration data substructure body of the device, the method further includes: creating a configuration data sub-structure of the device; before obtaining the line total structure body of the line, the method further comprises the following steps: and creating a line total structure body of the acquisition line.
The separation of the logic control code (i.e. the logic control program) and the configuration data is realized by separating the configuration data and the logic control program; abstracting the line configuration data, and performing resource management through a structural body; the configuration data part and the logic control program part should have the configuration data substructure body statement of the same equipment; separately compiling the configuration data and the control logic program part, independently generating final burning firmware, and thoroughly decoupling the configuration data and the logic control program; the configuration data and the logic control program parts can be updated separately without affecting each other.
The configuration data management method is to perform uniform abstract arrangement on objects of configuration data management and manage a configuration data sub-structure, which is a data usage structure, for example: the configuration data substructure of the traffic signal and the switch equipment is shown in table 1:
TABLE 1
typedef struct _SIGNAL_T { uint8_t index_signal; /*-<Signal index/agent 32_ t nid _ signal; /*-<semaphore number/U8 _ t _ nid _ line;/. C-<The line number is called/... ent 32_ tnid _ sigproperty; /*-<Semaphore attribute/agent 32_ t l _ crc;/_ information<CRC check } signal _ t;
typedef struct _SWITCH_T { uint8_t index_switch; /*-<switch index/uint 32_ t id _ switch; /*-<switch ID/agent 8_ t type _ switch;/<Type of switch/agent 16_ t status _ switch; /*-<state of switch/;
the configuration data sub-structure bodies of all the devices can be uniformly managed by a general structure body, namely a line general structure body; for example: the overall line structure of the line is shown in table 2:
TABLE 2
typedef struct _LINE_T { uint8_t index_line; /*-<Index/u int8_ t nid _ line;/. The<Line The serial number/. the. const signal _ t. signal _ addr. the serial number/. the. complement _ t. signal _ addr<Semaphore array start point/const switch _ t switch _ addr; /*-<Switch array starting point/agent 32_ t l _ crc;/. about-<CRC check } line _ t;
configuring data and logic control program parts, and using the same structural body statement;
as shown in fig. 2, for the configuration data part: the configuration data engineering is independently constructed, and a structural body declaration file which is the same as the logic control part is required to be used; in the configuration engineering, defining a configuration data substructure body of the equipment so as to allocate memory resources and declare that the resources are static read-only resources; filling the device configuration data corresponding to the jurisdiction area into the defined structure body; using a memory scattered loading mechanism to specify a loading address (memory address) of configuration data; the memory area occupied by the configuration data and the memory area occupied by the logic control part are required to be separated and independent, and an overlapping area cannot exist; through memory configuration, the address of the total configuration data structure is fixed as a pre-agreed memory address so as to facilitate the access of a logic control part program; generating configuration data firmware by using a matched compiling tool; the generated firmware can run directly, because the configuration is a static resource, no second expansion is needed.
The process of obtaining the logic control program firmware is as follows: obtaining the logic control program; and compiling the logic control program to obtain the logic control program firmware.
S103: and after the logic control program firmware and the configuration data firmware are loaded, operating the logic control program according to the access address of the logic control program firmware.
S104: and after the logic control program runs, accessing the configuration data based on the access address of the configuration data firmware.
And the logic control program firmware and the configuration data firmware are respectively burned into a FLASH storage area in the target machine.
After the logic control program runs, accessing the configuration data based on the access address of the configuration data firmware, including: acquiring the access address transmitted when the configuration data firmware is initialized, and accessing the configuration data from the memory according to the access address; accessing the configuration data according to the loading address of the configuration data substructure in the configuration data firmware; and running the logic control program based on the configuration data.
Specifically, in the process of program initialization, when initializing configuration data, a configuration data substructure pointer (a preset configuration data memory address, that is, a load address of a configuration data substructure) of a device is assigned to a corresponding variable of a logic control program.
In order to keep the validity of the data, CRC check is carried out on the configuration data;
if the verification fails, the user is informed to stop running;
as shown in fig. 3, the overall operation is as follows:
compiling and generating configuration data firmware and logic control firmware respectively;
respectively burning the configuration data firmware and the logic control firmware into FLASH of the target machine;
configuring data firmware and logic control firmware, and storing the data firmware and the logic control firmware on the FLASH respectively, wherein no overlapping part exists;
configuring boot parameters and setting corresponding firmware carrying addresses in a boot program;
the configuration data firmware and the logic control program firmware are carried from the FLASH to the preset memory address according to the requirements;
after the transportation is finished, the jump logic controls the firmware entrance to start to run the software;
in the initialization process, the first address of the configuration data substructure of the equipment is transferred to a configuration data pointer of the logic control software, namely a loading address of the configuration data substructure, and a logic control program can access corresponding configuration data through the pointer;
the subsequent updating of the configuration data firmware or the logic control program firmware is not influenced by each other and can be carried out independently.
According to the operation method of the system control software, firstly, a bootstrap program is started to set a corresponding firmware carrying address; and then loading the logic control program firmware and the configuration data firmware into a memory address according to the firmware carrying address, wherein the logic control program firmware is obtained by compiling the logic control program in advance, and the configuration data firmware is obtained by compiling the configuration data in advance, so that after the logic control program firmware and the configuration data firmware are loaded, when the logic control program firmware is operated, an access address of the configuration data firmware can be obtained, and further, corresponding configuration data is accessed, so that the logic control program can be operated smoothly. By separately managing the configuration data and the logic control program, the universality of the system can be effectively improved, the confidentiality of the system can be improved, the version management of configuration and research and development can be optimized, and the orderliness and maintainability of the data are improved by the independent management of the configuration data.
Fig. 4 is a block diagram of an operating system of system control software according to an embodiment of the present invention. As shown in fig. 4, the system for operating the system control software according to an embodiment of the present invention includes: a start module 410, a load module 420, and an execute module 430, wherein:
a starting module 410, configured to start a boot program to set a corresponding firmware transport address;
a loading module 420, configured to load a logic control program firmware and a configuration data firmware into a preset memory address according to the firmware transport address, where the logic control program firmware is obtained by compiling the logic control program in advance, and the configuration data firmware is obtained by compiling the configuration data in advance;
the operation module 430 is configured to, after the logic control program firmware and the configuration data firmware are loaded, operate the logic control program according to an access address of the logic control program firmware; and after the logic control program runs, accessing the configuration data based on the access address of the configuration data firmware.
According to the operation system of the system control software, firstly, a bootstrap program is started to set a corresponding firmware carrying address; and then loading the logic control program firmware and the configuration data firmware into a memory address according to the firmware carrying address, wherein the logic control program firmware is obtained by compiling the logic control program in advance, and the configuration data firmware is obtained by compiling the configuration data in advance, so that after the logic control program firmware and the configuration data firmware are loaded, when the logic control program firmware is operated, an access address of the configuration data firmware can be obtained, and further, corresponding configuration data is accessed, so that the logic control program can be operated smoothly. By separately managing the configuration data and the logic control program, the universality of the system can be effectively improved, the confidentiality of the system can be improved, the version management of configuration and research and development can be optimized, and the orderliness and maintainability of the data are improved by the independent management of the configuration data.
It should be noted that, a specific implementation manner of the operation system of the system control software according to the embodiment of the present invention is similar to a specific implementation manner of the operation method of the system control software according to the embodiment of the present invention, and please refer to the description of the method part specifically, which is not described herein again.
Fig. 5 shows a schematic structural diagram of a computer device provided according to an embodiment of the present application.
As shown in fig. 5, as another aspect, the present application also provides an apparatus 500 including one or more Central Processing Units (CPUs) 501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for system operation are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, the method of operation of the system control software described above may be implemented as a computer software program according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising instructions for performing: starting a bootstrap program to set a corresponding firmware carrying address; loading a logic control program firmware and a configuration data firmware into a preset memory address according to the firmware carrying address, wherein the logic control program firmware is obtained by compiling the logic control program in advance, and the configuration data firmware is obtained by compiling the configuration data in advance; after the logic control program firmware and the configuration data firmware are loaded, operating the logic control program according to the access address of the logic control program firmware; and after the logic control program runs, accessing the configuration data based on the access address of the configuration data firmware. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As yet another aspect, the present application also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus in the above embodiments; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for execution by one or more processors to: starting a bootstrap program to set a corresponding firmware carrying address; loading a logic control program firmware and a configuration data firmware into a preset memory address according to the firmware carrying address, wherein the logic control program firmware is obtained by compiling the logic control program in advance, and the configuration data firmware is obtained by compiling the configuration data in advance; after the logic control program firmware and the configuration data firmware are loaded, operating the logic control program according to the access address of the logic control program firmware; and after the logic control program runs, accessing the configuration data based on the access address of the configuration data firmware.
As yet another aspect, the present application also provides a computer program product having a computer program stored thereon, the computer program for implementing: starting a bootstrap program to set a corresponding firmware carrying address; loading a logic control program firmware and a configuration data firmware into a preset memory address according to the firmware carrying address, wherein the logic control program firmware is obtained by compiling the logic control program in advance, and the configuration data firmware is obtained by compiling the configuration data in advance; after the logic control program firmware and the configuration data firmware are loaded, operating the logic control program according to the access address of the logic control program firmware; and after the logic control program runs, accessing the configuration data based on the access address of the configuration data firmware.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor, for example, each of the described units may be a software program provided in a computer or a mobile intelligent device, or may be a separately configured hardware device. Wherein the designation of a unit or module does not in some way constitute a limitation of the unit or module itself.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (10)

1. A method for operating system control software, the system control software including a logic control program and configuration data, wherein the method comprises:
starting a bootstrap program to set a corresponding firmware carrying address;
loading a logic control program firmware and a configuration data firmware into a preset memory address according to the firmware carrying address, wherein the logic control program firmware is obtained by compiling the logic control program in advance, and the configuration data firmware is obtained by compiling the configuration data in advance;
after the logic control program firmware and the configuration data firmware are loaded, operating the logic control program according to the access address of the logic control program firmware;
and after the logic control program runs, accessing the configuration data based on the access address of the configuration data firmware.
2. The method for operating system control software according to claim 1, further comprising, before starting the boot program to set the corresponding firmware handle address:
acquiring a line total structure of a line, wherein a configuration data substructure of at least one device is pre-configured in the line total structure, and the line total structure comprises a load address of the configuration data substructure of the at least one device;
configuring a head address for the line total structure body, and taking the head address as the access address;
and compiling the line total structure body to obtain the configuration data firmware.
3. The method for operating system control software according to claim 2, further comprising:
and acquiring a configuration data substructure of the equipment, and writing the configuration data of the equipment into the configuration data substructure of the equipment.
4. The method of claim 3, wherein the configuration data substructure of the device comprises at least one of:
a switch configuration data substructure;
the signal machine configuration data substructure;
the transponder configures a data sub-structure.
5. The method of claim 2,
before acquiring the configuration data substructure body of the device, the method further comprises the following steps: creating a configuration data sub-structure of the device;
before obtaining the line total structure body of the line, the method further comprises the following steps: and creating a line total structure body of the acquisition line.
6. The method for operating system control software according to claim 1, further comprising, before starting the boot program to set the corresponding firmware handle address:
obtaining the logic control program;
and compiling the logic control program to obtain the logic control program firmware.
7. The method according to any one of claims 1 to 6, wherein the logic control program firmware and the configuration data firmware are separately programmed into a FLASH memory area in the target machine.
8. The method according to claim 2, wherein the accessing the configuration data based on the access address of the configuration data firmware after the logic control program is executed comprises:
acquiring the access address transmitted when the configuration data firmware is initialized, and accessing the configuration data from the memory according to the access address;
accessing the configuration data according to the loading address of the configuration data substructure in the configuration data firmware;
and running the logic control program based on the configuration data.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor being configured to implement a method of operating system control software according to any one of claims 1 to 8 when executing the program.
10. A computer-readable storage medium on which a computer program for implementing a method of operating system control software according to any one of claims 1 to 8 is stored.
CN202111573259.1A 2021-12-21 2021-12-21 System control software operation method, system, computer device and storage medium Active CN113961260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111573259.1A CN113961260B (en) 2021-12-21 2021-12-21 System control software operation method, system, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111573259.1A CN113961260B (en) 2021-12-21 2021-12-21 System control software operation method, system, computer device and storage medium

Publications (2)

Publication Number Publication Date
CN113961260A true CN113961260A (en) 2022-01-21
CN113961260B CN113961260B (en) 2022-04-15

Family

ID=79473468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111573259.1A Active CN113961260B (en) 2021-12-21 2021-12-21 System control software operation method, system, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN113961260B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790935A (en) * 2004-12-15 2006-06-21 华为技术有限公司 ASC realizing method in switching single board load
US20060218310A1 (en) * 2005-03-25 2006-09-28 Robert Morris Method and apparatus for customization
CN103136107A (en) * 2011-12-03 2013-06-05 南京南瑞继保电气有限公司 Variable debugging method of embedded program dynamic storage allocation
CN104809073A (en) * 2014-01-23 2015-07-29 比亚迪股份有限公司 System on chip and bit manipulation logic control method thereof
CN105573763A (en) * 2015-12-23 2016-05-11 电子科技大学 Embedded system modeling method supporting RTOS
CN106020905A (en) * 2016-05-31 2016-10-12 上海庆科信息技术有限公司 Microcontroller firmware developing and updating method and system
CN109067734A (en) * 2018-07-27 2018-12-21 广东美的制冷设备有限公司 Dynamic Configuration, wireless communication device and the household electrical appliance of communication protocol
CN109062152A (en) * 2018-07-26 2018-12-21 中国核动力研究设计院 A kind of Loacl variable on-line monitoring method that logic-based configuration generates
CN109857502A (en) * 2019-01-24 2019-06-07 苏州思必驰信息科技有限公司 Realize the system architecture that the service logic method and service logic isolated with display are separated with display
CN111124550A (en) * 2020-03-26 2020-05-08 北京翼辉信息技术有限公司 Program dynamic loading method and device and storage medium
CN113064625A (en) * 2021-04-26 2021-07-02 山东英信计算机技术有限公司 Method, device, equipment and medium for upgrading BIOS outside band
US20210288978A1 (en) * 2017-06-01 2021-09-16 Garrison Technology Ltd Web server security

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790935A (en) * 2004-12-15 2006-06-21 华为技术有限公司 ASC realizing method in switching single board load
US20060218310A1 (en) * 2005-03-25 2006-09-28 Robert Morris Method and apparatus for customization
CN103136107A (en) * 2011-12-03 2013-06-05 南京南瑞继保电气有限公司 Variable debugging method of embedded program dynamic storage allocation
CN104809073A (en) * 2014-01-23 2015-07-29 比亚迪股份有限公司 System on chip and bit manipulation logic control method thereof
CN105573763A (en) * 2015-12-23 2016-05-11 电子科技大学 Embedded system modeling method supporting RTOS
CN106020905A (en) * 2016-05-31 2016-10-12 上海庆科信息技术有限公司 Microcontroller firmware developing and updating method and system
US20210288978A1 (en) * 2017-06-01 2021-09-16 Garrison Technology Ltd Web server security
CN109062152A (en) * 2018-07-26 2018-12-21 中国核动力研究设计院 A kind of Loacl variable on-line monitoring method that logic-based configuration generates
CN109067734A (en) * 2018-07-27 2018-12-21 广东美的制冷设备有限公司 Dynamic Configuration, wireless communication device and the household electrical appliance of communication protocol
CN109857502A (en) * 2019-01-24 2019-06-07 苏州思必驰信息科技有限公司 Realize the system architecture that the service logic method and service logic isolated with display are separated with display
CN111124550A (en) * 2020-03-26 2020-05-08 北京翼辉信息技术有限公司 Program dynamic loading method and device and storage medium
CN113064625A (en) * 2021-04-26 2021-07-02 山东英信计算机技术有限公司 Method, device, equipment and medium for upgrading BIOS outside band

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
TWAN LAAN.ETC: ""Embedding First‐order Logic in a Pure Type System with Parameters"", 《JOURNAL OF LOGIC AND COMPUTATION》 *
杨长龙: ""基于蓝牙技术的智能家居控制器的研究与设计"", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *
顾东袁等: ""基于STM32的Bootloader实验***设计"", 《实验技术与管理》 *

Also Published As

Publication number Publication date
CN113961260B (en) 2022-04-15

Similar Documents

Publication Publication Date Title
CN106227579B (en) Docker container construction method and Docker management console
CN109933348B (en) Method and device for updating Bootloader in electronic control unit
CN106796522B (en) System and method for updating source code file
RU2439664C2 (en) Model of applied environment phasing
US20080082976A1 (en) Usage of virtualization software for shipment of software products
CN103207797A (en) Capsule type customized updating method based on universal extensible firmware interface firmware system
CN107041158A (en) The limited access control reflected for modularization
CN111857765B (en) Plug-in system for drug design system, and generation method and updating method thereof
US20180203776A1 (en) Non-monotonic eventual convergence for desired state configuration
CN111443919B (en) Method for realizing SCA core framework on DSP multi-core processor
CN116049207A (en) Application SQL script processing method and device, processor and electronic equipment
CN102364433A (en) Method for realizing Wine construction tool transplanting on ARM (Advanced RISC Machines) processor
CN115291946A (en) Hongmong system transplanting method, device, electronic equipment and readable medium
CN113900704A (en) Method and device for issuing application program installation package, readable medium and electronic equipment
CN113961260B (en) System control software operation method, system, computer device and storage medium
US20120042314A1 (en) Method and device enabling the execution of heterogeneous transaction components
CN110968339B (en) Method and device for front-end building tool and electronic equipment
CN108399068B (en) Method for function program persistence, electronic device and storage medium
CN106126211A (en) A kind of MCU In-circuit programming system supporting debugging interface
CN115437700A (en) Method, device, system and medium for automatically configuring hardware resources of driver
CN114816475A (en) Method, device, equipment and medium for updating embedded operating system
CN113849161A (en) Application control method and device, storage medium and electronic equipment
CN113467797B (en) Program updating method, device and system and computer readable storage medium
CN114860202A (en) Project operation method, device, server and storage medium
CN114090189A (en) Construction deployment management method and system based on assembly line

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