Edge-cloud integrated data mining method, system, device and storage medium

Through the edge-cloud integrated data mining method, distributed computing and label processing are used to solve the problem of excessive occupation of edge computing resources, achieve efficient data synchronization and search, and improve the performance and comprehensiveness of data collection of the robot system.

CN118467796BActive Publication Date: 2024-09-24ZHEJIANG YOULU ROBOT TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410925143.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-09-24
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

During the data mining process, existing technologies occupy too much computing resources and storage space at the edge, which affects the real-time performance of the robot system. Moreover, traditional data mining algorithms take a long time to calculate and adjust strategies, which limits the comprehensiveness and efficiency of data collection.

Method used

Adopting an edge-cloud integrated data mining method, real-time analysis programs are deployed on the edge for tag processing. The cloud uses distributed computing structures and GPU/CPUs for tag processing and search logic analysis to achieve data item accuracy acquisition and model training. Reduce edge computing burden and improve data synchronization efficiency.

Benefits of technology

While reducing the robot's computing resources and storage space, it maintains complete feature expression capabilities, achieves second-level search logic updates and large-scale data retrieval, improves data synchronization efficiency and search capabilities, and reduces the burden of data uploading.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118467796B
    Figure CN118467796B
Patent Text Reader

Abstract

The present invention discloses an edge-cloud integrated data mining method, including deploying a real-time analysis program on the edge according to business needs to perform logical judgment on the real-time messages generated by the robot and then labeling them to obtain edge labels; the cloud obtains vector labels or simple labels by pulling the edge labels and adding complex labels processed separately by the cloud, and inserting the edge labels and complex labels into the cloud native database respectively; the cloud establishes search logic through the edge labels and the labels generated by the cloud, and sends the data items that meet the accuracy rate to the edge or for model training or simulation to reproduce the problem. The beneficial effect of the present invention is that it can effectively reduce the computing resource loss and computing time cycle in the data mining process, so that the data mining efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data mining technology, and specifically to an edge-cloud integrated data mining method, device and system. Background Art

[0002] Data mining: aims to extract insightful features, patterns or trends from raw data, involving a series of complex methods such as data cleaning, feature engineering, association analysis, anomaly detection, etc. Through deep mining, researchers can reveal the deep laws hidden behind a large amount of sensor records, user behavior data or other robot interaction data, providing high-quality input for building accurate robot behavior models.

[0003] When the data mining process of existing technologies is running on the edge, it occupies the computing resources and storage space on the robot side, which may affect the real-time performance of the robot system. To ensure the stable operation of the system, it is necessary to optimize the data collection strategy, such as mining data only during the non-operating period of the system, but this may also limit the comprehensiveness of data collection. In addition, data mining in existing technologies generally uses fixed logical codes, using comparisons and assumptions to find the problem time period. Traditional data mining algorithms require days of time for each search calculation, making it very difficult to adjust the strategy. Summary of the invention

[0004] The purpose of the present invention is to provide an edge-cloud integrated data mining method, device and system to solve the problems raised in the above-mentioned background technology.

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] In a first aspect, the present invention provides an edge-cloud integrated data mining method, the method being as follows:

[0007] The edge deploys a real-time analysis program based on business needs to perform logical judgment on the real-time messages generated by the robot and then label them to obtain edge labels;

[0008] The cloud side pulls the edge labels and joins the distributed computing structure using map reduce in the cloud side, schedules the GPU and CPU computing units, and then uses model reasoning or evaluation scripts to obtain vector labels or simple labels, and inserts the edge labels and complex labels into the cloud native database respectively;

[0009] The cloud establishes search logic through the edge labels and the labels generated by the cloud, and performs logical analysis on the search logic. After logical analysis of the search logic, the accuracy of the data entries is obtained, and the data entries that meet the accuracy are sent to the edge or used for model training or simulation to reproduce the problem.

[0010] Preferably, the logical judgment of the real-time message generated by the robot includes using a C++ program to capture the information generated by the robot in real time, and classifying and labeling the robot state information and surrounding environment information.

[0011] Preferably, the state information of the robot includes motion state, task state, and location; and the surrounding environment information of the robot includes obstacle information.

[0012] Preferably, the process of reprocessing the complex tags added to the cloud for separate processing is as follows.

[0013] Preferably, the process of obtaining the accuracy of data entries after logically parsing the search logic is to use a Java program to query the cloud native database to obtain specific data entries, and use the image visualization and playback visualization attached to the label to confirm the accuracy of the entry.

[0014] Preferably, the real-time analysis program also includes dynamic insertion processing of the dynamic mining logic sent from the cloud.

[0015] In a second aspect, the present invention provides a system for synchronously mining edge and cloud data, the system comprising:

[0016] The real-time analysis program module is deployed on the edge to perform logical judgment on the real-time messages generated by the robot and then label them to obtain edge labels;

[0017] The data labeling module is deployed in the cloud and is used to pull the edge labels and add the complex labels processed separately in the cloud to obtain vector labels or simple labels after further processing, and insert the edge labels and complex labels into the cloud native database respectively; the specific process is: using the distributed computing structure of map reduce, scheduling the GPU and CPU computing units, and then using model reasoning or evaluation scripts to obtain vector labels or simple labels;

[0018] The data retrieval module is deployed in the cloud, establishes search logic through the edge labels and the labels generated in the cloud, and performs logical analysis on the search logic. After logical analysis of the search logic, the accuracy of the data entries is obtained, and the data entries that meet the accuracy are sent to the edge or used for model training or simulation to reproduce the problem.

[0019] In a third aspect, the present invention provides a processing device, comprising at least one processor and at least one memory, wherein the at least one processor is used to execute instructions in the at least one memory, so as to enable the processing device to perform the method as described in any one of the first aspects.

[0020] In a fourth aspect, the present invention provides a readable storage medium, wherein the readable storage medium stores instructions. When the instructions are executed on a processing device, the processing device executes the method as described in any one of the first aspects.

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

[0022] 1. The present invention has search capabilities on both the edge and the cloud. Compared with the traditional edge-heavy mining capabilities, it reduces the computational overhead on the robot, reduces the robot's computing resources and storage space, and retains full feature expression capabilities.

[0023] 2. The cloud-based search capability makes visualization instantly available. After all the search logic is assembled, the fast retrieval capability of the cloud-native database can be used to return TB-level large-scale disk indexes in seconds, improving data synchronization efficiency.

[0024] 3. The cloud search capability is highly scalable and can access complex offline model results, vector search engines, simulation judgment criteria, etc.;

[0025] 4. The data on the robot can be quickly judged for validity, which can greatly reduce the burden of data uploading;

[0026] 5. The search capability of the cloud makes it easy to modify the logic that is difficult to debug on the edge;

[0027] 6. All search capabilities established in the cloud can be quickly distributed while the robot is running, allowing all robot search logic to be updated once every few seconds. Traditional methods require weekly updates. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 This is a schematic diagram of an edge-cloud integrated data mining method according to an embodiment of the present invention;

[0029] Figure 2 A schematic diagram of the system structure provided by an embodiment of the present invention;

[0030] Figure 3 A data mining flow chart showing a uniform data mining process according to a specific embodiment of the present invention;

[0031] Figure 4 It is a schematic diagram of the structure of the processing equipment of the present invention. DETAILED DESCRIPTION

[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0033] In the description of the embodiments of the present application, words such as "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a concrete way.

[0034] In the description of the embodiments of the present application, the term "and / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, B exists alone, and A and B exist at the same time. In addition, unless otherwise specified, the term "multiple" means two or more. For example, multiple systems refers to two or more systems, and multiple terminals refers to two or more terminals.

[0035] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprises", "has" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0036] In the description of the embodiments of the present application, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0037] In the description of the embodiments of the present application, the terms "first\second\third, etc." or module A, module B, module C, etc. are only used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that the specific order or sequence can be interchanged where permitted so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0038] In this solution, a target recognition algorithm is set for the target of interest trigger. The target recognition algorithm is defined according to the type of target of interest. The target recognition algorithm sets a corresponding seed trigger for each type of target of interest; the target recognition algorithm is deployed to the edge (deployed as a robot in the actual implementation). The cloud triggers the corresponding target recognition algorithm on the edge based on business needs and outputs the target of interest data results; after the target of interest data results are collected, the target of interest data results are labeled, and the labeled data is input into the corresponding seed trigger for algorithm iterative training, forming a data closed loop for optimizing the target recognition algorithm. The types of targets of interest include the robot's position, motion status, task status, surrounding obstacles, signs, traffic signals, etc.

[0039] See also Figure 1 The present invention provides an edge-cloud integrated data mining method. In the field of robotics research and development, data closed loop is a key paradigm, marking a profound shift from the traditional research and development model oriented to specific cases to the advanced methodology driven by massive data. This process relies on data mining to provide a large amount of high-quality data, driving iterative upgrades for different algorithm models.

[0040] Specifically, the edge deploys a real-time analysis program according to business needs to perform logical judgment on the real-time messages generated by the robot and then label them to obtain edge labels. The specific process is: use the C++ program to capture the information generated by the robot in real time, and classify and label the robot status information and surrounding environment information. Furthermore, the robot's status information includes motion status, task status, and location; the robot's surrounding environment information includes obstacle information. The real-time analysis program also includes dynamic insertion processing of the dynamic mining logic sent from the cloud.

[0041] In the present invention, the robot is usually deployed with a perception module, a positioning module, a decision module and a control module. The positioning module transmits a signal to the perception module at a frequency of 100Hz. After the perception module obtains the signal of the positioning module in real time, it sends the signal to the decision module at a frequency of 10Hz. At the same time, the robot state information obtained by the perception module is sent to the decision module. After the decision module makes a judgment, it generates an instruction and then sends the instruction to the control module at 10Hz for the next step. These information occur between different modules, and they are "different" messages in the continuous 4d world. In order to effectively capture the overall state of the robot, the time and space where the robot is located is abstracted into a label system with a granularity of seconds. In this way, the state information of the positioning module, the perception module, the decision module, and the control module can be attached to the robot number + second level time to uniquely represent. From the perspective of the database, the robot number and second level time are two key columns, and other information (n latitudes) are supplemented with additional columns to form an information table of 2+n columns.

[0042] Specifically, the cloud obtains vector labels or simple labels by pulling the edge labels and adding the complex labels processed separately by the cloud, and then processes them again, and inserts the edge labels and the complex labels into the cloud native database respectively; the specific process is: using the distributed computing structure of map reduce, scheduling the GPU and CPU computing units, and then using model reasoning or evaluation scripts to obtain vector labels or simple labels.

[0043] The cloud establishes search logic through the edge tags and the tags generated by the cloud, and performs logical analysis on the search logic. After performing logical analysis on the search logic, the accuracy of the data entries is obtained, and the data entries that meet the accuracy are sent to the edge or used for model training or simulation to reproduce the problem. The process of obtaining the accuracy of the data entries after logical analysis of the search logic is to use a Java program to query the cloud native database to obtain specific data entries, and use the image visualization and playback visualization attached to the tag to confirm the accuracy of the entry.

[0044] like Figure 4 As shown in the figure, this figure shows the model reasoning process of matching text descriptions with images. The goal of the model is to achieve matching by calculating the similarity between text and images.

[0045] The specific reasoning process is as follows:

[0046] Text reasoning: The text encoder obtains the text description content, such as "scene with a water pipe on the grass" and "scene with curbstones". This part is the input. The text encoder encodes the input text description into a feature vector. For example, the text encoder uses a natural language processing model such as BERT and GPT to output a text encoding feature vector [T1,T2,T3,...,TN][T_1,T_2,T_3,...,T_N][T1

[0047] ,T2,T3,...,TN], these feature vectors represent the embedded representation of each text description and have a fixed dimension.

[0048] Reasoning about the image:

[0049] Input: multiple images, each image contains a different scene.

[0050] Process: The image encoder encodes the input image into a feature vector. The ViT (Vision Transformer) model is used. ViT is a Transformer-based image processing model that divides the image into multiple patches and then processes them through a multi-head self-attention mechanism.

[0051] Output: Image encoding feature vectors [I1,I2,I3,...,IN][I_1,I_2,I_3,...,I_N][I1,I2,I3,...,IN]. These feature vectors represent the embedded representation of each image and have a fixed dimension.

[0052] Similarity calculation:

[0053] Process: Each image feature vector I i With each text feature vector T j Perform similarity calculation. Usually, this similarity can be achieved through dot product or cosine similarity.

[0054] Output: Get a similarity matrix, each element I i、 T j Represents image I i With text description T j The similarity score between .

[0055] In the present invention, after the cloud tag system forms a system with 2+n columns of information table, all searches will be translated into specific SQL statements. The query system uses SQL to search this information table and composes a time segment with robot number + start time (seconds) + end time (seconds) on the server side.

[0056] There is no database or information table on the edge. After dynamically subscribing to all real-time information, the cache mechanism is used to store all messages obtained in one second. After one second, the tags are extracted (using the logic extraction sent by the cloud), and then screened and filtered.

[0057] By using the abstract method of robot number + second-level time, the edge and cloud share the same search logic, so that the cloud's WYSIWYG search logic can be synchronously reused on the robot. In the end, most tags can be searched on the edge, and a small number of tags are exclusively available on the cloud; all data can be searched and reported on the edge, and detailed data can be screened on the cloud.

[0058] In a specific embodiment of the present invention, taking the improvement of the robot's ability to recognize a water cup as an example, a workflow of an edge-cloud integrated data mining method for improving model performance is established:

[0059] S1, a model capable of recognizing water cups is deployed on the robot, and information about whether water cups appear is published in the / perception / result message channel {["obstacle_type":"water cup"],["obstacle_type":"door handle"]...}, proposing a requirement to further collect all possible scenarios where water cups may appear for analysis;

[0060] S2, in the search interface of the cloud, create a label for the perception result, set the name to "Obstacle Category", the channel to / perception / result, and the extraction rule to "*.obstacle_type", forming a label for the obstacle category;

[0061] S3, use the tag to retrieve the tag of "Robot is moving" (existing tag) and "Obstacle category", forming the search logic that the robot is moving and has found the water cup: {"Robot is moving": true, "Obstacle category": "Water cup"};

[0062] S4, click search on the cloud search interface to obtain all search results, check the search results and determine whether they meet the data mining requirements;

[0063] S5, adjust the tag settings and search logic until they meet the requirements, synchronize the tag settings and search logic to the robot side, and set the data of "the robot is moving and finds the water cup" to be collected for half an hour every day;

[0064] S6, after the robot obtains the logic, it automatically determines whether it meets the data mining requirements during operation. If it meets the requirements, it marks the time segment and uploads it;

[0065] S7, the cloud captures the data uploaded by the robot, and further adds the true value results to the qualified data through the algorithm or manually adds the true value;

[0066] S8, the model capable of recognizing water cups uses the newly generated true value data to update the model. After confirming the improvement in effect, it is deployed on the vehicle, and the model effect and continuous improvement are observed through the edge-cloud integrated data mining system.

[0067] In addition, the present invention also provides a system for synchronous mining of edge and cloud data, including:

[0068] Real-time analysis program module 1 is deployed on the edge, performs logical judgment on the real-time messages generated by the robot, and then labels them to obtain edge labels;

[0069] Data labeling module 2, deployed in the cloud, is used to pull the edge labels and add the complex labels processed separately in the cloud to obtain vector labels or simple labels after further processing, and insert the edge labels and complex labels into the cloud native database respectively;

[0070] The data retrieval module 3 is deployed in the cloud, establishes search logic through the edge labels and the labels generated in the cloud, and performs logical analysis on the search logic. The accuracy of the data entries is obtained after logical analysis of the search logic, and the data entries that meet the accuracy are sent to the edge or used for model training or simulation to reproduce the problem.

[0071] In addition, the present invention also provides a processing device, the processing device includes at least one processor and at least one memory, the at least one processor is used to execute instructions in the at least one memory, so that the processing device performs a method for synchronous mining of edge and cloud data. The processing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the processing device can also be a terminal device such as a desktop, a laptop or a smart phone. The processing device includes at least one processing device 100. The processing device 100 includes: a bus 102, a processor 104, a memory 106 and a communication interface 108. The processor 104, the memory 106 and the communication interface 108 communicate through the bus 102. The processing device 100 can be a server or a terminal device. It should be understood that the present application does not limit the number of processors and memories in the processing device 100. The bus 102 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one line is used in the figure, but it does not mean that there is only one bus or one type of bus. Bus 102 may include a path for transmitting information between various components of processing device 100 (eg, memory 106, processor 104, communication interface 108).

