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

Entity multi-attribute information query method, device, server and medium

An information query and multi-attribute technology, applied in the field of information storage, can solve problems such as poor performance, large storage space, and inapplicability, and achieve the effect of reducing complexity, high query efficiency, and reducing storage space.

Active Publication Date: 2021-08-06
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, by saving the attributes in the database in the form of text, it is impossible to accurately query, and it is also difficult to conduct information summary analysis; to establish a correspondence table to save the correspondence between entities and attribute values ​​requires a large storage space, The performance is very poor, the query and analysis speed is extremely slow, and it is not suitable for the storage and analysis of large amounts of information
And the above two storage methods are not applicable when the information contains multiple attributes

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
  • Entity multi-attribute information query method, device, server and medium
  • Entity multi-attribute information query method, device, server and medium
  • Entity multi-attribute information query method, device, server and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] Figure 1A It is a flow chart of a method for storing multi-attribute information of an entity provided in Embodiment 1 of the present invention, Figure 1B An interface diagram of a data table provided by Embodiment 1 of the present invention, Figure 1C An interface diagram of an attribute item value provided by Embodiment 1 of the present invention. This embodiment is used in the case of storing the multi-attribute information data in the storage server when the entity has multiple attributes. The method can be executed by the entity multi-attribute information storage device provided in the embodiment of the present invention, and the device can be integrated in a server for storing data. Referring to Figure 1, the method specifically includes:

[0040] S101. Obtain each attribute item of an entity and the value of each attribute item.

[0041] Wherein, any entity has at least one attribute class, and at least one attribute item under each attribute class, which ...

Embodiment 2

[0049] figure 2 It is a flow chart of an entity multi-attribute information query method provided by Embodiment 2 of the present invention. This embodiment is used in the case of querying multi-attribute information data in the storage server. The method can be executed by the entity multi-attribute information query device provided in the embodiment of the present invention, and the device can be integrated in a server for storing data. see figure 2 , the method specifically includes:

[0050] S201. Determine the number of target attribute items included in each target attribute class according to the query instruction.

[0051] Specifically, according to the query instruction, at least one target attribute class is determined, and at least one target attribute item in the target attribute class is determined, and finally the number of target attribute items in each target attribute class is obtained.

[0052] S202. According to the number of target attribute items includ...

Embodiment 3

[0062] image 3 It is a schematic structural diagram of an entity multi-attribute information storage device provided in Embodiment 3 of the present invention. The device can execute the entity multi-attribute information storage method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial Effect. Such as image 3 As shown, the device may include:

[0063] Attribute item value acquisition module 31, used to acquire each attribute item and the value of each attribute item possessed by the entity;

[0064] The attribute class value determining module 32 is used to determine the value of each attribute class of the entity according to the attribute class to which each attribute item belongs and the value of each attribute item;

[0065] The attribute class value storage module 33 is configured to store each attribute class value of the entity in a data table with each attribute class as a field.

[0066] On the basis of 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 embodiment of the invention discloses an entity multi-attribute information storage and query method, device, server and medium, and relates to the field of information storage. The method includes: acquiring each attribute item of the entity and the value of each attribute item; determining the value of each attribute class of the entity according to the attribute class to which each attribute item belongs and the value of each attribute item; The value is stored in a data table with each attribute class as a field. The embodiment of the present invention determines the corresponding value of each attribute class according to the value of each attribute item of the entity, and stores the value of the attribute class in the data table in the form of a field, so as to realize the reduction of storage space and query multi-attribute later When storing information, the query efficiency is higher and the complexity of the script is reduced.

Description

technical field [0001] The embodiments of the present invention relate to the field of information storage, and in particular, relate to an entity multi-attribute information storage and query method, device, server and medium. Background technique [0002] In a computer system, an information storage system is usually required. With the rapid development of network applications, there are requirements for information storage, such as a large amount of access, a large amount of information, and high concurrency. In order to cope with the sudden increase in the amount of access, it is necessary to rapidly expand the scale of the information storage system in a short period of time. [0003] The current information storage method mainly saves the correspondence between entities and attribute values ​​by saving attributes in the database in the form of text or establishing a correspondence table. However, by saving the attributes in the database in the form of text, it is impo...

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/36G06F40/295
CPCG06F40/295
Inventor 李杨柯海帆申冠华张振银王春鹏
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD