A remote upgrade method for a high voltage generator remote upgrade control system

Through the multi-layer architecture and encryption processing of the high-voltage generator remote upgrade control system, remote one-click automatic update of the device is realized, solving the problems of file leakage and complex operation during firmware upgrade, improving efficiency and security, and simplifying Client upgrade operation.

CN109358886BActive Publication Date: 2025-01-10GUANGXI DAOJI MEDICAL EQUIP CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN201811464179.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-12-03
Publication Date
2025-01-10
Estimated Expiration
2038-12-03

AI Technical Summary

Technical Problem

The existing firmware upgrade methods for high-voltage generator equipment have problems such as file leakage, complex operation, poor timeliness and high cost, especially when batch updates have an impact on customers and after-sales departments.

Method used

The high-voltage generator remotely upgrades the control system with a multi-layer architecture mode. Through the CS/BS data transmission structure between the server and the client, the Web Service and SQL data engine can realize remote one-click automatic updates, and the client and server are used to achieve remote one-click automatic updates. Data interaction is performed through encryption processing, and files are stored only on the server, avoiding file transfer and generation, and firmware upgrades are used for local and online update mechanisms.

Benefits of technology

It realizes remote one-click automatic update of the device, improves work efficiency, saves costs, ensures the security of data transmission, prevents HEX file leakage, and simplifies the firmware upgrade operation of the client.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109358886B_ABST
    Figure CN109358886B_ABST
Patent Text Reader

Abstract

The present invention discloses a remote upgrade system and a remote upgrade method for a high-voltage generator, the method is implemented based on an upgrade system, the upgrade system includes a server, a client connected to the server, and a background control terminal; the client is installed on the high-voltage generator. This upgrade system is mainly for the remote update and upgrade function service of the high-voltage generator using the STM32 chip, to realize the function of updating the firmware of the device in one click, to avoid a series of influences caused by the untimely update of the device firmware, to save various travel expenses of the after-sales engineer for on-site service, to improve the overall work efficiency of the after-sales service department, and at the same time, the system also facilitates the production department to improve the speed and efficiency requirements of batch production of device firmware.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of application equipment, and in particular relates to a remote upgrading method for a remote upgrading control system of a high voltage generator. Background Art

[0002] Currently, most high-voltage generator equipment firmware upgrades are done by sending HEX files to the client, or by engineers operating remotely or directly updating the equipment on site. These methods all have some drawbacks or risks, such as file leakage, operators who are not technical personnel and cannot effectively cooperate with engineers to upgrade the equipment firmware, and the time and travel expenses caused by the after-sales department arranging engineers to upgrade on site. Especially when the equipment needs to update the firmware in batches, the impact on customers or the company's after-sales department will be further expanded. Summary of the invention

[0003] In view of the shortcomings of the prior art, the present invention discloses a remote upgrade method for a high voltage generator remote upgrade control system. The present invention realizes remote one-key automatic update of the equipment, effectively improving work efficiency.

[0004] In order to achieve the above object, the present invention adopts the following technical solutions:

[0005] A high-voltage generator remote upgrade control system adopts a multi-layer architecture mode, including a server, a client connected to the server, and a background control terminal; the client is installed on the high-voltage generator, and the client and the background control terminal adopt a CS / BS data transmission structure; the server is a Web Serviceo+SQL data engine.

[0006] A remote upgrade method based on the above-mentioned high-voltage generator remote upgrade control system comprises the following steps:

[0007] First, the server configuration and installation:

[0008] (1) Install the SQL database on the server and configure relevant parameters;

[0009] (2) Use programming software to create an "ASP.NET Web service application" and build functions and data connection engines within the application. Calling functions can realize reading and writing SQL databases, reading server time and status, and other related functions;

[0010] (3) Compile the application and publish the generated server program, and use the server IIS to build a remote access link;

[0011] Second, the client configuration and installation:

[0012] (1) Use programming software to create a C# "Windows Forms Application", create a reference to the "WebService" for data linking within the program, add the correct connection address of the server access port, form a data reading and writing engine, and make it into a class module for easy calling;

[0013] (2) Add serial port controls to the application to build a data communication channel between the PC and the high-voltage generator;