[0072] The processor 104 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0073] The memory 106 may include a volatile memory, such as a random access memory (RAM). The memory 106 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0074] The memory 106 stores executable program codes, and the processor 104 executes the executable program codes to implement the functions of the aforementioned real-time analysis program module 1, data labeling module 2, and data retrieval module 3, thereby realizing an edge-cloud integrated data mining method.

[0075] Alternatively, the memory 106 stores executable codes, and the processor 104 executes the executable codes to respectively implement the functions of the aforementioned image and text processing module 82 and the model updating module 85, thereby realizing the end-cloud collaborative data mining method.

[0076] The communication interface 103 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the processing device 100 and other devices or a communication network.

[0077] The memory 106 in the processing device 100 may store the same instructions for executing the end-cloud collaborative data mining method.

[0078] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid-state hard disk), etc. The computer-readable storage medium includes instructions that instruct the processing device to execute an edge-cloud integrated data mining method.

[0079] Finally, the present invention also provides a readable storage medium, in which instructions are stored. When the instructions are executed on the above-mentioned processing device, the processing device executes the edge-cloud integrated data mining method.

[0080] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. The edge-cloud integrated data mining method is characterized by: The method is as follows: The edge deploys a real-time analysis program based on business needs to perform logical judgment on the real-time messages generated by the robot and then label them to obtain edge labels; The cloud obtains the vector label or simple label by pulling the edge label and adding the complex label processed separately by the cloud, and then processes it again, and inserts the edge label and the complex label into the cloud native database respectively; the specific process is: using the distributed computing structure of map reduce, scheduling the GPU and CPU computing units, and then using model reasoning or evaluation scripts to obtain the vector label or simple label; The cloud establishes search logic through the edge labels and the labels generated by the cloud, and performs logical analysis on the search logic. After logical analysis of the search logic, the accuracy of the data entries is obtained, and the data entries that meet the accuracy are sent to the edge or used for model training or simulation to reproduce the problem.

2. The edge-cloud integrated data mining method according to claim 1, characterized in that: The logical judgment of the real-time message generated by the robot includes using a C++ program to capture the information generated by the robot in real time, and classifying and labeling the robot state information and the surrounding environment information.

3. The edge-cloud integrated data mining method according to claim 2, characterized in that: The robot's state information includes motion state, task state, and location; the robot's surrounding environment information includes obstacle information.

4. The edge-cloud integrated data mining method according to claim 3 is characterized in that: The process of obtaining the accuracy of data entries after logically parsing the search logic is to use a Java program to query the cloud native database to obtain specific data entries, and use the image visualization and playback visualization attached to the label to confirm the accuracy of the entry.

5. The edge-cloud integrated data mining method according to claim 4 is characterized in that: The real-time analysis program also includes dynamically inserting the dynamic mining logic sent from the cloud.

6. A system for synchronous mining of edge and cloud data, characterized in that: The system comprises: The real-time analysis program module is deployed on the edge to perform logical judgment on the real-time messages generated by the robot and then label them to obtain edge labels; The data labeling module is deployed in the cloud and is used to pull the edge labels and add the complex labels processed separately in the cloud to obtain vector labels or simple labels after further processing, and insert the edge labels and complex labels into the cloud native database respectively; the specific process is: using the distributed computing structure of map reduce, scheduling the GPU and CPU computing units, and then using model reasoning or evaluation scripts to obtain vector labels or simple labels; The data retrieval module is deployed in the cloud, establishes search logic through the edge labels and the labels generated in the cloud, and performs logical analysis on the search logic. After logical analysis of the search logic, the accuracy of the data entries is obtained, and the data entries that meet the accuracy are sent to the edge or used for model training or simulation to reproduce the problem.

7. A processing device, characterized in that: The processing device comprises at least one processor and at least one memory, wherein the at least one processor is used to execute instructions in the at least one memory, so as to enable the processing device to perform the method according to claim 1.

8. A readable storage medium, characterized in that: The storage medium stores instructions. When the instructions are executed on a processing device, the processing device executes the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Model deployment method and device based on big data mining, equipment and storage medium

    CN112445845A

  • Cloud robot real-time monitoring and control method based on cloud, fog and edge cooperation

    CN115189997A

  • Label information processing method and device, storage medium, electronic equipment and system

    CN116228274A

  • End-cloud collaborative data mining method, device and system and computer cluster

    CN116561194A

  • Cloud side end industrial intelligent adaptation system

    CN117395250A