CN111859040A - Data matching method, device and related equipment - Google Patents

Data matching method, device and related equipment Download PDF

Info

Publication number
CN111859040A
CN111859040A CN202010693461.7A CN202010693461A CN111859040A CN 111859040 A CN111859040 A CN 111859040A CN 202010693461 A CN202010693461 A CN 202010693461A CN 111859040 A CN111859040 A CN 111859040A
Authority
CN
China
Prior art keywords
data
preset
standard
preset memory
memory
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.)
Granted
Application number
CN202010693461.7A
Other languages
Chinese (zh)
Other versions
CN111859040B (en
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010693461.7A priority Critical patent/CN111859040B/en
Publication of CN111859040A publication Critical patent/CN111859040A/en
Application granted granted Critical
Publication of CN111859040B publication Critical patent/CN111859040B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing

Landscapes

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

Abstract

The application discloses a data matching method, which comprises the steps of determining target data according to a received data matching request; judging whether standard data matched with the target data exist in a preset memory or not; if yes, outputting the standard data; if not, acquiring the standard data from the database and outputting the standard data, and judging whether the storage data in the preset storage is full; if not, storing the standard data to the preset memory; if yes, determining target clearing data in the preset memory according to the aging value of each stored data in a preset array, deleting the target clearing data, and storing the standard data in the preset memory; the data matching method can effectively shorten the data matching time and improve the data matching efficiency. The application also discloses a data matching device, a system and a computer readable storage medium, which have the beneficial effects.

Description

Data matching method, device and related equipment
Technical Field
The present application relates to the field of data storage technologies, and in particular, to a data matching method, a data matching apparatus, a data matching system, and a computer-readable storage medium.
Background
In recent years, with the continuous development of AI technology, the functions of the AI robot, such as speech recognition, face recognition, expression recognition, obstacle avoidance, etc., are becoming more powerful, and to implement these functions, not only the corresponding algorithms are required to recognize and extract the information received from the video, but also a large amount of databases are required to collate and analyze the extracted features.
However, since the data information required for implementing the above functions is stored in the database, after the model features or the matching elements are extracted from the received video by using the corresponding algorithm, the model features or the matching elements need to be compared with the data stored in the database one by one to obtain a comparison result.
Therefore, how to effectively shorten the data matching time and improve the data matching efficiency is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The data matching method can effectively shorten the data matching time and improve the data matching efficiency; another object of the present application is to provide a data matching apparatus, system and computer-readable storage medium, which also have the above-mentioned advantages.
In a first aspect, the present application provides a data matching method, including:
determining target data according to the received data matching request;
judging whether standard data matched with the target data exist in a preset memory or not;
if yes, outputting the standard data;
if not, acquiring the standard data from the database and outputting the standard data, and judging whether the storage data in the preset storage is full;
if not, storing the standard data to the preset memory;
if yes, determining target clearing data in the preset memory according to the aging value of each stored data in the preset array, deleting the target clearing data, and storing the standard data in the preset memory.
Preferably, the determining whether the storage data in the preset storage is full includes:
judging whether a full indication signal of the preset memory is pulled high or not;
and if so, determining that the storage data in the preset storage is full.
Preferably, after the storing the standard data into the preset memory, the method further includes:
setting a current aging value for the standard data;
storing the current aging value to the preset array.
Preferably, after storing the current aging value in the preset array, the method further comprises:
and updating the aging value of each stored data in the preset array.
Preferably, the determining the target clearing data in the preset memory according to the aging value of each stored data in the preset array comprises:
traversing the preset number of aging values of the bottom layer in the preset array to determine a target aging value;
acquiring target address information corresponding to the target aging value;
and determining the target clearing data in the preset memory according to the target address information.
Preferably, the preset memory is a high-speed memory.
Preferably, the data matching method further includes:
and when the standard data cannot be obtained in the database, outputting a matching failure prompt.
In a second aspect, the present application further discloses a data matching apparatus, including:
the data determining module is used for determining target data according to the received data matching request;
the data matching module is used for judging whether standard data matched with the target data exist in a preset memory or not;
the data output module is used for outputting the standard data if the standard data exists in the preset memory;
The database matching module is used for acquiring the standard data from the database and outputting the standard data if the standard data does not exist in the preset memory, and judging whether the stored data in the preset memory is full or not;
the first data storage module is used for storing the standard data into the preset memory if the stored data in the preset memory is not full;
and the second data storage module is used for determining and deleting target clearing data in the preset memory according to the aging value of each stored data in a preset array if the stored data in the preset memory is full, and storing the standard data in the preset memory.
In a third aspect, the present application further discloses a data matching system, including:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of any of the data matching methods described above.
In a fourth aspect, the present application also discloses a computer-readable storage medium having a computer program stored therein, which when executed by a processor is configured to implement the steps of any one of the data matching methods described above.
The data matching method comprises the steps of determining target data according to a received data matching request; judging whether standard data matched with the target data exist in a preset memory or not; if yes, outputting the standard data; if not, acquiring the standard data from the database and outputting the standard data, and judging whether the storage data in the preset storage is full; if not, storing the standard data to the preset memory; if yes, determining target clearing data in the preset memory according to the aging value of each stored data in the preset array, deleting the target clearing data, and storing the standard data in the preset memory.
Therefore, the data matching method provided by the application stores the commonly used comparison data into the preset memory, when data matching is carried out, data matching can be preferentially carried out from the preset memory in which the commonly used comparison data are stored, so that the standard data matched with the target data can be obtained, and the data obtained by matching the database can be stored into the preset memory, so that the real-time updating of the preset memory is realized, the standard data in the preset memory can be effectively ensured to be the commonly used data, compared with an implementation mode of carrying out comparison with the data in the database one by one, the method can greatly shorten the time required by data matching, and further improve the data matching efficiency.
The data matching device, the data matching system and the computer-readable storage medium provided by the application all have the beneficial effects, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the prior art and the embodiments of the present application, the drawings that are needed to be used in the description of the prior art and the embodiments of the present application will be briefly described below. Of course, the following description of the drawings related to the embodiments of the present application is only a part of the embodiments of the present application, and it will be obvious to those skilled in the art that other drawings can be obtained from the provided drawings without any creative effort, and the obtained other drawings also belong to the protection scope of the present application.
Fig. 1 is a schematic flowchart of a data matching method provided in the present application;
FIG. 2 is a schematic diagram illustrating the storage of aging values for a standard data set provided herein;
fig. 3 is a schematic structural diagram of a data matching apparatus provided in the present application;
fig. 4 is a schematic structural diagram of a data matching system provided in the present application.
Detailed Description
The core of the application is to provide a data matching method, which can effectively shorten the data matching time and improve the data matching efficiency; another core of the present application is to provide a data matching apparatus, system and computer readable storage medium, which also have the above beneficial effects.
In order to more clearly and completely describe the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart of a data matching method provided in the present application, where the data matching method may include:
s101: determining target data according to the received data matching request;
this step aims to achieve the determination of target data, i.e. data that needs to be subjected to data matching, and may be determined based on a received data matching request, which may be initiated by a user based on a corresponding client. Specifically, when a user needs to perform data matching on certain data, the data matching request can be initiated to a data matching system based on a user terminal; further, after receiving the data matching request, the data matching system can determine target data according to the request, wherein the target data can be directly attached to the data matching request, so that the data matching system can obtain the target data by analyzing the data matching request, or the data matching system can feed back a request for obtaining the target data to a request terminal after receiving the data matching request, and then a user inputs the target data on a user terminal interface and submits the target data. Therefore, the implementation mode for acquiring the target data is not unique, and the setting is carried out according to the actual requirement, which is not limited in the application.
S102: judging whether standard data matched with the target data exist in a preset memory or not; if yes, executing S103, otherwise executing S104;
s103: outputting standard data;
s104: acquiring standard data from a database and outputting the standard data;
the steps are aimed at realizing data matching so as to obtain standard data matched with target data. Specifically, a memory, that is, the preset memory, may be pre-established to store the standard data, and it should be noted that the standard data stored in the preset memory is common comparison data for implementing data matching, that is, data information with a high matching success rate. Therefore, after the target data is obtained, the data matching system can firstly match the target data with each standard data in a preset data device, and the standard data in the preset memory is common data, so that the matching success probability is high, and the time waste caused by one-by-one comparison with the standard data in the database can be effectively avoided; further, if the standard data corresponding to the target data exists in the preset memory, the data matching is successful, and the standard data is directly output, otherwise, the standard data is compared with the standard data in the database one by one to obtain the corresponding standard data and output the standard data, and accordingly, the data matching of the target data is completed.
As a preferred embodiment, the predetermined memory may be a high-speed memory.
The preferred embodiment provides a specific type of pre-set memory, namely the high speed memory described above. Specifically, although the capacity of the high-speed memory is only a few percent of that of the main memory, the access speed of the high-speed memory can be matched with that of the central processing unit, and the central processing unit can directly access the high-speed memory, so that the processing speed is extremely high, the access speed of data information in the high-speed memory can be greatly improved, and the data matching efficiency is further improved to a great extent.
S105: judging whether the storage data in the preset memory is full; if not, executing S106, if yes, executing S107;
s106: storing the standard data to a preset memory;
the steps aim at updating the data stored in the preset memory so as to ensure that the stored standard data are common standard data. Specifically, when the standard data cannot be obtained from the high-speed memory and the standard data is obtained from the database, the standard data can be stored in the preset memory, and in a certain specific environment, the standard data in the preset memory can be effectively ensured to be the common marking data through the data matching for many times. However, since the storage space of the preset memory is limited, before the standard data is updated to the preset memory, it is necessary to determine whether the stored data in the preset memory is full, and if the stored data is not full, the stored data is directly stored in the preset memory, or if the stored data in the preset memory is full, the operation is performed according to the subsequent process.
As a preferred embodiment, the determining whether the storage data in the preset storage is full may include: judging whether a full indication signal of a preset memory is pulled high or not; if yes, the storage data in the preset storage is determined to be full.
The preferred embodiment provides a more specific implementation method for judging whether the stored data in the preset memory is full, that is, the implementation is based on the full indication signal of the preset memory, if the full indication signal of the preset memory is pulled high, the stored data is full, and the additional standard data cannot be stored continuously, otherwise, the stored data is not full, the standard data can be stored, and further, the standard data matched from the database can be stored in the preset memory.
S107: and determining and deleting target clearing data in a preset memory according to the aging value of each stored data in the preset array, and storing the standard data in the preset memory.
Specifically, when the standard data is obtained by matching from the database and the stored data in the preset memory is full, the stored data in the preset memory needs to be deleted, and further, the standard data that needs to be deleted in the preset memory, that is, the target clearing data, may be determined according to the corresponding aging value, and the aging value is larger, the standard data will be deleted more, that is, the standard data in the preset memory is more aged and more likely to be deleted, because the aged standard data is less common standard data. The data storage device comprises a preset memory, a plurality of data storage units and a plurality of aging values, wherein the data storage units are used for storing the data storage units, the aging values correspond to the data storage units, and the aging values are stored in a preset array, so that standard data needing to be deleted in the preset memory can be determined according to the aging values in the preset array. And finally, after the target clearing data is deleted, storing the new standard data matched and obtained from the database into a preset memory.
As a preferred embodiment, after the storing the standard data into the preset memory, the method may further include: setting a current aging value for the standard data; and storing the current aging value into a preset array.
Specifically, since each standard data in the preset memory has its corresponding aging value, after the standard data is stored in the preset memory, the aging value, i.e., the current aging value, can also be set and stored in the preset array.
As a preferred embodiment, after storing the current aging value into the preset array, the method may further include: and updating the aging value of each stored data in the preset array.
The preferred embodiment is directed to updating the aging value of each stored data in the preset array, specifically, every time a standard data is stored in the preset memory, the aging value of the other stored standard data is updated, for example, the aging value is counted from 1, every time a standard data is stored in the preset memory, the aging value of the standard data is set to 1, and the aging value of each other stored standard data is increased by 1 based on the original value, thereby updating the aging value.
As a preferred embodiment, the determining the target clearing data in the preset memory according to the aging value of each stored data in the preset array may include: traversing a preset number of aging values of the bottom layer in a preset array to determine a target aging value; acquiring target address information corresponding to the target aging value; and determining target clearing data in a preset memory according to the target address information.
In order to effectively improve the storage efficiency of the standard data, the preferred embodiment provides a specific method for determining the target erasure data, specifically, the aging values in the preset array can be arranged in a descending order, that is, the upper layer is the newly stored standard data, and the lower layer is the stored standard data, so that when the target erasure data is determined, the aging values at the bottom layer in the preset array can be directly traversed, that is, the predetermined number of aging values at the bottom layer of the preset array are traversed without traversing all data, so as to determine the maximum aging value, further, the maximum aging value is taken as the target aging value, the standard data corresponding to the target aging value is the target erasure data, wherein the aging values in the preset array and the standard data in the preset memory form a mapping relationship according to the address information of the standard data in the preset memory, in the preset array, the aging value and the address information of the corresponding standard data in the preset memory are stored in a one-to-one correspondence mode, and therefore after the target aging value is determined, the target clearing data in the preset memory can be determined according to the target address information corresponding to the target aging value.
As a preferred embodiment, the data matching method may further include: and when the standard data can not be obtained in the database, outputting a matching failure prompt.
The preferred embodiment aims to realize the prompt of the failure of data matching, and when the standard data corresponding to the target data cannot be obtained in the preset memory or the standard data corresponding to the target data cannot be obtained in the database, the preferred embodiment indicates that all the currently stored standard data cannot be matched with the target data, and at this time, the prompt of the failure of matching is directly output.
Therefore, the data matching method provided by the application stores the commonly used comparison data into the preset memory, when data matching is carried out, data matching can be preferentially carried out from the preset memory in which the commonly used comparison data are stored, so that the standard data matched with the target data can be obtained, and the data obtained by matching the database can be stored into the preset memory, so that the real-time updating of the preset memory is realized, the standard data in the preset memory can be effectively ensured to be the commonly used data, compared with an implementation mode of carrying out comparison with the data in the database one by one, the method can greatly shorten the time required by data matching, and further improve the data matching efficiency.
On the basis of the foregoing embodiments, the present preferred embodiment provides a more specific data matching method, which is implemented in the following specific flow:
(1) creating a high-speed memory (RAM, 128 bits wide and 1024 depths);
(2) storing common comparison data (standard data) into a RAM; updating each comparative data in the RAM by setting an aging value for the comparative data, and storing the aging value of each comparative data through an array;
(3) when the characteristic data (target data) is acquired, preferentially matching the characteristic data with the comparison data in the RAM, if the characteristic data (target data) is successfully matched, outputting the successfully matched comparison data, otherwise, matching the characteristic data with the comparison data in the database to acquire and output the comparison data matched with the characteristic data;
(4) and outputting the prompt information of the matching failure when the comparison data can not be successfully matched in the RAM and the database.
Further, referring to fig. 2, fig. 2 is a schematic diagram of a standard data aging value storage provided in the present application, in which the controller stores each aging value by an array ([11:0] matrix [0:1023], the bit width of the array is 11, and the depth is 1024), where the stored information is: the method comprises the steps that when first comparison data is stored, the comparison data is 1 corresponding to the aging value stored in an array, every time new comparison data is stored, the aging value is increased by 1, other comparison data are also stored, when the comparison data is repeatedly accessed, the aging value is set to be 1, the aging value of other comparison data is still increased by 1, further, the maximum value of the aging value depends on the depth of the array, for the array shown in figure 2, when the aging value of the comparison data is increased to 1024, the comparison data is the data with the longest existence, and when a full indication signal of the RAM is pulled high, the storage data is full.
Further, when new comparison data need to be stored in the RAM and the RAM is full, the controller polls the last 10 bits of data in the matrix, when the aging value of a certain array vector is 1024, the controller clears the comparison data corresponding to the data stored in the RAM and stores the new comparison data. The first bit of matrix [ x ] (x takes the value of 0,1,2,3 … 1024) indicates whether the corresponding RAM stores the comparison data or not, when the value is 0, the data is not stored, and when the value is 1, the data is stored.
It can be seen that, in the data matching method provided in the embodiment of the present application, the common comparison data is stored in the preset memory, when data matching is performed, data matching can be preferentially performed from the preset memory in which the common comparison data is stored, so as to obtain the standard data matched with the target data, and the data obtained from the database matching is stored in the preset memory, so as to implement real-time updating of the preset memory, thereby effectively ensuring that the standard data in the preset memory is the common data, and compared with an implementation manner in which data in the database is compared one by one, the method can greatly shorten the time required by data matching, and further improve the data matching efficiency.
To solve the above technical problem, the present application further provides a data matching device, please refer to fig. 3, where fig. 3 is a schematic structural diagram of the data matching device provided in the present application, and the data matching device may include:
the data determining module 1 is used for determining target data according to the received data matching request;
the data matching module 2 is used for judging whether standard data matched with the target data exist in the preset memory or not;
the data output module 3 is used for outputting standard data if the standard data exists in the preset memory;
the database matching module 4 is used for acquiring and outputting the standard data from the database if the standard data does not exist in the preset memory, and judging whether the stored data in the preset memory is full;
the first data storage module 5 is used for storing the standard data into the preset memory if the stored data in the preset memory is not full;
and the second data storage module 6 is used for determining and deleting target clearing data in the preset memory according to the aging value of each storage data in the preset array if the storage data in the preset memory is full, and storing the standard data in the preset memory.
It can be seen that, the data matching device provided in the embodiment of the present application stores the common comparison data in the preset memory, and when performing data matching, the data matching can be preferentially performed from the preset memory in which the common comparison data is stored, so as to obtain the standard data matched with the target data, and the data obtained from the database matching can be stored in the preset memory, so as to implement real-time updating of the preset memory, and it can be effectively ensured that the standard data in the preset memory is the common data, compared with an implementation manner in which the standard data is compared with the data in the database one by one, the method can greatly shorten the time required by data matching, and further improve the data matching efficiency.
As a preferred embodiment, the database matching module 4 may be specifically configured to, if there is no standard data in the preset memory, obtain the standard data from the database and output the standard data, and determine whether a full indication signal of the preset memory is pulled high; if yes, the storage data in the preset storage is determined to be full.
As a preferred embodiment, the data matching apparatus may further include an aging value storage module for setting a current aging value for the standard data after the current aging value is stored in the preset array; and storing the current aging value into a preset array.
As a preferred embodiment, the data matching device may further include an aging value updating module for updating the aging value of each stored data in the preset array after the current aging value is stored in the preset array.
As a preferred embodiment, the second data storage module 6 may be specifically configured to traverse a preset number of aging values at a bottom layer in a preset array, so as to determine a target aging value; acquiring target address information corresponding to the target aging value; and determining and deleting target clearing data in the preset memory according to the target address information, and storing the standard data in the preset memory.
As a preferred embodiment, the predetermined memory may be a high-speed memory.
As a preferred embodiment, the data matching device may further include a matching failure prompt module, configured to output a matching failure prompt when the standard data is not available in the database.
For the introduction of the apparatus provided in the present application, please refer to the above method embodiments, which are not described herein again.
To solve the above technical problem, the present application further provides a data matching system, please refer to fig. 4, where fig. 4 is a schematic structural diagram of the data matching system provided in the present application, and the data matching system may include:
a memory 10 for storing a computer program;
the processor 20, when executing the computer program, may implement the steps of any of the data matching methods described above.
For the introduction of the system provided by the present application, please refer to the above method embodiment, which is not described herein again.
To solve the above problem, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, can implement the steps of any one of the data matching methods described above.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
For the introduction of the computer-readable storage medium provided in the present application, please refer to the above method embodiments, which are not described herein again.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The technical solutions provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall into the protection scope of the present application.

Claims (10)

1. A method of data matching, comprising:
determining target data according to the received data matching request;
judging whether standard data matched with the target data exist in a preset memory or not;
If yes, outputting the standard data;
if not, acquiring the standard data from the database and outputting the standard data, and judging whether the storage data in the preset storage is full;
if not, storing the standard data to the preset memory;
if yes, determining target clearing data in the preset memory according to the aging value of each stored data in the preset array, deleting the target clearing data, and storing the standard data in the preset memory.
2. The data matching method of claim 1, wherein the determining whether the storage data in the preset memory is full comprises:
judging whether a full indication signal of the preset memory is pulled high or not;
and if so, determining that the storage data in the preset storage is full.
3. The data matching method according to claim 1, wherein after storing the standard data in the preset memory, the method further comprises:
setting a current aging value for the standard data;
storing the current aging value to the preset array.
4. The data matching method of claim 3, wherein after storing the current age value to the preset array, further comprising:
And updating the aging value of each stored data in the preset array.
5. The data matching method as claimed in any one of claims 1 to 4, wherein said determining target clearing data in said predetermined memory based on the age value of each of said stored data in a predetermined array comprises:
traversing the preset number of aging values of the bottom layer in the preset array to determine a target aging value;
acquiring target address information corresponding to the target aging value;
and determining the target clearing data in the preset memory according to the target address information.
6. The data matching method according to claim 5, wherein the predetermined memory is a high-speed memory.
7. The data matching method of claim 1, further comprising:
and when the standard data cannot be obtained in the database, outputting a matching failure prompt.
8. A data matching apparatus, comprising:
the data determining module is used for determining target data according to the received data matching request;
the data matching module is used for judging whether standard data matched with the target data exist in a preset memory or not;
The data output module is used for outputting the standard data if the standard data exists in the preset memory;
the database matching module is used for acquiring the standard data from the database and outputting the standard data if the standard data does not exist in the preset memory, and judging whether the stored data in the preset memory is full or not;
the first data storage module is used for storing the standard data into the preset memory if the stored data in the preset memory is not full;
and the second data storage module is used for determining and deleting target clearing data in the preset memory according to the aging value of each stored data in a preset array if the stored data in the preset memory is full, and storing the standard data in the preset memory.
9. A data matching system, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the data matching method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, is adapted to carry out the steps of the data matching method according to any one of claims 1 to 7.
CN202010693461.7A 2020-07-17 2020-07-17 Data matching method, device and related equipment Active CN111859040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010693461.7A CN111859040B (en) 2020-07-17 2020-07-17 Data matching method, device and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010693461.7A CN111859040B (en) 2020-07-17 2020-07-17 Data matching method, device and related equipment

Publications (2)

Publication Number Publication Date
CN111859040A true CN111859040A (en) 2020-10-30
CN111859040B CN111859040B (en) 2022-05-13

Family

ID=73000990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010693461.7A Active CN111859040B (en) 2020-07-17 2020-07-17 Data matching method, device and related equipment

Country Status (1)

Country Link
CN (1) CN111859040B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114885405A (en) * 2022-05-13 2022-08-09 江西合力泰科技有限公司 Intelligent unlocking method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107710172A (en) * 2015-06-02 2018-02-16 华为技术有限公司 The access system and method for memory
KR20190022987A (en) * 2017-08-25 2019-03-07 에스케이하이닉스 주식회사 Data storage device and operating method thereof
CN109558065A (en) * 2017-09-25 2019-04-02 杭州海康威视系统技术有限公司 Data-erasure method and distributed memory system
CN110764708A (en) * 2019-10-25 2020-02-07 北京浪潮数据技术有限公司 Data reading method, device, equipment and storage medium
CN110968647A (en) * 2019-12-23 2020-04-07 广东电力交易中心有限责任公司 Data storage method and device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107710172A (en) * 2015-06-02 2018-02-16 华为技术有限公司 The access system and method for memory
KR20190022987A (en) * 2017-08-25 2019-03-07 에스케이하이닉스 주식회사 Data storage device and operating method thereof
CN109558065A (en) * 2017-09-25 2019-04-02 杭州海康威视系统技术有限公司 Data-erasure method and distributed memory system
CN110764708A (en) * 2019-10-25 2020-02-07 北京浪潮数据技术有限公司 Data reading method, device, equipment and storage medium
CN110968647A (en) * 2019-12-23 2020-04-07 广东电力交易中心有限责任公司 Data storage method and device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114885405A (en) * 2022-05-13 2022-08-09 江西合力泰科技有限公司 Intelligent unlocking method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111859040B (en) 2022-05-13

Similar Documents

Publication Publication Date Title
CN108629375B (en) Power customer classification method, system, terminal and computer readable storage medium
CN109859747B (en) Voice interaction method, device and storage medium
CN110659175A (en) Log trunk extraction method, log trunk classification method, log trunk extraction equipment and log trunk storage medium
CN111859040B (en) Data matching method, device and related equipment
CN106650446A (en) Identification method and system of malicious program behavior, based on system call
CN114911820A (en) SQL statement judging model construction method and SQL statement judging method
CN113033719A (en) Target detection processing method, device, medium and electronic equipment
EP3933743A1 (en) Method and device for blockchain transaction tracing
CN109670153B (en) Method and device for determining similar posts, storage medium and terminal
CN112257332B (en) Simulation model evaluation method and device
CN117171331B (en) Professional field information interaction method, device and equipment based on large language model
CN102467537B (en) The method and apparatus deleting vocabulary
CN112287657B (en) Information matching system based on text similarity
CN113742344A (en) Method and device for indexing power system data
CN111429920B (en) User distinguishing method, user behavior library determining method, device and equipment
CN1524260A (en) Fast search in speech recognition
CN113065597A (en) Clustering method, device, equipment and storage medium
CN114997278B (en) Engineering digital information analysis method based on computer algorithm model
CN111008347A (en) Website identification method, device and system and computer readable storage medium
CN116451771B (en) Image classification convolutional neural network compression method and core particle device data distribution method
CN116561403B (en) Terminal identification method, system, storage medium and equipment
CN115408926B (en) Data processing method and device for tunneling rock parameter prediction
CN114115825B (en) Front-end and back-end data verification method compatible with software
CN113569019B (en) Method, system, equipment and storage medium for knowledge extraction based on chat conversation
US20240046116A1 (en) Method and Device for Collecting Dialog Data

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
GR01 Patent grant
GR01 Patent grant