[0014] (3) The client uploads the high-voltage generator registration information to the backend control terminal through the server, and the backend control terminal conducts review and registration;

[0015] Third, the configuration of the background control terminal:

[0016] (1) The backend control end uses programming software to create an application program. A reference to the "WebService" for data link is created within the program. The correct connection address of the server access port is added to form a data reading and writing engine. A user identification program is added. Only after the account and password are identified can the backend management program interface be entered;

[0017] (2) Enter the background management program interface, review the device data and information submitted by the client, make an update judgment based on the information of the high-voltage generator, clarify the update content, and feedback the HEX file that needs to be updated for the high-voltage generator to the server;

[0018] Fourth, the server stores the reviewed HEX file; when the client needs to update, the server converts the reviewed HEX file into an update data stream and transmits it to the client; the client performs local updates or network online updates based on the update data stream feedback from the server to upgrade the high-voltage generator.

[0019] The implementation process of the local update is as follows: consult the SDK_CODE underlying serial port operation instructions, and use the instruction set to build the chip operation engine function; use the "FileStream" system's own class function to read the underlying architecture file HEX file content, and load it into the memory array; control the MCU to enter the BOOT and reset functions through the level changes of the host computer serial port DRT and RST pins, and download the HEX underlying data to the MCU's EPROM according to the STM ISP instruction set timing requirements, thereby completing the underlying driver download; after downloading the underlying driver, use the IAP serial port download protocol to download the upper application.

[0020] The process of network online update is as follows: first, the client program retrieves the unique ID value of the MCU through the instruction set, and sends a data registration request to the server through the WebService data engine; the server SQL database determines whether the MCUID submitted by the client is a registered ID, and if not, prompts the client to register the MCU information first; if it has been submitted for registration, the background control end reviews the submitted data, changes the review flag, and records it in the database; the background control end uploads the upper-layer application to be updated, transmits the file to the server through the file read and write control, and uploads the file name and update notes to the SQL database; when the client detects a new record, it indicates that there is a HEX file that needs to be updated; when the client updates, it submits an update request to the server, which responds, and parses the HEX file on the server and transmits it to the client in the form of a data stream; after obtaining the data, the client loads the data stream into the memory array, and updates the MCU using the IAP protocol; thereby completing the MCU network online update process.

[0021] The access method of using the server IIS to build a remote access link is encrypted. There is a plain text password matching method when the program function is accessed, and other custom encryption algorithms can also be used.

[0022] The operation engine function can realize local operation functions including handshake instructions, obtaining MCUID, obtaining Flash space size, erasing Flash and writing data.

[0023] The server adopts a Web Service server, and is installed with domain name redirection software such as Peanut Shell and SQL database. The software can adopt the development tool Microsoft Visual Studio 2010.

[0024] The client uploads and registers the high-voltage generator information, which is reviewed and registered by the backend control terminal. The backend control terminal explains the updated content and uploads the HEX file to be updated accordingly. After the review, the server stores the HEX file. When the client needs to update, the server converts the HEX file into a data stream and sends it to the client, which receives and updates it. This process does not transmit or generate files. The files are only stored on the server, which prevents the chance of HEX file leakage and has safe and reliable performance.

[0025] The remote update principle mainly uses the Web Service data connection engine for data interaction, converts the required data into a data stream and transmits it to the client, which then downloads the updated data stream to the chip for updating.

[0026] Compared with the prior art, the present invention has the following beneficial effects:

[0027] 1. The present invention can realize remote one-key automatic update of equipment, effectively improve work efficiency and save costs;

[0028] 2. The present invention encrypts the access method to ensure the security of data transmission;

[0029] 3. The files of the present invention are only stored on the server, which prevents the HEX files from being leaked, and the performance is safe and reliable;

[0030] 4. The present invention can realize the autonomous upgrade operation of the client, thereby realizing convenient device firmware upgrade and simple operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a structural schematic diagram of the control system of the present invention;

[0032] Figure 2 It is a flow chart of the remote upgrade principle of the present invention. DETAILED DESCRIPTION

[0033] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0034] Example:

