CN114416747A - Data characteristic recording method and device based on embeddable component and storage medium - Google Patents

Data characteristic recording method and device based on embeddable component and storage medium Download PDF

Info

Publication number
CN114416747A
CN114416747A CN202210092603.3A CN202210092603A CN114416747A CN 114416747 A CN114416747 A CN 114416747A CN 202210092603 A CN202210092603 A CN 202210092603A CN 114416747 A CN114416747 A CN 114416747A
Authority
CN
China
Prior art keywords
feature
sub
key
feature key
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210092603.3A
Other languages
Chinese (zh)
Inventor
吴清武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Shuhe Information Technology Co Ltd
Original Assignee
Shanghai Shuhe Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Shuhe Information Technology Co Ltd filed Critical Shanghai Shuhe Information Technology Co Ltd
Priority to CN202210092603.3A priority Critical patent/CN114416747A/en
Publication of CN114416747A publication Critical patent/CN114416747A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases

Abstract

The invention provides a data characteristic recording method, a device and a storage medium based on an embeddable component, wherein the embeddable component is preset, and data characteristic recording is carried out based on the embeddable component, and the specific data characteristic recording method comprises the following steps: pre-formulating a generating rule of the sub-feature key, and configuring a corresponding sub-feature key default value for each formulated sub-feature key; processing the formulated sub-feature keys based on a preset designated sequence to generate corresponding feature keys; and assigning and recording the feature key. The technical scheme provided by the invention can be used for sorting, distributing and filing data characteristics, has low service access cost and easy maintenance, can be understood by service personnel without specific conversion of different characteristics, and reduces the coupling of technology and service operation.

Description

