Device for realizing application program loading of embedded system

Automatically obtaining terminal device identity information through the console and notifying the execution unit and terminal device to load applications and configuration files, solving the problems of complex application loading and wrong parameter configuration in embedded systems, and achieving an efficient and reliable automatic loading process.

CN119065739AActive Publication Date: 2024-12-03TIANJIN JINHANG COMP TECH RES INST
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411098580.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-12-03
Estimated Expiration
2044-08-12

AI Technical Summary

Technical Problem

In embedded systems, the operation of the execution unit and terminal device applications is complicated when loading and running, and the parameter configuration is prone to errors, resulting in low loading efficiency and high incorrectness.

Method used

Obtain the terminal device identity information through the console, automatically notify the execution unit and terminal device to load the corresponding application and configuration files, and use the Ethernet protocol to automatically replace and load the application and configuration files to ensure correct operation.

Benefits of technology

It improves the automatic loading efficiency and accuracy of execution units and terminal device applications, reduces operation complexity and error rate, and has the characteristics of low cost and high reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065739A_ABST
    Figure CN119065739A_ABST
Patent Text Reader

Abstract

The invention relates to a device for loading an application program in an embedded system, and belongs to the technical field of communication and storage. After the console, the execution unit and the terminal equipment are powered on, the target code names of the application programs of the execution unit and the terminal equipment do not need to be manually modified and the content of the configuration file does not need to be replaced; and notifying the execution unit and the terminal equipment to automatically load and run the corresponding application program and configuration file information. Automatic loading of the execution unit, the terminal equipment application program and the configuration file is achieved, the problems that in an embedded system, operation is complex when the execution unit and the terminal equipment application program are loaded and run, and parameter configuration is prone to errors are solved perfectly, and the reliability of loading the execution unit and the terminal equipment application program is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the fields of communication technology and storage technology, and in particular relates to a device for realizing loading of application programs in an embedded system. Background Art

[0002] The embedded system includes multiple consoles, multiple execution units and multiple terminal devices. Each execution unit includes multiple different applications, and each terminal device also includes multiple different applications. The execution unit selects to load and run the corresponding application according to the different identity information of the terminal device, and the terminal device selects to load and run the corresponding application according to its own identity information. In order to ensure that the application of the execution unit and the terminal device is correctly loaded, it is usually necessary to manually change the name of the execution unit application target code and the terminal device application target code corresponding to the terminal device identity information to a pre-set name after knowing the identity information of the terminal device in advance, and manually replace the various configuration files required by the application. After the execution unit and the terminal device are powered on, the application target code with the pre-set name and the replaced configuration file will be automatically loaded and run. This method of manually modifying the application target code and configuration file is not only complicated to operate, but also requires the operator to have certain professional skills, and it is also possible to mismatch or miss certain parameters, which brings many inconveniences to the loading and running of the execution unit and terminal device applications. Summary of the invention

[0003] 1. Technical issues to be resolved

[0004] The present invention provides a device for loading an application program in an embedded system, which solves the problem of "complex operation and error-prone parameter configuration when loading and running application programs in an execution unit and a terminal device" in the embedded system, and improves the efficiency and correctness of automatic loading of application programs by the execution unit and the terminal device.

[0005] (II) Technical solution

[0006] In order to solve the above technical problems, the present invention provides a device for realizing loading an application program in an embedded system, comprising N1 consoles, N2 execution units and N3 terminal devices; wherein any one console can control the operation of M1 execution units, and any one execution unit can control the operation of M2 terminal devices; N1≧1, N2≧1, N3≧1, N2≧M1≧1, N3≧M2≧1;

[0007] Among them, after a certain console is powered on, the console sends a permission application message to a certain execution unit through Ethernet to determine whether the execution unit is controlled by another console; if the current execution unit is not controlled by a certain console, the current execution unit feeds back information on successful application for control permission to the console, and sends the identity information of the terminal device controlled by it to this console through Ethernet; the console sends application loading selection information to the execution unit through Ethernet based on the identity information of the terminal device, and notifies the execution unit to load the corresponding application; if the current execution unit is already controlled by a certain console, the current execution unit feeds back information on failed application for control permission to the console, and the console sends permission application messages to other execution units through Ethernet to apply for control permission of the corresponding execution unit;

[0008] Each execution unit contains M different applications and application configuration files, N3≧M≧1; a certain application in the execution unit can only match the terminal device with the same identity information to perform corresponding control work; if the execution unit receives the loading application selection information sent by the console via Ethernet, the execution unit copies the application configuration file required by the execution unit to the corresponding path according to the loading application selection information, replacing the original configuration file information content;

[0009] Each terminal device contains M different applications and application configuration files; the terminal devices have M different identity information, which are distinguished by different hardware signals, and the applications of terminal devices with different identity information are also different; the console sends parameter configuration selection information to all terminal devices controlled by the execution unit through Ethernet based on the terminal device identity information fed back by the execution unit controlled by the console, notifying the terminal devices to set parameter information and select to load application programs;

[0010] After the terminal device receives the parameter configuration selection information sent by the console via Ethernet, the terminal device copies the application configuration file required by the terminal device to the corresponding path according to the parameter configuration selection information, replacing the original configuration file information content.

[0011] Preferably, after the execution unit obtains the loading application selection information and completes the replacement operation of the application configuration file, the execution unit also loads the application configuration script information corresponding to the loading application selection information, and the script information content includes: application path, communication interface type and configuration information, parameter information required by the application, and instruction code for loading and running the application.

[0012] Preferably, after the terminal device obtains the parameter configuration selection information and completes the replacement operation of the application configuration file, the terminal device also loads the application configuration script information corresponding to the parameter configuration selection information, and the script information content includes: application path, communication interface type and configuration information, parameter information required by the application, and instruction code for loading and running the application.

[0013] Preferably, the console comprises:

[0014] A first data sending module, used to send a permission application message and loading application selection information to the execution unit through Ethernet, and send parameter configuration selection information to the terminal device through Ethernet;

[0015] The first data receiving module is connected to the first data sending module and is used to receive the permission application result and the identity information of the terminal device sent by the execution unit through Ethernet.

[0016] Preferably, the execution unit includes:

[0017] The second data sending module is used to send the permission application result message and the identity information of the terminal device to the console via Ethernet;

[0018] A second data receiving module, connected to the first data sending module, for receiving the permission application message and the loading application selection information sent by the console via Ethernet;

[0019] The second data processing module is connected to the second data receiving module, and is used to complete the replacement operation of the execution unit application configuration file and load the application configuration script information corresponding to the loaded application selection information.

[0020] Preferably, the terminal device includes:

[0021] A third data receiving module, used for receiving parameter configuration selection information sent by the console via Ethernet;

[0022] The third data processing module is connected to the third data receiving module and is used to complete the replacement operation of the terminal device application configuration file and load the application configuration script information corresponding to the parameter configuration selection information.

[0023] The invention also provides an application of the device in the field of communication technology.

[0024] The invention also provides an application of the device in the field of storage technology.

[0025] The invention also provides an embedded system designed based on the device.

[0026] The invention also provides a working method of the embedded system.

[0027] (III) Beneficial effects

[0028] The advantages of the present invention compared with the prior art are:

[0029] 1. The device can obtain the identity information of the terminal device through the console, and the console notifies the execution unit and the terminal device to automatically load and run the corresponding application and configuration file information, which greatly improves the efficiency and correctness of the execution unit and the terminal device to automatically load the application;

[0030] 2. The device has the characteristics of low cost, high reliability and stability, and easy implementation. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a schematic diagram of the connection between the console, the execution unit and the terminal device of the present invention;

[0032] Figure 2 It is one of the structural schematic diagrams of the embedded system application loading device of the present invention;

[0033] Figure 3 This is the second structural schematic diagram of the embedded system application loading device of the present invention;

[0034] Figure 4 This is the third structural schematic diagram of the embedded system application loading device of the present invention;

[0035] Figure 5 It is the overall flow chart of the device operation of the present invention. DETAILED DESCRIPTION

[0036] In order to make the purpose, content and advantages of the present invention more clear, the specific implementation methods of the present invention are further described in detail below in conjunction with the drawings and examples.

[0037] Figure 1 A connection diagram of an apparatus for realizing application loading in an embedded system proposed by the present invention; when the console, execution unit and terminal device are powered on, there is no need to manually modify the target code names of the execution unit and terminal device applications and replace the configuration file contents; the console can notify the execution unit and the terminal device to automatically load and run the corresponding application and configuration file information based on the identity information of the terminal device obtained.

[0038] Only by adopting the solution of the present invention can the problem of "complex operation and error-prone parameter configuration when loading and running the execution unit and terminal device application" be perfectly solved. The present invention can realize the automatic loading of the execution unit and terminal device application and configuration file, and improve the reliability of loading the execution unit and terminal device application.

[0039] like Figure 1 , Figure 2 As shown, this embodiment provides a device for implementing an embedded system to load an application, including a console, an execution unit and a terminal device, wherein the console includes:

[0040] The first data sending module 11 is used to send the permission application message and the loading application selection information to the execution unit through Ethernet, and send the parameter configuration selection information to the terminal device through Ethernet;

[0041] The first data receiving module 12 is connected to the first data sending module 11 and is used to receive the permission application result and the identity information of the terminal device sent by the execution unit through Ethernet.

[0042] The embedded system is composed of N1 (N1≧1) consoles, N2 (N2≧1) execution units and N3 (N3≧1) terminal devices; any one console can control the operation of M1 (N2≧M1≧1) execution units, and any one execution unit can control the operation of M2 (N3≧M2≧1) terminal devices.

[0043] Among them, after a certain console is powered on, the console sends a permission application message to a certain execution unit through Ethernet to determine whether the execution unit is controlled by another console; if the current execution unit is not controlled by a certain console, the current execution unit feeds back information on successful application for control permission to the console, and sends the identity information of the terminal device controlled by it (execution unit) to this console through Ethernet. Based on the identity information of the terminal device, the console sends application loading selection information to the execution unit through Ethernet to notify the execution unit to load the corresponding application; if the current execution unit is already controlled by a certain console, the current execution unit feeds back information on failed application for control permission to the console, and the console sends permission application messages to other execution units through Ethernet to apply for control permission of the corresponding execution unit.

[0044] like Figure 3 As shown, the execution unit includes:

[0045] The second data sending module 21 is used to send the permission application result message and the identity information of the terminal device to the console via Ethernet;

[0046] A second data receiving module 22, connected to the first data sending module 21, for receiving the permission application message and the loading application selection information sent by the console via Ethernet;

[0047] The second data processing module 23 is connected to the second data receiving module 22, and is used to complete the replacement operation of the execution unit application configuration file and load the application configuration script information corresponding to the loaded application selection information.

[0048] Among them, each execution unit contains M (N3≧M≧1) different applications and application configuration files; a certain application in the execution unit can only match the terminal device with the same identity information to perform corresponding control work; if the execution unit receives the loading application selection information sent by the console via Ethernet, the execution unit will copy the application configuration file required by the execution unit to the corresponding path according to the loading application selection information, replacing the original configuration file information content.

[0049] Among them, after the execution unit obtains the loading application selection information and completes the replacement operation of the application configuration file, the execution unit also loads the application configuration script information corresponding to the loading application selection information, and the script information content includes: application path, communication interface type and configuration information, parameter information required by the application, and instruction code for loading and running the application.

[0050] like Figure 4 As shown, the terminal device includes:

[0051] The third data receiving module 31 is used to receive parameter configuration selection information sent by the console via Ethernet;

[0052] The third data processing module 32 is connected to the third data receiving module 21 and is used to complete the replacement operation of the terminal device application configuration file and load the application configuration script information corresponding to the parameter configuration selection information.

[0053] Each terminal device contains M different applications and application configuration files. The terminal devices have M different identity information, which are distinguished by different hardware signals, and the applications of terminal devices with different identity information are also different; the console sends parameter configuration selection information to all terminal devices controlled by the execution unit through Ethernet based on the terminal device identity information fed back by the controlled execution unit, notifying the terminal devices to set parameter information and select to load application programs.

[0054] If the terminal device receives the parameter configuration selection information sent by the console via Ethernet, the terminal device copies the application configuration file required by the terminal device to the corresponding path according to the parameter configuration selection information, replacing the original configuration file information content.

[0055] Among them, after the terminal device obtains the parameter configuration selection information and completes the replacement operation of the application configuration file, the terminal device also loads the application configuration script information corresponding to the parameter configuration selection information. The script information content includes: application path, communication interface type and configuration information, parameter information required by the application, and instruction code for loading and running the application.