[0035] A remote upgrade method for a high-voltage generator, the method is implemented based on an upgrade system, the upgrade system includes a server, a client connected to the server, and a background control terminal; the client is installed on the high-voltage generator;

[0036] The upgrading method comprises the following steps:

[0037] First, the server configuration and installation:

[0038] (1) Install the SQL database on the server and configure relevant parameters;

[0039] (2) Use programming software to create an "ASP.NET Web service application" and build functions and data connection engines within the application. Calling functions can realize reading and writing SQL databases, reading server time and status, and other related functions;

[0040] (3) Compile the application and publish the generated server program, and use the server IIS to build a remote access link;

[0041] Second, the client configuration and installation:

[0042] (1) Use programming software to create a C# "Windows Forms Application", create a reference to the "WebService" for data linking within the program, add the correct connection address of the server access port, form a data reading and writing engine, and make it into a class module for easy calling;

[0043] (2) Add serial port controls to the application to build a data communication channel between the PC and the high-voltage generator;

[0044] (3) The client uploads the high-voltage generator registration information to the backend control terminal through the server, and the backend control terminal conducts review and registration;

[0045] Third, the configuration of the background control terminal:

[0046] (1) The backend control end uses programming software to create an application program. A reference to the "WebService" for data link is created within the program. The correct connection address of the server access port is added to form a data reading and writing engine. A user identification program is added. Only after the account and password are identified can the backend management program interface be entered;

[0047] (2) Enter the background management program interface, review the device data and information submitted by the client, make an update judgment based on the information of the high-voltage generator, clarify the update content, and feedback the HEX file that needs to be updated for the high-voltage generator to the server;

[0048] Fourth, the server stores the reviewed HEX file; when the client needs to update, the server converts the reviewed HEX file into an update data stream and transmits it to the client; the client performs local updates or network online updates based on the update data stream feedback from the server to upgrade the high-voltage generator.

[0049] The implementation process of the local update is as follows: consult the SDK_CODE underlying serial port operation instructions, and use the instruction set to build the chip operation engine function; use the "FileStream" system's own class function to read the underlying architecture file HEX file content, and load it into the memory array; control the MCU to enter the BOOT and reset functions through the level changes of the host computer serial port DRT and RST pins, and download the HEX underlying data to the MCU's EPROM according to the STM ISP instruction set timing requirements, thereby completing the underlying driver download; after downloading the underlying driver, use the IAP serial port download protocol to download the upper application.

[0050] The process of network online update is as follows: first, the client program retrieves the unique ID value of the MCU through the instruction set, and sends a data registration request to the server through the WebService data engine; the server SQL database determines whether the MCUID submitted by the client is a registered ID, and if not, prompts the client to register the MCU information first; if it has been submitted for registration, the background control end reviews the submitted data, changes the review flag, and records it in the database; the background control end uploads the upper-layer application to be updated, transmits the file to the server through the file read and write control, and uploads the file name and update notes to the SQL database; when the client detects a new record, it indicates that there is a HEX file that needs to be updated; when the client updates, it submits an update request to the server, which responds, and parses the HEX file on the server and transmits it to the client in the form of a data stream; after obtaining the data, the client loads the data stream into the memory array, and updates the MCU using the IAP protocol; thereby completing the MCU network online update process.

[0051] The access method of building a remote access link using the server IIS is encrypted.

[0052] The operation engine function can realize local operation functions including handshake instructions, obtaining MCUID, obtaining Flash space size, erasing Flash and writing data.

[0053] The server adopts a Web Service server, and is installed with domain name redirection software such as Peanut Shell and SQL database. The software can adopt the development tool Microsoft Visual Studio 2010.

[0054] The client uploads and registers the high-voltage generator information, which is reviewed and registered by the backend control terminal. The backend control terminal explains the updated content and uploads the HEX file to be updated accordingly. After the review, the server stores the HEX file. When the client needs to update, the server converts the HEX file into a data stream and sends it to the client, which receives and updates it. This process does not transmit or generate files. The files are only stored on the server, which prevents the chance of HEX file leakage and is safe and reliable.

Claims

