Data matching method and apparatus based on rule template, medium, and server

Through the data matching method based on rule templates, a filtering rule template is established and custom filtering rules is generated, which solves the problem of single and inefficient screening methods in massive product management, and efficient and accurate product screening is achieved, meeting the custom needs of the business .

WO2024255715A1PCT designated stage expired Publication Date: 2024-12-19SHENZHEN SEKORM COMPONENT NETWORK CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/098257
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-15
Filing Date
2024-06-07
Publication Date
2024-12-19

AI Technical Summary

Technical Problem

The existing technology cannot achieve accurate screening in massive commodity management, and the screening method is single and inefficient, and cannot meet the custom demands of the business.

Method used

Using the data matching method based on rule templates, by establishing filtering rule templates and generating custom filtering rules, traversing product attributes for matching, establishing and saving matching relationships, supporting semi-match and threshold end matching operations.

Benefits of technology

It improves the efficiency and accuracy of matching products and screening rules, and meets the screening needs of the business.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024098257_19122024_PF_FP_ABST
    Figure CN2024098257_19122024_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to a data matching method and apparatus based on a rule template, a medium, and a server. The method is applied to a server side, and comprises the following steps: S10, establishing a screening rule template according to attributes in commodity data, wherein the screening rule template comprises a plurality of attributes, and each attribute comprises at least one attribute value; S20, according to a user-defined screening rule instruction input by a user, setting and generating at least one corresponding commodity screening rule from the screening rule template prestored in a database, wherein the number of attributes of the commodity screening rule does not exceed the number of attributes of the screening rule template, each attribute of the commodity screening rule corresponds to one matching value, and the matching value is selected from the attribute values; and S30, matching a commodity on a platform with the commodity screening rule, and establishing and storing the matching relationship between the successfully matched commodity and the commodity screening rule. By implementing the present invention, the efficiency of matching between a commodity and a commodity screening rule can be improved, the commodity screening accuracy is improved, and the service demand is satisfied.
Need to check novelty before this filing date? Find Prior Art

Description

Data matching method, device, medium and server based on rule template Technical Field

[0001] The present invention relates to the technical field of computer big data processing, and in particular to a data matching method, device, medium and server based on rule templates. Background Art

[0002] With the continuous development of the economy and the continuous improvement of people's living standards, people's demands for products go beyond the basic necessities of life. Fast-growing companies often have massive product management centers. Faced with such a vast amount of products, how can one efficiently filter out the products they need? The current industry practice is to filter products based solely on category, but this method is inefficient and lacks precision. Furthermore, the filtering method is limited, the filtering capabilities are inefficient, and custom filtering rules are not possible, making it difficult to meet business needs. Summary of the Invention

[0003] The technical problem to be solved by the present invention is to provide a data matching method, device, medium and server based on rule templates.

[0004] The technical solution adopted by the present invention to solve the technical problem is: a data matching method based on rule templates, applied to the server side, the method comprising the following steps:

[0005] S10. Establish a screening rule template based on the attributes in the product data;

[0006] Each category of goods corresponds to a screening rule template, and the screening rule template includes multiple attributes, and each attribute includes at least one attribute value;

[0007] S20. According to the user-defined screening rule instruction input, at least one corresponding product screening rule is set and generated from the screening rule template pre-stored in the database;

[0008] The number of attributes of the product screening rule does not exceed the number of attributes of the screening rule template, and each attribute of the product screening rule corresponds to a matching value, which is selected from the attribute values;

[0009] S30: Match the products on the platform with the product screening rules, and establish and save a matching relationship between the successfully matched products and the product screening rules.

[0010] Furthermore, in the rule template-based data matching method of the present invention, step S30 includes:

[0011] Traverse all attributes of the product screening rule. For each traversed attribute, if it is determined that there is a corresponding matching product among the products on the platform based on the attribute name and corresponding matching value contained therein, then establish and save the matching relationship between the matching product and the product screening rule.

[0012] Furthermore, in the rule template-based data matching method of the present invention, step S30 includes:

[0013] S301. Determine, based on the attribute names of all attributes in the product screening rule, whether there is a corresponding semi-matching product among the products on the platform;

[0014] S302: If yes, determine whether there is a matching product corresponding to the semi-matching product according to the matching values ​​of all attributes in the product screening rule; if yes, establish and save a matching relationship between the matching product and the product screening rule.