[0056] It can be seen that in the embedded system composed of N1 consoles, N2 execution units and N3 terminal devices, the console can notify the execution unit and the terminal device to automatically load and run the corresponding application and configuration file information by obtaining the identity information of the terminal device.

[0057] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A device for implementing an embedded system to load an application, characterized in that: It includes N1 consoles, N2 execution units and N3 terminal devices; any one console can control the operation of M1 execution units, and any one execution unit can control the operation of M2 terminal devices; N1≧1, N2≧1, N3≧1, N2≧M1≧1, N3≧M2≧1; Among them, after a certain console is powered on, the console sends a permission application message to a certain execution unit through Ethernet to determine whether the execution unit is controlled by another console; if the current execution unit is not controlled by a certain console, the current execution unit feeds back information on successful application for control permission to the console, and sends the identity information of the terminal device controlled by it to this console through Ethernet; the console sends application loading selection information to the execution unit through Ethernet based on the identity information of the terminal device, and notifies the execution unit to load the corresponding application; if the current execution unit is already controlled by a certain console, the current execution unit feeds back information on failed application for control permission to the console, and the console sends permission application messages to other execution units through Ethernet to apply for control permission of the corresponding execution unit; Each execution unit contains M different applications and application configuration files, N3≧M≧1; a certain application in the execution unit can only match the terminal device with the same identity information to perform corresponding control work; if the execution unit receives the loading application selection information sent by the console via Ethernet, the execution unit copies the application configuration file required by the execution unit to the corresponding path according to the loading application selection information, replacing the original configuration file information content; Each terminal device contains M different applications and application configuration files; the terminal devices have M different identity information, which are distinguished by different hardware signals, and the applications of terminal devices with different identity information are also different; the console sends parameter configuration selection information to all terminal devices controlled by the execution unit through Ethernet based on the terminal device identity information fed back by the execution unit controlled by the console, notifying the terminal devices to set parameter information and select to load application programs; After the terminal device receives the parameter configuration selection information sent by the console via Ethernet, the terminal device copies the application configuration file required by the terminal device to the corresponding path according to the parameter configuration selection information, replacing the original configuration file information content.

2. The device according to claim 1, characterized in that After the execution unit obtains the loading application selection information and completes the replacement operation of the application configuration file, the execution unit also loads the application configuration script information corresponding to the loading application selection information. The script information content includes: application path, communication interface type and configuration information, parameter information required by the application, and instruction code for loading and running the application.

3. The device according to claim 1, characterized in that After the terminal device obtains the parameter configuration selection information and completes the replacement operation of the application configuration file, the terminal device also loads the application configuration script information corresponding to the parameter configuration selection information. The script information content includes: application path, communication interface type and configuration information, parameter information required by the application, and instruction code for loading and running the application.

4. The device according to claim 1, characterized in that The console comprises: A first data sending module, used to send a permission application message and loading application selection information to the execution unit through Ethernet, and send parameter configuration selection information to the terminal device through Ethernet; The first data receiving module is connected to the first data sending module and is used to receive the permission application result and the identity information of the terminal device sent by the execution unit through Ethernet.

5. The device according to claim 4, characterized in that The execution unit comprises: The second data sending module is used to send the permission application result message and the identity information of the terminal device to the console via Ethernet; A second data receiving module, connected to the first data sending module, for receiving the permission application message and the loading application selection information sent by the console via Ethernet; The second data processing module is connected to the second data receiving module, and is used to complete the replacement operation of the execution unit application configuration file and load the application configuration script information corresponding to the loaded application selection information.

6. The device according to claim 5, characterized in that The terminal device comprises: A third data receiving module, used for receiving parameter configuration selection information sent by the console via Ethernet; The third data processing module is connected to the third data receiving module and is used to complete the replacement operation of the terminal device application configuration file and load the application configuration script information corresponding to the parameter configuration selection information.

7. Application of the device according to any one of claims 1 to 6 in the field of communication technology.

8. Use of the device according to any one of claims 1 to 6 in the field of storage technology.

9. An embedded system designed based on the device according to any one of claims 1 to 6.

10. A working method of the embedded system as claimed in claim 9.

Citation Information

Patent Citations

  • Control device connection method, device and equipment and computer readable storage medium

    CN112316417A

  • Parameter setting device for standby data storage module of embedded system

    CN117234615A

  • Method and system for updating configuration settings during the execution of an application

    US20220027146A1