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

Element processing method and device, electronic equipment and storage medium

A processing method and elemental technology, applied in the field of big data processing, can solve problems such as uncontrollable upper limit of memory, overflow of memory usage, and decline of judgment accuracy, and achieve the effects of accurate and fast attribute identification, reduction of memory usage, and time reduction

Active Publication Date: 2020-07-24
广州汇量信息科技有限公司
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004]The b tree is to maintain a data structure that can compare the size of elements, and to realize whether an element exists in a certain set through efficient search and insertion of elements Accurate judgment, the disadvantage is that as the number of elements increases, the memory occupied by the b-tree also increases rapidly, and the upper limit of the memory is uncontrollable. In the Internet environment where the data scale continues to explode and the single-machine memory is limited, there is a risk of memory overflow. The stable operation of the system is affected, and the b-tree cannot be used to quickly combine multiple sets
Bitmap realizes high-speed search of elements by mapping each element to a bit with a hash function, because any two bitmaps can be merged as long as the bitwise OR operation is performed, so it can solve the problem that the b-tree cannot quickly find the union The problem, but the disadvantage is that memory needs to be pre-allocated, and the upper limit of memory determines the upper limit of the cardinality that can be obtained, and when the cardinality is close to this limit, the judgment accuracy will drop sharply due to hash value conflicts

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
  • Element processing method and device, electronic equipment and storage medium
  • Element processing method and device, electronic equipment and storage medium
  • Element processing method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] figure 1 It is a flow chart of an element processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of mobile Internet big data processing. The method can be executed by software and / or hardware, and can be configured in a computer device. For example, servers, workstations, mobile terminals, etc., the method specifically includes the following steps:

[0030] Step 110, receiving an element as a target object.

[0031] In this embodiment, an element is an object in a data set, some specified objects are gathered together to form a data set, the receiving of an element is an online dynamic process, and the target object is used to represent the element being processed at the current moment. The data set can be obtained by directly reading the existing large database, or it can be an empty set, which reads the data directly from the data stream and stores and accumulates it. The data set will change continuously during...

Embodiment 2

[0078] image 3 It is a flowchart of an element processing method provided by Embodiment 2 of the present invention. This embodiment is supplemented and refined on the basis of the foregoing embodiments. The method specifically includes the following steps:

[0079] Step 310, receiving an element as a target object.

[0080] Step 320: If the target object matches the preset type data, back up the container in the target bucket to obtain container backup data.

[0081] Wherein, the target bucket is a bucket among the preset multiple buckets that is suitable for the target object, and each bucket has a container, and the bucket is used to store elements with the same behavior, and the container is used to store feature values ​​of the elements.

[0082] The preset type data represents a data type, which needs to be set according to the data type used in the actual business. Different fields and different business types use different data types. For example, in the field of mob...

Embodiment 3

[0118] Figure 4 It is a structural block diagram of an element processing device provided by Embodiment 3 of the present invention. The device is suitable for the processing of big data in the mobile Internet, and the device can be realized by software and / or hardware. The device includes: a receiving module 401, a processing module 402, a calculating module 403 and an identifying module 404, wherein,

[0119] The receiving module 401 is configured to receive an element, and use the element as a target object.

[0120] The processing module 402 is used to write the target object into the target bucket, the target bucket is a bucket that is suitable for the target object in a plurality of preset buckets, each bucket has a container, and the bucket is used to store elements with the same behavior , the container is used to store the characteristic value of the element.

[0121] The calculation module 403 is configured to calculate the cardinality of the feature values ​​in t...

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 an element processing method and device, equipment and a storage medium. The method comprises the steps of: receiving an element as a target object; writing the target object into a target bucket, the target bucket being a bucket matched with the target object in a plurality of preset buckets, each bucket having a container, the bucket being used for storing elements havingthe same behavior, and the container being used for storing feature values of the elements; in the target bucket, calculating the cardinal number of the characteristic value in the container; and identifying the attribute of the target object according to the cardinal number. According to the embodiment of the invention, the attribute identification of the target object can be realized under a hundred million-level data scale, the calculation efficiency can be improved, and the memory occupation is reduced.

Description

technical field [0001] Embodiments of the present invention relate to big data processing technologies, and in particular, to an element processing method, device, electronic equipment, and storage medium. Background technique [0002] With the development of the mobile Internet, the amount of global data is growing astonishingly, and the data and software and hardware infrastructures such as mobile devices and IP (Internet Protocol) are also very large, up to tens of billions. Huge scale. [0003] Faced with such a huge data scale, all walks of life on the mobile Internet often require to quickly distinguish new and old data information from massive data in a very short period of time in the processing of business data. In the fields of advertising promotion, news push, product sales, live video and other fields, it is often necessary to quickly count the current number of views and clicks, and to retain the information of new users. For example, in the mobile Internet adv...

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 Applications(China)
IPC IPC(8): G06F8/20
CPCG06F8/24
Inventor 陈杰锐
Owner 广州汇量信息科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More