[0015] Furthermore, in the rule template-based data matching method of the present invention, step S30 further includes:

[0016] The products on the platform are matched with the product screening rules, and a matching relationship between the successfully matched products and the product screening rules is established and saved. When the number of successfully matched products exceeds a preset threshold, the matching operation is terminated.

[0017] Furthermore, in the rule template-based data matching method of the present invention, after step S30, the method further includes:

[0018] S40: Performing a listing operation on the products that match the product screening rules.

[0019] Furthermore, in the rule-based template data matching method of the present invention, the product data includes at least one of product category, product name, product specification, product brand, inventory quantity, product price, product code, product type, product source, and product quality; the method further includes:

[0020] A trigger change condition is set for the screening rule template. When the trigger change condition is met, a corresponding attribute change operation is performed on the screening rule template; wherein the attribute change operation includes at least one of adding a new attribute, adding an attribute value in an original attribute, and changing an attribute value in an original attribute.

[0021] In addition, the present invention also provides a data matching device based on rule templates, comprising:

[0022] A screening rule template establishment module is used to establish a screening rule template based on attributes extracted from similar product data; wherein each category of products corresponds to a screening rule template, and the screening rule template includes multiple attributes, and each attribute includes at least one attribute value;

[0023] A product screening rule generation module is configured to set and generate at least one corresponding product screening rule from the screening rule template pre-stored in the database based on the user-defined screening rule instruction; wherein the number of attributes of the product screening rule does not exceed the number of attributes of the screening rule template, and each attribute of the product screening rule corresponds to a matching value, and the matching value is selected from the attribute values;

[0024] The matching module is used to match the products on the platform with the product screening rules, and establish and save the matching relationship between the successfully matched products and the product screening rules.

[0025] Furthermore, in the rule template-based data matching device described in the present invention, the matching module is also used to traverse all attributes of the product screening rules. For each traversed attribute, if it is determined that there is a corresponding matching product among the products on the platform based on the attribute name and corresponding matching value it contains, then the matching relationship between the matching product and the product screening rule is established and saved.

[0026] In addition, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute the steps of the above-mentioned rule template-based data matching method.

[0027] In addition, the present invention also provides a server, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the steps of the above-mentioned rule template-based data matching method by calling the computer program stored in the memory.

[0028] The implementation of the rule template-based data matching method, device, medium and server of the present invention has the following beneficial effects: the present invention sets and generates at least one corresponding product screening rule from the screening rule template pre-existing in the database according to the custom screening rule instructions input by the user, matches the products on the platform with the product screening rules, establishes and saves the matching relationship between the successfully matched products and the product screening rules, can improve the matching efficiency between products and product screening rules, improve the accuracy of product screening, and meet business demands. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0030] FIG1 is a flow chart of an embodiment of a data matching method based on rule templates according to the present invention;

[0031] FIG2 is a flow chart of some embodiments of the data matching method based on rule templates of the present invention;

[0032] FIG3 is a flow chart of some embodiments of the data matching method based on rule templates of the present invention;

[0033] FIG4 is a flow chart of some embodiments of the data matching method based on rule templates of the present invention;

[0034] FIG5 is a schematic structural diagram of an embodiment of a data matching device based on rule templates according to the present invention. DETAILED DESCRIPTION

[0035] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.

[0036] In the following description, specific details such as particular system structures and techniques are provided for purposes of illustration, not limitation, to facilitate a thorough understanding of the embodiments of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

[0037] In a preferred embodiment, referring to FIG1 , the rule template-based data matching method of this embodiment is applied to the server side and includes the following steps:

[0038] S10: Create a screening rule template based on the attributes in the product data. In other words, a screening rule template can be created based on the attributes extracted from similar product information.

[0039] Each product category corresponds to a screening rule template, which includes multiple attributes, each of which includes at least one attribute value. Specifically, product attributes can be extracted from the product data of similar products as the basis for establishing the screening rule template. For example, the attribute name of the product price in the product data is product price. Different products in the same category may have different prices, so the attribute value is the specific price, such as 1,000 yuan, 2,000 yuan, and so on.

[0040] S20. Based on the user-defined filtering rule instruction, at least one corresponding product filtering rule is set and generated from a filtering rule template pre-stored in the database. The number of attributes in the product filtering rule does not exceed the number of attributes in the filtering rule template, and each attribute in the product filtering rule corresponds to a matching value, which is selected from the attribute value.

