Data matching method and device, computer device and storage medium
By introducing a multi-condition matching mechanism that includes necessary conditions, selective conditions, and master-slave conditions during the data matching process, the problem of low accuracy of matching results in existing technologies is solved, multi-dimensional data matching is achieved, and the accuracy of matching results is improved.
Patent Information
- Application Number
- CN202111647470.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-29
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2041-12-29
AI Technical Summary
Existing data matching mechanisms in application software suffer from low accuracy in matching results, especially when multiple matching processes are required to meet user query needs.
A multi-condition matching mechanism is adopted, including necessary conditions, selective conditions, and master-slave conditions. By matching target objects that meet the necessary and selective conditions in the preset database, and performing fine matching of master-slave conditions on the terminal, the accuracy of the matching results is improved.
Upon receiving a data matching request, the system first performs a coarse match to identify target objects that meet the necessary and selective conditions, and then performs a fine match based on the master-slave conditions. This improves the accuracy of the matching results and ensures their precision.
Smart Images

Figure CN114328635B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a data matching method, apparatus, computer equipment, storage medium, and computer program product. Background Technology
[0002] With the rapid development of network technology, the number of software users is increasing. As the functions of application software become more diversified, the complexity of business is also increasing. Users need to query information in application software in many application scenarios.
[0003] Currently, most application software uses single-condition matching or simple conditions for matching. As a result, the matching results are usually large in volume and not very accurate, and most of them cannot meet the user's query needs. The server needs to perform multiple matching processes to find the results that meet the user's query needs.
[0004] Therefore, existing data matching schemes suffer from low accuracy in matching results. Summary of the Invention
[0005] Therefore, it is necessary to provide a data matching method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve the accuracy of matching results in response to the above-mentioned technical problems.
[0006] Firstly, this application provides a data matching method. The method includes:
[0007] Receive a data matching request. The data matching request carries matching condition group information and the identity identifier of the matching initiator. The matching condition group information includes necessary conditions, optional conditions, and master-slave conditions.
[0008] The system matches target objects that meet the necessary and selective conditions in the preset database and pushes a matching message carrying the identity identifier and master-slave conditions to the terminal corresponding to the target object.
[0009] The matching ends when the terminal first receives a matching success field in response to the matching message. The matching success field is sent by the target terminal when it determines that the target object meets the master-slave condition based on the target object's attribute information and when it receives a matching confirmation message.
[0010] In one embodiment, the target object includes a plurality of target objects, and the terminal includes a plurality of terminals;
[0011] After receiving the first successful match field from the terminal in response to the matching message, the following is also included:
[0012] Send a match confirmation message to remove the field to terminals other than the target terminal. The match confirmation message remove field carries an identity identifier and is used to cause terminals other than the target terminal to remove the match message corresponding to the identity identifier.
[0013] In one embodiment, matching target objects that satisfy both necessary and selective conditions in a preset database includes:
[0014] Extract the necessary and optional conditions from the matching condition group information;
[0015] In the preset database, coarse data matching is performed on necessary and optional conditions to identify target objects that meet both conditions.
[0016] In one embodiment, the matching condition information group exists in the form of an array;
[0017] The necessary and optional conditions extracted from the matching condition group information include:
[0018] Identify the data format and data elements of an array;
[0019] Based on the data format and data elements, extract the necessary and optional conditions from the matching condition group information.
[0020] In one embodiment, a coarse data matching process is performed on necessary and optional conditions in a preset database to identify target objects that satisfy both the necessary and optional conditions, including:
[0021] Find initial objects that meet the necessary conditions in the preset database;
[0022] Filter out target objects from the initial objects that meet the selection criteria.
[0023] In one embodiment, the master-slave condition includes a master condition and slave conditions attached to the master condition;
[0024] The successfully matched fields are obtained in the following way:
[0025] The terminal obtains the attribute information of the target object. When it is determined that the target object meets the main condition and the secondary condition based on the attribute information, a matching confirmation message is pushed.
[0026] When a matching confirmation message is received, a matching success field is generated.
[0027] Secondly, this application also provides a data matching device. The device includes:
[0028] The request receiving module is used to receive data matching requests. The data matching request carries matching condition group information and the identity identifier of the matching initiator. The matching condition group information includes necessary conditions, optional conditions, and master-slave conditions.
[0029] The coarse data matching module is used to match target objects that meet the necessary and selective conditions in the preset database, and push the matching message carrying the identity identifier and master-slave conditions to the terminal corresponding to the target object.
[0030] The matching confirmation module is used to end the matching process when the terminal first receives a matching success field in response to the matching message. The matching success field is sent by the target terminal when it determines that the target object meets the master-slave condition based on the target object's attribute information and when it receives the matching confirmation message.
[0031] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0032] Receive a data matching request. The data matching request carries matching condition group information and the identity identifier of the matching initiator. The matching condition group information includes necessary conditions, optional conditions, and master-slave conditions.
[0033] The system matches target objects that meet the necessary and selective conditions in the preset database and pushes a matching message carrying the identity identifier and master-slave conditions to the terminal corresponding to the target object.
[0034] The matching ends when the terminal first receives a matching success field in response to the matching message. The matching success field is sent by the target terminal when it determines that the target object meets the master-slave condition based on the target object's attribute information and when it receives a matching confirmation message.
[0035] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0036] Receive a data matching request. The data matching request carries matching condition group information and the identity identifier of the matching initiator. The matching condition group information includes necessary conditions, optional conditions, and master-slave conditions.
[0037] The system matches target objects that meet the necessary and selective conditions in the preset database and pushes a matching message carrying the identity identifier and master-slave conditions to the terminal corresponding to the target object.
[0038] The matching ends when the terminal first receives a matching success field in response to the matching message. The matching success field is sent by the target terminal when it determines that the target object meets the master-slave condition based on the target object's attribute information and when it receives a matching confirmation message.
[0039] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0040] Receive a data matching request. The data matching request carries matching condition group information and the identity identifier of the matching initiator. The matching condition group information includes necessary conditions, optional conditions, and master-slave conditions.
[0041] The system matches target objects that meet the necessary and selective conditions in the preset database and pushes a matching message carrying the identity identifier and master-slave conditions to the terminal corresponding to the target object.
[0042] The matching ends when the terminal first receives a matching success field in response to the matching message. The matching success field is sent by the target terminal when it determines that the target object meets the master-slave condition based on the target object's attribute information and when it receives a matching confirmation message.
[0043] The aforementioned data matching method, apparatus, computer equipment, storage medium, and computer program product receive a data matching request. The data matching request carries matching condition group information and the identifier of the matching initiator. The matching condition group information includes necessary conditions, selective conditions, and master-slave conditions. It matches target objects that meet the necessary and selective conditions in a preset database and pushes a matching message carrying the identifier and master-slave conditions to the terminal corresponding to the target object. Matching ends when the terminal first receives a matching success field in response to the matching message. The matching success field is sent by the target terminal when it determines that the target object meets the master-slave conditions based on the target object's attribute information and receives a matching confirmation message. This scheme employs a multi-condition database matching mechanism including necessary, selective, and master-slave conditions, enabling multi-dimensional data matching and ensuring the accuracy of the matching results. When a data matching request is received, it first coarsely matches target objects that meet the necessary and selective conditions and sends a matching message to the terminal corresponding to the target object, allowing the terminal to perform fine matching based on the master-slave conditions, thus improving the accuracy of the matching results. In summary, this scheme improves the accuracy of data matching results. Attached Figure Description
[0044] Figure 1 This is a diagram illustrating the application environment of the data matching method in one embodiment;
[0045] Figure 2This is a flowchart illustrating a data matching method in one embodiment;
[0046] Figure 3 This is a visual interface diagram of the matching message presentation in one embodiment;
[0047] Figure 4 This is a flowchart illustrating the data matching method in another embodiment;
[0048] Figure 5 This is a structural block diagram of a data matching device in one embodiment;
[0049] Figure 6 This is a structural block diagram of the data matching device in another embodiment;
[0050] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0051] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0052] The data matching method provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, terminals 102, 104, and 106 communicate with server 108 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 108 or placed in the cloud or on another network server. Specifically, terminal 102 can send a data matching request to server 108 carrying matching condition group information and the identity identifier of the matching initiator. The matching condition group information includes necessary conditions, selective conditions, and master-slave conditions. Server 108 receives the data matching request, matches target objects that meet the necessary and selective conditions in a preset database, and pushes a matching message carrying the identity identifier and master-slave conditions to terminals 104 and 106 corresponding to the target objects. If terminal 104 responds to the matching message for the first time, it is considered a target terminal. When server 108 receives a matching success field from terminal 104 in response to the matching message for the first time, the matching ends. This matching success field is sent by terminal 104 when it determines that the target object meets the master-slave conditions based on the target object's attribute information and receives a matching confirmation message. The terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle systems. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. The server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.
[0053] In one embodiment, such as Figure 2 As shown, a data matching method is provided, which can be applied to... Figure 1 Taking the server in the example, the following steps are included:
[0054] Step 202: Receive a data matching request. The data matching request carries matching condition group information and the identity identifier of the matching initiator. The matching condition group information includes necessary conditions, optional conditions, and master-slave conditions.
[0055] In practice, users can log into a pre-set application account via a terminal and then select corresponding options on the application's interface. After making a series of selections based on their actual query needs, a matching condition information group is formed. This condition group includes necessary conditions, selective conditions, and primary and secondary conditions. Necessary conditions are those that must be met for a match, such as: the matched object has completed qualification verification, or the matched object must be female. Selective conditions are multiple options, and only one needs to be met, such as: the city must be in Shanghai, Beijing, or Guangzhou. Primary and secondary conditions, also known as primary and secondary multi-conditions, contain multiple primary conditions, each with different secondary conditions that need to be met. For example, when recommending tourist attractions, users only need a 3A-level attraction to be within 10km, while for a 5A-level attraction, it needs to be 50-100km away. In practice, users will form three different types of condition requirements through their selections, and these condition requirements will then form a condition group. The following example uses psychological counselor matching: a psychological counselor initiates a psychological counseling matching request, which carries the psychological counselor's identification identifier and the selected multi-condition information group. Among the necessary conditions, the counselor must have passed the relevant qualification examination and possess psychological counseling qualifications. Optional conditions include that the counselor can be an intern counselor, psychotherapist, or psychologist. In the multiple conditions, the primary condition can be the area of psychological counseling the user needs, such as self-care, personality development, or family issues. Secondary conditions may include the counselor achieving a Level B qualification in the self-care area, an Level A qualification in the personality area, and so on. Counselors may have different qualification levels for each area. After the user selects the appropriate options, they can click the "Match" button. The terminal then generates a data matching request carrying the user's identity and matching condition group information and sends the request to the server.
[0056] Step 204: Match target objects that meet the necessary and selective conditions in the preset database, and push matching messages carrying identity identifiers and master-slave conditions to the terminal corresponding to the target object.
[0057] In this embodiment, the matching of counselors in psychological counseling is still taken as an example. The database pre-stores the unique identifiers of registered counselors. Data can be transmitted to the terminal logged into the counselor's account through this unique identifier. When a data matching request carrying matching condition group information and the identifier is received, a coarse match is performed in the database according to the matching condition group information to filter out counselors who meet the necessary and selective conditions, i.e., the target objects. Then, the identifier of the matched counselor is obtained, and a matching message carrying the identifier and master-slave conditions is pushed to the terminal logged into by the counselor based on this identifier. In specific implementation, the terminal receiving the matching message will display the following: Figure 3 The interface shown.
[0058] Step 206: When the terminal receives the matching success field for the first time in response to the matching message, the matching ends. The matching success field is sent by the target terminal when it determines that the target object meets the master-slave condition based on the target object's attribute information and when it receives the matching confirmation message.
[0059] Once the terminal corresponding to the therapist receives the matching message, it will perform a detailed judgment based on the master-slave conditions. According to the therapist's stored attribute information (including qualifications, level, and areas of expertise), the terminal will determine whether the therapist's level in the self, personality, or family aspects included in the master-slave conditions is equal to or higher than the level required by the user. If it is equal to or higher than the level required by the user, a matching confirmation message will be pushed so that the therapist can check the matching confirmation message to confirm whether to accept the therapist's psychological counseling matching request. If the therapist clicks the "Confirm" button, a matching success field carrying the matching initiator's identity identifier will be sent to the server. At this point, a therapist matching is completed, and the psychological counseling matching request initiated by the user is considered a successful match.
[0060] The above data matching method includes a database multi-condition matching mechanism that includes necessary conditions, selective conditions, and master-slave conditions. This mechanism enables multi-dimensional data matching and ensures the accuracy of the matching results. When a data matching request is received, the system first performs a coarse matching to identify target objects that meet the necessary and selective conditions, and then sends a matching message to the terminal corresponding to the target object. This allows the terminal to perform a fine matching based on the master-slave conditions, thereby improving the accuracy of the matching results. In summary, this solution can improve the accuracy of the data matching results.
[0061] like Figure 4 As shown, in one embodiment, the target object includes multiple target objects, and the terminal includes multiple terminals; after receiving the matching success field from the terminal for the first time in response to the matching message, the method further includes: step 208, sending the matching confirmation message removal field to the terminals other than the target terminal, the matching confirmation message removal field carrying an identity identifier, used to cause the terminals other than the target terminal to remove the matching message corresponding to the identity identifier.
[0062] In practical applications, there may be multiple therapists identified through coarse matching. Therefore, matching messages can be sent to multiple terminals corresponding to multiple therapists. When each terminal receives a matching message, it determines whether the therapist meets the master-slave condition based on its stored therapist attribute information. If the master-slave condition is met, a matching confirmation message is pushed for the corresponding therapist to confirm. If a therapist receives a matching request, its terminal sends a matching success field carrying the initiator's identifier to the server, so that the server knows which initiator's matching request was successful. Then, a matching confirmation message removal field is sent to other terminals except those that sent the matching success field, so that other terminals can promptly remove the matching confirmation message, ensuring one-to-one matching and preventing multiple therapists from simultaneously accepting a therapist's matching request. In another embodiment, even if two terminals simultaneously accept matching requests and send a matching success field to the server, the server will determine the terminal that received the matching success field earliest based on the order in which it was received, and send a matching failure message to the other terminal, preventing that terminal from completing the matching. In this embodiment, removing fields by sending a matching confirmation message ensures a precise one-to-one matching principle.
[0063] In one embodiment, matching target objects that meet necessary and selective conditions in a preset database includes: extracting necessary and selective conditions from the matching condition group information; performing coarse data matching on necessary and selective conditions in the preset database; and matching target objects that meet necessary and selective conditions.
[0064] In practice, the matching condition group information contains various types of conditions. Before filtering out psychological counselors through coarse matching, the matching condition group needs to be classified, and the necessary and optional conditions need to be extracted. Then, in a preset database, coarse matching is performed on the necessary and optional conditions to match psychological counselors who meet both conditions. In this embodiment, coarse matching can quickly match target objects that meet both necessary and optional conditions.
[0065] In one embodiment, the matching condition information group exists in the form of an array; extracting the necessary and selective conditions from the matching condition group information includes: identifying the data format and data elements of the array, and extracting the necessary and selective conditions from the matching condition group information based on the data format and data elements.
[0066] In practice, the matching condition information group exists in the form of an array. Each element in the array represents a condition. For example, the array elements can be 1A and 2B, where 1 represents the psychological counseling direction as self-awareness, A represents A-level qualification, and 1A represents the user's need to match with a psychological counselor who has obtained A-level qualification in the "self" direction; 2 represents the psychological counseling direction as personality, B represents B-level qualification, and 2B represents 1A, which means the user's need to match with a psychological counselor who has obtained B-level qualification in the "personality" direction.
[0067] In one embodiment, in a preset database, coarse data matching is performed on necessary conditions and selective conditions to match target objects that satisfy both necessary and selective conditions. This includes: matching initial objects that satisfy necessary conditions in the preset database, and filtering out target objects that satisfy selective conditions from among the initial objects.
[0068] In practice, the necessary and selective conditions can be matched sequentially. First, initial counselors who meet the necessary conditions are matched. Then, target counselors who meet the selective conditions are selected from the initial counselors. For example, initial counselors who meet the user's needs and have passed the relevant qualification exams are selected first. Then, psychotherapists are selected from the initial counselors. In this embodiment, by performing a coarse match on the necessary and selective conditions sequentially, ordered matching of data can be achieved.
[0069] In one embodiment, the master-slave conditions include a master condition and slave conditions attached to the master condition; the matching success field is obtained in the following way: the terminal obtains the attribute information of the target object, and when it is determined that the target object meets the master condition and slave condition based on the attribute information of the target object, a matching confirmation message is pushed, and when the trigger operation of receiving the matching confirmation message is received, a matching success field is generated.
[0070] In practice, when the terminal logged into by the psychologist receives a matching message, it first determines whether the psychologist meets the primary condition based on its stored attribute information. If the primary condition is met, it then determines whether the secondary condition is met. If the secondary condition is also met, a matching confirmation message is pushed. At this time, a session window can be displayed on the terminal's interface, which can carry the message "Whether to accept the matching request initiated by user AA". If the psychologist sees the session window and clicks the "Confirm" button on the session window, the terminal receives the matching confirmation message and responds to the trigger operation, generating a matching success field.
[0071] To clearly illustrate the data matching method provided in this application, a specific embodiment is described below. This embodiment uses the example of a psychological counselor wanting to be matched with a psychological counselor. Specifically, it can be:
[0072] The counselor logs into a pre-set application account via a terminal, then selects options on the application's interface to create a matching condition information group, which includes necessary conditions, optional conditions, and master-slave conditions. This matching condition information group exists in array form. Clicking the "Match" button generates a data matching request carrying the user's identity and the matching condition group information, and sends the request to the server. Upon receiving the data matching request carrying the matching condition group information and the identity identifier, the server identifies the data format and data elements of the matching condition information group. Based on the data format and data elements, it extracts the necessary and optional conditions from the matching condition group information. A coarse match is then performed in the database based on the necessary and optional conditions to filter out counselors who meet the necessary and optional conditions. Simultaneously, the identity identifier of the matched counselor is obtained, and based on this identity identifier, a matching message carrying the identity identifier and master-slave conditions is pushed to the terminal logged into by the counselor.
[0073] When the terminal logged into by the therapist receives a matching message, it first determines whether the therapist meets the primary condition based on its stored attribute information. If the primary condition is met, it further determines whether the secondary condition is met. If the secondary condition is also met, a matching confirmation message is pushed. At this time, a session window can be displayed on the terminal's interface, which may carry the message "Accept matching request initiated by user AA?" If the therapist sees this session window and clicks the "Confirm" button, the terminal receives the matching confirmation message trigger operation, generates a matching success field, and sends the matching success field back to the server so that the server can know which therapist's counseling request was successfully matched. The server receives the matching success feedback field and sends a matching confirmation message removal field to other terminals except those that sent the matching success field, so that other terminals can promptly remove the matching confirmation message and ensure one-to-one matching.
[0074] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0075] Based on the same inventive concept, this application also provides a data matching apparatus for implementing the data matching method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more data matching apparatus embodiments provided below can be found in the limitations of the data matching method described above, and will not be repeated here.
[0076] In one embodiment, such as Figure 5 As shown, a data matching device is provided, including: a request receiving module 510, a data coarse matching module 520, and a matching confirmation module 530, wherein:
[0077] The request receiving module 510 is used to receive data matching requests. The data matching requests carry matching condition group information and the identity identifier of the matching initiator. The matching condition group information includes necessary conditions, optional conditions, and master-slave conditions.
[0078] The coarse data matching module 520 is used to match target objects that meet the necessary and selective conditions in the preset database, and push the matching message carrying the identity identifier and master-slave conditions to the terminal corresponding to the target object.
[0079] The matching confirmation module 530 is used to end the matching process when the terminal first receives a matching success field in response to the matching message. The matching success field is sent by the target terminal when it determines that the target object meets the master-slave condition based on the target object's attribute information and when it receives the matching confirmation message.
[0080] The aforementioned data matching device is equipped with a multi-condition database matching mechanism that includes necessary conditions, selective conditions, and master-slave conditions. This mechanism enables multi-dimensional data matching and ensures the accuracy of the matching results. When a data matching request is received, the device first performs a coarse matching to identify target objects that meet the necessary and selective conditions, and then sends a matching message to the terminal corresponding to the target object. This allows the terminal to perform a fine matching based on the master-slave conditions, thereby improving the accuracy of the matching results. In summary, using this device can improve the accuracy of the data matching results.
[0081] like Figure 6 As shown, in one embodiment, the target object includes multiple target objects, and the terminal includes multiple terminals; the device also includes a message removal field sending module 540, which is used to send a matching confirmation message removal field to terminals other than the target terminal. The matching confirmation message removal field carries an identity identifier and is used to cause terminals other than the target terminal to remove the matching message corresponding to the identity identifier.
[0082] In one embodiment, the data coarse matching module 520 is further used to extract the necessary conditions and selective conditions from the matching condition group information, and to perform data coarse matching on the necessary conditions and selective conditions in a preset database to match the target objects that meet the necessary conditions and selective conditions.
[0083] In one embodiment, the matching condition information group exists in the form of an array; the data coarse matching module 520 is also used to identify the data format and data elements of the array, and extract the necessary conditions and selective conditions from the matching condition group information according to the data format and data elements.
[0084] In one embodiment, the data coarse matching module 520 is further configured to match initial objects that meet the necessary conditions in a preset database, and filter out target objects that meet the selective conditions from the initial objects.
[0085] Each module in the aforementioned data matching device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0086] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores data such as the attribute data of the psychological counselors and the identity identifiers of the matching initiators. The network interface is used to communicate with external terminals via a network connection. When executed by the processor, the computer program implements a data matching method.
[0087] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0088] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the data matching method described above.
[0089] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the data matching method described above.
[0090] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the data matching method described above.
[0091] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0092] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0093] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0094] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A data matching method, characterized by, The method comprises: receiving a data matching request, the data matching request carrying matching condition group information and an identity identifier of a matching initiator, the matching condition group information comprising necessary conditions, selective conditions and master-slave conditions, the master-slave conditions comprising a plurality of master conditions and a plurality of different slave conditions attached to each of the master conditions; matching target objects satisfying the necessary conditions and the selective conditions in a preset database, and pushing a matching message carrying the identity identifier and the master-slave conditions to terminals corresponding to the target objects, the number of the terminals being a plurality; when a matching success field fed back by the terminals for the matching message is first received, the matching ends; the matching success field is obtained based on the following manner: the terminals acquire attribute information of the target objects, when it is determined according to the attribute information of the target objects that the target objects satisfy the master conditions and the slave conditions, a matching confirmation message is pushed, and when a trigger operation of receiving the matching confirmation message is received, the matching success field is generated.
2. The data matching method of claim 1, wherein, the target objects comprise a plurality of target objects, and the terminals comprise a plurality of terminals; after the matching success field fed back by the terminals for the matching message is first received, the method further comprises: sending a matching confirmation message removal field to terminals other than the terminals corresponding to the target objects, the matching confirmation message removal field carrying the identity identifier and being used for causing the terminals other than the terminals corresponding to the target objects to remove a matching message corresponding to the identity identifier.
3. The data matching method of claim 1, wherein, the matching target objects satisfying the necessary conditions and the selective conditions in the preset database comprises: extracting the necessary conditions and the selective conditions in the matching condition group information; performing data coarse matching on the necessary conditions and the selective conditions in the preset database, and matching target objects satisfying the necessary conditions and the selective conditions.
4. The data matching method of claim 3, wherein, the matching condition group information exists in the form of an array; the extracting the necessary conditions and the selective conditions in the matching condition group information comprises: identifying a data format and data elements of the array; extracting the necessary conditions and the selective conditions in the matching condition group information according to the data format and the data elements.
5. The data matching method of claim 3, wherein, the performing data coarse matching on the necessary conditions and the selective conditions in the preset database, and matching target objects satisfying the necessary conditions and the selective conditions comprises: matching initial objects satisfying the necessary conditions in the preset database; screening target objects satisfying the selective conditions from the initial objects.
6. A data matching apparatus, characterized by comprising: the device comprises: a request receiving module configured to receive a data matching request, the data matching request carrying matching condition group information and an identity identifier of a matching initiator, the matching condition group information comprising necessary conditions, selective conditions and master-slave conditions, the master-slave conditions comprising a plurality of master conditions and a plurality of different slave conditions attached to each of the master conditions; The data rough matching module is configured to match target objects satisfying the necessary condition and the selective condition in a preset database, and push a matching message carrying the identity identifier and the master-slave condition to terminals corresponding to the target objects, wherein the number of the terminals is plural. The matching confirmation module is configured to end the matching when a matching success field fed back by the terminal for the matching message is received for the first time, wherein the matching success field is obtained based on the following manner: the terminal acquires attribute information of the target object, push a matching confirmation message when it is determined that the target object satisfies the master condition and the slave condition according to the attribute information of the target object, and generate the matching success field when a trigger operation of receiving the matching confirmation message is received.
7. The apparatus of claim 6, wherein, The target objects include a plurality of target objects, and the terminals include a plurality of terminals; the device further includes a message removal field sending module configured to send a matching confirmation message removal field to terminals other than the terminals corresponding to the target objects, wherein the matching confirmation message removal field carries the identity identifier and is used to make the terminals other than the terminals corresponding to the target objects remove matching messages corresponding to the identity identifier.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that, The processor executes the computer program to implement the steps of the method in any one of claims 1 to 5.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 5.
10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 5.
Citation Information
Patent Citations
Matching of users for message distribution filtering
WO2002051079A1