Compatibility verification method and device
By providing compatibility verification methods and devices on the e-commerce platform, detecting the attribute information of equipment accessories and adding compatibility logos, the problem of accessories being unable to be assembled is solved, achieving smooth assembly of accessories and increasing the success rate of user assembly.
Patent Information
- Application Number
- CN202011240824.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-09
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-11-09
AI Technical Summary
E-commerce platforms are unable to provide compatibility checks between accessories when users select equipment accessories, resulting in the accessories purchased by users failing to be assembled smoothly.
Provide a compatibility verification method and device. By receiving the target object information selected by the user and the list to be verified, the attribute information of each object is obtained, and the preset compatibility rule table is used to detect the compatibility between objects and provide compatibility for the compatibility. Add a compatible identifier to the object and present it to the user.
The smooth assembly of accessories is achieved, users can understand the compatibility relationship between accessories in a timely manner, and the success rate of equipment assembly is improved.
Smart Images

Figure CN112256306B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information processing, and in particular to a compatibility verification method and device. Background Art
[0002] Currently, e-commerce platforms offer users the ability to assemble their own machines and equipment. By purchasing related equipment accessories on e-commerce platforms, users can complete the assembly of their own equipment, thereby increasing their freedom in equipment matching. Summary of the Invention
[0003] Through research, the inventors found that current e-commerce platforms cannot provide compatibility verification between different accessories when users select device accessories, which results in the accessories purchased by users being unable to be successfully assembled.
[0004] Accordingly, the present disclosure provides a compatibility verification solution that can achieve smooth assembly of accessories.
[0005] According to a first aspect of an embodiment of the present disclosure, a compatibility verification method is provided, comprising: receiving selected target object information and a list to be verified selected by a user, wherein the list to be verified includes at least one object to be verified; obtaining attribute information of the selected target object and each object to be verified in the list to be verified; selecting an object to be verified that is compatible with the selected target object from the list to be verified, wherein the attribute information of the selected target object and the attribute information of the object to be verified that is compatible with the selected target object meet preset compatibility rules; and adding a compatibility identifier to the object to be verified that is compatible with the selected target object to obtain an updated list to be verified.
[0006] In some embodiments, the attribute information is extracted from the selected target object and the designated attribute fields of each object to be verified respectively using a preset attribute field whitelist.
[0007] In some embodiments, a preset compatibility rule table is used to detect whether a compatibility rule exists between the selected target object and the i-th object to be verified in the list to be verified, where 1≤i≤N, and N is the total number of objects to be verified in the list to be verified; if a compatibility rule exists between the selected target object and the i-th object to be verified, a rule instance corresponding to the compatibility rule is called; it is detected whether the attribute information of the target object and the attribute information of the i-th object to be verified satisfy the rule instance; if the attribute information of the target object and the attribute information of the i-th object to be verified satisfy the rule instance, it is determined that the i-th object to be verified is an object to be verified that is compatible with the selected target object.
[0008] In some embodiments, calling the rule instance corresponding to the compatible rule includes: using a reflection mechanism to call the rule instance corresponding to the compatible rule in memory.
[0009] In some embodiments, if the attribute information of the target object and the attribute information of the i-th object to be verified do not satisfy the rule instance, it is determined that the i-th object to be verified is not an object to be verified that is compatible with the selected target object; an incompatible identifier is added to the i-th object to be verified to obtain an updated list to be verified.
[0010] In some embodiments, if there is no compatibility rule between the selected target object and the i-th object to be verified, a no-compatibility relationship identifier is added to the i-th object to be verified to obtain an updated list to be verified.
[0011] In some embodiments, the updated to-be-checked list is presented to the user.
[0012] According to a second aspect of an embodiment of the present disclosure, a compatibility verification device is provided, comprising: an interface module configured to receive selected target object information and a list to be verified selected by a user, wherein the list to be verified includes at least one object to be verified; an acquisition module configured to obtain attribute information of the selected target object and each object to be verified in the list to be verified; a selection module configured to select an object to be verified that is compatible with the selected target object from the list to be verified, wherein the attribute information of the selected target object and the attribute information of the object to be verified that is compatible with the selected target object meet a preset compatibility rule; and an update module configured to add a compatibility identifier to the object to be verified that is compatible with the selected target object to obtain an updated list to be verified.
[0013] According to a third aspect of an embodiment of the present disclosure, a compatibility verification device is provided, comprising: a memory configured to store instructions; a processor coupled to the memory, the processor being configured to execute a method as described in any of the above embodiments based on the instructions stored in the memory.
[0014] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the method involved in any of the above embodiments is implemented.
[0015] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0017] Figure 1 A flow chart of a compatibility verification method according to an embodiment of the present disclosure;
[0018] Figure 2 A flow chart of a compatibility verification method according to another embodiment of the present disclosure;
[0019] Figure 3 This is a schematic structural diagram of a compatibility verification device according to an embodiment of the present disclosure;
[0020] Figure 4 This is a schematic structural diagram of a compatibility verification device according to another embodiment of the present disclosure;
[0021] Figure 5 This is a schematic structural diagram of a compatibility verification device according to another embodiment of the present disclosure. DETAILED DESCRIPTION
[0022] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is in no way intended to limit the present disclosure and its application or use. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.
[0023] Unless specifically stated otherwise, the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure.
[0024] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0025] Technologies, methods and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, such technologies, methods and equipment should be considered part of the authorization specification.
[0026] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0027] It should be noted that like reference numerals and letters refer to like items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0028] Figure 1 The following is a flow chart of a compatibility verification method according to an embodiment of the present disclosure. In some embodiments, the following compatibility verification method steps are performed by a compatibility verification device.
[0029] In step 101, information of a selected target object and a to-be-verified list selected by a user are received, wherein the to-be-verified list includes at least one to-be-verified object.
[0030] In step 102, the attribute information of the selected target object and each object to be verified in the to-be-verified list is obtained.
[0031] In some embodiments, a preset attribute field whitelist is used to extract attribute information from the selected target object and the designated attribute fields of each object to be verified.
[0032] For example, if a user purchases a motherboard and a CPU (Central Processing Unit), they need to determine whether the motherboard and CPU are compatible based on the CPU's interface properties and the motherboard's interface type. Therefore, by pre-specifying the attribute fields used for compatibility testing in the attribute field whitelist, subsequent compatibility verification is facilitated.
[0033] In step 103, an object to be verified that is compatible with the selected target object is selected from the to-be-verified list, wherein the attribute information of the selected target object and the attribute information of the object to be verified that is compatible with the selected target object meet a preset compatibility rule.
[0034] In step 104, a compatible identifier is added to the objects to be verified that are compatible with the selected target object to obtain an updated list to be verified.
[0035] In some embodiments, the updated list to be verified is presented to the user so that the user can understand the compatibility relationship between the selected target object and each object to be verified based on the list to be verified.
[0036] In the compatibility verification method provided in the above embodiment of the present disclosure, the compatibility relationship between the selected target object and the object to be verified is verified so that the user can timely understand the compatibility relationship between the selected target object and the object to be verified, thereby enabling smooth assembly of accessories.
[0037] Figure 2This is a flow chart of a compatibility verification method according to another embodiment of the present disclosure. In some embodiments, the following compatibility verification method steps are performed by a compatibility verification device.
[0038] In step 201 , information of a selected target object and a to-be-verified list selected by a user are received, wherein the to-be-verified list includes at least one to-be-verified object.
[0039] In step 202, the attribute information of the selected target object and each object to be verified in the to-be-verified list is obtained.
[0040] In some embodiments, a preset attribute field whitelist is used to extract attribute information from the selected target object and the designated attribute fields of each object to be verified.
[0041] In step 203, a preset compatibility rule table is used to detect whether a compatibility rule exists between the selected target object and the i-th object to be verified in the list to be verified, where 1≤i≤N, and N is the total number of objects to be verified in the list to be verified.
[0042] If a compatibility rule exists between the selected target object and the i-th object to be verified, step 204 is executed; if no compatibility rule exists between the selected target object and the i-th object to be verified, step 208 is executed.
[0043] At step 204, the rule instance corresponding to the compatible rule is called.
[0044] In some embodiments, a reflection mechanism is used to call a rule instance corresponding to a compatible rule in memory.
[0045] It should be noted that if a rule instance corresponding to a compatible rule needs to be modified, the corresponding code must be modified. This increases the cost of system maintenance. To address this issue, this application generates rule instances corresponding to compatible rules through scripts and stores them in memory. It then uses reflection to directly call the rule instances corresponding to the compatible rules from memory. This allows for dynamic changes to rule instances without modifying the original rule instance code.
[0046] Since the reflection mechanism itself is not the inventive point of the present disclosure, it will not be described in detail here.
[0047] In step 205 , it is detected whether the attribute information of the target object and the attribute information of the i-th object to be verified satisfy the rule instance.
[0048] If the attribute information of the target object and the attribute information of the i-th object to be verified satisfy the rule instance, step 206 is executed; if the attribute information of the target object and the attribute information of the i-th object to be verified do not satisfy the rule instance, step 207 is executed.
[0049] In step 206 , it is determined that the i-th object to be verified is an object to be verified that is compatible with the selected target object, and a compatible identifier is added to the i-th object to be verified to obtain an updated list to be verified.
[0050] In step 207 , it is determined that the i-th object to be verified is not compatible with the selected target object, and an incompatible identifier is added to the i-th object to be verified to obtain an updated list to be verified.
[0051] In step 208, a no-compatible-relationship identifier is added to the i-th object to be verified to obtain an updated list to be verified.
[0052] In step 209, the updated list to be verified is presented to the user, so that the user can understand the compatibility relationship between the selected target object and each object to be verified based on the list to be verified.
[0053] For example, if a user has selected a certain motherboard model, the above process can determine that CPU model A is compatible with the motherboard, but CPU model B is incompatible. Another example is if a user has selected a certain sound card model, the above process can determine that the sound card is not compatible with a different graphics card model. This can help the user complete the assembly smoothly.
[0054] Figure 3 FIG. 1 is a schematic diagram of the structure of a compatibility verification device according to an embodiment of the present disclosure. Figure 3 As shown, the compatibility verification device includes an interface module 31 , an acquisition module 32 , a selection module 33 and an update module 34 .
[0055] The interface module 31 is configured to receive information of a selected target object and a to-be-verified list selected by a user, wherein the to-be-verified list includes at least one to-be-verified object.
[0056] The acquisition module 32 is configured to acquire attribute information of the selected target object and each object to be verified in the to-be-verified list.
[0057] In some embodiments, a preset attribute field whitelist is used to extract attribute information from the selected target object and the designated attribute fields of each object to be verified.
[0058] The selection module 33 is configured to select an object to be verified that is compatible with the selected target object from the to-be-verified list, wherein the attribute information of the selected target object and the attribute information of the object to be verified that is compatible with the selected target object meet a preset compatibility rule.
[0059] In some embodiments, the selection module 33 uses a preset compatibility rule table to detect whether a compatibility rule exists between the selected target object and the i-th object to be verified in the list to be verified, where 1≤i≤N, and N is the total number of objects to be verified in the list to be verified. If a compatibility rule exists between the selected target object and the i-th object to be verified, the selection module 33 invokes a rule instance corresponding to the compatibility rule to detect whether the attribute information of the target object and the attribute information of the i-th object to be verified satisfy the rule instance. If the attribute information of the target object and the attribute information of the i-th object to be verified satisfy the rule instance, the i-th object to be verified is determined to be a compatible object to be verified with the selected target object.
[0060] In some embodiments, a reflection mechanism is used to call a rule instance corresponding to a compatible rule in memory.
[0061] It should be noted that if a rule instance corresponding to a compatible rule needs to be modified, the corresponding code must be modified. This increases the cost of system maintenance. To address this issue, this application generates rule instances corresponding to compatible rules through scripts and stores them in memory. It then uses reflection to directly call the rule instances corresponding to the compatible rules from memory. This allows for dynamic changes to rule instances without modifying the original rule instance code.
[0062] The updating module 34 is configured to add a compatible identifier to the objects to be verified that are compatible with the selected target object, so as to obtain an updated list to be verified.
[0063] In some embodiments, if the attribute information of the target object and the attribute information of the i-th object to be verified do not satisfy the rule instance, the selection module 33 determines that the i-th object to be verified is not a compatible object to be verified with the selected target object. The update module 34 adds an incompatibility flag to the i-th object to be verified, thereby obtaining an updated list of objects to be verified.
[0064] In some embodiments, if there is no compatibility rule between the selected target object and the i-th object to be verified, the updating module 34 adds a no-compatibility relationship identifier to the i-th object to be verified to obtain an updated list to be verified.
[0065] Figure 4 A schematic structural diagram of a compatibility verification device according to another embodiment of the present disclosure. Figure 4 and Figure 3 The difference is that in Figure 4 In the illustrated embodiment, the compatibility checking device further includes a display device 35 .
[0066] The display device 35 is configured to present the updated list to be verified to the user, so that the user can understand the compatibility relationship between each object to be verified and the selected target object through the updated list to be verified.
[0067] Figure 5 FIG. 1 is a schematic diagram of the structure of a compatibility verification device according to another embodiment of the present disclosure. Figure 5 As shown, the compatibility checking device includes a memory 51 and a processor 52 .
[0068] The memory 51 is used to store instructions. The processor 52 is coupled to the memory 51. The processor 52 is configured to execute the instructions stored in the memory. Figure 1 or Figure 2 The method according to any one of the embodiments.
[0069] like Figure 5 As shown, the compatibility verification device further includes a communication interface 53 for exchanging information with other devices and a bus 54 through which the processor 52, the communication interface 53, and the memory 51 communicate with each other.
[0070] The memory 51 may include high-speed RAM memory or non-volatile memory, such as at least one disk storage device. The memory 51 may also be a memory array. The memory 51 may also be divided into blocks, and the blocks may be combined into virtual volumes according to certain rules.
[0071] Furthermore, the processor 52 may be a central processing unit (CPU), or may be an application-specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the present disclosure.
[0072] The present disclosure also relates to a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, which, when executed by a processor, implement the following Figure 1 or Figure 2 The method according to any one of the embodiments.
[0073] In some embodiments, the functional unit module described above can be implemented as a general-purpose processor, a programmable logic controller (PLC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or any appropriate combination thereof for performing the functions described in the present disclosure.
[0074] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.
[0075] The description of the present disclosure is provided for purposes of illustration and description and is not intended to be exhaustive or to limit the disclosure to the disclosed form. Many modifications and variations will be apparent to those skilled in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present disclosure and to enable those skilled in the art to understand the present disclosure and design various embodiments with various modifications suitable for specific applications.
Claims
1. A compatibility verification method, comprising: Receiving selected target object information and a to-be-verified list selected by a user, wherein the to-be-verified list includes at least one to-be-verified object; Acquire attribute information of the selected target object and each object to be verified in the list to be verified; Selecting an object to be verified that is compatible with the selected target object from the to-be-verified list, wherein the attribute information of the selected target object and the attribute information of the object to be verified that is compatible with the selected target object satisfy a preset compatibility rule; Adding a compatible identifier to the objects to be verified that are compatible with the selected target object to obtain an updated list to be verified; The step of selecting an object to be verified that is compatible with the selected target object from the list to be verified includes: Using a preset compatible rule table, detecting whether there is a compatible rule between the selected target object and the i-th object to be verified in the list to be verified, where 1≤i≤N, N is the total number of objects to be verified in the list to be verified; If a compatible rule exists between the selected target object and the i-th object to be checked, calling a rule instance corresponding to the compatible rule; Detecting whether the attribute information of the selected target object and the attribute information of the i-th object to be checked satisfy the rule instance; If the attribute information of the selected target object and the attribute information of the i-th object to be verified satisfy the rule instance, it is determined that the i-th object to be verified is an object to be verified that is compatible with the selected target object.
2. The method according to claim 1, wherein: Obtaining the attribute information of the selected target object selected by the user and each object to be verified in the list to be verified includes: The attribute information is extracted from the selected target object and the designated attribute fields of each object to be verified respectively by using a preset attribute field whitelist.
3. The method according to claim 1, wherein: Calling a rule instance corresponding to the compatible rule includes: By utilizing the reflection mechanism, the rule instance corresponding to the compatible rule is called in the memory.
4. The method according to claim 1, further comprising: If the attribute information of the selected target object and the attribute information of the i-th object to be verified do not satisfy the rule instance, determining that the i-th object to be verified is not an object to be verified that is compatible with the selected target object; An incompatible identifier is added to the i-th object to be verified to obtain an updated list to be verified.
5. The method according to claim 1, further comprising: If there is no compatibility rule between the selected target object and the i-th object to be verified, a no-compatibility relationship identifier is added to the i-th object to be verified to obtain an updated list to be verified.
6. The method according to any one of claims 1 to 5, further comprising: The updated to-be-checked list is presented to the user.
7. A compatibility verification device, comprising: An interface module is configured to receive selected target object information and a to-be-verified list selected by a user, wherein the to-be-verified list includes at least one to-be-verified object; An acquisition module is configured to acquire attribute information of the selected target object and each object to be verified in the list to be verified; A selection module is configured to select an object to be verified that is compatible with the selected target object from the list to be verified, wherein a preset compatible rule table is used to detect whether a compatible rule exists between the selected target object and the i-th object to be verified in the list to be verified, wherein 1≤i≤N, N is the total number of objects to be verified in the list to be verified, and if a compatible rule exists between the selected target object and the i-th object to be verified, a rule instance corresponding to the compatible rule is called to detect whether the attribute information of the selected target object and the attribute information of the i-th object to be verified satisfy the rule instance, and if the attribute information of the selected target object and the attribute information of the i-th object to be verified satisfy the rule instance, it is determined that the i-th object to be verified is an object to be verified that is compatible with the selected target object, wherein the attribute information of the selected target object and the attribute information of the object to be verified that is compatible with the selected target object satisfy the preset compatible rule; The updating module is configured to add a compatible identifier to the objects to be verified that are compatible with the selected target object, so as to obtain an updated list to be verified.
8. A compatibility verification device, comprising: a memory configured to store instructions; A processor is coupled to the memory, and the processor is configured to execute the method according to any one of claims 1 to 6 based on instructions stored in the memory.
9. A computer-readable storage medium, wherein: The computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Content-based electronic data calibration and conversion method compatible to multi-data specification
CN101170378A
Compatibility testing method and device
CN106201850A