[0041] For example, you can check the desired attributes in the template as the corresponding product filtering rules based on the custom filtering rule instructions entered by the user. For example, in the filtering rule template for mobile phone products, the product filtering rules for Apple phones that the user wants only require selecting three attributes in the template as matching criteria, while the product filtering rules for Huawei phones that the user wants only require selecting four attributes in the template as matching criteria.

[0042] S30: Match the products on the platform with the product screening rules, and establish and save a matching relationship between the successfully matched products and the product screening rules. Optionally, a threshold can be set for the number of successfully matched products. That is, when the number of successfully matched products exceeds a preset threshold, the matching operation can be terminated. In other words, the present invention can either exhaustively match all products on the online platform and terminate when all products have been matched, or it can also not exhaustively match and stop the matching operation as long as a certain condition is met.

[0043] It should be noted that product data or product information includes, but is not limited to, product category, product name, product specifications, product brand, inventory quantity, product price, product code, product type, product source, product quality, etc., and those skilled in the art should be able to flexibly adjust it according to actual circumstances. Product data can be stored in a database accessible to the business server.

[0044] Furthermore, a trigger change condition can be set for the screening rule template. When the trigger change condition is met, the corresponding attribute change operation is performed on the screening rule template. Among them, the attribute change operation includes adding new attributes, adding attribute values ​​in existing attributes, changing attribute values ​​in existing attributes, etc. For example, when the product specifications are updated, the product category is changed, the product price or inventory quantity changes, etc., they can all be used as trigger change conditions. It can also be used when the changed data reaches a certain threshold. As an option, it is also possible to receive attribute change instructions input by the user and perform change operations on the screening rule template.

[0045] This embodiment can improve the efficiency of matching products with product screening rules, improve the accuracy of product screening, and meet business demands.

[0046] Preferably, step S30 further includes:

[0047] Traverse all attributes of the product screening rules. For each traversed attribute, if it is determined that there is a corresponding matching product among the products on the platform based on the attribute name and corresponding matching value contained in it, then establish and save the matching relationship between the matching product and the product screening rule.

[0048] In a specific embodiment, referring to FIG2 , for example, a customized mobile phone screening rule template is as follows:

[0049] Attribute name: mobile phone brand, attribute value: Apple, Xiaomi, Huawei, ZTE

[0050] Attribute name: screen size, attribute value: 6.67 inches, 6.5 inches

[0051] Attribute name: battery capacity, attribute value: 5000mAh, 43000mAh

[0052] Based on the above configuration, a mobile phone screening rule template can be generated; this template can be used to configure screening rules for different products later. For example, a company can configure different mobile phone screening rules based on the mobile phone screening rule template as follows:

[0053] Screening rules for Apple phones:

[0054] Attribute name: mobile phone brand, rule matching value: Apple

[0055] Property name: screen size, rule matching value: 6.5 inches

[0056] Attribute name: battery capacity, rule matching value: 5000mAh

[0057] Screening rules for Huawei phones:

[0058] Attribute name: mobile phone brand, rule matching value: Huawei

[0059] Property name: screen size, rule matching value: 6.5 inches

[0060] Attribute name: battery capacity, rule matching value: 5000mAh

[0061] Next, the product matching process for a single product screening rule is as follows: all matching strategies or attributes configured for a single product screening rule are traversed, and the attribute name of the product is searched based on the attribute name of the matching strategy. If it cannot be found, it means that the product does not match and the process ends directly; the matching value of the matching strategy is compared with the attribute value corresponding to the attribute name of the product. If they are inconsistent, it means that the product does not match and the process ends directly; if they are consistent, the next matching strategy of the current product screening rule is executed until all matching strategies of the current product screening rule are matched. If there is no mismatch in the current product screening rule during the matching process, it means that the product matches the product screening rule, and the matching relationship between the product matching rule and the product is saved.

[0062] For example, product A on the platform includes information about phone brand: Apple; screen size: 6.5 inches; battery capacity: 5000mAh. Product B includes information about phone brand: Huawei; screen size: 6.0 inches; battery capacity: 5000mAh. Product A matches the Apple phone filter criteria, while product B does not match any filter criteria (because product B's screen size is 6.0 inches, while the Huawei phone filter criteria only includes screen size: 6.5 inches, so it does not match).

[0063] In this embodiment, products that meet business requirements are screened out from a large number of products based on product screening rules, which can improve the matching efficiency between products and product screening rules, improve the accuracy of product screening, and meet business requirements.

[0064] In some embodiments of the data matching method based on rule templates, referring to FIG3 , step S30 further includes:

[0065] S301. Determine, based on the attribute names of all attributes in the product screening rule, whether there is a corresponding semi-matching product among the products on the platform.

[0066] S302. If yes, then determine whether there is a matching product corresponding to it in the semi-matched product based on the matching values ​​of all attributes in the product screening rules. If so, establish and save the matching relationship between the matching product and the product screening rules. In other words, you can first compare the attribute name of the product with the attribute name in the rule. If they all match, then compare the attribute value corresponding to the attribute name of the product with the matching value corresponding to the attribute name in the rule. If they all match, then record and save the matching relationship between the product and the product screening rules; if they cannot match, then end. It should be noted that, in this embodiment, the process of matching the products on the platform with the product screening rules includes two rounds of matching, and the semi-matched products here refer to the products matched in the first round, and then a second round of matching is performed on the products matched in this round according to step S302, and finally matching products are screened out.

[0067] In this embodiment, products that meet business requirements are screened out from a large number of products based on product screening rules, which can improve the matching efficiency between products and product screening rules, improve the accuracy of product screening, and meet business requirements.

[0068] In some embodiments of the data matching method based on rule templates, referring to FIG4 , after step S30, the method further includes:

[0069] S40: Perform a listing operation on the products that match the product screening rules.

[0070] In this embodiment, products that meet business requirements are screened out from a large number of products based on product screening rules, which can improve the matching efficiency between products and product screening rules, improve the accuracy of product screening, and meet business requirements.

[0071] In another preferred embodiment, referring to FIG5 , the data matching device based on rule templates of this embodiment includes:

[0072] The screening rule template establishment module is used to establish a screening rule template based on the attributes extracted from the data of similar products. Each category of products corresponds to a screening rule template, and the screening rule template includes multiple attributes, and each attribute includes at least one attribute value.

[0073] The product screening rule generation module is configured to generate at least one corresponding product screening rule from a pre-stored database of screening rule templates based on a user-entered custom screening rule instruction. The number of attributes in a product screening rule must not exceed the number of attributes in the screening rule template, and each attribute in the product screening rule corresponds to a matching value, which is selected from the attribute value.

[0074] For example, you can check the desired attributes in the template as the corresponding product filtering rules based on the custom filtering rule instructions entered by the user. For example, in the filtering rule template for mobile phone products, the product filtering rules for Apple phones that the user wants only require selecting three attributes in the template as matching criteria, while the product filtering rules for Huawei phones that the user wants only require selecting four attributes in the template as matching criteria.

[0075] The matching module is used to match products on the platform with product screening rules, establish and save matching relationships between successfully matched products and product screening rules. Optionally, a threshold can be set for the number of successfully matched products. That is, when the number of successfully matched products exceeds a preset threshold, the matching operation can be terminated. In other words, the present invention can either exhaustively match all products on the online platform and terminate when all products have been matched, or it can be non-exhaustive, terminating the matching operation as long as a certain condition is met.

[0076] It should be noted that product data or product information includes, but is not limited to, product category, product name, product specifications, product brand, inventory quantity, product price, product code, product type, product source, product quality, etc., and those skilled in the art should be able to flexibly adjust it according to actual circumstances. Product data can be stored in a database accessible to the business server.

[0077] Furthermore, a trigger change condition can be set for the screening rule template. When the trigger change condition is reached, the corresponding attribute change operation is performed on the screening rule template. Among them, the attribute change operation includes adding new attributes, adding attribute values ​​in existing attributes, and changing attribute values ​​in existing attributes. For example, when the product specifications are updated, the product category is changed, the product price or inventory quantity changes, etc., they can all be used as trigger change conditions. It can also be used when the changed data reaches a certain threshold as a trigger change condition. As an option, it is also possible to receive attribute change instructions input by the user and perform change operations on the screening rule template.

[0078] In this embodiment, products that meet business requirements are screened out from a large number of products based on product screening rules, which can improve the matching efficiency between products and product screening rules, improve the accuracy of product screening, and meet business requirements.

[0079] In some embodiments of the rule template-based data matching device, the matching module can use two matching methods to filter products:

[0080] The first method is to traverse all attributes of the product screening rules. For each traversed attribute, if it is determined that there is a corresponding matching product among the products on the platform based on the attribute name and corresponding matching value it contains, then establish and save the matching relationship between the matching product and the product screening rule.

[0081] In a specific embodiment, referring to FIG2 , for example, a customized mobile phone screening rule template is as follows:

[0082] Attribute name: mobile phone brand, attribute value: Apple, Xiaomi, Huawei, ZTE

[0083] Attribute name: screen size, attribute value: 6.67 inches, 6.5 inches

[0084] Attribute name: battery capacity, attribute value: 5000mAh, 43000mAh

[0085] Based on the above configuration, a mobile phone screening rule template can be generated; this template can be used to configure screening rules for different products later. For example, a company can configure different mobile phone screening rules based on the mobile phone screening rule template as follows:

[0086] Screening rules for Apple phones:

[0087] Attribute name: mobile phone brand, rule matching value: Apple

[0088] Property name: screen size, rule matching value: 6.5 inches

[0089] Attribute name: battery capacity, rule matching value: 5000mAh

[0090] Screening rules for Huawei phones:

[0091] Attribute name: mobile phone brand, rule matching value: Huawei

[0092] Property name: screen size, rule matching value: 6.5 inches

[0093] Attribute name: battery capacity, rule matching value: 5000mAh

[0094] Next, the product matching process for a single product screening rule is as follows: all matching strategies or attributes configured for a single product screening rule are traversed, and the attribute name of the product is searched based on the attribute name of the matching strategy. If it cannot be found, it means that the product does not match and the process ends directly; the matching value of the matching strategy is compared with the attribute value corresponding to the attribute name of the product. If they are inconsistent, it means that the product does not match and the process ends directly; if they are consistent, the next matching strategy of the current product screening rule is executed until all matching strategies of the current product screening rule are matched. If there is no mismatch in the current product screening rule during the matching process, it means that the product matches the product screening rule, and the matching relationship between the product matching rule and the product is saved.

[0095] For example, product A on the platform includes information about phone brand: Apple; screen size: 6.5 inches; battery capacity: 5000mAh. Product B includes information about phone brand: Huawei; screen size: 6.0 inches; battery capacity: 5000mAh. Product A matches the Apple phone filter criteria, while product B does not match any filter criteria (because product B's screen size is 6.0 inches, while the Huawei phone filter criteria only includes screen size: 6.5 inches, so it does not match).

[0096] The second method is to determine whether there are any semi-matching products on the platform based on the attribute names of all attributes in the product screening rules. If so, the matching values ​​of all attributes in the product screening rules are used to determine whether there are any matching products among the semi-matching products. If so, a matching relationship between the matching products and the product screening rules is established and saved. In other words, the attribute names of the product can be compared with the attribute names in the rules first. If they all match, the attribute values ​​corresponding to the attribute names of the product can be compared with the matching values ​​corresponding to the attribute names in the rules. If they all match, the matching relationship between the product and the product screening rules is recorded and saved. If they do not match, the process ends.

[0097] In addition, the device can also be used to perform shelf operations on commodities that match commodity screening rules.

[0098] In this embodiment, products that meet business requirements are screened out from a large number of products based on product screening rules, which can improve the matching efficiency between products and product screening rules, improve the accuracy of product screening, and meet business requirements.

[0099] In another preferred embodiment, the computer-readable storage medium of this embodiment stores a computer program, and the computer program is suitable for being loaded by a processor to execute the steps of the above-mentioned rule-based template data matching method.

[0100] In this embodiment, products that meet business requirements are screened out from a large number of products based on product screening rules, which can improve the matching efficiency between products and product screening rules, improve the accuracy of product screening, and meet business requirements.

[0101] In another preferred embodiment, the server of this embodiment includes a memory and a processor, the memory stores a computer program, and the processor executes the steps of the above-mentioned rule template-based data matching method by calling the computer program stored in the memory.

[0102] In this embodiment, products that meet business requirements are screened out from a large number of products based on product screening rules, which can improve the matching efficiency between products and product screening rules, improve the accuracy of product screening, and meet business requirements.

[0103] The computer-readable storage medium of the present invention may be any computer-readable storage medium that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk.

[0104] The processor of the present invention is used to provide computing and control capabilities. It should be understood that in the embodiments of the present application, the processor may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0105] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0106] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0107] It is understandable that the above embodiments only express the preferred implementation modes of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the patent scope of the present invention. It should be pointed out that for ordinary technicians in this field, without departing from the concept of the present invention, the above technical features can be freely combined, and several deformations and improvements can be made, all of which fall within the scope of protection of the present invention. Therefore, all equivalent changes and modifications made to the scope of the claims of the present invention should fall within the scope of coverage of the claims of the present invention.

