Multi-robot control method, device and storage medium based on edge computing
Through edge computing technology, image recognition is used to process the user's gestures and facial information, automatically determine the target robot and send control instructions, solving the problem of low efficiency of multi-robot control, achieving a more efficient operation process and cost-reduced information processing.
Patent Information
- Application Number
- CN202210890843.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-27
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-07-27
AI Technical Summary
In multi-robot application scenarios, users need to manually select and input control instructions, which makes input difficult and time-consuming, reducing the efficiency of robot control.
Using an edge computing-based method, it performs image recognition processing by receiving gesture and facial image information from the image collection device, determines the target robot and sends control instructions to simplify user operations.
It improves the efficiency of robot control, reduces information processing costs, and performs image recognition processing through edge devices, avoiding cloud processing and simplifying user operation processes.
Smart Images

Figure CN115351782B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to but is not limited to the field of artificial intelligence technology, and in particular to a multi-robot control method, device and storage medium based on edge computing. Background Art
[0002] At present, in a multi-robot application scenario, when a user needs to control a robot, the user needs to select the corresponding robot on the control terminal and input the corresponding control instructions in a fixed format; the user needs to master the input format and content of the control instructions, which is difficult, and the process of inputting control instructions is time-consuming, resulting in low efficiency of the robot control process. Summary of the invention
[0003] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
[0004] The embodiments of the present application provide a multi-robot control method, device and storage medium based on edge computing, which can improve the efficiency of the robot control process.
[0005] To achieve the above-mentioned purpose, the first aspect of an embodiment of the present application proposes a multi-robot control method based on edge computing, which is applied to an edge device, wherein the edge device is communicatively connected to multiple robots, and the edge device is communicatively connected to an image acquisition device, and the method includes: receiving gesture image information and facial image information from the image acquisition device; performing image recognition processing on the gesture image information to obtain gesture feature information to be processed; performing image recognition processing on the facial image information to obtain facial feature information to be processed; based on the gesture feature information to be processed, the facial feature information to be processed and preset control rules, determining a target robot among each of the robots, and determining a target control instruction for the target robot; sending the target control instruction to the target robot so that the target robot performs a corresponding action according to the target control instruction.
[0006] In some embodiments, the steps for establishing the control rules are as follows: obtain a gesture feature set, a facial feature set and an instruction set, wherein the gesture feature set includes multiple gesture feature information, the facial feature set includes multiple facial feature information, and the instruction set includes multiple control instructions; associate the gesture feature information with the robot one by one to obtain a first association rule; associate the facial feature information with the control instruction one by one to obtain a second association rule; determine the control rule based on the first association rule and the second association rule.
[0007] In some embodiments, based on the gesture feature information to be processed, the facial feature information to be processed and the preset control rules, a target robot is determined among each of the robots, and a target control instruction of the target robot is determined, including: based on the first association rule, comparing the gesture feature information to be processed with each of the gesture feature information; when it is determined that the gesture feature information to be processed matches any of the gesture feature information, using the matched gesture feature information as the target gesture feature information; determining a target robot among each of the robots based on the target gesture feature information; based on the second association rule, comparing the facial feature information to be processed with each of the facial feature information; when it is determined that the facial feature information to be processed matches any of the facial feature information, using the matched facial feature information as the target facial feature information; determining a target control instruction in each of the control instructions based on the target facial feature information.
[0008] In some embodiments, after the step of comparing the gesture feature information to be processed with each of the gesture feature information based on the first association rule, it also includes: when it is determined that the gesture feature information to be processed does not match any of the gesture feature information, calculating the gesture feature distance value between the gesture feature information to be processed and each of the gesture feature information; taking the minimum gesture feature distance value as the target gesture feature distance value; when it is determined that the target gesture feature distance value is less than a preset first distance threshold, taking the gesture feature information corresponding to the target gesture feature distance value as the target gesture feature information.
[0009] In some embodiments, after the step of comparing the facial feature information to be processed with each of the facial feature information based on the second association rule, it also includes: when it is determined that the facial feature information to be processed does not match any of the facial feature information, calculating the facial feature distance value between the facial feature information to be processed and each of the facial feature information; taking the minimum facial feature distance value as the target facial feature distance value; when it is determined that the target facial feature distance value is less than a preset second distance threshold, taking the facial feature information corresponding to the target facial feature distance value as the target facial feature information.
[0010] In some embodiments, after the step of sending the target control instruction to the target robot, it also includes: acquiring status information from the target robot; based on the status information, when it is determined that the target robot is in an abnormal state, sending a preset reset instruction to the target robot.
[0011] To achieve the above-mentioned purpose, the second aspect of an embodiment of the present application proposes a multi-robot control device based on edge computing, which is applied to an edge device, wherein the edge device is communicatively connected to multiple robots, and the edge device is communicatively connected to an image acquisition device, and the device includes: a receiving unit, used to receive gesture image information and facial image information from the image acquisition device; a first recognition unit, used to perform image recognition processing on the gesture image information to obtain gesture feature information to be processed; a second recognition unit, used to perform image recognition processing on the facial image information to obtain facial feature information to be processed; a processing unit, used to determine a target robot among each of the robots based on the gesture feature information to be processed, the facial feature information to be processed and a preset control rule, and determine a target control instruction for the target robot; a sending unit, used to send the target control instruction to the target robot, so that the target robot performs a corresponding action according to the target control instruction.
[0012] In some embodiments, the device also includes: an acquisition unit, used to acquire a gesture feature set, a facial feature set and an instruction set, wherein the gesture feature set includes multiple gesture feature information, the facial feature set includes multiple facial feature information, and the instruction set includes multiple control instructions; a first association unit, used to associate the gesture feature information with the robot one by one to obtain a first association rule; a second association unit, used to associate the facial feature information with the control instruction one by one to obtain a second association rule; and a determination unit, used to determine the control rule based on the first association rule and the second association rule.
[0013] To achieve the above-mentioned purpose, the third aspect of an embodiment of the present application proposes an electronic device, which includes a memory, a processor, a program stored on the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the multi-robot control method based on edge computing described in the first aspect above is realized.
[0014] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes a storage medium, which is a computer-readable storage medium used for computer-readable storage, and the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the multi-robot control method based on edge computing described in the first aspect above.
[0015] The multi-robot control method, device and storage medium based on edge computing proposed in this application, the embodiment of this application includes: receiving gesture image information and facial image information from the image acquisition device; performing image recognition processing on the gesture image information to obtain gesture feature information to be processed; performing image recognition processing on the facial image information to obtain facial feature information to be processed; determining the target robot in each of the robots based on the gesture feature information to be processed, the facial feature information to be processed and the preset control rules, and determining the target control instruction of the target robot; sending the target control instruction to the target robot so that the target robot performs the corresponding action according to the target control instruction. According to the scheme provided in the embodiment of this application, by performing image recognition processing on the gesture image information and facial image information of the user, the gesture feature information to be processed and the facial feature information to be processed are obtained respectively, and then combined with the control rules, the target robot and its target control instruction are accurately determined, and the target robot is controlled by the target control instruction, which can improve the efficiency of the robot control process. In addition, by performing image recognition processing through the edge device, there is no need to perform information processing through the cloud, which can reduce the information processing cost.
[0016] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.
[0018] Figure 1 is a flow chart of a multi-robot control method based on edge computing provided by an embodiment of the present application;
[0019] Figure 2 is a flow chart for determining a control rule provided by another embodiment of the present application;
[0020] Figure 3 is a flow chart of determining a target control instruction provided by another embodiment of the present application;
[0021] Figure 4 is a flow chart of determining target gesture feature information provided by another embodiment of the present application;
[0022] Figure 5 is a flow chart of determining target facial feature information provided by another embodiment of the present application;
[0023] Figure 6 is a flowchart of sending a reset instruction provided by another embodiment of the present application;
[0024] Figure 7 is a structural schematic diagram of a multi-robot control device based on edge computing provided by another embodiment of the present application;
[0025] Figure 8 It is a schematic diagram of the hardware structure of an electronic device provided in another embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0027] In the description of this application, “several” means one or more, “more” means more than two, “greater than”, “less than”, “exceed”, etc. are understood to exclude the number, and “above”, “below”, “within”, etc. are understood to include the number.
[0028] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims or the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0029] First, some nouns involved in this application are analyzed:
[0030] Artificial Intelligence (AI): It is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence. AI is a branch of computer science. AI attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Research in this field includes robots, language recognition, image recognition, natural language processing and expert systems. AI can simulate the information process of human consciousness and thinking. AI is also a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0031] At present, in a multi-robot application scenario, when a user needs to control a robot, the user needs to select the corresponding robot on the control terminal and input the corresponding control instructions in a fixed format; the user needs to master the input format and content of the control instructions, which is difficult, and the process of inputting control instructions is time-consuming, resulting in low efficiency of the robot control process.
[0032] In order to solve the problem that inputting control instructions is difficult and time-consuming, resulting in low efficiency of the robot control process, the present application provides a multi-robot control method, device and storage medium based on edge computing, the method is applied to an edge device, the edge device is communicatively connected to multiple robots, and the edge device is communicatively connected to an image acquisition device, the method includes: receiving gesture image information and facial image information from the image acquisition device; performing image recognition processing on the gesture image information to obtain gesture feature information to be processed; performing image recognition processing on the facial image information to obtain facial feature information to be processed; based on the gesture feature information to be processed, the facial feature information to be processed and preset control rules, determining a target robot among each robot, and determining a target control instruction for the target robot; sending the target control instruction to the target robot so that the target robot performs a corresponding action according to the target control instruction. According to the solution provided in the embodiment of the present application, by performing image recognition processing on the user's gesture image information and facial image information, gesture feature information to be processed and facial feature information to be processed are obtained respectively, and then combined with the control rules, the target robot and its target control instructions are accurately determined. The target robot is controlled by the target control instructions, which can improve the efficiency of the robot control process. In addition, by performing image recognition processing on edge devices, there is no need to perform information processing through the cloud, which can reduce the cost of information processing.
[0033] The multi-robot control method, device and storage medium based on edge computing provided in the embodiments of the present application are specifically illustrated through the following embodiments. First, the multi-robot control method based on edge computing in the embodiments of the present application is described.
[0034] The multi-robot control method based on edge computing provided in the embodiment of the present application relates to the field of artificial intelligence technology. The multi-robot control method based on edge computing provided in the embodiment of the present application can be applied to the server side, and can also be software running on the server side. In some embodiments, the server side can be configured as an independent physical server, or it can be configured as a server cluster or distributed system composed of multiple physical servers, and it can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements a multi-robot control method based on edge computing, etc., but is not limited to the above forms.
[0035] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0036] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with the relevant laws, regulations, and standards of the relevant countries and regions. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.
[0037] The embodiments of the present application are further described below in conjunction with the accompanying drawings.
[0038] like Figure 1 As shown, Figure 1 This is a flowchart of a multi-robot control method based on edge computing provided by an embodiment of the present application. The multi-robot control method based on edge computing can be applied to an edge device, the edge device is connected to multiple robots in communication, and the edge device is connected to an image acquisition device in communication. The multi-robot control method based on edge computing includes but is not limited to the following steps:
[0039] Step S110, receiving gesture image information and facial image information from an image acquisition device;
[0040] Step S120, performing image recognition processing on the gesture image information to obtain gesture feature information to be processed;
[0041] Step S130, performing image recognition processing on the facial image information to obtain facial feature information to be processed;
[0042] Step S140, determining a target robot among the robots based on the gesture feature information to be processed, the facial feature information to be processed and a preset control rule, and determining a target control instruction for the target robot;
[0043] Step S150, sending the target control instruction to the target robot, so that the target robot performs corresponding actions according to the target control instruction.
[0044] It can be understood that in the edge device, a trained gesture image recognition model and a facial image recognition model are preset. The gesture image recognition model is used to perform image recognition processing on the gesture image information to obtain gesture feature information to be processed, and the facial image recognition model is used to perform image recognition processing on the facial image information to obtain facial feature information to be processed. Then, in combination with the preset control rules, the control rules are provided with control instructions for multiple robots, and the corresponding target robot is determined among all robots, and the corresponding target control instructions are determined. Finally, the target control instructions are sent to the target robot, so as to realize the control of the target robot to perform the corresponding action; based on this, by performing image recognition processing on the user's gesture image information and facial image information, the gesture feature information to be processed and the facial feature information to be processed are obtained respectively, and then combined with the control rules, the target robot and its target control instructions are accurately determined, and the target robot is controlled by the target control instructions, which can improve the efficiency of the robot control process. In addition, by performing image recognition processing on the edge device, there is no need to perform information processing through the cloud, which can reduce the information processing cost.
[0045] It should be noted that the image acquisition device includes but is not limited to a monocular camera and a binocular camera.
[0046] In specific practice, in the process of recognizing gesture image information, the type of number represented by a single palm is determined by identifying the degree of bending of each finger, for example, to represent the numbers 0, 1, 2, 3, etc. Two palms can represent numbers from 0 to 99, and a digital number between 0 and 99 is set for each robot. Different robots have different numbers, and the uniqueness between the gesture feature information to be processed and the robot can be ensured, so that the target robot can be determined through the gesture feature information to be processed; in the process of recognizing facial image information, features such as facial orientation, mouth opening and closing, eyes opening and closing, and eyes closing can be identified. Each feature or a feature set composed of multiple features can correspond to a control instruction, and the uniqueness between the facial feature information to be processed and the control instruction can be ensured, so that the target control instruction can be determined through the facial feature information to be processed.
[0047] In addition, refer to Figure 2 , in one embodiment, Figure 1 The process of establishing the control rule of step S140 in the illustrated embodiment includes but is not limited to the following steps:
[0048] Step S210, acquiring a gesture feature set, a facial feature set and an instruction set, wherein the gesture feature set includes a plurality of gesture feature information, the facial feature set includes a plurality of facial feature information, and the instruction set includes a plurality of control instructions;
[0049] Step S220, associating the gesture feature information with the robot one by one to obtain a first association rule;
[0050] Step S230, associating the facial feature information with the control instructions one by one to obtain a second association rule;
[0051] Step S240: determining a control rule according to the first association rule and the second association rule.
[0052] It can be understood that each robot corresponds to a gesture feature information, and each control instruction corresponds to a facial feature information. After identifying the gesture feature information to be processed and the facial feature information to be processed, the target robot and its target control instruction can be accurately determined, thereby ensuring the reliability of the control process.
[0053] In addition, refer to Figure 3 , in one embodiment, Figure 1 Step S140 in the illustrated embodiment includes but is not limited to the following steps:
[0054] Step S310, based on the first association rule, comparing the gesture feature information to be processed with each gesture feature information;
[0055] Step S320, when it is determined that the gesture feature information to be processed matches any gesture feature information, the matched gesture feature information is used as the target gesture feature information;
[0056] Step S330, determining a target robot among the robots based on the target gesture feature information;
[0057] Step S340, comparing the facial feature information to be processed with each facial feature information based on the second association rule;
[0058] Step S350, when it is determined that the facial feature information to be processed matches any facial feature information, the matched facial feature information is used as the target facial feature information;
[0059] Step S360: determining a target control instruction among various control instructions based on the target facial feature information.
[0060] It can be understood that when determining the target gesture feature information, it is necessary to compare the gesture feature information to be processed with all the gesture feature information one by one, select the target gesture feature information of the matching gesture feature information, and then determine the target robot through the target gesture feature information, so that the target robot can be accurately determined; when determining the target facial feature information, it is necessary to compare the facial feature information to be processed with all the facial feature information one by one, select the target facial feature information of the matching facial feature information, and then determine the target control instruction through the target facial feature information, so that the target control instruction can be accurately determined.
[0061] In addition, refer to Figure 4 , in one embodiment, Figure 3 After step S310 in the illustrated embodiment, the following steps are also included but not limited to:
[0062] Step S410, when it is determined that the gesture feature information to be processed does not match any gesture feature information, the gesture feature distance value between the gesture feature information to be processed and each gesture feature information is calculated;
[0063] Step S420, taking the minimum gesture feature distance value as the target gesture feature distance value;
[0064] Step S430: When it is determined that the target gesture feature distance value is less than a preset first distance threshold, the gesture feature information corresponding to the target gesture feature distance value is used as the target gesture feature information.
[0065] It can be understood that when the gesture feature information to be processed does not match any gesture feature information, it is equivalent to that when the user enters the gesture image information, the user's gesture action does not meet the standard, or is even an incorrect gesture action; when the target gesture feature distance value is less than the second distance threshold, at this time, although the user's gesture action does not meet the standard, it is within the recognizable range, and the gesture feature information corresponding to the smallest gesture feature distance value is used as the target gesture feature information; when the target gesture feature distance value is greater than or equal to the second distance threshold, at this time, the user's gesture action has exceeded the recognizable range and the target gesture feature information cannot be recognized.
[0066] It should be noted that the first distance threshold is obtained through repeated experiments and tuning.
[0067] In specific practice, the gesture feature distance value can be obtained by calculating the Euclidean distance between the gesture feature information to be processed and the gesture feature information.
[0068] In addition, refer to Figure 5 , in one embodiment, Figure 3 After step S340 in the illustrated embodiment, the following steps are also included but not limited to:
[0069] Step S510, when it is determined that the facial feature information to be processed does not match any facial feature information, the facial feature distance value between the facial feature information to be processed and each facial feature information is calculated;
[0070] Step S520, taking the minimum facial feature distance value as the target facial feature distance value;
[0071] Step S530: When it is determined that the target facial feature distance value is less than the preset second distance threshold, the facial feature information corresponding to the target facial feature distance value is used as the target facial feature information.
[0072] It can be understood that when the facial feature information to be processed does not match any facial feature information, it is equivalent to that the user's facial movement does not meet the standard or is even an incorrect facial movement when the user enters the facial image information; when the target facial feature distance value is less than the second distance threshold, at this time, although the user's facial movement does not meet the standard, it is within the recognizable range, and the facial feature information corresponding to the smallest facial feature distance value is used as the target facial feature information; when the target facial feature distance value is greater than or equal to the second distance threshold, at this time, the user's facial movement has exceeded the recognizable range and the target facial feature information cannot be recognized.
[0073] It should be noted that the second distance threshold is obtained through repeated experiments and tuning.
[0074] In specific practice, the facial feature distance value can be obtained by calculating the Euclidean distance between the facial feature information to be processed and the facial feature information.
[0075] like Figure 6 As shown, in one embodiment, Figure 1 After step S150 in the illustrated embodiment, the following steps are also included but not limited to:
[0076] Step S610, obtaining status information from the target robot;
[0077] Step S620: Based on the state information, when it is determined that the target robot is in an abnormal state, a preset reset instruction is sent to the target robot.
[0078] It is understandable that after sending a target control instruction to the target robot, in order to ensure the normal operation of the target robot, it is necessary to monitor the status information of the target robot. When the target robot is in an abnormal state, for example, the target robot stops moving, it is necessary to send a reset instruction to the target robot to avoid damage to the target robot.
[0079] It is worth noting that the reset command can be input in advance by the user. After receiving the reset command, the robot can reset to the initial state or maintenance state. The robot in the maintenance state cannot respond to new control commands. The user can release the maintenance state by sending a start command to the robot.
[0080] In addition, refer to Figure 7 The present application also provides a multi-robot control device 700 based on edge computing, which can be applied to an edge device, the edge device is communicatively connected with a plurality of robots, the edge device is communicatively connected with an image acquisition device, and the multi-robot control device 700 based on edge computing includes:
[0081] A receiving unit 710, configured to receive gesture image information and facial image information from an image acquisition device;
[0082] The first recognition unit 720 is used to perform image recognition processing on the gesture image information to obtain gesture feature information to be processed;
[0083] The second recognition unit 730 is used to perform image recognition processing on the facial image information to obtain facial feature information to be processed;
[0084] The processing unit 740 is used to determine a target robot among the robots based on the gesture feature information to be processed, the facial feature information to be processed and a preset control rule, and determine a target control instruction for the target robot;
[0085] The sending unit 750 is used to send the target control instruction to the target robot, so that the target robot performs corresponding actions according to the target control instruction.
[0086] It can be understood that the specific implementation of the edge computing-based multi-robot control device 700 is basically the same as the specific implementation example of the above-mentioned edge computing-based multi-robot control method, which will not be repeated here; based on this, by performing image recognition processing on the user's gesture image information and facial image information, the gesture feature information to be processed and the facial feature information to be processed are obtained respectively, and then combined with the control rules, the target robot and its target control instructions are accurately determined, and the target robot is controlled by the target control instructions, which can improve the efficiency of the robot control process. In addition, by performing image recognition processing through edge devices, there is no need to perform information processing through the cloud, which can reduce the information processing cost.
[0087] In addition, refer to Figure 8 , Figure 8 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0088] The processor 801 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0089] The memory 802 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 802 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 802, and the processor 801 calls and executes the edge computing-based multi-robot control method of the embodiment of the present application, for example, executing the above-described Figure 1 Steps S110 to S150 of the method, Figure 2 Steps S210 to S240 of the method, Figure 3 Steps S310 to S360 of the method, Figure 4 Steps S410 to S420 of the method, Figure 5 Steps S510 to S530 of the method, Figure 6 Steps S610 to S630 of the method;
[0090] Input / output interface 803, used to implement information input and output;
[0091] The communication interface 804 is used to realize the communication interaction between the device and other devices. The communication can be realized through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.);
[0092] A bus 805 that transmits information between various components of the device (e.g., the processor 801, the memory 802, the input / output interface 803, and the communication interface 804);
[0093] The processor 801 , the memory 802 , the input / output interface 803 and the communication interface 804 are connected to each other in communication within the device via a bus 805 .
[0094] The embodiment of the present application also provides a storage medium, which is a computer-readable storage medium for computer-readable storage. The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned edge computing-based multi-robot control method, for example, to execute the above-described Figure 1 Steps S110 to S150 of the method, Figure 2 Steps S210 to S240 of the method, Figure 3 Steps S310 to S360 of the method, Figure 4 Steps S410 to S420 of the method, Figure 5 Steps S510 to S530 of the method, Figure 6 The method comprises steps S610 to S630.
[0095] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0096] The edge computing-based multi-robot control method, device and storage medium provided in the embodiments of the present application receive gesture image information and facial image information from an image acquisition device; perform image recognition processing on the gesture image information to obtain gesture feature information to be processed; perform image recognition processing on the facial image information to obtain facial feature information to be processed; determine the target robot among each robot based on the gesture feature information to be processed, the facial feature information to be processed and the preset control rules, and determine the target control instruction of the target robot; send the target control instruction to the target robot so that the target robot performs the corresponding action according to the target control instruction; based on this, by performing image recognition processing on the user's gesture image information and facial image information, the gesture feature information to be processed and the facial feature information to be processed are obtained respectively, and then combined with the control rules, the target robot and its target control instruction are accurately determined, and the target robot is controlled by the target control instruction, which can improve the efficiency of the robot control process. In addition, by performing image recognition processing on the edge device, there is no need to perform information processing through the cloud, which can reduce the information processing cost.
[0097] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0098] It can be understood by those skilled in the art that Figures 1 to 6 The technical solutions shown in the figure do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than those shown in the figure, or a combination of certain steps, or different steps.
[0099] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0100] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0101] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0102] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0103] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0104] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0105] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0106] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0107] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A multi-robot control method based on edge computing, applied to an edge device, wherein the edge device is communicatively connected to a plurality of robots, and the edge device is communicatively connected to an image acquisition device, characterized in that: The method comprises: receiving gesture image information and facial image information from the image acquisition device; Performing image recognition processing on the gesture image information to obtain gesture feature information to be processed; Performing image recognition processing on the facial image information to obtain facial feature information to be processed; Based on the gesture feature information to be processed, the facial feature information to be processed and a preset control rule, determining a target robot among the robots, and determining a target control instruction for the target robot; Sending the target control instruction to the target robot so that the target robot performs a corresponding action according to the target control instruction; The steps for establishing the control rules are as follows: Acquire a gesture feature set, a facial feature set and an instruction set, wherein the gesture feature set includes a plurality of gesture feature information, the facial feature set includes a plurality of facial feature information, and the instruction set includes a plurality of control instructions; Associating the gesture feature information with the robots one by one to obtain a first association rule; Associating the facial feature information with the control instructions one by one to obtain a second association rule; A control rule is determined according to the first association rule and the second association rule.
2. The method according to claim 1, characterized in that The step of determining a target robot among the robots based on the gesture feature information to be processed, the facial feature information to be processed and a preset control rule, and determining a target control instruction for the target robot, comprises: Based on the first association rule, comparing the gesture feature information to be processed with each of the gesture feature information; When it is determined that the gesture feature information to be processed matches any of the gesture feature information, taking the matched gesture feature information as target gesture feature information; Determining a target robot among the robots based on the target gesture feature information; Based on the second association rule, comparing the facial feature information to be processed with each of the facial feature information; When it is determined that the facial feature information to be processed matches any of the facial feature information, taking the matched facial feature information as target facial feature information; A target control instruction is determined among the control instructions based on the target facial feature information.
3. The method according to claim 2, characterized in that After the step of comparing the gesture feature information to be processed with each of the gesture feature information based on the first association rule, the method further includes: When it is determined that the gesture feature information to be processed does not match any of the gesture feature information, calculating a gesture feature distance value between the gesture feature information to be processed and each of the gesture feature information; Taking the minimum gesture feature distance value as the target gesture feature distance value; When it is determined that the target gesture feature distance value is less than a preset first distance threshold, the gesture feature information corresponding to the target gesture feature distance value is used as the target gesture feature information.
4. The method according to claim 2, characterized in that: After the step of comparing the facial feature information to be processed with each of the facial feature information based on the second association rule, the method further includes: When it is determined that the facial feature information to be processed does not match any of the facial feature information, calculating a facial feature distance value between the facial feature information to be processed and each of the facial feature information; Taking the minimum facial feature distance value as the target facial feature distance value; When it is determined that the target facial feature distance value is less than a preset second distance threshold, the facial feature information corresponding to the target facial feature distance value is used as the target facial feature information.
5. The method according to claim 1, characterized in that After the step of sending the target control instruction to the target robot, the method further includes: Acquiring status information from the target robot; Based on the state information, when it is determined that the target robot is in an abnormal state, a preset reset instruction is sent to the target robot.
6. A multi-robot control device based on edge computing, applied to an edge device, wherein the edge device is communicatively connected to a plurality of robots, and the edge device is communicatively connected to an image acquisition device, characterized in that: The device comprises: A receiving unit, used for receiving gesture image information and facial image information from the image acquisition device; A first recognition unit, configured to perform image recognition processing on the gesture image information to obtain gesture feature information to be processed; A second recognition unit is used to perform image recognition processing on the facial image information to obtain facial feature information to be processed; a processing unit, configured to determine a target robot among the robots based on the gesture feature information to be processed, the facial feature information to be processed and a preset control rule, and determine a target control instruction for the target robot; A sending unit, used for sending the target control instruction to the target robot, so that the target robot performs a corresponding action according to the target control instruction; An acquisition unit, used to acquire a gesture feature set, a facial feature set and an instruction set, wherein the gesture feature set includes a plurality of gesture feature information, the facial feature set includes a plurality of facial feature information, and the instruction set includes a plurality of control instructions; A first association unit, used to associate the gesture feature information with the robot one by one to obtain a first association rule; A second associating unit, configured to associate the facial feature information with the control instructions one by one to obtain a second association rule; A determining unit is used to determine a control rule according to the first association rule and the second association rule.
7. An electronic device, characterized in that: The electronic device includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the edge computing-based multi-robot control method as described in any one of claims 1 to 5 is realized.
8. A storage medium, the storage medium being a computer-readable storage medium, used for computer-readable storage, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the edge computing-based multi-robot control method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Robot control method and device, electronic equipment and storage medium
CN108568820A
Natural Human to Robot Remote Control
US20120239196A1
