CN112416932A - Method and device for establishing field association relationship - Google Patents

Method and device for establishing field association relationship Download PDF

Info

Publication number
CN112416932A
CN112416932A CN202011300334.2A CN202011300334A CN112416932A CN 112416932 A CN112416932 A CN 112416932A CN 202011300334 A CN202011300334 A CN 202011300334A CN 112416932 A CN112416932 A CN 112416932A
Authority
CN
China
Prior art keywords
field
fields
establishing
index
array
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011300334.2A
Other languages
Chinese (zh)
Inventor
郑飞军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202011300334.2A priority Critical patent/CN112416932A/en
Publication of CN112416932A publication Critical patent/CN112416932A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method and a device for establishing a field association relationship, which comprises the following steps: acquiring at least two fields in a target array, wherein the at least two fields are used for representing the attributes of the same target object; establishing an incidence relation between at least two fields by taking a first field of the at least two fields as a key value and taking other fields as index values, wherein the other fields are fields except the first field of the at least two fields; and storing the association relation in an index table. By the method and the device, the problem of low numeric array numeric taking efficiency is solved, and the effect of improving the numeric array numeric taking efficiency is achieved.

Description

Method and device for establishing field association relationship
Technical Field
The invention relates to the field of communication, in particular to a method and a device for establishing a field association relation.
Background
Arrays are often used in the development process, and only simple numerical indexes can be used for polling retrieval comparison when the arrays are subjected to value taking, so that the execution efficiency is low, and the method is more obvious particularly when a large amount of data is processed. In order to make the operation on the array simpler and faster and to conveniently and quickly process a large amount of data, a designated index needs to be added to the array, and a corresponding value can be taken without repeatedly cycling the array.
At present, when indexes are created in arrays, data processing is single, only simple arrays can be processed, or reusability is poor, processing modes are not uniform, no proper mode exists for processing excessively complex arrays, and the existing processing cannot be suitable for any scene.
Aiming at the problem of low value taking efficiency in the array in the related technology, no effective solution exists at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for establishing a field association relationship, which are used for at least solving the problem of low value taking efficiency in groups in the related art.
According to an embodiment of the present invention, a method for establishing a field association relationship is provided, including: acquiring at least two fields in a target array, wherein the at least two fields are used for representing the attributes of the same target object; establishing an incidence relation between the at least two fields by taking a first field of the at least two fields as a key value and taking other fields as index values, wherein the other fields are fields of the at least two fields except the first field; and storing the association relation in an index table.
Optionally, establishing an association relationship between the at least two fields includes: and establishing an incidence relation between the first field and the second field by taking the first field as a first key value and taking the second field as a first index value, wherein the at least two fields comprise the first field and the second field, the key value comprises the first key value, and the index value comprises the first index value.
Optionally, establishing an association relationship between the at least two fields includes: and establishing an incidence relation among the first field, the second field and the third field by taking the first field as a key value, the second field as a first index value and the third field as a second index value, wherein the at least two fields comprise the first field, the second field and the third field.
Optionally, after the storing the association relationship in the index table, the method includes: looking up the other fields having an association relation with the first field in the index table; the other fields are cached.
Optionally, obtaining at least two fields in the target array includes: traversing the target array, and determining a set of positions of the at least two fields in the target array; obtaining the at least two fields at a set of locations of the target array.
According to another embodiment of the present invention, an apparatus for establishing a field association relationship is provided, including: the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring at least two fields in a target array, and the at least two fields are used for representing the attributes of the same target object; an establishing module, configured to establish an association relationship between the at least two fields by using a first field of the at least two fields as a key value and using other fields as index values, where the other fields are fields of the at least two fields other than the first field; and the storage module is used for storing the association relation in an index table.
Optionally, the establishing module includes: a first establishing unit, configured to establish an association relationship between the first field and the second field by using the first field as a first key value and using the second field as a first index value, where the at least two fields include the first field and the second field, the key value includes the first key value, and the index value includes the first index value.
Optionally, the establishing module includes: a second establishing unit, configured to establish an association relationship among the first field, the second field, and the third field by using the first field as a key value, using the second field as a first index value, and using the third field as a second index value, where the at least two fields include the first field, the second field, and the third field.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, at least two fields in the target array are obtained, wherein the at least two fields are used for representing the attribute of the same target object; establishing an incidence relation between at least two fields by taking a first field of the at least two fields as a key value and taking other fields as index values, wherein the other fields are fields except the first field of the at least two fields; and storing the association relation in an index table. When the value of the array is taken, the array is not required to be traversed, and the query can be carried out in the index table. Therefore, the problem of low numeric array numeric taking efficiency can be solved, and the effect of improving the numeric array numeric taking efficiency is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a mobile terminal of a method for establishing a field association relationship according to an embodiment of the present invention;
FIG. 2 is a flow chart of establishing field associations according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating retrieval of data from an array according to an embodiment of the present invention;
fig. 4 is a block diagram of an apparatus for establishing a field association relationship according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the operation on the mobile terminal as an example, fig. 1 is a hardware structure block diagram of the mobile terminal of the method for establishing the field association relationship according to the embodiment of the present invention. As shown in fig. 1, the mobile terminal 10 may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the method for establishing the field association relationship in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for establishing a field association relationship running in the mobile terminal is provided, and fig. 2 is a flowchart for establishing a field association relationship according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, at least two fields in a target array are obtained, wherein the at least two fields are used for representing the attributes of the same target object;
step S204, establishing an incidence relation between the at least two fields by taking a first field of the at least two fields as a key value and taking other fields as index values, wherein the other fields are fields except the first field of the at least two fields;
step S206, storing the association relation in an index table.
Through the steps, at least two fields in the target array are obtained, wherein the at least two fields are used for representing the attributes of the same target object; establishing an incidence relation between at least two fields by taking a first field of the at least two fields as a key value and taking other fields as index values, wherein the other fields are fields except the first field of the at least two fields; and storing the association relation in an index table. When the value of the array is taken, the array is not required to be traversed, and the query can be carried out in the index table. Therefore, the problem of low numeric array numeric taking efficiency can be solved, and the effect of improving the numeric array numeric taking efficiency is achieved.
Alternatively, the execution subject of the above steps may be a terminal or the like, but is not limited thereto.
As an alternative embodiment, the array may include a plurality of fields, such as names, identities, addresses, etc. The specific field may be determined according to actual conditions. Because the array comprises a large number of fields, each field may contain a large amount of data, and in the prior art, the array needs to be traversed once every time a value is taken in the array, so that the operation is complex, the time is wasted, and the efficiency is low. In this embodiment, the array may be traversed only once, several fields are selected from the array, the association between the fields is established, and the association is stored in the index table. When values are taken from the array, corresponding fields are searched in the index table according to the incidence relation among the fields, and corresponding values are obtained without traversing the array again, so that the speed of extracting the values is improved.
As an alternative embodiment, an array created by student information in a certain class is taken as an example, wherein fields such as student name, school number ID, gender, parent name, parent work unit, family address and the like may be included. It is assumed that the names and school number data of students are used more frequently during the development process. When data is extracted from the array every time, the array needs to be traversed once, more students exist in classes, hundreds of students exist in some classes, more time is wasted when the arrays are traversed every time, and the efficiency is low. In the present embodiment, an association relationship between a name and an academic number may be established. Traversing the array once, extracting the names and the school numbers of the students, establishing the association relationship between the names and the corresponding school numbers, such as 'Xiaowang classmates, 001', 'Xiaoli classmates, 002', 'Xiaozhuang classmates, 003' and the like, storing the association relationship in an index table, and when a developer needs to call data, calling the needed data in the index table according to the association relationship between the names and the school numbers without traversing the array again, thereby improving the efficiency of extracting the data.
As an optional implementation, the association relationship may also be an association relationship between multiple fields. Taking the student information in the above embodiment as an example, an association relationship among the name of the student, the ID of the student number and the gender may also be established, and the association relationship is stored in the index table. When the developer calls the data, the developer can call the corresponding data according to the incidence relation. In this embodiment, the number and the type of the selected fields may be determined according to actual situations, and the above-mentioned student information is only for illustrating this embodiment and is not limited thereto. In this embodiment, by storing the established association relationship in the index table, the developer only needs to call the data from the index table when calling the data, so that the problem of low efficiency caused by repeatedly traversing the array is avoided, and the technical effect of improving the efficiency of calling the data is achieved.
Optionally, establishing an association relationship between the at least two fields includes: and establishing an incidence relation between the first field and the second field by taking the first field as a first key value and taking the second field as a first index value, wherein the at least two fields comprise the first field and the second field, the key value comprises the first key value, and the index value comprises the first index value.
As an alternative implementation, taking the above-mentioned student information as an example, the association relationship between the name and the school number of the student is established, where the name of the student is a key (corresponding to the first key value), and the corresponding school number is a value (corresponding to the first index value). Thus, the association relation between the name and the number of the student is established, the association relation is stored in the index table, and the number corresponding to the name of the student can be called when the name of the student is input. In this embodiment, the key value relationship between the student name and the school number is only used to illustrate the embodiment, and specifically, the school number may be used as a key value and the student name may be used as an index value. In the embodiment, by establishing the association relationship between any fields in the array in a key value manner, when data is called, only the data is called in the index table according to the key value relationship without traversing the array again, so that the efficiency of data calling is improved.
Optionally, establishing an association relationship between the at least two fields includes: and establishing an incidence relation among the first field, the second field and the third field by taking the first field as a key value, the second field as a first index value and the third field as a second index value, wherein the at least two fields comprise the first field, the second field and the third field.
As an alternative embodiment, taking the above-mentioned student information as an example, the association relationship among the names, the school numbers and the genders of the students may be established, where the first name of the student is key (corresponding to the first key value), the corresponding school number is value (corresponding to the first index value), and the gender is value (corresponding to the second index value). Thus, the association relation among the name, the school number and the gender of the student is established, the association relation is stored in an index table, and the school number corresponding to the name of the student and the gender of the student can be called when the name of the student is input. In the present embodiment, the above-mentioned key value relationship among the name, the school number and the gender of the student is only for explaining the present embodiment, and specifically, the key value may be the school number, and the index value may be the name and the gender of the student, for example. In the embodiment, by establishing the association relationship between any fields in the array in a key value manner, when data is called, only the data is called in the index table according to the key value relationship without traversing the array again, so that the efficiency of data calling is improved.
Optionally, after the storing the association relationship in the index table, the method includes: looking up the other fields having an association relation with the first field in the index table; the other fields are cached.
As an optional implementation manner, after the association relationship between the fields is stored in the index table, when data is retrieved, data corresponding to the corresponding fields may be retrieved from the index table according to the index relationship between the fields, and the retrieved data may be cached. In this embodiment, taking the above-mentioned student information as an example, an association relationship among the name, the school number, and the gender of the student is established, the association relationship is stored in the index table, the student name is input, that is, the school number corresponding to the student name and the gender of the student can be retrieved, the retrieved data is cached, and the data can be processed. In the embodiment, by establishing the association relationship between any fields in the array in a key value manner, when data is called, only the data is called in the index table according to the key value relationship without traversing the array again, so that the efficiency of data calling is improved.
Optionally, obtaining at least two fields in the target array includes: traversing the target array, and determining a set of positions of the at least two fields in the target array; obtaining the at least two fields at a set of locations of the target array.
As an optional implementation manner, before the association relationship between the fields is established, the array is traversed once, the positions of the fields in the array are obtained, the fields are called at the corresponding positions, and the association relationship between the fields is established.
The present application is described below by way of a specific embodiment, and assuming that the array includes name, value, and id fields, the array may be:
{name:“1”,value:“1_1”,id:“001”}
{name:“3”,value:“3_1”,id:“003”}
{name:“5”,value:“5_1”,id:“005”}
{name:“7”,value:“7_1”,id:“007”}
{name:“9”,value:“9_1”,id:“009”}
{name:“2”,value:“2_1”,id:“002”}
the above-mentioned arrays in this embodiment are only for illustrating the present application, and in practice, the arrays may include a large amount of data. In this embodiment, an association relationship between the name and the id may be established, for example:
INDEX:
001:“1”
002:“2”
003:“3”
005:“5”
007:“7”
009:“9”
in this embodiment, the value of id to name can be quickly found by adding an INDEX object of INDEX to the normal array. The INDEX object does not affect the basic use of the array.
As shown in fig. 3, which is a schematic diagram of retrieving data from an array according to an embodiment of the present invention, after the terminal retrieves data from the array, the terminal first performs a traversal on the array to obtain a specific index and cache the result. And when the terminal acquires the values specified in the array at different times and different pages, directly taking the values in the array INDEX object. And traversing is not required to be performed again, so that the execution efficiency is improved. The embodiment can realize the expansion of the array specific index, the array screening service logic and the array reusability.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a device for establishing a field association relationship is further provided, where the device is used to implement the foregoing embodiment and the preferred embodiments, and details are not repeated for what has been described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of an apparatus for establishing a field association relationship according to an embodiment of the present invention, and as shown in fig. 4, the apparatus includes: an obtaining module 42, configured to obtain at least two fields in a target array, where the at least two fields are used to represent attributes of a same target object; an establishing module 44, configured to establish an association relationship between the at least two fields by using a first field of the at least two fields as a key value and using other fields as index values, where the other fields are fields of the at least two fields other than the first field; a storage module 46, configured to store the association relationship in an index table.
Optionally, the apparatus may establish an association relationship between the at least two fields by: and establishing an incidence relation between the first field and the second field by taking the first field as a first key value and taking the second field as a first index value, wherein the at least two fields comprise the first field and the second field, the key value comprises the first key value, and the index value comprises the first index value.
Optionally, the apparatus may establish an association relationship between the at least two fields by: and establishing an incidence relation among the first field, the second field and the third field by taking the first field as a key value, the second field as a first index value and the third field as a second index value, wherein the at least two fields comprise the first field, the second field and the third field.
Optionally, the apparatus is further configured to, after the storing the association relationship in an index table, look up the other fields having an association relationship with the first field in the index table; the other fields are cached.
Optionally, the apparatus is further configured to obtain at least two fields in the target array by: traversing the target array, and determining a set of positions of the at least two fields in the target array; obtaining the at least two fields at a set of locations of the target array.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring at least two fields in the target array, wherein the at least two fields are used for representing the attributes of the same target object;
s2, establishing an incidence relation between the at least two fields by taking a first field of the at least two fields as a key value and other fields as index values, wherein the other fields are fields of the at least two fields except the first field;
and S3, storing the association relation in an index table.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring at least two fields in the target array, wherein the at least two fields are used for representing the attributes of the same target object;
s2, establishing an incidence relation between the at least two fields by taking a first field of the at least two fields as a key value and other fields as index values, wherein the other fields are fields of the at least two fields except the first field;
and S3, storing the association relation in an index table.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for establishing field association relationship is characterized by comprising the following steps:
acquiring at least two fields in a target array, wherein the at least two fields are used for representing the attributes of the same target object;
establishing an incidence relation between the at least two fields by taking a first field of the at least two fields as a key value and taking other fields as index values, wherein the other fields are fields of the at least two fields except the first field;
and storing the association relation in an index table.
2. The method of claim 1, wherein establishing the association between the at least two fields comprises:
and establishing an incidence relation between the first field and the second field by taking the first field as a first key value and taking the second field as a first index value, wherein the at least two fields comprise the first field and the second field, the key value comprises the first key value, and the index value comprises the first index value.
3. The method of claim 1, wherein establishing the association between the at least two fields comprises:
and establishing an incidence relation among the first field, the second field and the third field by taking the first field as a key value, the second field as a first index value and the third field as a second index value, wherein the at least two fields comprise the first field, the second field and the third field.
4. The method according to any one of claims 1 to 3, wherein after said storing said association in an index table, the method comprises:
looking up the other fields having an association relation with the first field in the index table;
the other fields are cached.
5. The method of claim 4, wherein obtaining at least two fields in the target array comprises:
traversing the target array, and determining a set of positions of the at least two fields in the target array;
obtaining the at least two fields at a set of locations of the target array.
6. An apparatus for establishing field association relationship, comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring at least two fields in a target array, and the at least two fields are used for representing the attributes of the same target object;
an establishing module, configured to establish an association relationship between the at least two fields by using a first field of the at least two fields as a key value and using other fields as index values, where the other fields are fields of the at least two fields other than the first field;
and the storage module is used for storing the association relation in an index table.
7. The apparatus of claim 6, wherein the establishing module comprises:
a first establishing unit, configured to establish an association relationship between the first field and the second field by using the first field as a first key value and using the second field as a first index value, where the at least two fields include the first field and the second field, the key value includes the first key value, and the index value includes the first index value.
8. The apparatus of claim 6, wherein the establishing module comprises:
a second establishing unit, configured to establish an association relationship among the first field, the second field, and the third field by using the first field as a key value, using the second field as a first index value, and using the third field as a second index value, where the at least two fields include the first field, the second field, and the third field.
9. A storage medium, in which a computer program is stored, wherein the program is executable by a terminal device or a computer to perform the method of any one of claims 1 to 5.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 5.
CN202011300334.2A 2020-11-18 2020-11-18 Method and device for establishing field association relationship Pending CN112416932A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011300334.2A CN112416932A (en) 2020-11-18 2020-11-18 Method and device for establishing field association relationship

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011300334.2A CN112416932A (en) 2020-11-18 2020-11-18 Method and device for establishing field association relationship