Claims

1. A data matching method based on rule template, characterized in that: Applied to the server side, the method comprises the following steps: S10. Establish a screening rule template based on the attributes in the product data; Each category of goods corresponds to a screening rule template, and the screening rule template includes multiple attributes, and each attribute includes at least one attribute value; S20. According to the user-defined screening rule instruction input by the user, at least one corresponding product screening rule is set and generated from the screening rule template pre-stored in the database; The number of attributes of the product screening rule does not exceed the number of attributes of the screening rule template, each attribute of the product screening rule corresponds to a matching value, and the matching value is selected from the attribute values; S30: Match the products on the platform with the product screening rules, and establish and save a matching relationship between the successfully matched products and the product screening rules.

2. The data matching method based on rule template according to claim 1, characterized in that: The step S30 comprises: All attributes of the product screening rule are traversed. For each traversed attribute, if it is determined that there is a corresponding matching product among the products on the platform based on the attribute name and the corresponding matching value contained therein, a matching relationship between the matching product and the product screening rule is established and saved.

3. The data matching method based on rule template according to claim 1, characterized in that: The step S30 comprises: S301, determining whether there is a corresponding semi-matching product among the products on the platform according to the attribute names of all attributes in the product screening rule; S302: If yes, determine whether there is a matching product corresponding to the semi-matching product according to the matching values ​​of all attributes in the product screening rule; if yes, establish and save a matching relationship between the matching product and the product screening rule.

4. The data matching method based on rule template according to claim 1, characterized in that: The step S30 further includes: The commodities on the platform are matched with the commodity screening rules, and a matching relationship between the successfully matched commodities and the commodity screening rules is established and saved. When the number of successfully matched commodities exceeds a preset threshold, the matching operation is terminated.

5. The data matching method based on rule template according to claim 1, characterized in that: After step S30, the method further includes: S40: putting the commodities that match the commodity screening rules on the shelves.

6. The data matching method based on rule template according to claim 1, characterized in that: The commodity data includes at least one of commodity category, commodity name, commodity specification, commodity brand, inventory quantity, commodity price, commodity code, commodity type, commodity source, and commodity quality; the method further includes: A trigger change condition is set for the screening rule template. When the trigger change condition is met, a corresponding attribute change operation is performed on the screening rule template; wherein the attribute change operation includes at least one of adding a new attribute, adding an attribute value in an original attribute, and changing an attribute value in an original attribute.

7. A data matching device based on rule templates, characterized in that: include: A screening rule template establishment module, used to establish a screening rule template according to the attributes extracted from the same type of commodity data; wherein each category of commodities corresponds to one screening rule template, the screening rule template includes multiple attributes, and each attribute includes at least one attribute value; A product screening rule generation module, used to set and generate at least one corresponding product screening rule from the screening rule template pre-stored in the database according to the user-defined screening rule instruction input by the user; wherein the number of attributes of the product screening rule does not exceed the number of attributes of the screening rule template, and each attribute of the product screening rule corresponds to a matching value, and the matching value is selected from the attribute value; The matching module is used to match the commodities on the platform with the commodity screening rules, and to establish and save the matching relationship between the successfully matched commodities and the commodity screening rules.

8. The data matching device based on rule template according to claim 7, characterized in that: The matching module is also used to traverse all attributes of the product screening rules. For each traversed attribute, if it is determined that there is a corresponding matching product among the products on the platform based on the attribute name and the corresponding matching value contained therein, then a matching relationship between the matching product and the product screening rules is established and saved.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute the steps of the rule-based template data matching method according to any one of claims 1 to 6.

10. A server, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the steps of the rule template-based data matching method as described in any one of claims 1 to 6 by calling the computer program stored in the memory.

Citation Information

Patent Citations

  • Intelligent commodity screening method and device and electronic device

    CN109767282A

  • Commodity management method and device, computer device and storage medium

    CN110189187A

  • Commodity identification method and device, computer equipment and storage medium

    CN112199451A

  • Universal rule screening method and device, computing equipment and readable storage medium

    CN115438076A

  • Data matching method and device based on rule template, medium and server

    CN116881292A