Unlock instant, AI-driven research and patent intelligence for your innovation.

Tag real-time update method and system

A real-time update and labeling technology, which is applied in the direction of using information identifiers to retrieve web data, instruments, and other databases, can solve problems such as inability to support analysis and screening and exporting people, poor data writing and exporting performance, and limited use scenarios

Active Publication Date: 2021-06-29
广东数果科技有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This type of solution can provide flexible analysis and data export, but the performance of writing and exporting a large amount of data is poor
[0007] Using the key-value data storage solution can effectively support the function of querying tag data according to the unique id, but it cannot support the function of analyzing and filtering and exporting people based on any dimension, and the usage scenarios are relatively limited.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Tag real-time update method and system
  • Tag real-time update method and system
  • Tag real-time update method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] Since most index files are immutable, if you want to update the information of a certain field, the existing label update method needs to delete the entire row first, and then insert a new row (for example, HBase, Lucene, etc.) . Such as Figure 1A As shown, the score value of row ID 1002 needs to be changed. The process of changing the existing label update method is as follows Figure 1B shown. It can be seen that the update method of the prior art has the following two steps:

[0047] Delete the row mark to be updated;

[0048] Insert a new row, which contains the latest value of the field to be updated, while the values ​​of other fields remain unchanged.

[0049] The big disadvantage of this method is: for fields that have not been updated, they must be reinserted. If there are too many fields, the update cost is too high, which seriously affects performance.

[0050] The real-time tag update method provided by the embodiment of the present invention is as fol...

Embodiment approach

[0055] Such as Figure 4 As shown, the real-time tag update method of the present invention provides a preferred implementation, including the following steps;

[0056] Step S10: Locate the field to be changed;

[0057] Step S11: Obtain the changed value of the field to be changed;

[0058] Step S12: stack the changed value on the old field value of the field;

[0059] Step S13: For a field, create a generation for each change value, and sort by the establishment time of each generation;

[0060] Step S14: When reading the tag information, for the field that has been changed, extract the changed value corresponding to the generation with the latest creation time as the field value of the field.

[0061] Step S15: When the set merge field value period arrives, for each field that has been changed, use the changed value corresponding to the generation with the latest creation time as the field value of the field, and delete the remaining changed values ​​and the corresponding...

Embodiment 2

[0067] Embodiment 2 of the present invention provides a real-time label update system, including a coordination node module 100, a label data node module 200, a data query node module 300, a client 400, an application coordination service module 500, a distributed file system 600 and a database 700 , the label data node module 200 is respectively connected to the data query node module 300, the client 400, the application program coordination service module 500, the distributed file system module 600 and the database 700, and the coordination node module 100 is respectively connected to the client terminal 400 and the application program coordination service module 500;

[0068] Coordinating node module 100: for managing label data node module 200;

[0069] Label data node module 200: used to receive the label data transmitted from the client 400, and modify the label by executing the application program. When the application program is executed, the following label real-time ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a real-time tag update method, which includes the following steps: step S10: locate the field to be changed; step S11: obtain the change value of the field to be changed; step S12: stack the change value on the field on the old field value. The invention also provides a label real-time update system. The method and system for updating tags in real time provided by the present invention have changed the method of deleting the entire row in the previous updating method and then re-establishing a new data row. By locating the field that needs to be modified, the new field value is used to overwrite the old field value In addition, the performance of data writing and exporting has been greatly improved.

Description

technical field [0001] The invention relates to the field of Internet big data processing, in particular to a method and system for updating labels in real time. Background technique [0002] In recent years, with the development and popularization of mobile Internet technology, more and more user behavior data have been generated. Many Internet companies have abstracted user label models, that is, user portraits, through these user behavior data. User tags mainly include: the user's basic attributes, social attributes, hobbies, behavioral characteristics, psychological characteristics, etc. The value of these tags lies in understanding users, guessing potential needs of users, finely locating population characteristics, and mining potential user groups, so as to achieve precise marketing, personalized recommendations, and improve operational efficiency. [0003] User tags are constantly changing and improving, and need to be continuously revised based on behavioral data, s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/955G06F16/182
Inventor 姚驰
Owner 广东数果科技有限公司