Publications (1)

Publication Number Publication Date
CN112416932A true CN112416932A (en) 2021-02-26

Family

ID=74774477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011300334.2A Pending CN112416932A (en) 2020-11-18 2020-11-18 Method and device for establishing field association relationship

Country Status (1)

Country Link
CN (1) CN112416932A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009046588A1 (en) * 2007-10-12 2009-04-16 Zte Corporation Terminal and optimized method for accessing telephone book data in terminal
CN106446169A (en) * 2016-09-26 2017-02-22 上海斐讯数据通信技术有限公司 Method and device for managing user information in terminal device
CN108897613A (en) * 2018-05-07 2018-11-27 广西英腾教育科技股份有限公司 Data processing method, system and computer equipment
CN109800336A (en) * 2019-01-30 2019-05-24 百度在线网络技术(北京)有限公司 Table implementation method, device, equipment and medium based on key-value pair storage system
CN110019211A (en) * 2017-11-27 2019-07-16 北京京东尚科信息技术有限公司 The methods, devices and systems of association index
CN110162528A (en) * 2019-05-24 2019-08-23 安徽芃睿科技有限公司 Magnanimity big data search method and system
CN110201393A (en) * 2019-05-29 2019-09-06 北京金山安全软件有限公司 Configuration data storage method and device and electronic equipment
CN110908996A (en) * 2018-09-18 2020-03-24 北京京东尚科信息技术有限公司 Data processing method and device
CN111191082A (en) * 2019-12-23 2020-05-22 宁波港信息通信有限公司 Data management method and device, computer equipment and storage medium
CN111581215A (en) * 2020-05-07 2020-08-25 钟士平 Array tree data storage method, fast search method and readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009046588A1 (en) * 2007-10-12 2009-04-16 Zte Corporation Terminal and optimized method for accessing telephone book data in terminal
CN106446169A (en) * 2016-09-26 2017-02-22 上海斐讯数据通信技术有限公司 Method and device for managing user information in terminal device
CN110019211A (en) * 2017-11-27 2019-07-16 北京京东尚科信息技术有限公司 The methods, devices and systems of association index
CN108897613A (en) * 2018-05-07 2018-11-27 广西英腾教育科技股份有限公司 Data processing method, system and computer equipment
CN110908996A (en) * 2018-09-18 2020-03-24 北京京东尚科信息技术有限公司 Data processing method and device
CN109800336A (en) * 2019-01-30 2019-05-24 百度在线网络技术(北京)有限公司 Table implementation method, device, equipment and medium based on key-value pair storage system
CN110162528A (en) * 2019-05-24 2019-08-23 安徽芃睿科技有限公司 Magnanimity big data search method and system
CN110201393A (en) * 2019-05-29 2019-09-06 北京金山安全软件有限公司 Configuration data storage method and device and electronic equipment
CN111191082A (en) * 2019-12-23 2020-05-22 宁波港信息通信有限公司 Data management method and device, computer equipment and storage medium
CN111581215A (en) * 2020-05-07 2020-08-25 钟士平 Array tree data storage method, fast search method and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡嘉瑜,华蓓: "基于APU的内存键值缓存系统", 《电子技术设计与应用》 *

Similar Documents

Publication Publication Date Title
CN109829287A (en) Api interface permission access method, equipment, storage medium and device
CN113010378B (en) Log processing method and device of microservice module, storage medium and electronic device
CN111460232A (en) Functional module searching method, device, terminal and computer readable storage medium
CN115221119A (en) File searching method and device, storage medium and electronic equipment
CN111177243A (en) Data export method and device, storage medium and electronic device
CN111008220A (en) Dynamic identification method and device of data source, storage medium and electronic device
CN113849499A (en) Data query method and device, storage medium and electronic device
CN112671878B (en) Block chain information subscription method, device, server and storage medium
CN114020748A (en) Tree-structure address book storage method and device
CN107169115A (en) Add the method and device of self-defined participle
CN110990381A (en) Server processing method and device, storage medium and electronic device
CN114466387B (en) Updating method and device of configuration file of base station, storage medium and electronic device
CN112416932A (en) Method and device for establishing field association relationship
CN110347683B (en) Data table merging processing method and device
CN112579954A (en) Method and device for outputting seismic information, storage medium and electronic device
CN110751204A (en) Data fusion method and device, storage medium and electronic device
CN113392131A (en) Data processing method and device and computer equipment
CN112835901A (en) File storage method and device, computer equipment and computer readable storage medium
CN112100208A (en) Operation request forwarding method and device
CN110858201A (en) Data processing method and system, processor and storage medium
CN114143083B (en) Blacklist policy matching method and device, electronic equipment and storage medium
CN110781370B (en) Mobile terminal information query method and computer equipment
CN116226222B (en) Data segment marking processing method and device based on time sequence database
CN110276212B (en) Data processing method and device, storage medium and electronic device
CN112162872A (en) Message processing method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination