Online upgrading method for payment terminal of Internet of Things

Through the online upgrade method and task management system, the problems of low efficiency, poor version consistency, insufficient security and high labor costs in the upgrade management of IoT payment terminals are solved, and efficient, reliable and secure remote upgrade management is achieved, reducing the Manual operation requirements and costs.

CN119135668APending Publication Date: 2024-12-13BEIJING JIEWEN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411270700.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

The upgrade management efficiency of traditional Internet of Things payment terminals is low, the version consistency is poor, the security is insufficient, the management is complex and the labor cost is high, making it difficult to meet the growing application needs.

Method used

Using the online upgrade method, we build a software and hardware environment through the terminal service API, SERVER terminal service platform, OSS update file storage server, WEB user service platform and MQ message server to realize remote upgrade task management, automate execution and monitoring of the upgrade process, and reduce manual operations .

Benefits of technology

Simplify management processes, improve efficiency, provide a more reliable, consistent and safe operating environment, reduce labor costs, monitor upgrade tasks progress and results in real time, and improve management convenience and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119135668A_ABST
    Figure CN119135668A_ABST
Patent Text Reader

Abstract

The invention relates to the field of Internet of Things payment terminal management software, in particular to an online upgrading method for an Internet of Things payment terminal. A set of software and hardware environment comprising an Internet of Things payment terminal, a terminal service API, a SERVER terminal service platform, an OSS update file storage server, a WEB user service platform and an MQ message server is constructed; requirements such as terminal types, target application programs and versions needing to be upgraded are determined, then upgrading tasks of the Internet of Things payment terminal are formulated and managed on line on a WEB user service platform, and task messages are sent to the Internet of Things payment terminal through an MQ message service after the upgrading tasks are formulated successfully. And after receiving the task message, the terminal is connected with the SERVER terminal service platform to obtain task details and calls the Internet of Things terminal service API to execute the task. The problem of low terminal upgrading efficiency is solved; the upgrading cost of a manufacturer is reduced; a unified management service is also provided for firmware and applications of manufacturers; and the terminal upgrading state can be monitored in real time, and the terminal upgrading progress is clear.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent terminal management software, and in particular to an online upgrading method for an Internet of Things payment terminal. Background Art

[0002] In traditional IoT payment terminal management, the upgrade process usually relies on manual operations and local deployment. This approach has the following disadvantages:

[0003] Inefficiency: Since each upgrade requires human intervention and manual operation, it is easy to lead to inefficient operations. Especially when a large number of terminal devices need to be managed at the same time, the workload is huge and the upgrade task is time-consuming and cumbersome.

[0004] Poor consistency: Manual upgrades can easily lead to version inconsistency issues. Different devices may be at different software versions, affecting the stability and consistency of the overall system and increasing maintenance costs.

[0005] Insufficient security: Traditional upgrade methods usually lack effective security measures. There are potential security risks during the upgrade process, which may cause the device to be maliciously attacked or the upgrade to fail.

[0006] Complex management: As the number of IoT payment terminals increases, traditional upgrade methods make it difficult to effectively manage and monitor the upgrade status of each terminal, making troubleshooting and repair during the upgrade process more complicated.

[0007] High labor costs: Due to reliance on manual operations, traditional upgrade methods require a high number of technicians, which increases labor costs and the chance of errors.

[0008] These shortcomings indicate that the traditional IoT payment terminal upgrade management method is difficult to meet the growing application needs, and a more efficient, secure and automated solution is urgently needed to meet this challenge. Summary of the invention

[0009] The purpose of the present invention is to provide an online upgrade method for an Internet of Things payment terminal, which solves the problem of software upgrade and application management of the growing number of Internet of Things payment terminals; the upgrade process management is realized by the upgrade task management, which can greatly simplify the management process and improve the efficiency; and the upgrade task management can provide a more reliable, consistent and safe operating environment to ensure the correct execution of the upgrade task; it can also reduce the demand for manual operation and reduce labor costs. Thus, the above-mentioned problems existing in the prior art are solved.

[0010] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0011] An online upgrade method for an Internet of Things payment terminal comprises the following steps:

[0012] S0, building a software and hardware environment, which consists of a terminal service API, a SERVER terminal service platform, an OSS update file storage server, a WEB user service platform and an MQ message server installed in the IoT payment terminal;

[0013] S1. Clarify the type of IoT payment terminal that needs to be upgraded, the target program and version requirements, and determine the goal and purpose of the IoT payment terminal task;

[0014] S2, the operator logs in to the WEB user service platform, formulates and manages the upgrade tasks of the IoT payment terminals, and adds the task items and IoT payment terminal scope for execution;

[0015] S3, the terminal service API installed in the Internet of Things payment terminal is connected to the SERVER terminal service platform and the MQ message server through the network, ensuring that the terminal service API can perform two-way communication with the SERVER terminal service platform and the MQ message server respectively;

[0016] S4. The operator creates a terminal upgrade task in the WEB user service platform, and sends a terminal task message to the target IoT payment terminal through the MQ message server to notify it to execute the corresponding upgrade task;

[0017] S5. The terminal service API installed on the IoT payment terminal connects to the MQ message server, receives the terminal task message, and starts the terminal background daemon process to ensure task execution;

[0018] S6, the terminal service API monitors the upgrade task execution time, starts the task process, and connects to the SERVER terminal service platform to request task details;

[0019] S7, after receiving the request from the Internet of Things payment terminal to obtain the upgrade task, the SERVER terminal service platform retrieves the upgrade task details, sends the task content to the Internet of Things payment terminal via HTTP JSON, and the terminal service API receives and stores the task content;

[0020] S8, the IoT payment terminal parses the task content, and according to the parsed task information, sequentially executes the operations of linking to the OSS update file storage server to download a new update package, verifying the signature, backing up data, and stopping / starting the service;

[0021] S9. During the execution of the task, the IoT payment terminal regularly sends status update messages to the SERVER terminal service platform to feedback the execution progress and results of the task. The SERVER terminal service platform monitors the execution of the task in real time.

[0022] S10. When an error or exception occurs during the execution of a task by the IoT payment terminal, the terminal service API captures and processes these exceptions, connects to the SERVER terminal service platform to send status update messages, send exception logs, alarm notifications, or attempt to automatically fix the problem;

[0023] S11. The operator checks the task execution status on the monitoring interface of the WEB user service platform, exports the terminal upgrade results, and analyzes and processes the terminals with upgrade exceptions.

[0024] Preferably, the terminal service API is installed in the IoT payment terminal and is responsible for terminal identity authentication, receiving and sending messages, starting the terminal background daemon process, parsing task content, and connecting to the SERVER terminal service platform to download task content files.

[0025] Preferably, the OSS update file storage server is responsible for storing update program packages and providing IoT payment terminal access support and file download support.

[0026] Preferably, the MQ message server is responsible for exchanging messages with the SERVER terminal service platform during the operation of the Internet of Things payment terminal.

[0027] Preferably, the WEB user service platform is responsible for running the service platform used by WEB end users, and provides user identity management, Internet of Things payment terminal management, upgrade program management, upgrade task formulation, and upgrade task execution monitoring functions.

[0028] The beneficial effects of the present invention are:

[0029] 1. By implementing the present invention to achieve remote upgrade, the management process can be greatly simplified and the efficiency can be improved.

[0030] 2. The implementation of the present invention can provide a more reliable, consistent and secure operating environment to ensure the correct execution of the upgrade.

[0031] 3. By implementing the present invention, administrators can formulate upgrade tasks online anytime and anywhere, and monitor the execution of upgrade tasks without having to go to each device site to operate in person, which greatly improves the convenience and efficiency of management.

[0032] 4. By implementing the present invention, the execution status of the upgrade task can be monitored in real time, including the progress of the upgrade task, success or failure, etc., so that the administrator can timely understand the execution status of the upgrade task and make corresponding adjustments and decisions. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the following Figure 1 It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0035] With the popularity of IoT payment terminal devices, the increase in large-scale deployment management needs, the improvement in security and stability requirements, and the convenience of remote management, the upgrade task management system has a wide range of usage scenarios. The present invention describes a method for online upgrade of IoT payment terminals, which solves the problem of software upgrades and application management for the growing number of IoT payment terminals; the upgrade process management is achieved through upgrade task management, which can greatly simplify the management process and improve efficiency; and the upgrade task management can provide a more reliable, consistent and secure operating environment to ensure the correct execution of upgrade tasks; it can also reduce the need for manual operations and reduce labor costs. The specific plan is as follows:

[0036] An online upgrade method for an Internet of Things payment terminal comprises the following steps:

[0037] S0, constructs a software and hardware environment, which is composed of a terminal service API, a SERVER terminal service platform, an OSS update file storage server, a WEB user service platform and an MQ message server installed in the IoT payment terminal; the terminal service API is installed in the IoT payment terminal, responsible for terminal identity authentication, receiving and sending messages, starting the terminal background daemon, parsing task content, and connecting to the SERVER terminal service platform to download task content files. The OSS update file storage server is responsible for storing update program packages and providing IoT payment terminal access support and file download support. The MQ message server is responsible for message interaction with the SERVER terminal service platform during the working process of the IoT payment terminal. The WEB user service platform is responsible for running the service platform used by WEB end users, providing user identity management, IoT payment terminal management, upgrade program management, upgrade task formulation, and upgrade task execution monitoring functions.

[0038] S1. Clarify the type of IoT payment terminal that needs to be upgraded, the target program and version requirements, and determine the goal and purpose of the IoT payment terminal task;

[0039] S2, the operator logs in to the WEB user service platform, formulates and manages the upgrade tasks of the IoT payment terminals, and adds the task items and IoT payment terminal scope for execution;

[0040] S3, the terminal service API installed in the Internet of Things payment terminal is connected to the SERVER terminal service platform and the MQ message server through the network, ensuring that the terminal service API can perform two-way communication with the SERVER terminal service platform and the MQ message server respectively;

[0041] S4. The operator creates a terminal upgrade task in the WEB user service platform, and sends a terminal task message to the target IoT payment terminal through the MQ message server to notify it to execute the corresponding upgrade task;

[0042] S5. The terminal service API installed on the IoT payment terminal connects to the MQ message server, receives the terminal task message, and starts the terminal background daemon process to ensure task execution;

[0043] S6, the terminal service API monitors the upgrade task execution time, starts the task process, and connects to the SERVER terminal service platform to request task details;

[0044] S7, after receiving the request from the Internet of Things payment terminal to obtain the upgrade task, the SERVER terminal service platform retrieves the upgrade task details, sends the task content to the Internet of Things payment terminal via HTTP JSON, and the terminal service API receives and stores the task content;

[0045] S8, the IoT payment terminal parses the task content, and according to the parsed task information, sequentially executes the operations of linking to the OSS update file storage server to download a new update package, verifying the signature, backing up data, and stopping / starting the service;

[0046] S9. During the execution of the task, the IoT payment terminal regularly sends status update messages to the SERVER terminal service platform to feedback the execution progress and results of the task. The SERVER terminal service platform monitors the execution of the task in real time.

[0047] S10. When an error or exception occurs during the execution of a task by the IoT payment terminal, the terminal service API captures and processes these exceptions, connects to the SERVER terminal service platform to send status update messages, send exception logs, alarm notifications, or attempt to automatically fix the problem;

[0048] S11. The operator checks the task execution status on the monitoring interface of the WEB user service platform, exports the terminal upgrade results, and analyzes and processes the terminals with upgrade exceptions.

[0049] The online upgrade method of the Internet of Things payment terminal of the present invention is a solution for autonomously performing firmware upgrade, application installation, application upgrade and application uninstallation during the operation of the Internet of Things payment terminal. The system adopts a set of service APIs, SERVER terminal service platforms, OSS update file storage servers, WEB user service platforms and MQ message servers including Internet of Things terminals; firstly, the type of Internet payment terminal to be upgraded, the target application program and version and other requirements are clarified, and the target and purpose of the upgrade are determined; secondly, the upgrade task of the Internet of Things payment terminal is formulated and managed online on the WEB user service platform, and the Internet of Things payment terminal is connected to the MQ message server and the SERVER terminal service platform through the network to ensure that the message can be received and the data continued to execute the upgrade task can be obtained. After the upgrade task is successfully formulated, the WEB user service platform sends the task message to the Internet of Things payment terminal through the MQ message service, and the terminal receives the task message and connects to the SERVER terminal service platform to obtain the task details and calls the Internet of Things terminal service API to execute the task. The present invention solves the efficiency problem of upgrading the manufacturer's Internet of Things payment terminal; reduces the cost of manufacturer upgrades; also provides unified management services for the manufacturer's firmware and applications; can also reduce the risk in the terminal upgrade process; and can monitor the terminal upgrade status in real time, so that customers can know the terminal upgrade progress.

[0050] By adopting the above technical solution disclosed in the present invention, the following beneficial effects are obtained:

[0051] 1. By implementing the present invention to achieve remote upgrade, the management process can be greatly simplified and the efficiency can be improved.

[0052] 2. The implementation of the present invention can provide a more reliable, consistent and secure operating environment to ensure the correct execution of the upgrade.

[0053] 3. By implementing the present invention, administrators can formulate upgrade tasks online anytime and anywhere, and monitor the execution of upgrade tasks without having to go to each device site to operate in person, which greatly improves the convenience and efficiency of management.

[0054] 4. By implementing the present invention, the execution status of the upgrade task can be monitored in real time, including the progress of the upgrade task, success or failure, etc., so that the administrator can timely understand the execution status of the upgrade task and make corresponding adjustments and decisions.

[0055] 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 principle of the present invention. These improvements and modifications should also be considered as the scope of protection of the present invention.

Claims

1. A method for online upgrading of an Internet of Things payment terminal, characterized in that: It consists of the following steps: S0, building a software and hardware environment, which consists of a terminal service API, a SERVER terminal service platform, an OSS update file storage server, a WEB user service platform and an MQ message server installed in the IoT payment terminal; S1. Clarify the type of IoT payment terminal that needs to be upgraded, the target program and version requirements, and determine the goal and purpose of the IoT payment terminal task; S2, the operator logs in to the WEB user service platform, formulates and manages the upgrade tasks of the IoT payment terminals, and adds the task items and IoT payment terminal scope for execution; S3, the terminal service API installed in the Internet of Things payment terminal is connected to the SERVER terminal service platform and the MQ message server through the network, ensuring that the terminal service API can perform two-way communication with the SERVER terminal service platform and the MQ message server respectively; S4. The operator creates a terminal upgrade task in the WEB user service platform, and sends a terminal task message to the target IoT payment terminal through the MQ message server to notify it to execute the corresponding upgrade task; S5. The terminal service API installed on the IoT payment terminal connects to the MQ message server, receives the terminal task message, and starts the terminal background daemon process to ensure task execution; S6, the terminal service API monitors the upgrade task execution time, starts the task process, and connects to the SERVER terminal service platform to request task details; S7, after receiving the request from the Internet of Things payment terminal to obtain the upgrade task, the SERVER terminal service platform retrieves the upgrade task details, sends the task content to the Internet of Things payment terminal via HTTP JSON, and the terminal service API receives and stores the task content; S8, the IoT payment terminal parses the task content, and according to the parsed task information, sequentially executes the operations of linking to the OSS update file storage server to download a new update package, verifying the signature, backing up data, and stopping / starting the service; S9. During the execution of the task, the IoT payment terminal regularly sends status update messages to the SERVER terminal service platform to feedback the execution progress and results of the task. The SERVER terminal service platform monitors the execution of the task in real time. S10. When an error or exception occurs during the execution of a task by the IoT payment terminal, the terminal service API captures and processes these exceptions, connects to the SERVER terminal service platform to send status update messages, send exception logs, alarm notifications, or attempt to automatically fix the problem; S11. The operator checks the task execution status on the monitoring interface of the WEB user service platform, exports the terminal upgrade results, and analyzes and processes the terminals with upgrade exceptions.

2. The online upgrade method for an Internet of Things payment terminal according to claim 1, characterized in that: The terminal service API is installed in the IoT payment terminal and is responsible for terminal identity authentication, receiving and sending messages, starting the terminal background daemon process, parsing task content, and connecting to the SERVER terminal service platform to download task content files.

3. The online upgrade method for an Internet of Things payment terminal according to claim 1, characterized in that: The OSS update file storage server is responsible for storing update program packages and providing IoT payment terminal access support and file download support.

4. The online upgrade method for an Internet of Things payment terminal according to claim 1, characterized in that: The MQ message server is responsible for exchanging messages with the SERVER terminal service platform during the operation of the Internet of Things payment terminal.

5. The online upgrade method for an Internet of Things payment terminal according to claim 1, characterized in that: The WEB user service platform is responsible for running the service platform used by WEB users, and provides user identity management, Internet of Things payment terminal management, upgrade program management, upgrade task formulation, and upgrade task execution monitoring functions.