1. A remote upgrade method for a high voltage generator remote upgrade control system, characterized in that: The system includes a server, a client connected to the server, and a backend control terminal; the client is installed on the high-voltage generator, and the client and the backend control terminal adopt a CS / BS data transmission structure; the server is a Web Service+SQL data engine; The remote upgrade method The following steps are involved: First, the configuration and installation of the server: (1) Install the SQL database on the server and configure relevant parameters; (2) Use programming software to create an "ASP.NET Web service application" and build functions and data connection engines within the application. Calling functions can realize reading and writing SQL databases, reading server time and status, and other related functions; (3) Compile the application and publish the generated server program, and use the server IIS to build a remote access link; Second, the client configuration and installation: (1) Use programming software to create a C# "Windows Forms Application", create a reference to the "WebService" for data linking within the program, add the correct connection address of the server access port, form a data reading and writing engine, and make it into a class module for easy calling; (2) Add serial port controls to the application to build a data communication channel between the PC and the high-voltage generator; (3) The client uploads the high-voltage generator registration information to the backend control terminal through the server, and the backend control terminal conducts review and registration; Third, the configuration of the background control terminal: (1) The backend control end uses programming software to create an application program. A reference to the "WebService" for data linking is created within the program. The correct connection address of the server access port is added to form a data reading and writing engine. A user identification program is added. Only after the account and password are identified can the backend management program interface be entered; (2) Enter the background management program interface, review the device data and information submitted by the client, make an update judgment based on the information of the high-voltage generator, explain the update content, and upload the HEX file that needs to be updated for the high-voltage generator to the server; Fourth, the server stores the reviewed HEX file; When the client needs to be updated, the server converts the reviewed HEX file into an update data stream and transmits it to the client; The client performs local update or network online update to upgrade the high voltage generator according to the update data stream fed back by the server.

2. The remote upgrade method of the high voltage generator remote upgrade control system according to claim 1, characterized in that: The implementation process of the local update is as follows: check the SDK_CODE underlying serial port operation instructions, and use the instruction set to build the chip operation engine function; use the "FileStream" system's own class function to read the HEX file content of the underlying architecture file and load it into the memory array; control the MCU to enter the BOOT and reset functions through the level changes of the host computer serial port DRT and RST pins, and download the HEX underlying data to the MCU's EPROM according to the STM ISP instruction set timing requirements, thereby completing the underlying driver download; after downloading the underlying driver, use the IAP serial port download protocol to download the upper application.

3. The remote upgrade method of the high voltage generator remote upgrade control system according to claim 1, characterized in that: The process of online network update is as follows: first, the client program retrieves the unique ID value of the MCU through the instruction set, and sends a data registration request to the server through the WebService data engine; the server SQL database determines whether the MCUID submitted by the client is a registered ID, and if not, prompts the client to register the MCU information first; If the registration has been submitted, the backend control terminal will review the submitted data, change the review flag, and record it in the database; The backend control terminal uploads the upper-layer application that needs to be updated, transfers the file to the server through the file read and write control, and uploads the file name and update notes to the SQL database; When the client detects a new record, it means there is a HEX file that needs to be updated; When updating, the client submits an update request to the server, which responds and parses the HEX file on the server and transmits it to the client in the form of a data stream. After obtaining the data, the client loads the data stream into the memory array and uses the IAP protocol to update the MCU. This completes the MCU network online update process.

4. The remote upgrade method of the high voltage generator remote upgrade control system according to claim 1, characterized in that: The access method of building a remote access link using the server IIS is encrypted.

5. The remote upgrade method of the high voltage generator remote upgrade control system according to claim 2, characterized in that: The operation engine function can realize local operation functions including handshake instructions, obtaining MCUID, obtaining Flash space size, erasing Flash and writing data.

Citation Information

Patent Citations

  • Server processing method realizing remote update and management of module side

    CN102158814A

  • System and its method for central remote automatic upgrading software

    CN1859125A

  • Multi-protocol frame filter

    US20160150056A1

  • WiFi P2P fused FOTA (Firmware Over-The-Air) remote online upgrading method

    CN106789236A

  • STM32 IAP based online program updating method

    CN106874049A