Data characteristic recording method and device based on embeddable component and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data feature recording method and apparatus based on an embeddable component, and a storage medium.
Background
Based on the fact that the complexity of the bank card business of the enterprise is higher and higher at present, bank cards with different characteristics need to be selected for processing under different scenes, the compatibility of the original system is not enough to meet the complex business scene, and a universal mechanism is needed to process the problems.
Some solutions exist on the market currently, but these solutions also tend to have more obvious weaknesses. Firstly, the traditional solution is basically that a certain characteristic is separately processed in a dispersive manner, and how to sort, distribute and archive the characteristic output after unified summary characteristic processing and processing are basically lacked; secondly, when a new previous service characteristic needs to be developed and docked repeatedly, codes are bloated, the intrusion of the new service mode docking pairs to the codes is large, the service access cost is large, and further the maintenance cost is high; thirdly, for the service operator, different features need to be specifically converted to be understood by the service operator, thereby increasing the coupling between the technology and the service operation.
Disclosure of Invention
The embodiment of the invention provides a data characteristic recording method and device based on an embeddable component and a storage medium. The data features can be sorted, distributed and filed, the service access cost is low, the maintenance is easy, different features can be understood by service personnel without specific conversion, and the coupling of technology and service operation is reduced.
In a first aspect of the embodiments of the present invention, a data feature recording method based on an embeddable component is provided, where the embeddable component is preset, and data feature recording is performed based on the embeddable component, and the specific data feature recording method includes:
pre-formulating a generating rule of the sub-feature key, and configuring a corresponding sub-feature key default value for each formulated sub-feature key;
processing the formulated sub-feature keys based on a preset designated sequence to generate corresponding feature keys;
and assigning and recording the feature key.
Optionally, in a possible implementation manner of the first aspect, the pre-formulating a generation rule of the sub-feature key, and configuring a corresponding sub-feature key default value for each formulated sub-feature key includes:
and if the sub-feature key configuration in the rule has no specific numerical value, setting a sub-feature key default value for the sub-feature key without the specific numerical value.
Optionally, in a possible implementation manner of the first aspect, a target scene is preset, and a feature key corresponding to the target scene is generated according to embedding data of a user on an embeddable component;
and if the query characteristics of the target scene input by the user are judged, acquiring the characteristic key corresponding to the target scene for display.
Optionally, in a possible implementation manner of the first aspect, presetting a target scene, and generating a feature key corresponding to the target scene according to embedding data of a user on an embeddable component includes:
and acquiring a sub-feature key corresponding to the embedded data, generating a corresponding feature key based on the sub-feature key, and correspondingly setting the target scene and the feature key.
Optionally, in a possible implementation manner of the first aspect, the obtaining a sub-feature key corresponding to the embedded data, generating a corresponding feature key based on the sub-feature key, and setting the target scene corresponding to the feature key includes:
and 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.
Optionally, in a possible implementation manner of the first aspect, the method further includes:
receiving scene information input by a user, selecting a corresponding feature key based on the scene information, and displaying the assignment of the feature key.
Optionally, in a possible implementation manner of the first aspect, processing the formulated sub-feature keys based on a preset specified order to generate corresponding feature keys includes:
acquiring the sequence values of all the sub-feature keys;
and sequencing all the sub-feature keys based on the sequence values of all the sub-feature keys to generate corresponding feature keys.
Optionally, in a possible implementation manner of the first aspect, each sub-feature key has a data feature corresponding thereto.
In a second aspect of the embodiments of the present invention, there is provided a data feature recording apparatus based on an embeddable component, where the embeddable component is preset, and data feature recording is performed based on the embeddable component, and a specific data feature recording module includes:
the formulating module is used for formulating the generating rule of the sub-feature key in advance and configuring a corresponding sub-feature key default value for each formulated sub-feature key;
the feature generation module is used for processing the formulated sub-feature keys based on a preset specified sequence to generate corresponding feature keys;
and the recording module is used for assigning and recording the feature key.
In a third aspect of the embodiments of the present invention, a readable storage medium is provided, in which a computer program is stored, which, when being executed by a processor, is adapted to carry out the method according to the first aspect of the present invention and various possible designs of the first aspect of the present invention.
The invention provides a data characteristic recording method and device based on an embeddable component and a storage medium. The data features can be sorted, distributed and filed, the service access cost is low, the maintenance is easy, different features can be understood by service personnel without specific conversion, and the coupling of technology and service operation is reduced. The technical scheme provided by the invention can be realized in an embedded assembly mode and is easy to integrate with a service system. Additional deployment is not needed, and hardware resources are saved. The method has the advantages of one-time rule making, multiple use, infinite expansion and great reduction of code coupling. The business operator can identify the characteristic of the business operator according to the characteristic key, and the business operator has more transparency. The invention is not limited to certain things or data characteristics and can be used for any characteristic statistical requirement.
Drawings
FIG. 1 is a flow chart of a first embodiment of a data feature recording method based on embeddable components;
FIG. 2 is a flow chart of a second embodiment of a data feature recording method based on embeddable components;
fig. 3 is a block diagram of a first embodiment of an embeddable component-based data feature recording apparatus.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the internal logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should be understood that in the present application, "comprising" and "having" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that, in the present invention, "a plurality" means two or more. "and/or" is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "comprises A, B and C" and "comprises A, B, C" means that all three of A, B, C comprise, "comprises A, B or C" means that one of A, B, C comprises, "comprises A, B and/or C" means that any 1 or any 2 or 3 of A, B, C comprises.
It should be understood that in the present invention, "B corresponding to a", "a corresponds to B", or "B corresponds to a" means that B is associated with a, and B can be determined from a. Determining B from a does not mean determining B from a alone, but may be determined from a and/or other information. And the matching of A and B means that the similarity of A and B is greater than or equal to a preset threshold value.
As used herein, "if" may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
The invention provides a data characteristic recording method based on an embeddable component, which presets the embeddable component and records data characteristics based on the embeddable component, as shown in fig. 1 and fig. 2, the specific data characteristic recording method comprises the following steps:
step S110, pre-formulating the generation rule of the sub-feature key, and configuring a corresponding sub-feature key default value for each formulated sub-feature key. The key default value can be matched according to the corresponding data processing rule, and different data processing modes and data processing rules corresponding to different sub-feature keys.
According to the technical scheme provided by the invention, a generation rule of the sub-feature key is preset, and the step of configuring a corresponding sub-feature key default value for each preset sub-feature key comprises the following steps:
and if the sub-feature key configuration in the rule has no specific numerical value, setting a sub-feature key default value for the sub-feature key without the specific numerical value. According to the technical scheme provided by the invention, the corresponding data processing mode and data processing rule can be judged according to the specific numerical value configured by each sub-feature key, and different data processing modes and data processing rules have the specific numerical values corresponding to the data processing modes and the data processing rules.
And step S120, processing the formulated sub-feature keys based on a preset specified sequence to generate corresponding feature keys. According to the technical scheme provided by the invention, all the sub-feature keys are sequenced, and the specified sequence can be preset by an administrator according to an actual scene. The method and the device can process the formulated sub-feature keys according to the specified sequence to generate the corresponding feature keys.
And S130, assigning and recording the feature key. The invention assigns and records the feature key, and assigns values according to the numerical value of the sub-feature key when assigning the feature key, so that the sub-feature key and the sub-feature key have a certain incidence relation. The data processing mode and the data processing rule of the corresponding scene can be reflected through the feature key.
According to the technical scheme provided by the invention, a target scene is preset, and a feature key corresponding to the target scene is generated according to the embedded data of the user on the embeddable component. Different target scenes correspond to different processing modes, and the feature key corresponding to the target scene is generated according to the embedded data of the user on the embeddable component.
And if the query characteristics of the target scene input by the user are judged, acquiring the characteristic key corresponding to the target scene for display. When the user inputs the query features of the target scene, the user and the administrator are proved to need to determine the corresponding data features, and the corresponding feature keys are displayed at the moment, so that the purpose and the effect of displaying the features of the target scene are achieved.
In one possible implementation, the presetting of a target scene, and the generating of a feature key corresponding to the target scene according to embedded data of a user on an embeddable component includes:
and acquiring a sub-feature key corresponding to the embedded data, generating a corresponding feature key based on the sub-feature key, and correspondingly setting the target scene and the feature key. According to the technical scheme provided by the invention, the feature key is generated according to the sub-feature key corresponding to the embedded data actively embedded by the user and the administrator, so that the target scene has a plurality of scattered processing rules and modes.
In a possible implementation manner, the obtaining of 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 and the feature key in correspondence includes:
and 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 assignment of each sub-feature key can display the corresponding processing rule and mode, and the feature key is composed of a plurality of sub-feature keys.
In a possible embodiment, the technical solution provided by the present invention further includes:
receiving scene information input by a user, selecting a corresponding feature key based on the scene information, and displaying the assignment of the feature key.
In a possible implementation manner, the processing the formulated sub-feature key based on the preset specified order to generate the corresponding feature key includes:
acquiring the sequence values of all the sub-feature keys;
and sequencing all the sub-feature keys based on the sequence values of all the sub-feature keys to generate corresponding feature keys.
In one possible implementation, each sub-feature key has a data feature corresponding to the sub-feature key.
The invention relates to a lightweight feature recording component (hereinafter referred to as a component) which can be embedded into a business system, wherein the component can define unique sub-feature keys for multiple scenes, all the sub-feature keys are generated into feature keys according to a specified sequence, and all the business scenes needing to be subjected to feature recording can be converted into the feature keys for the component. The service operator can identify which features the data contain according to the feature key only by knowing the generation rule of the feature key.
The characteristic recording component comprises the following working steps:
1. and formulating a sub-feature key generation rule.
2. A default value for the sub-feature key is established.
3. The default value is set when the child feature key has no value within the rule.
4. Feature keys are generated in a specified order.
5. And assigning and recording the feature key.
6. Each service scene acquires the specified characteristics.
7. And the service system processes the characteristics.
The technical scheme provided by the invention can be used for sorting, distributing and filing data characteristics, has low service access cost and easy maintenance, can be understood by service personnel without specific conversion of different characteristics, and reduces the coupling of technology and service operation. The technical scheme provided by the invention can be realized in an embedded assembly mode and is easy to integrate with a service system. Additional deployment is not needed, and hardware resources are saved. The method has the advantages of one-time rule making, multiple use, infinite expansion and great reduction of code coupling. The business operator can identify the characteristic of the business operator according to the characteristic key, and the business operator has more transparency. The invention is not limited to certain things or data characteristics and can be used for any characteristic statistical requirement.
The technical solution provided by the present invention further provides an embeddable component-based data feature recording apparatus, where the embeddable component is preset, and data feature recording is performed based on the embeddable component, as shown in fig. 3, a specific data feature recording module includes:
the formulating module is used for formulating the generating rule of the sub-feature key in advance and configuring a corresponding sub-feature key default value for each formulated sub-feature key;
the feature generation module is used for processing the formulated sub-feature keys based on a preset specified sequence to generate corresponding feature keys;
and the recording module is used for assigning and recording the feature key.
The readable storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, a readable storage medium is coupled to the processor such that the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Additionally, the ASIC may reside in user equipment. Of course, the processor and the readable storage medium may also reside as discrete components in a communication device. The readable storage medium may be a read-only memory (ROM), a random-access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present invention also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the device may read the execution instructions from the readable storage medium, and the execution of the execution instructions by the at least one processor causes the device to implement the methods provided by the various embodiments described above.
In the above embodiments of the terminal or the server, it should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The data feature recording method based on the embeddable component is characterized in that the embeddable component is preset, and data feature recording is carried out based on the embeddable component, and the specific data feature recording method comprises the following steps:
pre-formulating a generating rule of the sub-feature key, and configuring a corresponding sub-feature key default value for each formulated sub-feature key;
processing the formulated sub-feature keys based on a preset designated sequence to generate corresponding feature keys;
and assigning and recording the feature key.
2. The embeddable component-based data feature recording method of claim 1,
pre-formulating a generation rule of the sub-feature key, and configuring a corresponding sub-feature key default value for each formulated sub-feature key comprises the following steps:
and if the sub-feature key configuration in the rule has no specific numerical value, setting a sub-feature key default value for the sub-feature key without the specific numerical value.
3. The embeddable component-based data feature recording method of claim 1,
presetting a target scene, and generating a feature key corresponding to the target scene according to embedded data of a user on an embedded component;
and if the query characteristics of the target scene input by the user are judged, acquiring the characteristic key corresponding to the target scene for display.
4. The embeddable component-based data feature recording method of claim 3,
presetting a target scene, and generating a feature key corresponding to the target scene according to embedded data of a user on an embedded component comprises the following steps:
and acquiring a sub-feature key corresponding to the embedded data, generating a corresponding feature key based on the sub-feature key, and correspondingly setting the target scene and the feature key.
5. The embeddable component-based data feature recording method of claim 3,
acquiring a sub-feature key corresponding to the embedded data, generating a corresponding feature key based on the sub-feature key, and correspondingly setting the target scene and the feature key comprises the following steps:
and 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.
6. The embeddable component-based data feature recording method of claim 3, further comprising:
receiving scene information input by a user, selecting a corresponding feature key based on the scene information, and displaying the assignment of the feature key.
7. The embeddable component-based data feature recording method of claim 3,
the step of processing the formulated sub-feature keys based on the preset specified sequence to generate corresponding feature keys comprises the following steps:
acquiring the sequence values of all the sub-feature keys;
and sequencing all the sub-feature keys based on the sequence values of all the sub-feature keys to generate corresponding feature keys.
8. The embeddable component-based data feature recording method of claim 7,
wherein each sub-feature key has a data feature corresponding thereto.
9. Data characteristic recorder based on embeddable subassembly, its characterized in that sets up embeddable subassembly in advance, carries out data characteristic record based on embeddable subassembly, and specific data characteristic record module includes:
the formulating module is used for formulating the generating rule of the sub-feature key in advance and configuring a corresponding sub-feature key default value for each formulated sub-feature key;
the feature generation module is used for processing the formulated sub-feature keys based on a preset specified sequence to generate corresponding feature keys;
and the recording module is used for assigning and recording the feature key.
10. Readable storage medium, characterized in that a computer program is stored in the readable storage medium, which computer program, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 8.
CN202210092603.3A 2022-01-26 2022-01-26 Data characteristic recording method and device based on embeddable component and storage medium Pending CN114416747A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210092603.3A CN114416747A (en) 2022-01-26 2022-01-26 Data characteristic recording method and device based on embeddable component and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210092603.3A CN114416747A (en) 2022-01-26 2022-01-26 Data characteristic recording method and device based on embeddable component and storage medium

