A robot management system and method
The software version information of the robots in the hospital is managed uniformly through the cloud server and agent robots, and the target software template is used to determine the update command, which solves the problems of low robot software upgrade efficiency and high error rate, and achieves efficient remote updates and simplified operation processes.
Patent Information
- Application Number
- CN202110680703.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-18
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-06-18
AI Technical Summary
During the robot software upgrade and version update process in the hospital, due to network isolation and hardware configuration differences, the upgrade efficiency is low, the error probability is high, and manual intervention is required, which increases the burden on staff.
Design a robot management system that uniformly manages software version information through communication between cloud servers, agent robots, and target robots. It uses target software templates and current software version information to determine update commands to achieve centralized management and update of software versions.
It simplifies the upgrade process, improves work efficiency, reduces the number of manual operations, reduces the probability of errors, enables remote updates of robot software, and reduces the labor intensity of on-site staff.
Smart Images

Figure CN113326053B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of communication technology, and in particular, to a robot management system and method. Background Art
[0002] At present, robots are usually used to perform tasks in hospitals; however, when problems occur in the software of the robot and a hot update is required or the robot software needs to be upgraded, since the various robots in the hospital are running in the local area network of the hospital and are scheduled by the scheduling server, the robot itself does not access the Internet. Only the scheduling server itself can directly connect to the Internet, and the scheduling server often has a multi-layer network address translation (Network Address Translation) network structure isolation. Due to network conditions, developers / deployers cannot use conventional remote desktop and other tools to directly complete the version upgrade operation, and often need to send staff to the hospital site to upgrade the software. This greatly reduces the work efficiency of the staff and increases the repair time of known problems. In addition, due to too many manual intervention steps, the probability of service upgrade errors is increased.
[0003] In addition, due to the differences in the hardware configurations of robots actually produced, the software service versions supported by robots of the same type but with different configurations will also have different maximum version restrictions, further increasing the complexity of configuring each service and version on the robot, and also increasing the probability of upgrade errors. Summary of the invention
[0004] The present invention provides a robot management system and method to achieve accurate management of robots.
[0005] In a first aspect, an embodiment of the present invention provides a robot management system, the robot management system comprising: a cloud server, an agent robot, and at least one target robot;
[0006] The target robot is used to send the current software version information of at least one software service of the target robot to the agent robot;
[0007] The proxy robot is used to send the current software version information and the identity of the target robot to the cloud server;
[0008] The cloud server is used to determine the corresponding target software template according to the identity of the target robot, and determine at least one target software version information according to the target software template and each current software version information;
[0009] The proxy robot is further used to receive a service update command determined by the cloud server according to at least one target software version information, and to instruct the target robot to update the software version through the service update command.
[0010] In a second aspect, an embodiment of the present invention further provides a robot management method, which is executed by a robot management system described in any one of the embodiments of the present invention, and includes:
[0011] The target robot sends the current software version information of at least one software service of the target robot to the agent robot;
[0012] The proxy robot sends the current software version information and the identity of the target robot to the cloud server;
[0013] The cloud server determines the corresponding target software template according to the identity of the target robot, and determines at least one target software version information according to the target software template and each current software version information;
[0014] The proxy robot also receives a service update command determined by the cloud server according to at least one target software version information, and instructs the target robot to update the software version through the service update command.
[0015] The embodiment of the present invention provides a robot management system and method, the system includes: a cloud server, an agent robot and at least one target robot, the target robot is used to send the current software version information of at least one software service of the agent robot; the agent robot is used to send each of the current software version information and the identity of the target robot to the cloud server; the cloud server is used to determine the corresponding target software template according to the identity of the target robot, and determine at least one target software version information according to the target software template and each of the current software version information; the agent robot is used to receive the service update command determined by the cloud server according to at least one of the target software version information, and instruct the target robot to update the software version through the service update command. By integrating all the software version information that needs to be updated in the target software template, when the cloud server determines whether the agent robot is to be updated, it can make a unified judgment through the target software template and instruct it to update, so as to avoid multiple operations to upgrade different services when there are too many software services in the target robot, save time, simplify the operation process, and improve work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a schematic diagram of the structure of a robot management system in Embodiment 1 of the present invention;
[0017] Figure 2 This is a display diagram of multiple target software templates in the first embodiment of the present invention;
[0018] Figure 3 It is a schematic diagram of the structure of a robot management system in Embodiment 2 of the present invention;
[0019] Figure 4 This is an example diagram of an implementation of a robot management system in Embodiment 2 of the present invention;
[0020] Figure 5 It is a flow chart of a robot management method in Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings. It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0022] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0023] In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0024] Embodiment 1
[0025] Figure 1 A schematic diagram of the structure of a robot management system provided in the first embodiment of the present application is given, the system comprising: a cloud server 11, an agent robot 12 and at least one target robot 13;
[0026] The target robot 13 is used to send the current software version information of at least one software service of the target robot 13 to the agent robot 12;
[0027] The agent robot 12 is used to send the current software version information and the identity of the target robot 13 to the cloud server 11;
[0028] The cloud server 11 is used to determine the corresponding target software template according to the identity of the target robot, and determine at least one target software version information according to the target software template and each current software version information;
[0029] The agent robot 12 is further used to receive a service update command determined by the cloud server according to at least one target software version information, and instruct the target robot to update the software version through the service update command.
[0030] In this embodiment, the cloud server 11 can be specifically understood as a server platform for data processing; the agent robot 12 can be specifically understood as a robot that can communicate with the cloud server 11. The target robot 13 can be specifically understood as a robot that needs to be managed. The current software version information can be specifically understood as relevant information about the current running version of the software service.
[0031] It should be noted that the target robot 13 in the present application cannot communicate with the cloud server 11, and the proxy robot 12 is connected to the Internet, so it can communicate with the cloud server 11. Therefore, the target robot 13 needs to communicate with the cloud server 11 through the proxy robot 12. A transparent proxy is configured on the proxy robot 12, and a proxy address is configured on the target robot 13 to achieve communication connection between the target robot 13 and the proxy robot 12. There is no difference in the program between the target robot 13 and the proxy robot 12, and there is only a certain difference in configuration, so that the proxy robot 12 can connect to the network and achieve communication with the cloud server 11.
[0032] The target robot 13 and the proxy robot 12 usually need to install multiple software. All software and required configurations are installed through images. The images are managed by a container management module. The container management module can be an application container engine, such as Docker. Docker supports compiling software into an image, and then configuring various software in the image, publishing the image, and other users can directly use this image. This running image is called a container. Both the target robot 13 and the proxy robot 12 include a container management module. The container management module of the target robot 13 obtains the current software version information of each software service installed by itself by receiving an interface call, and then sends each current software version information to the proxy robot 12.
[0033] In this embodiment, the identity identifier can be specifically understood as information that uniquely identifies the identity of the robot.
[0034] The agent robot 12 and the target robot 13 each have an identity that uniquely identifies themselves. After receiving the current software version information sent by the cloud server 11, the agent robot 12 can correspondingly know which target robot 13 sent the current software version information, that is, the identity of the target robot 13. The agent robot 12 sends the current software version information and the identity of the target robot 13 to the cloud server 11.
[0035] In this embodiment, the target software template can be specifically understood as the software update template of the target robot 13, which is used to indicate the template to which version each software service in the target robot 13 needs to be updated. The target software version information can be specifically understood as the version information corresponding to the version to which the software service needs to be updated, such as the version number.
[0036] It should be noted that, due to different requirements caused by different robot hardware configurations or application scenarios, different robots will correspond to different target software templates to achieve unified management of the software services of this target robot 13.
[0037] Specifically, the cloud server 11 stores the target software templates of each target robot 13. After receiving the current software version information and the identity of the target robot 13 sent by the agent robot 12, it performs query and matching based on the identity of the target robot 13 to obtain the target software template corresponding to the identity of the target robot 13. Then, by comparing the software version information in the target software template with the current software version information, it determines the software service that needs to be updated and determines the target software version information indicating which version the software service should be updated to.
[0038] For example, Figure 2 An embodiment of the present invention provides a display diagram of multiple target software templates, wherein the column where Disinfection 1.0 is located is the target software template of the target robot 13 of the Disinfection 1.0 class. The column where Disinfection 2.0 is located is the target software template of the target robot 13 of the Disinfection 2.0 class. Disinfection 1.0 and Disinfection 2.0 are target robots 13 with two different hardware configurations. 2021.01.01 is the software version information that software service A needs to be updated to. 2020.12.01 is the software version information that software service B needs to be updated to. Software service C and software service D are empty, indicating that software service C and software service D are not installed in the target robot 13 of the Disinfection 1.0 class. The information principles in the target software templates corresponding to High Value 1.0, Large Item 1.0 and Large Item 2.0 are the same as the information principles of the target robots 13 of the Disinfection 1.0 and Disinfection 2.0 classes, which will not be repeated here, and those skilled in the art will know.
[0039] When the operation and maintenance personnel configure a robot to a specific model and template version, the cloud server 11 will obtain the required service list (i.e., each software service) and the corresponding version from the corresponding target software template. The deployment personnel only need to manage the update according to the target software template. The cloud server 11 will automatically split it into service and robot bindings, and there is no need to worry about the specific functions of the services within the template.
[0040] After using the template function, after the delivery and deployment personnel have developed a new version, the version list of a series of services is simplified into a target software template corresponding to a specific model of robot, reducing the probability of possible errors. For the deployment personnel, after using the template function, since all software services need to be updated and the update instructions are uniformly determined and issued, there is no need to operate one by one, which further reduces the number of manual operations, and the robot-by-robot service update is simplified to the robot-by-robot update of the corresponding template. In addition, when the software is updated and upgraded through the target software template, the data structure sent and received by the target robot 13 remains consistent, and it is still an operation for a specific service level. The services within the template are split and implemented by the cloud server 11, and the target robot 13 does not need additional processing.
[0041] In this embodiment, the service update command can be specifically understood as a command instructing the target robot 13 to perform software update. The service update command can include information such as which software service is updated, which version of the software service is updated to, and / or the identity of the agent robot 12.
[0042] Specifically, after the cloud server 11 determines the target software version information according to the target software template and each current software version information, it determines one or more software services that need to be operated, and then aggregates and generates a service update command, and sends it to the agent robot 12. The agent robot 12 receives the service update command, forwards the service update command to the corresponding target robot 13, and instructs the target robot 13 to perform a software update. After receiving the service update command, the target robot 13 performs a software update according to the service update command.
[0043] The embodiment of the present invention provides a robot management system, which includes: a cloud server, an agent robot and at least one target robot, the target robot is used to send the current software version information of at least one software service of the agent robot; the agent robot is used to send each current software version information and the identity of the target robot to the cloud server; the cloud server is used to determine the corresponding target software template according to the identity of the target robot, and determine at least one target software version information according to the target software template and each current software version information; the agent robot is also used to receive the service update command determined by the cloud server according to at least one target software version information, and instruct the target robot to update the software version through the service update command. By integrating all the software version information that needs to be updated in the target software template, when the cloud server determines whether the agent robot is to be updated, it can make a unified judgment through the target software template and instruct it to update, so as to avoid multiple operations to upgrade different services when there are too many software services in the target robot, save time, simplify the operation process, and improve work efficiency.
[0044] Embodiment 2
[0045] Figure 3 This is a schematic diagram of a robot management system provided in Embodiment 2 of the present invention. The technical solution of this embodiment is further refined on the basis of the above technical solution, and specifically mainly includes: a cloud server 21, an agent robot 22 and at least one target robot 23.
[0046] The cloud server 21 is also used to receive at least one software template uploaded by a user, and associate each software template uploaded by the user with a corresponding target robot 23 .
[0047] In this embodiment, the user can be a developer who develops software or a deployer. After the developer completes the development and testing of the new version, the new version can be put into use, and then each target robot 23 can implement the corresponding version update. Usually, after a new version is released, the developer forms a target software template for each target robot 23 based on the new version and considering the hardware configuration of different target robots 23. For example, due to hardware limitations, the software service A of the target robot 23-1 can only be updated to version 2.0. Therefore, even if the latest version of software service A is 4.0, the software service A in the target software template is only version 2.0. The cloud server 21 receives one or more software templates uploaded by the user, and associates and stores each software template with the corresponding target robot 23. When uploading a software template, the user needs to inform the cloud server 21 of the target robot 23 corresponding to each software template at the same time.
[0048] Furthermore, the cloud server 21 includes:
[0049] The service determination module 211 is used to determine the software services in the target software template and the software version information corresponding to each of the software services.
[0050] The current version information determination module 212 is used to determine the current software version information corresponding to each of the software services.
[0051] The target version information determination module 213 is used to determine the software version information as the target software version information of the software service when the version corresponding to the software version information of the software service is higher than the version corresponding to the current software version information.
[0052] In this embodiment, the service determination module 211 can be specifically understood as a data processing module that analyzes the target software template and determines the software version information contained therein. The software version information can be specifically understood as the version information of the software service, for example, the version number.
[0053] Specifically, the target software template may include one or more software services, which depends on the tasks performed by the target robot 23 and the hardware configuration limitations of the target robot 23. Software services can be understood as applications. The service determination module 211 analyzes the target software template, determines the software services included in the target software template, and determines the software version information of each software service in the target software template.
[0054] In this embodiment, the current version information determination module 212 can be specifically understood as a data processing module that determines the correspondence between each software service in the target software template and each current software version information.
[0055] Specifically, the current version information determination module 212 determines the current software version information corresponding to each software service in the target software template in the target robot 23 by analyzing the software service and each current software version information. In the application, the software service in the target software template is a newly added service, and the target robot 23 does not have this software service installed, and accordingly, there is no corresponding current software version information. Therefore, for the software service for which the corresponding current software version information cannot be found, the information such as empty or 0 is directly determined as the corresponding current software version information. Correspondingly, if the current software version information is empty or 0, it can be determined that this version is the lowest version, and any version is higher than this version.
[0056] In this embodiment, the target version information determination module 213 can be specifically understood as a data processing module for determining target software version information.
[0057] Specifically, for each software service, the target version information determination module 213 compares the corresponding software version information with the current software version information to determine whether the software version information is higher than the current software version information. If so, it is determined that a software version update is required and the software version information is determined as the target software version information.
[0058] Furthermore, the target robot 23 comprises:
[0059] The command receiving module 231 is used to receive the service update command and determine at least one target software version information according to the service update command.
[0060] The container management module 232 is used to determine at least one target container image according to at least one target software version information, and perform software update according to each target container image.
[0061] In this embodiment, the command receiving module 231 can be specifically understood as a virtual module for receiving commands. The command receiving module 231 receives the service update command sent by the agent robot 22, and parses the service update command according to a pre-agreed communication protocol to determine the target software version information that needs to be updated indicated in the service update command.
[0062] In this embodiment, the container management module 232 can be an application container engine, such as Docker. The target container image can be specifically understood as the container image required for software update. The container management module 232 determines the software service that needs to be updated through the target software version information, obtains the corresponding target container images from the local or cloud server 21 for each target software version information, and then performs software update according to each target container image.
[0063] Furthermore, the container management module 232 includes:
[0064] The operation information acquisition unit 2321 is used to acquire the operation software version information of each software service by receiving the corresponding interface call;
[0065] A command generating unit 2322, configured to generate an update request command according to the target software version information in the service update command that does not match the version information of each running software, and send the command to the cloud server 21 through the proxy robot 22;
[0066] The image receiving unit 2323 is used to receive at least one target container image determined by the cloud server 21 according to the update request instruction.
[0067] In this embodiment, the operation information acquisition unit 2321 can be specifically understood as a data processing unit that acquires each software version stored in the target robot 23. The operation software version information can be specifically understood as the software version information of each software service stored in the target robot 23. The operation information acquisition unit 2321 receives the corresponding API interface call at runtime to acquire the operation software version information. The command receiving module 231 may perform the interface call. For example, after determining the target software version information, the command receiving module 231 calls the operation information acquisition unit 2321 in the container management module 232 through the corresponding interface. After receiving the call, the operation information acquisition unit 2321 acquires the operation software version information of each software service.
[0068] In this embodiment, the command generation unit 2322 can be specifically understood as a data processing unit that generates an update request command, which is used to request the cloud server 21 to send the target container image. The update request command can be specifically understood as a command that requests the cloud server 21 to send the target container image to implement software update.
[0069] Specifically, the command generation unit 2322 determines whether there is target software version information in each running software version information. If not, there is no version to be updated in the target robot 23 (that is, there is no target software version information that can be updated). Therefore, an update request command is generated according to the target software version information to request the cloud server 21 to feedback the target container image corresponding to each target software version information. After receiving the update request instruction, the cloud server 21 determines the corresponding container image by parsing the update request instruction, and then obtains the target container image from the storage space of the container image and feeds it back to the proxy robot 22. The proxy robot 22 forwards it to the container management module 232 of the target robot 23, and the image receiving unit 2323 of the container management module 232 receives the target container image. If there is a version to be updated in the target robot 23 (that is, there is version information matching the target software version information in each running software version information), the corresponding image is directly obtained for startup.
[0070] Furthermore, the cloud server 21 is also used for:
[0071] Receive the update request command sent by the proxy robot 22, and determine the corresponding target container image information according to the update request command;
[0072] The target container images that match each target container image information are screened out from the container images stored in the container image registration center, and are fed back to the target robot 23 through the proxy robot 22 .
[0073] In this embodiment, the container image registration center can be specifically understood as a storage center for storing container images developed and packaged by developers in the cloud server 21. The target container image information can be specifically understood as information that identifies or distinguishes each target container image, which can uniquely identify the target container image.
[0074] Specifically, after receiving the update request command forwarded by the proxy robot 22, the cloud server 21 parses the update request command through a pre-agreed communication protocol to determine the target container image information required by the target robot 23. The target container image information may be one or more. For each target container image information, the cloud server 21 searches for a container image that matches the target container image information from the container image registry, feeds the matching container image as the target container image to the proxy robot 22, and then forwards it to the target robot 23 by the proxy robot 22.
[0075] Furthermore, the container management module 232 includes:
[0076] An image deletion unit 2324 is used to determine at least one container image to be deleted, control each of the container images to be deleted to stop running, and delete each of the container images to be deleted;
[0077] The starting unit 2325 is used to control the starting of each target container image according to the image parameters in the service update command.
[0078] In this embodiment, the image deletion unit 2324 can be specifically understood as a data processing unit for deleting the container image of the software service that needs to be updated. The container image to be deleted can be specifically understood as the container image of the software service that needs to be updated. The image parameters can be specifically understood as the configuration parameters required when the image is started.
[0079] Specifically, the image deletion unit 2324 determines the software service that needs to be updated, and then determines the container image corresponding to the software service as the container image to be deleted, controls each container image to be deleted to stop running, and deletes each container image to be deleted.
[0080] Furthermore, the image deletion unit 2324 is specifically used to: determine the current software version information corresponding to each of the target software version information as the software version information to be updated; and determine the container image corresponding to each of the software version information to be updated as the container image to be deleted.
[0081] In this embodiment, the software version information to be updated can be specifically understood as information about the software version waiting to be updated.
[0082] Specifically, the target software version information is information about the software version to be updated, and therefore, the corresponding current software version information is the version information of the software service that needs to be replaced, that is, the software version information to be updated. The image deletion unit 2324 determines the container image corresponding to each software version information to be updated as a container image to be deleted.
[0083] Exemplarily, the version 1.1 of software service A of the target robot 23 and the version 2.0 of software service B are sent to the proxy robot 22 as the current software version information. The proxy robot 22 sends the current software version information and the identity of the target robot 23 to the cloud server 21. The cloud server 21 determines the service update command through the corresponding target software template. The service update command is to upgrade software service A to 1.2, and software service B does not need to be upgraded (the reason why software service B does not need to be upgraded may be that it has reached the highest version or although there is a higher version, due to hardware limitations, the installed version can only be up to version 2.0). First, the container management module is used to determine whether there is a target software version information (or container image) of 1.2 locally. If not, the target container image corresponding to software service A version 1.2 is downloaded from the container image registration center of the cloud server 21 through the proxy server, and then the original service A version 1.1 container is stopped and deleted, and then a new container is started from the newly downloaded image according to the image parameters in the service update command, thereby realizing the upgrade of software service A of the target robot 23 from version 1.1 to 1.2.
[0084] Furthermore, the cloud server 21 is also used to: receive at least one software version data uploaded by a user, convert each of the software version data into a container image, and store each of the container images in a container image registration center.
[0085] In this embodiment, the software version data can be specifically understood as data that supports the operation of software services to implement corresponding functions, such as relevant program codes for software development.
[0086] It should be noted that the user who uploads the software version data and the user who uploads the target software template can be the same user or different users. Different users in the embodiments of the present application can be the same type of users or different types of users. For example, developers and deployers can be considered to be different types of users. Developers upload software version data, and deployers upload target software templates.
[0087] Specifically, after a new version is developed and tested, the user uploads the software version data to the cloud server 21. Since multiple software services may be updated at the same time, the software version data may be one or more. The cloud server 21 converts each software version data into a container image and stores it in the container image registration center.
[0088] Furthermore, the agent robot 22 is also used to send its own current software version information and the identity of the agent robot 22 to the cloud server 21 to implement software version update.
[0089] It can be known that the proxy robot 22 is also a robot that needs to perform related tasks according to the software service. Therefore, the proxy robot 22 can also perform software updates, that is, the proxy robot 22 can also serve as the target robot 23. Since the proxy robot 22 can communicate directly with the cloud server 21, the proxy robot 22 directly obtains its own current software version information and identity identification, and sends it to the cloud server 21. After the cloud server 21 determines the service update command, it sends it to the proxy robot 22. The proxy robot 22 receives the service update command, determines the target container image, and performs software updates according to the target container image. The principle of software updates by the proxy robot 22 is the same as that of the target robot 23. Since it can communicate directly with the cloud server 21, the process of forwarding by other robots is omitted. The remaining steps are the same and will not be repeated here. Those skilled in the art can know it.
[0090] For example, Figure 4 An implementation example diagram of a robot management system provided in an embodiment of the present application. The system includes a cloud server 31, an agent robot 32 and at least one target robot 33. The present application embodiment takes a target robot 33 as an example to illustrate the working process of the system. The user who develops / tests develops a new software version and uploads the software version data to the cloud server 31. The cloud server 31 converts each software version data into a container image and stores it in the container image registration center. The cloud server 31 also receives the target software template uploaded by the user (this user is a deployment personnel as an example) and associates each target software template with the corresponding target robot 33. The agent robot 32 and the target robot 33 report the current software version information of each service of the local machine to the cloud server 31 at regular intervals, wherein the target robot 33 communicates with the cloud server 31 through the transparent agent of the agent robot 32. When the cloud server 31 determines that the software version needs to be updated through the corresponding target software template combined with the current software version information, it sends a service update command to the agent robot 32, which is forwarded to the target robot 33 by the agent robot 32. Instruct the target robot 33 or the agent robot 32 to download the corresponding target container image from the container image registration center to implement the software update of the software service.
[0091] The embodiment of the present invention provides a robot management system, which includes: a cloud server, an agent robot and at least one target robot. For each target robot, the target robot is used to send the current software version information to the agent robot; the agent robot is used to send each current software version information and the identity of the target robot to the cloud server; the cloud server is used to determine the corresponding target software template according to the identity of the target robot, and determine the target software version information according to the target software template combined with each current software version information; the agent robot is used to receive the service update command determined by the cloud server according to each target software version information, and instruct the target robot to update the software version through the service update command. The remote update of the robot software service is realized, and the staff does not need to go to the site to update and upgrade the robot software, which reduces the time required for the version upgrade from the proposal to the completion of the upgrade. At the same time, it also realizes the rapid iteration of the version update of large-scale machines at the same time, and does not need the staff to operate on site one by one, which reduces the labor intensity of the staff. By integrating all the software version information that needs to be updated in the target software template, the cloud server can make a unified judgment and instruct it to update through the target software template when judging whether the agent robot is to be updated, so as to avoid multiple operations to upgrade different services when the number of software services in the target robot is too large, saving time, simplifying the operation process, and improving work efficiency.
[0092] Embodiment 3
[0093] Figure 5 This is a flowchart of a robot management method provided in Embodiment 3 of the present invention. The method is executed by a robot management system provided in any embodiment of the present invention, including:
[0094] S410: The target robot sends the current software version information of at least one software service of the target robot to the agent robot.
[0095] S420. The proxy robot sends the current software version information and the identity of the target robot to the cloud server.
[0096] Each target robot needs to feedback the current software version information to the cloud server at regular intervals. All target robots perform the same method steps in the management process. Taking a target robot as an example, the target robot sends the current software version information to the proxy robot, and the proxy robot forwards the current software version information and the target robot's identity to the cloud server.
[0097] S430: The cloud server determines a corresponding target software template according to the identity identifier of the target robot, and determines at least one target software version information according to the target software template and each current software version information.
[0098] S440. The agent robot receives a service update command determined by the cloud server based on at least one target software version information, and instructs the target robot to update the software version through the service update command.
[0099] The cloud server determines the target software template that matches the target robot based on its identity, and then determines the target software version information by comparing the software version information in the target software template with the current software version information, and then generates a service update command based on the target software version information to instruct the target robot to update the software service. The cloud server forwards the service update command to the corresponding target robot through the proxy robot, instructing the target robot to update the software version.
[0100] An embodiment of the present invention provides a robot management method, which integrates all software version information that needs to be updated into a target software template. When the cloud server determines whether the agent robot should be updated, it can make a unified judgment through the target software template and instruct it to update, thereby avoiding multiple operations to upgrade different services when the number of software services in the target robot is too large, saving time, simplifying the operation process, and improving work efficiency.
[0101] Furthermore, the method further comprises:
[0102] The cloud server receives at least one software template uploaded by a user, and associates each of the target software templates uploaded by the user with a corresponding target robot.
[0103] The user generates a software template for each target robot and then uploads it to the cloud server, which stores the software template and the target robot in association.
[0104] Further, the cloud server includes a service determination module, a current version information determination module and a target version information determination module;
[0105] Accordingly, the cloud server determines the corresponding target software template according to the identity identifier of the target robot, and determines the target software version information according to the target software template combined with each of the current software version information, including:
[0106] The service determination module determines the software services in the target software template and the software version information corresponding to each of the software services;
[0107] The current version information determination module determines the current software version information corresponding to each of the software services;
[0108] The target version information determination module determines the software version information as the target software version information of the software service when the version corresponding to the software version information of the software service is higher than the version corresponding to the current software version information.
[0109] The cloud server is divided into a service determination module, a current version information determination module and a target version information determination module according to different functional implementations. It analyzes the target software template to determine the corresponding software version information and the current software version information corresponding to each software service in the target robot. Then, it determines the target software version information by comparing the version corresponding to the software version information with the version corresponding to the current software version information.
[0110] Furthermore, the target robot includes a command receiving module and a container management module. Accordingly, the target robot performs software version update including:
[0111] The command receiving module receives the service update command and determines at least one target software version information according to the service update command;
[0112] The container management module determines at least one target container image according to at least one target software version information, and performs software update according to each target container image.
[0113] The target robot receives the service update command fed back from the cloud server through the command receiving module, determines the target software version information through the service update command, and then determines the target container image used for the update through the container management module, and then performs software updates based on the target container image.
[0114] Further, the container management module includes: an operation information acquisition unit, a command generation unit and an image receiving unit;
[0115] Correspondingly, the container management module determines the target container image according to the target software version information, including:
[0116] The operation information acquisition unit acquires the operation software version information of each software service by receiving the corresponding interface call;
[0117] The command generation unit generates an update request command according to the target software version information in the service update command that does not match the version information of each running software, and sends it to the cloud server through the proxy robot;
[0118] The image receiving unit receives at least one target container image determined by the cloud server according to the update request instruction.
[0119] The operation information acquisition unit in the container management module receives the interface call to obtain the operation software version information of the target robot. When the target software version information does not exist in the operation software version information, the command generation unit generates an update request command and sends it to the cloud server through the proxy robot to obtain the target container image from the cloud server.
[0120] Furthermore, the method further comprises:
[0121] The cloud server receives the update request command sent by the proxy robot, and determines the corresponding target container image information according to the update request command; selects the target container images that match each of the target container image information from the container images stored in the container image registration center, and feeds them back to the target robot through the proxy robot.
[0122] After receiving the update request command, the cloud server determines the target container image information required by the target robot, and then filters the container images stored in the container image registration center to obtain the target container images that match the target container image information, and feeds them back to the target robot through the proxy robot.
[0123] Furthermore, the container management module includes: an image deletion unit and a startup unit;
[0124] Correspondingly, the container management module performs software update according to each of the target container images, including:
[0125] The image deletion unit determines at least one container image to be deleted, controls each of the container images to be deleted to stop running, and deletes each of the container images to be deleted;
[0126] The startup unit controls the startup of each target container image according to the image parameters in the service update command.
[0127] During the process of software update and installation, the target robot first determines the container images to be deleted corresponding to the software service to be updated, controls each container image to be deleted to stop running, and performs the deletion operation. Then, it controls the start of each target container image according to the image parameters in the service update command to realize the update of the software service.
[0128] Furthermore, the image deletion unit determines the container image to be deleted, including: determining the current software version information corresponding to each of the target software version information as the software version information to be updated; and determining the container image corresponding to each of the software version information to be updated as the container image to be deleted.
[0129] Furthermore, the method further comprises:
[0130] The cloud server receives at least one software version data uploaded by the user, converts each of the software version data into a container image, and stores each of the container images in a container image registration center.
[0131] Furthermore, the method further comprises:
[0132] The agent robot sends its own current software version information and the identity of the agent robot to the cloud server to implement software version update.
[0133] While the proxy robot serves as the information forwarding center between the target robot and the cloud server, it can also send the current software version information and identity of the device to the cloud server. The cloud server then determines whether an update is needed to implement the update of the software service in the proxy robot. The process and principle are the same as those of the target robot. The difference is that it can communicate directly with the cloud server without forwarding.
[0134] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A robot management system, characterized in that: include: A cloud server, an agent robot, and at least one target robot; The target robot is used to send the current software version information of at least one software service of the target robot to the agent robot; The proxy robot is used to send the current software version information and the identity of the target robot to the cloud server; The cloud server is used to determine the corresponding target software template according to the identity of the target robot, and determine at least one target software version information according to the target software template and each of the current software version information, wherein the target software template is a software update template of the target robot, which is used to indicate the template of the version to which each software service in the target robot needs to be updated, and the target software version information is the version information corresponding to the version to which the software service needs to be updated; The proxy robot is also used to receive a service update command determined by the cloud server based on at least one of the target software version information, and instruct the target robot to update the software version through the service update command; wherein, a transparent proxy is configured on the proxy robot, and a proxy address is configured on the target robot to achieve a communication connection between the target robot and the proxy robot, and the target robot and the proxy robot are identical in program; all software and required configurations in the target robot and the proxy robot are installed through images, and the target robot and the proxy robot both include a container management module, and the image is managed through the container management module, and the container management module of the target robot is used to determine at least one target container image based on at least one of the target software version information, and perform software updates based on each of the target container images.
2. The robot management system according to claim 1, characterized in that: The cloud server is also used for: Receive at least one software template uploaded by a user, and associate each software template uploaded by the user with a corresponding target robot.
3. The robot management system according to claim 1, characterized in that: The cloud server comprises: A service determination module, used to determine the software services in the target software template, and the software version information corresponding to each of the software services; A current version information determination module, used to determine the current software version information corresponding to each of the software services; The target version information determination module is used to determine the software version information as the target software version information of the software service when the version corresponding to the software version information of the software service is higher than the version corresponding to the current software version information.
4. The robot management system according to claim 1, characterized in that: The target robot comprises: The command receiving module is used to receive the service update command and determine at least one target software version information according to the service update command.
5. The robot management system according to claim 4, characterized in that: The container management module includes: An operation information acquisition unit, used to acquire the operation software version information of each software service by receiving a corresponding interface call; A command generation unit, configured to generate an update request command according to the target software version information in the service update command that does not match the version information of each running software, and send the command to the cloud server through the agent robot, wherein the service update command includes the type of software service to be updated, information on the target version to which the software service is updated, and / or the identity of the agent robot; The image receiving unit is used to receive at least one target container image determined by the cloud server according to the update request command.
6. The robot management system according to claim 5, characterized in that: The cloud server is also used for: Receive the update request command sent by the proxy robot, and determine the corresponding target container image information according to the update request command; The target container images that match each target container image information are screened out from the container images stored in the container image registration center, and are fed back to the target robot through the proxy robot.
7. The robot management system according to claim 4, characterized in that: The container management module includes: An image deletion unit, used to determine at least one container image to be deleted, control each of the container images to be deleted to stop running, and delete each of the container images to be deleted; A startup unit is used to control the startup of each target container image according to the image parameters in the service update command.
8. The robot management system according to claim 7, characterized in that: The image deletion unit is specifically used for: Determine the current software version information corresponding to each of the target software version information as the software version information to be updated; The container image corresponding to each software version information to be updated is respectively determined as the container image to be deleted.
9. The robot management system according to claim 1, characterized in that: The cloud server is also used for: Receive at least one software version data uploaded by a user, convert each software version data into a container image, and store each container image in a container image registration center.
10. The robot management system according to any one of claims 1 to 9, characterized in that: The agent robot is also used for: Send the current software version information of itself and the identity of the agent robot to the cloud server to update the software version.
11. A robot management method, characterized in that: The method is performed by the robot management system according to any one of claims 1 to 10, and comprises: The target robot sends the current software version information of at least one software service of the target robot to the agent robot; The proxy robot sends the current software version information and the identity of the target robot to the cloud server; The cloud server determines the corresponding target software template according to the identity of the target robot, and determines at least one target software version information according to the target software template and each of the current software version information, wherein the target software template is a software update template of the target robot, which is used to indicate the template of the version to which each software service in the target robot needs to be updated, and the target software version information is the version information corresponding to the version to which the software service needs to be updated; The agent robot also receives a service update command determined by the cloud server according to at least one target software version information, and instructs the target robot to update the software version through the service update command; Among them, a transparent proxy is configured on the proxy robot, and a proxy address is configured on the target robot to realize the communication connection between the target robot and the proxy robot, and the target robot and the proxy robot are identical in program; all software and required configurations in the target robot and the proxy robot are installed through images, and the target robot and the proxy robot both include a container management module, and the image is managed by the container management module. The container management module of the target robot is used to determine at least one target container image according to at least one target software version information, and perform software updates according to each target container image.
