Remote upgrade management system and method of equipment, electronic equipment and storage medium
Through the automatic polling and message service mechanism of the remote upgrade management system, the problem of equipment upgrades relying on manual operation by end users in the existing technology is solved, and the automatic upgrade of equipment and parameter updates are realized, and efficiency and user experience are improved.
Patent Information
- Application Number
- CN202411376039.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2024-11-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing cloud upgrade system relies too much on the manual operation of end users when performing system cloud upgrades and remote parameter updates on devices, resulting in low upgrade efficiency and poor user experience.
A remote upgrade management system was designed. By upgrading the remote network connection between the management server cluster and the device, using automatic polling mechanism and message services, the device information is queried and upgrade information or parameter information is sent to automatically complete the system cloud upgrade. and system parameters update.
It realizes the automation of cloud upgrade of equipment system and system parameter updates, improves the efficiency of upgrade and update, reduces the operation burden of end users, and improves the convenience of user experience and device management.
Smart Images

Figure CN118963810A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a remote upgrade management system for equipment, a remote upgrade management method for equipment, an electronic device, and a computer-readable storage medium. Background Art
[0002] As we all know, in order to achieve the purpose of system cloud upgrade, the existing cloud upgrade system, such as the common camera security software cloud upgrade system, first of all, the operation and maintenance personnel need to upload the camera upgrade software package to the server through the platform page in advance, and set the upgrade software package version, model, language, basic software version supported for upgrade and other parameters. Then, the end user logs in to the web upgrade page of the device console or the device upgrade page of the App, and manually checks whether there is an upgrade version supported by this device. If it is confirmed that it exists and the upgrade is selected, the device will download the upgrade software package from the server to upgrade the device firmware version. As shown in the attached figure Figure 1 As shown, it is an architecture diagram of the existing cloud upgrade system for camera security software. The technical solution of the cloud upgrade system for camera security software is that the cloud upgrade system saves the device upgrade information and stores the installation package on the file server. Computer and mobile phone users query the device upgrade information of the cloud upgrade system and initiate the operation of confirming the cloud upgrade system software to the device. The device then downloads the upgrade resource, i.e., the installation package, to complete the system cloud upgrade. It can be seen that in order for the existing cloud upgrade system to achieve the purpose of device system cloud upgrade, the terminal user needs to perform at least two manual operations, i.e., query the upgrade information operation and initiate the system cloud upgrade operation, so that the camera system software can successfully complete the cloud upgrade. However, this method that highly relies on the terminal user to manually upgrade the device results in low device upgrade efficiency and poor user experience. Summary of the invention
[0003] In view of this, the present invention proposes a remote upgrade management system, a remote upgrade management method, an electronic device and a computer-readable storage medium for a device, aiming to solve the problem that the current process of performing cloud upgrades on the device based on a cloud upgrade system is overly dependent on manual operations of terminal users, resulting in a poor user experience.
[0004] In order to solve the above problems, the present invention adopts the following technical solutions: In a first aspect, the present invention proposes a remote upgrade management system for a device, comprising an upgrade management server cluster and at least one of the devices, wherein the upgrade management server cluster and the device establish a remote network connection, wherein the upgrade management server cluster comprises a message server cluster, and wherein the message server cluster comprises an upgrade query module and an update query module; The query upgrade module is used to, in response to receiving device information sent by the device through automatic polling, query the upgrade task cache center according to the device information whether the corresponding device has an upgrade management task; if it is confirmed that there is a system cloud upgrade task, send the upgrade information to the device, so that the device performs a system cloud upgrade according to the received upgrade information; The query update module is used to, in response to receiving device information sent by the device through automatic polling, query the corresponding device in the upgrade task cache center according to the device information whether there is an upgrade management task; if it is confirmed that there is a system parameter update task, send parameter information to the device, so that the device updates the system parameters according to the received parameter information; The device information includes the model, system version information and system operation parameters of the device, and the upgrade management task includes a system cloud upgrade task and a system parameter update task.
[0005] Furthermore, the upgrade management server cluster also includes a storage server cluster; The storage server cluster is used to provide a system installation package storage service so that the device can download the installation package from the system installation package storage service to perform a system cloud upgrade according to the received upgrade information.
[0006] Furthermore, the upgrade management server cluster further includes an instruction processing server cluster, the instruction processing server cluster is used to provide instruction processing services, and the message server cluster further includes a storage module and a sending module; The storage module is used to store the received device information into an information queue; The sending module is used to take out the device information from the information queue for processing according to the preset logic, and send the corresponding instruction to the instruction processing server cluster according to the processing result, so that the instruction processing server cluster processes the corresponding instruction; The corresponding instructions include device information update instructions, device upgrade task check instructions, new device matching upgrade task instructions and device update system parameter execution result instructions.
[0007] Further, the instruction processing server cluster includes a device information update instruction processing module; The device information update instruction processing module is used to obtain device information according to the device information package contained in the device information update instruction in response to receiving the device information update instruction; retrieve the device information in the device information database, and if it is confirmed that the device information is recorded for the first time, create a new device matching upgrade task instruction; if it is found that the system version information corresponding to the device information has changed, update the upgrade task status result in the upgrade task database.
[0008] Further, the instruction processing server cluster includes an equipment upgrade task check instruction processing module; the equipment upgrade task check instruction processing module includes an equipment upgrade task check instruction first processing unit and an equipment upgrade task check instruction second processing unit; The first processing unit of the device upgrade task check instruction is used to obtain device information according to the device upgrade task check instruction, and query the upgrade task database whether the device corresponding to the device information has a system cloud upgrade task; if so, upload the system installation package to the upgrade task cache center; The second processing unit of the device upgrade task check instruction is used to obtain device information according to the device upgrade task check instruction, and query the upgrade task database whether the device corresponding to the device information has a system parameter update task; if so, upload the system parameter information to the upgrade task cache center.
[0009] Further, the instruction processing server cluster includes at least one of a new device matching upgrade task instruction processing module and a device update system parameter execution result instruction processing module; The new device matching upgrade task instruction processing module is used to obtain device information according to the new device matching upgrade task instruction, and match whether there is a batch system cloud upgrade task in progress according to the device information; if so, create a system cloud upgrade task for the device and write the system cloud upgrade task into the upgrade task database, and upload the created system cloud upgrade task to the upgrade task cache center; The device update system parameter execution result instruction processing module is used to obtain device information according to the device update system parameter execution result instruction, and write the device update system parameter execution result corresponding to the device information into the upgrade task database.
[0010] Further, the upgrade management server cluster further includes a background data server cluster, and the background data server cluster includes at least one of a viewing return module, a single upgrade management module, a batch upgrade management module, and a writing module; The viewing return module is used to respond to a viewing request received from a web page, perform a search according to the viewing request, and return the search result to the interface of the web page; wherein the viewing request includes a viewing request for device information and a viewing request for device upgrade management tasks; The single upgrade management module is used to create a single upgrade management task in response to receiving a single upgrade management task for a device from a webpage, and write the created single upgrade management task into an upgrade task database; The batch upgrade management module is used for, in response to receiving a batch upgrade management task for a batch of devices from a webpage, retrieving devices that meet preset conditions of the batch upgrade management task, creating an upgrade management task for each device that meets the preset conditions, and writing all the created upgrade management tasks into an upgrade task database; The writing module is used to write the setting information of the upgrade management task into the upgrade task database in response to confirming that there is an upgrade management task created for a single device or a batch of devices.
[0011] In a second aspect, the present invention further proposes a remote upgrade management method for a device, which is applied to an upgrade management server cluster, wherein the upgrade management server cluster establishes a remote network connection with at least one of the devices, and the upgrade management server cluster includes a message server cluster, and the message server cluster is used to provide message services; The remote upgrade management method of the device includes: The message service receives the device information sent by the device through automatic polling, and queries the upgrade task cache center according to the device information whether the corresponding device has an upgrade management task; wherein the device information includes the model, system version information and system operation parameters of the device, and the upgrade management task includes a system cloud upgrade task and a system parameter update task; If it is confirmed that there is a system cloud upgrade task, the message service sends the upgrade information to the device, so that the device performs the system cloud upgrade according to the received upgrade information; If it is confirmed that there is a task to update the system parameters, the message service sends parameter information to the device so that the device updates the system parameters according to the received parameter information.
[0012] In a third aspect, the present invention further provides an electronic device, comprising: one or more processors; a memory having one or more programs stored therein; When the one or more programs are executed by the one or more processors, the one or more processors implement the remote upgrade management method as described above.
[0013] In a fourth aspect, the present invention further proposes a computer-readable storage medium, on which a computer program is stored; wherein the computer program implements the remote upgrade management method as described above when executed by a processor.
[0014] Compared with the prior art, the beneficial effects of the present invention are: a remote upgrade management system, a remote upgrade management method, an electronic device and a computer-readable storage medium for a device, comprising an upgrade management server cluster and at least one of the devices, wherein the upgrade management server cluster and the device establish a remote network connection, wherein the upgrade management server cluster comprises a message server cluster, wherein the message server cluster is used to provide a message service; wherein the message service receives device information sent by the device in an automatic polling manner, and queries the upgrade task cache center according to the device information whether the corresponding device has an upgrade management task; if it is confirmed that there is a system cloud upgrade task, the message service sends the upgrade information to the device so that the device performs a system cloud upgrade according to the received upgrade information; if it is confirmed that there is a system parameter update task, the message service sends the parameter information to the device so that the device updates the system parameters according to the received parameter information. Wherein, the device information comprises the model, system version information and system operation parameters of the device, and the upgrade management task comprises a system cloud upgrade task and a system parameter update task. It can be seen that the remote upgrade management system, remote upgrade management method, electronic device and computer-readable storage medium of the device, by allowing the device to use automatic polling to send device information to replace the terminal user's manual query of device upgrade information operation, and by allowing the message service to send upgrade information to the device to replace the terminal user's manual initiation of system cloud upgrade operation and by allowing the message service to send parameter information to the device to replace the terminal user's manual initiation of updating system parameters. In this way, the shortcomings of the existing cloud upgrade system that is too dependent on the manual operation of the terminal user when performing system cloud upgrades and remote parameter updates on the device are overcome, and the automation of device system cloud upgrades and system parameter updates is realized, the upgrade and update efficiency of the device is improved, the terminal users are liberated, and the pressure of equipment after-sales work is relieved, and the user experience is good. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings: Figure 1 An architectural diagram of the existing camera security software cloud upgrade system; Figure 2 It is a structural schematic diagram of a first embodiment of a remote upgrade management system for equipment of the present invention; Figure 3 A schematic diagram of the structure of a second embodiment of a remote upgrade management system for equipment of the present invention; Figure 4 This is an architecture diagram of a remote upgrade management system for a device of the present invention; Figure 5 A flow chart of a remote upgrade management system for a device of the present invention; Figure 6 A schematic diagram of a flow chart of a remote upgrade management method for a device of the present invention; Figure 7 A schematic diagram of the structure of an electronic device in a hardware operating environment involved in an embodiment of the present invention; The accompanying drawings are as follows: 10-upgrade management server cluster, 11-message server cluster, 111-query upgrade module, 112-query update module, 113-storage module, 114-sending module, 12-storage server cluster, 13-instruction processing server cluster, 131-device information update instruction processing module, 132-device upgrade task check instruction processing module, 1321-device upgrade task check instruction first processing unit, 1322-device upgrade task check instruction second processing unit, 133-new device matching upgrade task instruction processing module, 134-device update system parameter execution result instruction processing module, 14-background data server cluster, 141-view return module, 142-single upgrade management module, 143-batch upgrade management module, 144-write module, 21-upgrade task cache center, 22-upgrade task database, 23-device information database, 30-device. DETAILED DESCRIPTION
[0016] The scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0017] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly. In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0018] See also Figure 2 As shown, it is a structural diagram of the first embodiment of the remote upgrade management system for equipment of the present invention.
[0019] In this embodiment, the remote upgrade management system of the device includes an upgrade management server cluster 10 and at least one of the devices 30, the upgrade management server cluster 10 and the device 30 establish a remote network connection, the upgrade management server cluster 10 includes a message server cluster 11, and the message server cluster 11 includes a query upgrade module 111 and a query update module 112; The query upgrade module 111 is used to, in response to receiving device information sent by the device 30 through automatic polling, query the upgrade task cache center 21 according to the device information whether the corresponding device 30 has an upgrade management task; if it is confirmed that there is a system cloud upgrade task, send the upgrade information to the device 30, so that the device 30 performs a system cloud upgrade according to the received upgrade information; The query update module 112 is used for, in response to receiving the device information sent by the device 30 in an automatic polling manner, querying the upgrade task cache center 21 whether the corresponding device 30 has an upgrade management task according to the device information; if it is confirmed that there is a system parameter update task, sending parameter information to the device 30, so that the device 30 updates the system parameters according to the received parameter information; The device information includes the model, system version information and system operation parameters of the device 30, and the upgrade management task includes a system cloud upgrade task and a system parameter update task.
[0020] Specifically, the device 30 is a security device, such as a camera. The camera needs to implement a system cloud upgrade (cloud upgrade of a device refers to the process of remotely upgrading and updating the device's system through a cloud service. In a cloud upgrade system, the device can communicate with a cloud server to obtain the latest software version or parameter information, and perform corresponding upgrade and update operations) to ensure that its software and firmware are always kept up to date and provide the most comprehensive functions. A system cloud upgrade task is a cloud upgrade task for the system software version. By applying the remote upgrade management system of the device of an embodiment of the present invention, camera manufacturers can remotely manage and update the camera's software in batches without the need for manual intervention by end users, thereby improving the efficiency and convenience of device management and reducing maintenance costs, thereby improving the reliability of the device 30 and the user experience.
[0021] Specifically, a server cluster is a collection of multiple servers connected together through a network, working together to provide higher performance, reliability and scalability. In situations where high availability, load balancing, scalability and parallel processing are required, it is more appropriate to use a server cluster rather than a single server. Through technologies such as failover, load balancing and dynamic expansion, the server cluster can improve the overall performance and availability of the system and meet the needs of large-scale applications and services. The upgrade management server cluster 10 is a server cluster responsible for the upgrade management of the device.
[0022] Specifically, the model of the device 30 is used to reflect the hardware configuration, functional characteristics and production batch information of the device 30, which helps to distinguish different types of devices 30. The system version information is used to reflect the system version of the current device 30. The system operating parameters are used to reflect the operating parameters of the system software of the current device 30. By comparing the received device information with the latest system version and the latest system parameters of the corresponding device 30 stored in the upgrade task cache center 21, it can be clear whether the current device 30 needs to perform a system cloud upgrade or update the system parameters. The upgrade management task includes a system cloud upgrade task and an update system parameter task.
[0023] Specifically, the device 30 can automatically start the polling mechanism to send device information to the upgrade management server cluster 10 when it is turned on. For example, the device 30 polls and reports the device information every 5 minutes after it is turned on by default. The device 30 reports the device information regularly by automatic polling, which facilitates the upgrade management server cluster 10 to monitor and manage the system version of the device 30. Of course, the device 30 can also set a startup mechanism, such as starting the automatic polling mechanism once a preset startup instruction is received after startup, or starting the automatic polling mechanism regularly. The specific method used to start the automatic polling mechanism can be determined according to the hardware conditions of the device 30 itself and the specific usage environment.
[0024] Specifically, the real-time upgrade and update of the camera's system software version and system parameters is to keep the camera's performance, functions and security up to date. Real-time upgrades and updates of the camera can optimize performance, add new functions, fix security vulnerabilities, improve device stability, and ensure compatibility with new technologies and standards. Through upgrades and updates, the camera can adapt to changing needs and environments, provide a better user experience, and ensure the security and reliability of the device 30.
[0025] Compared with the prior art, the remote upgrade management system of the equipment in the embodiment of the present invention allows the device 30 to use automatic polling to send device information to replace the terminal user's manual query of device upgrade information operation, and allows the message service to send upgrade information to the device 30 to replace the terminal user's manual initiation of system cloud upgrade operation and allows the message service to send parameter information to the device 30 to replace the terminal user's manual initiation of updating system parameters. In this way, the shortcomings of the existing cloud upgrade system that relies too much on manual operation of the terminal user when performing system cloud upgrade and remote parameter update on the device 30 are overcome, and the automation of device system cloud upgrade and system parameter update is realized, thereby improving the upgrade and update efficiency of the device 30, liberating the terminal users while alleviating the pressure of after-sales work of the device 30, and providing a good user experience.
[0026] See also Figure 3 As shown, it is a structural diagram of the second embodiment of the remote upgrade management system for equipment of the present invention.
[0027] It should be noted that the message service is mainly used to interact with the device 30, including extracting device information, retrieving the upgrade management tasks of the device 30 and replying to the device 30, and sending instructions. Its characteristics are that it can handle a large number of device requests and respond quickly. The information queue is an area for caching intensive device information uploads, connecting to the downstream instruction processing server cluster 13. The upgrade task cache center 21 is an efficient retrieval storage medium based on memory, but the data is only retained in the memory for one day. The storage server cluster 12, also known as UtilERP, is used to provide storage services for installation packages for various types of devices 30 to perform system cloud upgrades.
[0028] It should be noted that the upgrade task cache center 21 is used to temporarily store and manage information related to the upgrade management task to improve the performance and response speed of the system. It can help the system quickly access and process the upgrade management tasks that need to be executed, reduce frequent access to the storage server cluster 12, and improve the efficiency of the system. In addition, the upgrade task cache center 21 can also cache task information for only a period of time (such as one day) so that the system can quickly respond to the upgrade management request of the device 30 and update the task status in time. The upgrade task database 22 is used to store and manage the upgrade management task information of the device 30, including cloud upgrade tasks and system parameter update tasks. Through the upgrade task database 22, the system can track the system cloud upgrade status and system parameter update status of the device 30, record the task execution results, and provide query and monitoring functions for operation and maintenance personnel. The device information database 23 is used to store and manage basic information of the device 30, such as device model, system version, system operating parameters, user-set language, etc. This information is crucial for the management, monitoring and upgrade of the device 30, and can help the system better understand the status and needs of the device 30, thereby providing more accurate services and support. The upgrade task cache center 21, the upgrade task database 22, and the device information database 23 can exist as nodes in the upgrade management server cluster 10, or can exist independently of the upgrade management server cluster 10. The specific form adopted depends on the design and requirements of the system. In some cases, the upgrade task cache center 21, the upgrade task database 22, and the device information database 23 can be designed as separate components independent of the upgrade management server cluster 10 to provide more flexible management and expansion options.
[0029] Compared with the first embodiment of the remote upgrade management system for devices, this embodiment adds a storage server cluster 12, an instruction processing server cluster 13 and a background data server cluster 14.
[0030] The upgrade management server cluster 10 also includes a storage server cluster 12; The storage server cluster 12 is used to provide a system installation package storage service so that the device 30 can download the installation package from the system installation package storage service to perform a system cloud upgrade according to the received upgrade information.
[0031] In some embodiments of the present application, the upgrade management server cluster 10 further includes an instruction processing server cluster 13, the instruction processing server cluster 13 is used to provide instruction processing services, and the message server cluster 11 further includes a storage module 113 and a sending module 114; The storage module 113 is used to store the received device information into an information queue; The sending module 114 is used to take out the device information from the information queue for processing according to the preset logic, and send the corresponding instruction to the instruction processing server cluster 13 according to the processing result, so that the instruction processing server cluster 13 processes the corresponding instruction; The corresponding instructions include device information update instructions, device upgrade task check instructions, new device matching upgrade task instructions and device update system parameter execution result instructions.
[0032] In some embodiments of the present application, the instruction processing server cluster 13 includes a device information update instruction processing module 131; The device information update instruction processing module 131 is used to obtain device information according to the device information package contained in the device information update instruction in response to receiving the device information update instruction; retrieve the device information in the device information database 23, and if it is confirmed that the device information is recorded for the first time, create a new device matching upgrade task instruction; if it is found that the system version information corresponding to the device information has changed, update the upgrade task status result in the upgrade task database 22.
[0033] In some embodiments of the present application, the instruction processing server cluster 13 includes an equipment upgrade task check instruction processing module 132; the equipment upgrade task check instruction processing module 132 includes an equipment upgrade task check instruction first processing unit 1321 and an equipment upgrade task check instruction second processing unit 1322; The device upgrade task check instruction first processing unit 1321 is used to obtain device information according to the device upgrade task check instruction, and query the upgrade task database 22 whether the device 30 corresponding to the device information has a system cloud upgrade task; if yes, upload the system installation package to the upgrade task cache center 21; The second processing unit 1322 of the device upgrade task check instruction is used to obtain device information according to the device upgrade task check instruction, and query in the upgrade task database 22 whether the device 30 corresponding to the device information has a task to update system parameters; if so, upload the system parameter information to the upgrade task cache center 21.
[0034] Specifically, the system installation package is stored in the storage server cluster 12. When the device 30 confirms that the system software needs to be upgraded in the cloud, it can choose to download the installation package from the system installation package storage service for system cloud upgrade, or it can choose to obtain the installation package from the upgrade task cache center 21 for system cloud upgrade. The specific form depends on the frequency of the system software cloud upgrade of the device 30 and the size of the installation package.
[0035] Specifically, the system parameter information is stored in the storage server cluster 12. When the device 30 confirms that the system parameters need to be updated, it can choose to download the system parameter information from the storage server cluster 12 to update the system parameters, or it can choose to obtain the system parameter information from the upgrade task cache center 21 to update the system parameters. Which form is used depends on the design and requirements of the system.
[0036] In some embodiments of the present application, the instruction processing server cluster 13 includes at least one of a new device matching upgrade task instruction processing module 133 and a device update system parameter execution result instruction processing module 134; The new device matching upgrade task instruction processing module 133 is used to obtain device information according to the new device matching upgrade task instruction, and match whether there is a batch system cloud upgrade task in progress according to the device information; if so, create a system cloud upgrade task for the device 30 and write the system cloud upgrade task into the upgrade task database 22, and upload the created system cloud upgrade task to the upgrade task cache center 21; The device update system parameter execution result instruction processing module 134 is used to obtain device information according to the device update system parameter execution result instruction, and write the device update system parameter execution result corresponding to the device information into the upgrade task database 22.
[0037] Specifically, the device information update instruction processing module 131 can update the device information package, check the device records in the device information database 23, create new device matching upgrade task instructions or update the upgrade task status results according to the situation to ensure the accuracy and completeness of the device information and provide accurate basic information for the upgrade management task of the device 30.
[0038] Specifically, through the device upgrade task check instruction processing module 132, it is possible to query whether the device 30 has a system cloud upgrade task or a system parameter update task in the upgrade task database 22. If so, it is uploaded to the upgrade task cache center 21 to ensure that the device 30 can obtain the upgrade management tasks that need to be executed in a timely manner, thereby improving the response speed and efficiency of the upgrade management tasks.
[0039] Specifically, through the new device matching upgrade task instruction processing module 133, the ongoing batch upgrade management task can be matched according to the model parameters of the new device. If there is a match, a system cloud upgrade task is created and stored in the upgrade task database 22, and uploaded to the upgrade task cache center 21 at the same time to ensure that the new device can participate in the batch upgrade management task in a timely manner, thereby improving the coverage and efficiency of the upgrade management task. The new device matching upgrade task instruction can be created and issued by the new device matching upgrade task instruction processing module 133 according to the device information matching result, or it can be created and issued by the device information update instruction processing module 131 on the premise of confirming that the device information is recorded for the first time.
[0040] Specifically, through the device update system parameter execution result instruction processing module 134, the execution result of the device update system parameter can be written into the task execution result of the corresponding device 30 in the upgrade task database 22 for query by the operation and maintenance personnel, so as to record the execution status of the device 30 update system parameters in real time, provide the operation and maintenance personnel with real-time task execution results, and help monitor the progress of the device 30 upgrade management.
[0041] These four processing modules work together to form the instruction processing flow in the information queue. By processing device information and upgrade management tasks, they realize functions such as device 30 information update, upgrade management task inspection, new device matching upgrade tasks, and updating system parameter execution results, thereby effectively managing and executing device 30 upgrade management tasks and improving system operation efficiency and management convenience.
[0042] In some embodiments of the present application, the upgrade management server cluster 10 further includes a background data server cluster 14, and the background data server cluster 14 includes at least one of a viewing and returning module 141, a single upgrade management module 142, a batch upgrade management module 143, and a writing module 144; The viewing return module 141 is used to respond to receiving a viewing request from a web page, perform a search according to the viewing request, and return the search result to the interface of the web page; The viewing request includes a viewing request for device information and a viewing request for device upgrade management tasks; The single upgrade management module 142 is used to create a single upgrade management task in response to receiving a single upgrade management task for a device from a webpage, and write the created single upgrade management task into the upgrade task database 22; The batch upgrade management module 143 is used for, in response to receiving a batch upgrade management task for batch devices from a webpage, retrieving devices that meet the preset conditions of the batch upgrade management task, creating an upgrade management task for each device 30 that meets the preset conditions, and writing all the created upgrade management tasks into the upgrade task database 22; The writing module 144 is used to write the setting information of the upgrade management task into the upgrade task database 22 in response to confirming that there is an upgrade management task created for a single device or a batch of devices.
[0043] Specifically, the upgrade task database 22 is used for long-term storage and management of the upgrade management task information of the device 30, including the task status, execution results and historical records. The data is persistent and reliable, and is suitable for storing task information that needs to be retained for a long time. The upgrade task cache center 21 is used to temporarily store and manage immediate upgrade management task information, improve the response speed and efficiency of the system, and the data storage period is relatively short, which can reduce the frequent access to the storage server cluster 12. The two play different roles in the system, complement each other, and jointly support the upgrade management function of the device 30.
[0044] Specifically, the viewing request from the web page is the viewing request from the operation and maintenance personnel. Through the viewing return module 141, the operation and maintenance personnel can timely understand the model, system version information and system operation parameter information of the device 30, and provide the necessary data basis for the management and maintenance of the device 30. Through the single upgrade management module 142, the operation and maintenance personnel can create a system cloud upgrade task or set an update system parameter task for a single device through the web page to achieve personalized upgrade management task settings for a single device, meet the needs of specific devices, and improve the flexibility and personalized management of tasks. Through the batch upgrade management module 143, after receiving the batch operation and maintenance task operation created by the operation and maintenance personnel, retrieve the devices 30 that meet the system cloud upgrade or update system parameter task conditions, and create a corresponding system cloud upgrade or update parameter task for each device that meets the conditions, and store the task in the upgrade task database 22 to reduce manual intervention and improve task execution efficiency and accuracy. The preset conditions include the model, system version information and system operation parameters of the device 30. Through the writing module 144, the setting information of the upgrade management task can be written into the upgrade task database 22 to help the operation and maintenance personnel monitor the upgrade status of the device 30 in real time, promptly understand the progress and results of task execution, provide data support for decision-making and adjustment, and ensure the normal operation and update maintenance of the device 30.
[0045] See also Figure 4 and Figure 5 As shown, it is an architecture diagram and a flow chart of the remote upgrade management system of the equipment of the present invention.
[0046] The remote upgrade management system of the device of the present invention eliminates the upgrade management operation of the terminal user. The operation and maintenance personnel actively operate the device to perform system cloud upgrades and system parameter updates, and the device is directly connected to the upgrade management server cluster 10. After the device is connected to the upgrade management server cluster 10, it is first necessary to solve the information interaction pressure between the massive devices and the upgrade management server cluster 10. Then the message service puts the device information into the information queue, the upgrade task cache center 21 processes the system cloud upgrade task and the system parameter update task, the information queue sends the device update instruction and the upgrade task check instruction, and finally the operation and maintenance personnel manage the device upgrade management task through the web page, and the background data service provides support. The above implementation process is described in detail below. Specifically: Part 1: Devices and Message Services Device polling sends device information to the message service, which includes system version information, model, user-selected language, and other operating parameters. After receiving the device interaction information, the message service puts the device information into the information queue, and accesses the upgrade task cache center 21 to check whether there is a system cloud upgrade task or a system parameter update task. If so, the upgrade information or parameter information is replied to the device. The device downloads the installation package for system cloud upgrade or modifies and updates the system parameters according to the information replied by the message server cluster 11.
[0047] Among them, after the device information is placed in the information queue, four instructions will be sent according to the device information, namely: 1. Device information update instruction; 2. Device upgrade task check instruction; 3. New device matching upgrade task instruction; 4. Device update system parameter execution result instruction.
[0048] The second part: message queue and instruction processing service 1. Device information update instructions The device information update instruction contains a device information package. When the instruction service is processed, when the device information update instruction is obtained in the information queue, the device information package will be opened and a request will be sent to the device information database 23 to check and update the device information. When the device information database 23 finds that the device is recorded for the first time, it will create a new device matching upgrade task instruction; when it finds that the device system version information has changed, it will update the upgrade management task status result in the upgrade task database 22.
[0049] 2. Equipment upgrade task check instructions When the instruction service is processed, it is queried whether the corresponding device has a system cloud upgrade task or a system parameter update task in the upgrade task database 22 . If so, the upgrade management task is uploaded to the upgrade task cache center 21 .
[0050] 3. New equipment matching upgrade task instructions When the instruction service is processed, the model parameters of the device are used to match whether there is a batch upgrade management task in progress. If so, an upgrade management task is created for the device and stored in the upgrade task database 22, and the created upgrade management task is uploaded to the upgrade task cache center 21.
[0051] 4. Device update system parameter execution result instruction When the instruction service is processed, the execution result of the device update system parameter is written into the device task execution result corresponding to the upgrade task database 22, and provided to the operation and maintenance personnel for query.
[0052] The third part: operation and maintenance personnel and background data services When the operation and maintenance personnel view the device model, system version and system operation parameter information through the web page, the background data server cluster 14 provides data support. The operation and maintenance personnel can also set the specified device or a specific model of the device, create a batch cloud upgrade task or a batch update system parameter task, and the installation package used for the system cloud upgrade is obtained from UtilERP. After receiving the operation and maintenance personnel's operation to create a batch upgrade management task, the background data server cluster 14 will search for devices that meet the system cloud upgrade or update system parameter tasks, and create a system cloud upgrade or update system parameter task for each device that meets the task, and store it in the upgrade task database 22.
[0053] When the operation and maintenance personnel create a system cloud upgrade task or a system parameter update task for a single device through a web page, the background data server cluster 14 will store the setting information in the upgrade task database 22 .
[0054] When the operation and maintenance personnel view the upgrade status of batch or single system cloud upgrade tasks or system parameter update tasks through the web page, the background data server cluster 14 will retrieve the upgrade database to provide data support.
[0055] The remote upgrade management system of the device in the embodiment of the present invention changes the current situation in which the system cloud upgrade and remote parameter update settings of the device are too dependent on the manual operation of the terminal user in the existing upgrade technology. The remote upgrade management system makes the system cloud upgrade and system parameter update of the device more convenient, automated and visual, while overcoming the bottleneck of the existing upgrade technology in processing a large number of intensive information interactions of devices, and improving the efficiency of after-sales work of camera products.
[0056] The currently known cloud upgrade system is to upload the upgrade software package of each camera model and the parameters such as the precondition model and basic version required for the camera upgrade to the server for the device to query, and then manually upgrade the device software version or set the system parameters. However, this existing technology has a series of defects, including: 1. Highly dependent on end users’ manual upgrade of the device; 2. There is no traceability record of device upgrade results; 3. It is not possible to specify a large number of devices for system software version upgrade; 4. The after-sales service pressure is high, and the upgrade operation requires one-on-one guidance for users; 5. Unable to update and set parameters in real time during device system operation.
[0057] The remote upgrade management system of the device in the embodiment of the present invention overcomes the above defects and achieves the following effects, including: 1. The camera can automatically complete the system cloud upgrade without the end user logging into the computer or App; 2. The camera upgrade results can be recorded retroactively, and the camera can be upgraded again if the upgrade fails; 3. All camera system information can be queried, and system cloud upgrade tasks and system parameter update tasks for large quantities of cameras can be set according to model, basic software version, language or specific conditions; 4. No need to provide one-on-one guidance to users, after-sales service can directly upgrade the user's camera system software version through the platform; 5. The parameters of the equipment system operation can be updated and set in real time.
[0058] The following is an embodiment of the remote upgrade management method of the device provided by the present invention. The embodiment of the remote upgrade management method of the device and the embodiment of the remote upgrade management system of the device described above are of the same concept. For details not described in detail in the embodiment of the remote upgrade management method of the device, reference can be made to the embodiment of the remote upgrade management system of the device described above.
[0059] See also Figure 6 As shown, it is a flow chart of the remote upgrade management method of the device of the present invention.
[0060] In this embodiment, the remote upgrade management method of the device is applied to an upgrade management server cluster 10, the upgrade management server cluster 10 and at least one of the devices 30 establish a remote network connection, the upgrade management server cluster 10 includes a message server cluster 11, and the message server cluster 11 is used to provide message services; The remote upgrade management method of the device includes: Step S100: the message service receives the device information sent by the device in an automatic polling manner, and queries the upgrade task cache center 21 according to the device information whether the corresponding device has an upgrade management task.
[0061] The device information includes the model, system version information and system operation parameters of the device, and the upgrade management task includes a system cloud upgrade task and a system parameter update task.
[0062] Step S201: If it is confirmed that there is a system cloud upgrade task, the message service sends upgrade information to the device so that the device performs a system cloud upgrade according to the received upgrade information.
[0063] Step S202: If it is confirmed that there is a task to update the system parameters, the message service sends parameter information to the device so that the device updates the system parameters according to the received parameter information.
[0064] It should be noted that there is no order of precedence between step S201 and step S202, and either one of them can be implemented or both can be implemented in parallel. Step S201 and step S202 are processing steps for the case where the device 30 has an upgrade management task. Then, in the case that the device 30 does not have an upgrade management task, the message server cluster 11 responds to the confirmation that the device does not have an upgrade management task, and sends an upgrade management task check instruction message to the information queue to trigger the instruction processing server cluster 13 to check whether the device has an upgrade management task; if so, it is uploaded to the upgrade task cache center 21, so that the device can directly obtain the upgrade management task at the next automatic polling; if not, the process ends. Such a design can quickly respond to the upgrade management request of the device, achieve traffic peak shaving, avoid excessive network connection, reduce the risk of network disconnection, and at the same time reduce the bandwidth pressure of the upgrade management server cluster 10.
[0065] Compared with the prior art, the remote upgrade management method for the device of the embodiment of the present invention effectively overcomes the drawback of the existing cloud upgrade system that relies too much on manual operation of the end user in the process of performing system cloud upgrades and updating system parameters of the device, thereby improving the user experience. Through the automated batch task creation and device matching mechanism, manual intervention and operation are reduced, and the execution efficiency and accuracy of the upgrade management tasks are improved. In addition, through the real-time monitoring and data support provided by the background data service, operation and maintenance personnel can timely understand the upgrade management status of the equipment, quickly respond to and handle abnormal situations, and ensure the normal operation and update maintenance of the equipment. The improvement of the remote upgrade management method of the device not only improves the automation level and management efficiency of the system, but also improves the user experience, providing a more convenient and reliable solution for equipment upgrade management.
[0066] The following are embodiments of the electronic device provided by the present invention. The embodiments of the electronic device and the embodiments of the remote upgrade management system and the remote upgrade management method of the device described above are of the same concept. For details not described in detail in the embodiments of the electronic device, reference can be made to the embodiments of the remote upgrade management system and the remote upgrade management method of the device described above.
[0067] See also Figure 7As shown, it is a schematic diagram of the structure of an electronic device in a hardware operating environment involved in an embodiment of the present invention.
[0068] In this embodiment, an electronic device includes: One or more processors 1001; Memory 1005, on which one or more programs are stored; When the one or more programs are executed by the one or more processors 1001, the one or more processors 1001 implement the remote upgrade management method as described above.
[0069] The electronic device of the embodiment of the present invention can be a computing device such as a desktop computer, a notebook, a palm computer, and a server. Figure 7 As shown, the electronic device may include: a processor 1001 (such as a CPU), a network interface 1004, a user interface 1003, a memory 1005 and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input module, such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0070] Those skilled in the art will understand that Figure 7 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0071] like Figure 7 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module and a computer program.
[0072] exist Figure 7 In the electronic device shown, the network interface 1004 is mainly used for network data communication. The processor 1001 can be used to call the computer program stored in the memory 1005, and the computer program is called and executed by the processor 1001 to implement the steps of the above-mentioned remote upgrade management method of the device.
[0073] The following is an embodiment of the computer-readable storage medium provided by the present invention. The embodiment of the computer-readable storage medium and the embodiments of the remote upgrade management system of the device, the remote upgrade management method of the device, and the electronic device described above belong to the same concept. For details not described in detail in the embodiment of the computer-readable storage medium, reference can be made to the embodiments of the remote upgrade management system of the device, the remote upgrade management method of the device, and the electronic device described above.
[0074] In this embodiment, a computer-readable storage medium is provided, on which a computer program is stored; wherein the computer program, when executed by a processor, implements the remote upgrade management method as described above.
[0075] Since the electronic device and computer-readable storage medium of the present invention can both realize the functions of the remote upgrade management system and the remote upgrade management method of the above-mentioned device, they at least have all the beneficial effects brought by the technical solutions of the embodiments of the remote upgrade management system and the remote upgrade management method of the above-mentioned device, and will not be described one by one here.
[0076] The above description is only a partial or preferred embodiment of the present invention. Neither the text nor the drawings can limit the scope of protection of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the overall concept of the present invention, or direct / indirect application in other related technical fields are included in the scope of protection of the present invention.
[0077] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0078] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0079] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0080] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0081] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A remote upgrade management system for equipment, characterized in that: It includes an upgrade management server cluster and at least one of the devices, wherein the upgrade management server cluster and the device establish a remote network connection, wherein the upgrade management server cluster includes a message server cluster, and the message server cluster includes an upgrade query module and an update query module; The query upgrade module is used to query whether the corresponding device has an upgrade management task in the upgrade task cache center according to the device information in response to receiving the device information sent by the device through automatic polling; If it is confirmed that there is a system cloud upgrade task, the upgrade information is sent to the device, so that the device performs the system cloud upgrade according to the received upgrade information; The query update module is used to query whether the corresponding device has an upgrade management task in the upgrade task cache center according to the device information in response to receiving the device information sent by the device through automatic polling; If it is confirmed that there is a task to update the system parameters, the parameter information is sent to the device so that the device updates the system parameters according to the received parameter information; The device information includes the model, system version information and system operation parameters of the device, and the upgrade management task includes a system cloud upgrade task and a system parameter update task.
2. The remote upgrade management system for equipment according to claim 1, characterized in that: The upgrade management server cluster also includes a storage server cluster; The storage server cluster is used to provide a system installation package storage service so that the device can download the installation package from the system installation package storage service to perform a system cloud upgrade according to the received upgrade information.
3. The remote upgrade management system for equipment according to claim 1, characterized in that: The upgrade management server cluster also includes an instruction processing server cluster, which is used to provide instruction processing services, and the message server cluster also includes a storage module and a sending module; The storage module is used to store the received device information into an information queue; The sending module is used to take out the device information from the information queue for processing according to the preset logic, and send the corresponding instruction to the instruction processing server cluster according to the processing result, so that the instruction processing server cluster processes the corresponding instruction; The corresponding instructions include device information update instructions, device upgrade task check instructions, new device matching upgrade task instructions and device update system parameter execution result instructions.
4. The remote upgrade management system for equipment according to claim 3, characterized in that: The instruction processing server cluster includes a device information update instruction processing module; The device information update instruction processing module is used to obtain device information according to the device information package contained in the device information update instruction in response to receiving the device information update instruction; retrieve the device information in the device information database, and if it is confirmed that the device information is recorded for the first time, create a new device matching upgrade task instruction; if it is found that the system version information corresponding to the device information has changed, update the upgrade task status result in the upgrade task database.
5. The remote upgrade management system for equipment according to claim 3, characterized in that: The instruction processing server cluster includes an equipment upgrade task check instruction processing module; the equipment upgrade task check instruction processing module includes an equipment upgrade task check instruction first processing unit and an equipment upgrade task check instruction second processing unit; The device upgrade task check instruction first processing unit is used to obtain device information according to the device upgrade task check instruction, and query in the upgrade task database whether the device corresponding to the device information has a system cloud upgrade task; If yes, upload the system installation package to the upgrade task cache center; The second processing unit of the device upgrade task check instruction is used to obtain device information according to the device upgrade task check instruction, and query in the upgrade task database whether the device corresponding to the device information has a task to update system parameters; If yes, the system parameter information is uploaded to the upgrade task cache center.
6. The remote upgrade management system for equipment according to claim 3, characterized in that: The instruction processing server cluster includes at least one of a new device matching upgrade task instruction processing module and a device update system parameter execution result instruction processing module; The new device matching upgrade task instruction processing module is used to obtain device information according to the new device matching upgrade task instruction, and match whether there is a batch system cloud upgrade task currently in progress according to the device information; If yes, then create a system cloud upgrade task for the device and write the system cloud upgrade task into the upgrade task database, and upload the created system cloud upgrade task to the upgrade task cache center; The device update system parameter execution result instruction processing module is used to obtain device information according to the device update system parameter execution result instruction, and write the device update system parameter execution result corresponding to the device information into the upgrade task database.
7. The remote upgrade management system for equipment according to claim 1, characterized in that: The upgrade management server cluster further includes a background data server cluster, and the background data server cluster includes at least one of a viewing return module, a single upgrade management module, a batch upgrade management module, and a writing module; The viewing return module is used to respond to a viewing request received from a web page, perform a search according to the viewing request, and return the search result to the interface of the web page; wherein the viewing request includes a viewing request for device information and a viewing request for device upgrade management tasks; The single upgrade management module is used to create a single upgrade management task in response to receiving a single upgrade management task for a device from a webpage, and write the created single upgrade management task into an upgrade task database; The batch upgrade management module is used for, in response to receiving a batch upgrade management task for a batch of devices from a webpage, retrieving devices that meet preset conditions of the batch upgrade management task, creating an upgrade management task for each device that meets the preset conditions, and writing all the created upgrade management tasks into an upgrade task database; The writing module is used to write the setting information of the upgrade management task into the upgrade task database in response to confirming that there is an upgrade management task created for a single device or a batch of devices.
8. A remote upgrade management method for a device, characterized in that: Applied to an upgrade management server cluster, the upgrade management server cluster and at least one of the devices establish a remote network connection, the upgrade management server cluster includes a message server cluster, and the message server cluster is used to provide message services; The remote upgrade management method of the device includes: The message service receives the device information sent by the device through automatic polling, and queries the upgrade task cache center according to the device information whether the corresponding device has an upgrade management task; wherein the device information includes the model, system version information and system operation parameters of the device, and the upgrade management task includes a system cloud upgrade task and a system parameter update task; If it is confirmed that there is a system cloud upgrade task, the message service sends the upgrade information to the device, so that the device performs the system cloud upgrade according to the received upgrade information; If it is confirmed that there is a task to update the system parameters, the message service sends parameter information to the device so that the device updates the system parameters according to the received parameter information.
9. An electronic device, characterized in that: include: one or more processors; a memory having one or more programs stored therein; When the one or more programs are executed by the one or more processors, the one or more processors implement the remote upgrade management method as claimed in claim 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program; wherein, when the computer program is executed by a processor, the remote upgrade management method according to claim 8 is implemented.
Citation Information
Patent Citations
Equipment remote upgrading method
CN115426261A
Device upgrade control method and apparatus, and computer device and storage medium
WO2022067509A1