Publications (1)

Publication Number Publication Date
CN114416747A true CN114416747A (en) 2022-04-29

Family

ID=81276948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210092603.3A Pending CN114416747A (en) 2022-01-26 2022-01-26 Data characteristic recording method and device based on embeddable component and storage medium

Country Status (1)

Country Link
CN (1) CN114416747A (en)

Similar Documents

Publication Publication Date Title
CN111371858B (en) Group control equipment identification method, device, medium and electronic equipment
CN111563098A (en) Structured and unstructured data query method, device, storage medium and device
CN103902543A (en) Database inquiry method and device and database system
CN113378044A (en) Question matching method and platform
CN114416747A (en) Data characteristic recording method and device based on embeddable component and storage medium
CN104573132A (en) Method and device for finding songs
CN112612817B (en) Data processing method, device, terminal equipment and computer readable storage medium
CN114546231A (en) Image data collection method and device based on browser plug-in and storage medium
CN111401981B (en) Bidding method, device and storage medium of bidding cloud host
CN114385436A (en) Server grouping method and device, electronic equipment and storage medium
CN108521527B (en) Ticket difference detection method, system, computer storage medium and computer equipment
JP2002351702A (en) Method and device for preparing terminal operation statistical data utilizing online
CN116263770A (en) Method, device, terminal equipment and medium for storing business data based on database
CN113487350A (en) Business product determination method and related device
CN117112846B (en) Multi-information source license information management method, system and medium
CN111695031A (en) Label-based searching method, device, server and storage medium
CN111045983A (en) Nuclear power station electronic file management method and device, terminal equipment and medium
CN113033832B (en) Method and device for inputting automobile repair data, terminal equipment and readable storage medium
CN113468379A (en) Data source processing method and device and intelligent analysis platform
CN116362692B (en) Collaborative data processing method and system suitable for administrative office OA platform
CN109344132B (en) User information merging method, computer readable storage medium and terminal device
US20230298445A1 (en) Learning apparatus, estimation apparatus, learning method, and non-transitory storage medium
CN114661288A (en) Component configuration method, device, equipment and storage medium
CN110166505B (en) Session record storage method, device, equipment and storage medium
CN112130791A (en) Method and device for editing information among multiple screens, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination