Data feature recording method and device based on embeddable component and storage medium

By adopting a data feature recording method based on embedded components, the problems of high compatibility and maintenance costs in bank card business processing are solved. This method enables the organization and archiving of data features, reduces the coupling between technology and business operations, and improves business transparency.

CN114416747BActive Publication Date: 2026-04-07SHANGHAI SHUHE INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-26
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Existing technologies suffer from insufficient compatibility, bloated code, high maintenance costs, and strong coupling between technology and business operations when dealing with the complexity of bank card transactions.

Method used

A data feature recording method based on embedded components is adopted. By pre-defining the generation rules and default values ​​of sub-feature keys, feature keys are generated in a specified order, and values ​​are assigned and recorded to achieve the organization, allocation and archiving of data features.

Benefits of technology

It reduces the cost of business integration, is easy to maintain, reduces code coupling, improves the transparency of business operations, and allows users to understand different features without specific transformations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114416747B_ABST
    Figure CN114416747B_ABST
Patent Text Reader

Abstract

The application provides a data feature recording method and device based on an embeddable component and a storage medium, the embeddable component is pre-set, data features are recorded based on the embeddable component, and the specific data feature recording method comprises the following steps: a generation rule of a sub-feature key is pre-established, a corresponding sub-feature key default value is configured for each established sub-feature key; the established sub-feature key is processed based on a pre-set specified sequence to generate a corresponding feature key; and the feature key is valued and recorded. The technical scheme provided by the application can sort, distribute and archive data features, has a small business access cost, is easy to maintain, different features can be understood by business personnel without specific conversion, and the coupling of technology and business operation is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to a data feature recording method, apparatus and storage medium based on an embeddable component. Background Technology

[0002] Given the increasing complexity of bank card business for enterprises, different bank cards with different characteristics need to be selected for processing in different scenarios. The compatibility of the original system is no longer sufficient to meet the needs of complex business scenarios, which requires a universal mechanism to handle such problems.

[0003] While some solutions exist on the market, they often have significant weaknesses. First, traditional solutions typically process individual features in a fragmented manner, lacking a unified approach to feature processing and proper organization, allocation, and archiving of the processed outputs. Second, introducing new business features requires repetitive development and integration, resulting in bloated code. Integrating new business models significantly intrudes on the code, incurring high business integration costs and consequently, high maintenance costs. Third, for business operations personnel, different features require specific transformations for them to understand, increasing the coupling between technology and business operations. Summary of the Invention

[0004] This invention provides a data feature recording method, apparatus, and storage medium based on embedded components. It enables the organization, allocation, and archiving of data features, with low business access costs, ease of maintenance, and the ability for business personnel to understand different features without requiring specific conversions, thus reducing the coupling between technology and business operations.

[0005] A first aspect of this invention provides a data feature recording method based on an embeddable component, wherein an embeddable component is pre-set, and data feature recording is performed based on the embeddable component. The specific data feature recording method includes:

[0006] Predefine the rules for generating sub-feature keys, and configure corresponding default values ​​for each defined sub-feature key;

[0007] The specified sub-feature key is processed according to a pre-set order to generate the corresponding feature key;

[0008] The feature key is assigned a value and recorded.

[0009] Optionally, in one possible implementation of the first aspect, the generation rules for the sub-feature keys are predefined, and corresponding default values ​​for each defined sub-feature key are configured, including:

[0010] If the sub-feature key configuration within the judgment rule has no specific value, then set the default value for the sub-feature key that has no specific value.

[0011] Optionally, in one possible implementation of the first aspect, a target scenario is pre-set, and a feature key corresponding to the target scenario is generated based on the user's embedding data of the embeddable component;

[0012] If the query features of the target scene are determined by the user's input, the feature key corresponding to the target scene is obtained and displayed.

[0013] Optionally, in one possible implementation of the first aspect, pre-setting a target scenario and generating a feature key corresponding to the target scenario based on the user's embedding data of the embeddable component includes:

[0014] Obtain the sub-feature key corresponding to the embedded data, generate the corresponding feature key based on the sub-feature key, and set the target scene to correspond with the feature key.

[0015] Optionally, in one possible implementation of the first aspect, obtaining the sub-feature key corresponding to the embedded data, generating a corresponding feature key based on the sub-feature key, and setting the target scene to correspond with the feature key includes:

[0016] Obtain the value of the sub-feature key, and generate the value of the feature key based on the value of the sub-feature key.

[0017] Optionally, in one possible implementation of the first aspect, it also includes:

[0018] Receive scene information input by the user, select the corresponding feature key based on the scene information, and display the value assigned to the feature key.

[0019] Optionally, in one possible implementation of the first aspect, processing the specified sub-feature key based on a pre-set specified order to generate the corresponding feature key includes:

[0020] Get the sequential values ​​of all sub-feature keys;

[0021] All sub-feature keys are sorted based on their order values ​​to generate corresponding feature keys.

[0022] Alternatively, in one possible implementation of the first aspect, each sub-feature key has a corresponding data feature.

[0023] A second aspect of the present invention provides a data feature recording device based on an embeddable component, wherein an embeddable component is pre-configured, and data feature recording is performed based on the embeddable component. Specifically, the data feature recording module includes:

[0024] The specification module is used to pre-define the generation rules for sub-feature keys and configure corresponding default values ​​for each specified sub-feature key;

[0025] The feature generation module is used to process the specified sub-feature keys according to a pre-set order to generate corresponding feature keys.

[0026] The recording module is used to assign and record the feature key.

[0027] A third aspect of the present invention provides a readable storage medium storing a computer program, which, when executed by a processor, is used to implement the methods of the first aspect of the present invention and various possible designs of the first aspect.

[0028] This invention provides a data feature recording method, apparatus, and storage medium based on embedded components. It enables the organization, allocation, and archiving of data features with low business integration costs and ease of maintenance. Different features no longer require specific conversions for business personnel to understand, reducing the coupling between technology and business operations. The technical solution provided by this invention can be implemented as an embedded component, making it easy to integrate with business systems. No additional deployment is required, saving hardware resources. Rules can be defined once and used multiple times, allowing for unlimited expansion and further reducing code coupling. Business operations personnel can identify the features associated with a feature based on the feature key, providing greater transparency. This invention is not limited to a specific thing or data feature; it can be used for any application requiring feature statistics. Attached Figure Description

[0029] Figure 1 A flowchart of the first implementation of a data feature recording method based on an embeddable component;

[0030] Figure 2 A flowchart illustrating a second implementation of a data feature recording method based on embeddable components;

[0031] Figure 3 This is a structural diagram of a first embodiment of a data feature recording device based on an embeddable component. Detailed Implementation

[0032] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0033] The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in sequences other than those illustrated or described herein.

[0034] It should be understood that in the various embodiments of the present invention, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0035] It should be understood that in this invention, "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such process, method, product, or device.

[0036] It should be understood that in this invention, "multiple" refers to two or more. "And / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "Contains A, B, and C", "Contains A, B, and C" means that all three A, B, and C are contained; "Contains A, B, or C" means that one of A, B, and C is contained; "Contains A, B, and / or C" means that any one, two, or three of A, B, and C are contained.

[0037] It should be understood that in this invention, "B corresponding to A", "B corresponding to A", "A and B correspond", or "B and A correspond" means that B is associated with A, and B can be determined based on A. Determining B based on A does not mean determining B solely based on A; B can also be determined based on A and / or other information. Matching A and B is defined as a similarity between A and B that is greater than or equal to a preset threshold.

[0038] Depending on the context, "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection."

[0039] The technical solution of the present invention will be described in detail below with reference to specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0040] This invention provides a data feature recording method based on an embeddable component, wherein an embeddable component is pre-set, and data feature recording is performed based on the embeddable component, such as... Figure 1 and Figure 2 As shown, specific data feature recording methods include:

[0041] Step S110: Predefine the generation rules for sub-feature keys and configure corresponding default values ​​for each defined sub-feature key. The default values ​​can be matched according to the corresponding data processing rules, with different sub-feature keys corresponding to different data processing methods and rules.

[0042] The technical solution provided by this invention predefines the generation rules for sub-feature keys and configures corresponding default values ​​for each defined sub-feature key, including:

[0043] If the sub-feature key configuration within the judgment rule has no specific value, then a default value is set for the sub-feature key that has no specific value. The technical solution provided by this invention determines the corresponding data processing method and data processing rule based on the specific value configured for each sub-feature key. Different data processing methods and data processing rules have their corresponding specific values.

[0044] Step S120: Process the specified sub-feature keys according to a pre-set order to generate corresponding feature keys. The technical solution provided by this invention sorts all sub-feature keys; the specified order can be pre-set by the administrator according to the actual scenario. This invention processes the specified sub-feature keys according to the specified order to generate corresponding feature keys.

[0045] Step S130: Assign and record values ​​to the feature key. This invention assigns and records values ​​to the feature key, and when assigning values ​​to the feature key, it assigns values ​​based on the values ​​of the sub-feature keys, creating a certain correlation between the sub-feature keys. The feature key can reflect the data processing methods and rules of the corresponding scenario.

[0046] The technical solution provided by this invention involves pre-setting a target scenario and generating a feature key corresponding to the target scenario based on the user's embedding data of the embeddable component. Different target scenarios will correspond to different processing methods. This invention generates a feature key corresponding to the target scenario based on the user's embedding data of the embeddable component.

[0047] If the system determines that the user has entered query features for a target scenario, it retrieves and displays the feature key corresponding to that target scenario. When a user enters query features for a target scenario, it indicates that the user or administrator needs to determine the corresponding data features. In this case, the corresponding feature key is displayed, achieving the purpose and effect of displaying the features of the target scenario.

[0048] The technical solution provided by this invention, in one possible implementation, involves pre-setting a target scene and generating a feature key corresponding to the target scene based on the user's embedding data of the embeddable component, including:

[0049] The process involves obtaining the sub-feature key corresponding to the embedded data, generating a corresponding feature key based on the sub-feature key, and setting the target scene to correspond with the feature key. The technical solution provided by this invention generates a feature key based on the sub-feature key corresponding to the embedded data actively embedded by the user or administrator, thereby enabling the target scene to have multiple distributed processing rules and methods.

[0050] The technical solution provided by this invention, in one possible implementation, involves obtaining the sub-feature key corresponding to the embedded data, generating a corresponding feature key based on the sub-feature key, and setting the target scene to correspond with the feature key, including:

[0051] The assignment of the sub-feature key is obtained, and the assignment of the feature key is generated based on the assignment of the sub-feature key. The assignment of each sub-feature key can show the corresponding processing rule and method, and the feature key is composed of multiple sub-feature keys.

[0052] In one possible implementation, the technical solution provided by this invention further includes:

[0053] Receive scene information input by the user, select the corresponding feature key based on the scene information, and display the value assigned to the feature key.

[0054] In one possible implementation of the technical solution provided by this invention, generating a corresponding feature key by processing a predetermined sub-feature key based on a pre-set specified order includes:

[0055] Get the sequential values ​​of all sub-feature keys;

[0056] All sub-feature keys are sorted based on their order values ​​to generate corresponding feature keys.

[0057] In one possible implementation of the technical solution provided by the present invention, each sub-feature key has a corresponding data feature.

[0058] This invention is a lightweight feature recording component (hereinafter referred to as the component) that can be embedded into a business system. The component can define its unique sub-feature keys for multiple scenarios. All sub-feature keys are generated into feature keys in a specified order. All business scenarios that need to record features can be transformed into feature key generation for the component. Business operations personnel only need to understand the feature key generation rules to identify which features the data contains based on the feature keys.

[0059] Feature recording component working steps:

[0060] 1. Define the rules for generating sub-feature keys.

[0061] 2. Define the default value for the sub-feature key.

[0062] 3. Set a default value when the sub-feature key in the rule has no value.

[0063] 4. Generate feature keys in the specified order.

[0064] 5. Assign a value to the feature key and record it.

[0065] 6. Obtain specified features for each business scenario.

[0066] 7. Feature processing in business systems.

[0067] The technical solution provided by this invention can organize, allocate, and archive data features with low business integration costs and ease of maintenance. Different features no longer require specific conversions for business personnel to understand, reducing the coupling between technology and business operations. This technical solution can be implemented as an embedded component, easily integrating with business systems. No additional deployment is required, saving hardware resources. Rules can be defined once and used repeatedly, allowing for unlimited expansion and further reducing code coupling. Business operations personnel can identify the features associated with a feature based on the feature key, providing greater transparency. This invention is not limited to a specific thing or data feature; it can be used for any application requiring feature statistics.

[0068] The technical solution provided by this invention also provides a data feature recording device based on an embeddable component, wherein an embeddable component is pre-set, and data feature recording is performed based on the embeddable component, such as... Figure 3 As shown, the specific data feature recording module includes:

[0069] The specification module is used to pre-define the generation rules for sub-feature keys and configure corresponding default values ​​for each specified sub-feature key;

[0070] The feature generation module is used to process the specified sub-feature keys according to a pre-set order to generate corresponding feature keys.

[0071] The recording module is used to assign and record the feature key.

[0072] The readable storage medium can be a computer storage medium or a communication medium. A communication medium includes any medium that facilitates the transfer of computer programs from one location to another. A computer storage medium can be any available medium accessible to a general-purpose or special-purpose computer. For example, a readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application-Specific Integrated Circuit (ASIC). Alternatively, the ASIC can be located in a user equipment. Of course, the processor and the readable storage medium can also exist as discrete components in a communication device. The readable storage medium can be a read-only memory (ROM), random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0073] The present invention also provides a program product including executable instructions stored in a readable storage medium. At least one processor of the device can read the executable instructions from the readable storage medium, and the at least one processor executes the executable instructions to cause the device to implement the methods provided in the various embodiments described above.

[0074] In the above-described terminal or server embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly manifested as execution by a hardware processor, or execution by a combination of hardware and software modules within the processor.

[0075] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A data feature recording method based on embeddable components, characterized in that, Pre-configure embeddable components, and record data features based on these components. Specific data feature recording methods include: Predefine the rules for generating sub-feature keys, and configure corresponding default values ​​for each defined sub-feature key. This includes setting default values ​​for sub-feature keys without specific values ​​if there are no specific values ​​in the configuration of sub-feature keys within the judgment rules. The specified sub-feature key is processed according to a pre-set order to generate the corresponding feature key; Assign a value to the feature key and record it; A target scenario is pre-set, and a feature key corresponding to the target scenario is generated based on the user's embedding data of the embeddable component; if it is determined that the user inputs the query feature of the target scenario, the feature key corresponding to the target scenario is obtained and displayed. The process of pre-setting a target scene and generating a feature key corresponding to the target scene based on the user's embedding data of the embeddable component includes: obtaining a sub-feature key corresponding to the embedding data, generating a corresponding feature key based on the sub-feature key, and setting the target scene to correspond with the feature key. Obtaining the sub-feature key corresponding to the embedded data, generating the corresponding feature key based on the sub-feature key, and setting the target scene to correspond with the feature key includes: obtaining the assignment of the sub-feature key, and generating the assignment of the feature key based on the assignment of the sub-feature key; The process of generating corresponding feature keys based on a pre-set specified order for the defined sub-feature keys includes: obtaining the order values ​​of all sub-feature keys; and sorting all sub-feature keys based on their order values ​​to generate corresponding feature keys.

2. The data feature recording method based on an embeddable component according to claim 1, characterized in that, Also includes: Receive scene information input by the user, select the corresponding feature key based on the scene information, and display the value assigned to the feature key.

3. The data feature recording method based on an embeddable component according to claim 2, characterized in that, in, Each sub-feature key has its corresponding data feature.

4. A data feature recording device based on an embeddable component, characterized in that, Pre-configure embeddable components, and record data features based on these components. Specific data feature recording modules include: The specification module is used to pre-define the generation rules for sub-feature keys and configure corresponding default values ​​for each specified sub-feature key; The feature generation module is used to process the specified sub-feature keys according to a pre-set order to generate corresponding feature keys. The recording module is used to assign and record the feature key.

5. A readable storage medium, characterized in that, The readable storage medium stores a computer program, which, when executed by a processor, is used to implement the method described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Data configuration method and device suitable for different service scenes

    CN110097102A

  • Multi-dimensional key value pair data generation method and device

    CN113849514A