Label updating method and device, cluster and storage medium
An update method and labeling technology, applied in software deployment and other directions, can solve problems such as high development and maintenance costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] figure 1 It is a flow chart of the tag update method provided in Embodiment 1 of the present invention, the method can be executed by a cluster, and specifically includes the following steps:
[0050] Step 110, receiving the first marking rule sent by the server.
[0051] In this embodiment, the first marking rule is a marking rule provided by the user to the server through the client, and the server sends the first marking rule to the cluster after receiving the first marking rule. Specifically, the marking rule is a rule for adding labels to data; for example, if the marking rule is a marking rule for group consumption records, the marking rule can add low-consumption labels for individuals whose average daily consumption is less than 100 yuan , Add the medium consumption label to individuals with an average daily consumption of 100-1,000 yuan, and add the high consumption label to individuals with an average daily consumption of more than 1,000 yuan.
[0052] Step ...
Embodiment 2
[0066] Figure 4 It is a flow chart of the tag update method provided in Embodiment 2 of the present invention, which can be executed by a cluster, and specifically includes the following steps:
[0067] Step 210, receiving the label calculation program sent by the server;
[0068] In this embodiment, the server is a Livy server, the label calculation program is a program built on the Spark calculation engine, and the label calculation program is a program for marking data. Livy is a typical REST service architecture. On the one hand, it accepts and parses the user's REST request, converts it into a corresponding operation, and sends the operation to the cluster for processing; on the other hand, it manages all the clusters started by the user.
[0069] Specifically, when the user needs to send a label calculation program to the cluster, the user can create a new Livy Session on the Livy server by calling the Livy Client (Livy Client). The receiving the label calculation pro...
Embodiment 3
[0088] The label update device provided by the embodiment of the present invention can execute the label update method provided by any embodiment of the present invention, see Image 6 , the label update device 3 specifically includes:
[0089] A receiving module 31, configured to receive the first marking rule sent by the server;
[0090] A reading module 32, configured to read the data to be processed and the corresponding second label, the second label is a second label defined by the data to be processed based on the second marking rule;
[0091] A marking module 33, configured to mark the data to be processed according to the first marking rule, so as to obtain a first label defined by the data to be processed based on the first marking rule;
[0092] An updating module 34, configured to combine the first label and the second label corresponding to the data to be processed to obtain a target label.
[0093] In an alternative embodiment, the update module is further config...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com