CN115658968A - Service data number making method and device, electronic equipment and readable storage medium - Google Patents
Service data number making method and device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN115658968A CN115658968A CN202211086126.6A CN202211086126A CN115658968A CN 115658968 A CN115658968 A CN 115658968A CN 202211086126 A CN202211086126 A CN 202211086126A CN 115658968 A CN115658968 A CN 115658968A
- Authority
- CN
- China
- Prior art keywords
- data
- service
- field
- preset
- database
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000012545 processing Methods 0.000 claims abstract description 25
- 238000004519 manufacturing process Methods 0.000 claims description 26
- 238000012549 training Methods 0.000 claims description 19
- 238000013527 convolutional neural network Methods 0.000 claims description 8
- 238000000605 extraction Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 6
- 238000010276 construction Methods 0.000 claims description 6
- 238000013500 data storage Methods 0.000 claims description 5
- 239000013589 supplement Substances 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 3
- 230000008569 process Effects 0.000 description 13
- 230000006870 function Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 238000007726 management method Methods 0.000 description 5
- 238000013523 data management Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000000047 product Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000009469 supplementation Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to a data processing technology, and discloses a service data making method, which comprises the following steps: acquiring a data marking request, identifying a specified service data set corresponding to the data marking request, and carrying out data marking on the specified service data set to obtain marked data and a corresponding data identifier; converting the marked data into standard data of a preset type, and storing the standard data and the data identification into a preset database to obtain an initial database; extracting preset service fields in the appointed service data set, constructing field configuration rules corresponding to the preset service fields, and adding the field configuration rules to an initial database to obtain a service database; and when the data making number request is acquired, performing data making number processing based on the service database to acquire a plurality of pieces of service making number data. The invention also provides a service data number making device, electronic equipment and a computer readable storage medium. The invention can solve the problem of low efficiency of data generation.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and an apparatus for service data creation, an electronic device, and a computer-readable storage medium.
Background
The situation of difficult data making generally exists in the process data of a business company, and when large-batch complete test data or different node process data is needed, data making can be realized through a production derivative, an interface data making tool or a script data inserting mode.
Disclosure of Invention
The invention provides a method and a device for service data number making and a computer readable storage medium, and mainly aims to solve the problem of low efficiency of data number making.
In order to achieve the above object, a service data number making method provided by the present invention includes:
acquiring a data marking request, identifying a specified service data set corresponding to the data marking request, and carrying out data marking on the specified service data set to obtain marked data and a corresponding data identifier;
converting the marked data into standard data of a preset type, and storing the standard data and the data identification into a preset database to obtain an initial database;
extracting preset service fields in the appointed service data set, constructing field configuration rules corresponding to the preset service fields, and adding the field configuration rules to the initial database to obtain a service database;
and when the data manufacture number request is acquired, performing data manufacture number processing based on the service database to acquire a plurality of pieces of service manufacture number data.
Optionally, the identifying a specific service data set corresponding to the data tagging request includes:
analyzing the data marking request to obtain a data request text;
and searching a plurality of pieces of data corresponding to the data request text in the pre-acquired historical data set to obtain a specified service data set.
Optionally, the data marking the designated service data set to obtain marked data and a corresponding data identifier includes:
acquiring a system name, a table field name and node information to which the specified service data set belongs;
marking the appointed service data set by taking the system name as a system identifier and taking the table field name as a field identifier to obtain an initial data set;
marking the node number contained in the node information in the initial data set to obtain marked data;
and summarizing the system identification, the field identification and the node information to obtain corresponding data identification.
Optionally, the extracting the preset service field in the specified service data set includes:
taking the historical data set as a training data set to train a convolutional neural network model to obtain a prediction training set;
judging whether the prediction training set is consistent with a real field set corresponding to the historical data set or not, and when the prediction training set is consistent with the real field set, taking the convolutional neural network model as a field extraction model;
and inputting the specified service data set into the field extraction model to obtain a preset service field.
Optionally, the constructing a field configuration rule corresponding to the preset service field includes:
identifying a field service type corresponding to the preset service field;
when the field service type is a password field type, constructing a reference field with a preset length as the field configuration rule;
when the field service type is the certificate number field type, defining the field configuration rule according to the property of the certificate number;
and when the field service type is the application number field type, taking a mode of carrying out incremental processing on the preset service field as the field configuration rule.
Optionally, the defining the field configuration rule according to the property of the certificate number includes:
selecting a plurality of corresponding components from a preset component library according to the property of the certificate number;
and combining the components to obtain a regular expression, and taking the regular expression as the field configuration rule.
Optionally, after obtaining the plurality of pieces of service configuration data, the method further includes:
and taking the plurality of pieces of service data as a reference template, and performing data supplement on the service database according to the reference template to obtain a supplemented service database.
In order to solve the above problem, the present invention further provides a service data configuration apparatus, including:
the data marking module is used for acquiring a data marking request, identifying a specified service data set corresponding to the data marking request, and marking the specified service data set with data to obtain marked data and a corresponding data identifier;
the data storage module is used for converting the marked data into standard data of a preset type, and storing the standard data and the data identification into a preset database to obtain an initial database;
the rule construction module is used for extracting a preset service field in the specified service data set, constructing a field configuration rule corresponding to the preset service field, and adding the field configuration rule to the initial database to obtain a service database;
and the data making module is used for carrying out data making processing based on the service database to obtain a plurality of pieces of service making data when the data making request is obtained.
In order to solve the above problem, the present invention also provides an electronic device, including:
a memory storing at least one instruction; and
and the processor executes the instructions stored in the memory to realize the service data manufacturing method.
In order to solve the above problem, the present invention further provides a computer-readable storage medium, where at least one instruction is stored, and the at least one instruction is executed by a processor in an electronic device to implement the service data manufacturing method described above.
In the embodiment of the invention, data marking is carried out on an appointed service data set to obtain marked data and corresponding data identification, the data identification can mark the data, the flow direction of the data is monitored, the marked data is converted into standard data of a preset type, the standard data and the data identification are stored in a preset database to obtain an initial database, the standard data of the preset type is more suitable for subsequent data making, preset service fields in the appointed service data set are extracted, field configuration rules corresponding to the preset service fields are constructed, the field configuration rules are added into the initial database to obtain a service database, and the field configuration rules can better configure some important fields. And when the data manufacture number request is acquired, performing data manufacture number processing based on the service database to acquire a plurality of pieces of service manufacture number data. And data making is carried out according to the well-configured service database, so that the efficiency of making the service data can be improved. Therefore, the service data number making method, the service data number making device, the electronic equipment and the computer readable storage medium provided by the invention can solve the problem of low efficiency of data number making.
Drawings
Fig. 1 is a schematic flowchart of a service data numbering method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart showing a detailed implementation of one of the steps in FIG. 1;
fig. 3 is a functional block diagram of a service data creation apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device for implementing the service data numbering method according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the application provides a service data number making method. The execution subject of the service data making method includes, but is not limited to, at least one of electronic devices, such as a server and a terminal, which can be configured to execute the method provided by the embodiments of the present application. In other words, the service data numbering method may be performed by software or hardware installed in the terminal device or the server device, and the software may be a block chain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
Fig. 1 is a schematic flow chart of a service data configuration method according to an embodiment of the present invention. In this embodiment, the service data numbering method includes the following steps S1 to S4:
s1, acquiring a data marking request, identifying an appointed service data set corresponding to the data marking request, and carrying out data marking on the appointed service data set to obtain marked data and a corresponding data identifier.
In the embodiment of the present invention, the data marking request refers to a requirement for marking data, where the data marking request includes more specific request content for what kind of data needs to be marked.
Specifically, the identifying a specific service data set corresponding to the data tagging request includes:
analyzing the data marking request to obtain a data request text;
and searching and obtaining a plurality of pieces of data corresponding to the data request text in the pre-acquired historical data set as a specified service data set.
In detail, the historical data set comprises related process data about historical operations in a plurality of business company processes.
Further, referring to fig. 2, the data marking of the specified service data set to obtain marked data and corresponding data identifier includes the following steps S11 to S14:
s11, acquiring a system name, a table field name and node information of the specified service data set;
s12, marking the specified service data set by taking the system name as a system identifier and the table field name as a field identifier to obtain an initial data set;
s13, marking the node number contained in the node information in the initial data set to obtain marked data;
and S14, summarizing the system identification, the field identification and the node information to obtain corresponding data identification.
In detail, the system name to which the specified service data set belongs may be system a, system B, system C … system E, the field names of the tables are table A1, table A2, and table … table A7, and the node information includes information such as an application number, a member number, and a node code.
Preferably, a complete piece of incoming flow data will involve N system N tables in the interface call interaction, and the same piece of data is identified by the data identifier.
For example, a real-name authentication process is completed through a front-end APP operation (which may also be replaced by an automated script), the data identification records that the data relates to a library, a table, and a field, and the data can be queried on a page, and a result is displayed and can be saved as a custom node.
S2, converting the marked data into standard data of a preset type, and storing the standard data and the data identification into a preset database to obtain an initial database.
In the embodiment of the present invention, the preset type is a Data Management Language (DML) type, where the DML is an instruction set responsible for executing Data access work on a database object in an SQL Language, and the Data management Language takes three instructions, namely INSERT, UPDATE, and DELETE, as cores, and represents instructions that must be used for developing an application program with Data as a center.
In detail, the data is converted into the DML language, that is, the node data is converted into insert and delete operations in a form similar to a snapshot, so that the data can be copied quickly and deleted conveniently after being manufactured. And the Insert operation carries out variable configuration according to the configured general service field, and assigns a value when being inserted, thereby meeting the service requirement and avoiding the only error report of the main key.
Specifically, the standard data and the data identification are stored in a preset database to obtain an initial database, and the marking request of the marking data of the left mark related to all systems and all table fields can be completely recorded through database monitoring.
S3, extracting preset service fields in the appointed service data set, constructing field configuration rules corresponding to the preset service fields, and adding the field configuration rules to the initial database to obtain a service database.
In the embodiment of the invention, because the specified service data set may contain some sensitive and important data, the preset service fields in the specified service data set can be extracted, and the corresponding field configuration rules are constructed.
Specifically, the extracting a preset service field in the specified service data set includes:
training a convolutional neural network model by using the historical data set as a training data set to obtain a prediction training set;
judging whether the prediction training set is consistent with a real field set corresponding to the historical data set or not, and when the prediction training set is consistent with the real field set, taking the convolutional neural network model as a field extraction model;
and inputting the specified service data set into the field extraction model to obtain a preset service field.
In detail, the preset service field includes, but is not limited to, an identification number, a password, an application number, and the like.
Further, the constructing of the field configuration rule corresponding to the preset service field includes:
identifying a field service type corresponding to the preset service field;
when the field service type is a password field type, constructing a reference field with a preset length as the field configuration rule;
when the field service type is the certificate number field type, defining the field configuration rule according to the property of the certificate number;
and when the field service type is the application number field type, taking a mode of carrying out incremental processing on the preset service field as the field configuration rule.
Specifically, the defining the field configuration rule according to the property of the certificate number includes:
selecting a plurality of corresponding components from a preset component library according to the property of the certificate number;
and combining the components to obtain a regular expression, and taking the regular expression as the field configuration rule.
In detail, the regular expression is a regular expression, also called regular expression, which is a text pattern including general characters (e.g., letters between a to z) and special characters (called "meta characters").
In detail, if the password field type can be configured to be XXXXXXX in a self-defined mode, the identification number can be configured to be in a self-defined mode (age, area and the like), the application number is increased by +1 according to the maximum value of the current database field, and the like, the field configuration rule reads automatic assignment according to variables when data is inserted.
Specifically, the field configuration rule is added to the initial database to obtain a service database.
And the service database is more complete.
And S4, when the data manufacture number request is obtained, performing data manufacture number processing based on the service database to obtain a plurality of pieces of service manufacture number data.
In the embodiment of the invention, when the data making request is received, the data making processing is carried out based on the service database, and the service database comprises more accurate field configuration rules, data and data identifications, so that the data making efficiency is higher.
Specifically, after obtaining the plurality of pieces of service configuration data, the method further includes:
and taking the plurality of pieces of service data as a reference template, and performing data supplement on the service database according to the reference template to obtain a supplemented service database.
In detail, a reference template is stored, and the bottom layer number is closer to the real data.
If the service process relates to the inter-system interaction change of the nodes, the marking can be carried out again, normal process data can be run again, a reference template is stored, and the bottom layer manufacturing number is closer to the real data. In order to avoid dirty data, data can be deleted after the number is manufactured, and the data is deleted through the identification ID of the batch number.
In the embodiment of the invention, data marking is carried out on an appointed service data set to obtain marked data and corresponding data identification, the data identification can mark the data, the flow direction of the data is monitored, the marked data is converted into standard data of a preset type, the standard data and the data identification are stored in a preset database to obtain an initial database, the standard data of the preset type is more suitable for subsequent data making, preset service fields in the appointed service data set are extracted, field configuration rules corresponding to the preset service fields are constructed, the field configuration rules are added into the initial database to obtain a service database, and the field configuration rules can better configure some important fields. And when the data making request is obtained, performing data making processing based on the service database to obtain a plurality of pieces of service making data. And data making is carried out according to the well-configured service database, so that the efficiency of making the service data can be improved. Therefore, the business data number making method provided by the invention can solve the problem of low efficiency of data number making.
Fig. 3 is a functional block diagram of a service data creation apparatus according to an embodiment of the present invention.
The service data numbering device 100 of the present invention may be installed in an electronic device. According to the implemented functions, the service data creation device 100 may include a data marking module 101, a data storage module 102, a rule construction module 103, and a data creation module 104. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and can perform a fixed function, and are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the data marking module 101 is configured to obtain a data marking request, identify an assigned service data set corresponding to the data marking request, and perform data marking on the assigned service data set to obtain marked data and a corresponding data identifier;
the data storage module 102 is configured to convert the marked data into standard data of a preset type, and store the standard data and the data identifier into a preset database to obtain an initial database;
the rule construction module 103 is configured to extract a preset service field in the specified service data set, construct a field configuration rule corresponding to the preset service field, and add the field configuration rule to the initial database to obtain a service database;
the data creating module 104 is configured to, when a data creating request is obtained, perform data creating processing based on the service database to obtain multiple pieces of service creating data.
In detail, the specific implementation of each module of the service data configuration apparatus 100 is as follows:
step one, acquiring a data marking request, identifying an appointed service data set corresponding to the data marking request, and carrying out data marking on the appointed service data set to obtain marked data and a corresponding data identifier.
In the embodiment of the present invention, the data marking request refers to a requirement for marking data, where the data marking request includes more specific request content for what kind of data needs to be marked.
Specifically, the identifying a specific service data set corresponding to the data tagging request includes:
analyzing the data marking request to obtain a data request text;
and searching and obtaining a plurality of pieces of data corresponding to the data request text in the pre-acquired historical data set as a specified service data set.
In detail, the historical data set comprises related process data about historical operations in a plurality of business company processes.
Further, the data marking the specified service data set to obtain marked data and a corresponding data identifier includes:
acquiring a system name, a table field name and node information to which the specified service data set belongs;
marking the appointed service data set by taking the system name as a system identifier and taking the table field name as a field identifier to obtain an initial data set;
marking the node number contained in the node information in the initial data set to obtain marked data;
and summarizing the system identification, the field identification and the node information to obtain corresponding data identification.
In detail, the system name to which the specified service data set belongs may be system a, system B, system C … system E, the field names of the tables are table A1, table A2, and table … table A7, and the node information includes information such as an application number, a member number, and a node code.
Preferably, a complete piece of incoming flow data will involve N system N tables in the interface call interaction, and the same piece of data is identified by the data identifier.
For example, a real-name authentication process is completed through a front-end APP operation (which may also be replaced by an automated script), the data identification records that the data relates to a library, a table, and a field, and the data can be queried on a page, and a result is displayed and can be saved as a custom node.
And step two, converting the marked data into standard data of a preset type, and storing the standard data and the data identification into a preset database to obtain an initial database.
In the embodiment of the present invention, the preset type is a Data Management Language (DML) type, where the DML is an instruction set responsible for executing Data access work on a database object in an SQL Language, and the Data management Language takes three instructions, namely INSERT, UPDATE, and DELETE, as cores, and represents instructions that must be used for developing an application program with Data as a center.
In detail, the data is converted into a DML language, that is, the node data is converted into insert and delete operations in a form similar to a snapshot, so that the data can be copied quickly and deleted conveniently after being manufactured. And the Insert operation carries out variable configuration according to the configured general service field, and assigns a value when being inserted, thereby meeting the service requirement and avoiding the only error report of the main key.
Specifically, the standard data and the data identifier are stored in a preset database to obtain an initial database, and the marking request of the trace data related to all systems and all table fields can be completely recorded through database monitoring.
And step three, extracting preset service fields in the specified service data set, constructing field configuration rules corresponding to the preset service fields, and adding the field configuration rules to the initial database to obtain a service database.
In the embodiment of the invention, because the specified service data set may contain some sensitive and important data, the preset service fields in the specified service data set can be extracted, and the corresponding field configuration rules are constructed.
Specifically, the extracting a preset service field in the specified service data set includes:
training a convolutional neural network model by using the historical data set as a training data set to obtain a prediction training set;
judging whether the prediction training set is consistent with a real field set corresponding to the historical data set or not, and when the prediction training set is consistent with the real field set, taking the convolutional neural network model as a field extraction model;
and inputting the specified service data set into the field extraction model to obtain a preset service field.
In detail, the preset service field includes, but is not limited to, an identity card number, a password, an application number, and other fields.
Further, the constructing of the field configuration rule corresponding to the preset service field includes:
identifying a field service type corresponding to the preset service field;
when the field service type is a password field type, constructing a reference field with a preset length as the field configuration rule;
when the field service type is the certificate number field type, defining the field configuration rule according to the property of the certificate number;
and when the field service type is the application number field type, taking a mode of carrying out incremental processing on the preset service field as the field configuration rule.
Specifically, the defining the field configuration rule according to the property of the certificate number includes:
selecting a plurality of corresponding components from a preset component library according to the property of the certificate number;
and combining the components to obtain a regular expression, and taking the regular expression as the field configuration rule.
In detail, the regular expression is a regular expression, also called regular expression, which is a text pattern including general characters (e.g., letters between a to z) and special characters (called "meta characters").
In detail, if the password field type can be configured to be XXXXXXX in a self-defined mode, the identification number can be configured to be in a self-defined mode (age, area and the like), the application number is increased by +1 according to the maximum value of the current database field, and the like, the field configuration rule reads automatic assignment according to variables when data is inserted.
Specifically, the field configuration rule is added to the initial database to obtain a service database.
And the service database is more complete.
And fourthly, when the data manufacture number request is obtained, performing data manufacture number processing based on the service database to obtain a plurality of pieces of service manufacture number data.
In the embodiment of the invention, when the data making request is received, the data making processing is carried out based on the service database, and the service database comprises more accurate field configuration rules, data and data identifications, so that the data making efficiency is higher.
Specifically, after obtaining the plurality of pieces of service configuration data, the method further includes:
and taking the plurality of pieces of service data as a reference template, and performing data supplementation on the service database according to the reference template to obtain a supplemented service database.
In detail, a reference template is saved to make the underlying artifacts closer to the real data.
If the service process relates to the inter-system interaction change of the nodes, the marking can be carried out again, normal process data can be run again, a reference template is stored, and the bottom layer manufacturing number is closer to the real data. In order to avoid dirty data, data can be deleted after the manufacture number is finished, and deletion processing is carried out through the identification ID of the batch manufacture number.
In the embodiment of the invention, data marking is carried out on a specified service data set to obtain marked data and corresponding data identification, the data identification can mark the data, the flow direction of the data is monitored, the marked data is converted into standard data of a preset type, the standard data and the data identification are stored into a preset database to obtain an initial database, the standard data of the preset type is more suitable for subsequent data construction, preset service fields in the specified service data set are extracted, field configuration rules corresponding to the preset service fields are constructed, the field configuration rules are added into the initial database to obtain a service database, and the field configuration rules can better configure some important fields. And when the data making request is obtained, performing data making processing based on the service database to obtain a plurality of pieces of service making data. And data making is carried out according to the well-configured service database, so that the efficiency of making the service data can be improved. Therefore, the service data number making device provided by the invention can solve the problem of low efficiency of data number making.
Fig. 4 is a schematic structural diagram of an electronic device for implementing a service data numbering method according to an embodiment of the present invention.
The electronic device may comprise a processor 10, a memory 11, a communication interface 12 and a bus 13, and may further comprise a computer program, such as a service data manufacturer program, stored in the memory 11 and executable on the processor 10.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device, for example a removable hard disk of the electronic device. The memory 11 may also be an external storage device of the electronic device in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device. The memory 11 may be used to store not only application software installed in the electronic device and various types of data, such as codes of a service data creation program, but also temporarily store data that has been output or will be output.
The processor 10 may be formed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be formed of a plurality of integrated circuits packaged with the same function or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the whole electronic device by using various interfaces and lines, and executes various functions of the electronic device and processes data by running or executing programs or modules (e.g., service data creation programs, etc.) stored in the memory 11 and calling data stored in the memory 11.
The communication interface 12 is used for communication between the electronic device and other devices, and includes a network interface and a user interface. Optionally, the network interface may include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), which are typically used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a Display (Display), an input unit such as a Keyboard (Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable, among other things, for displaying information processed in the electronic device and for displaying a visualized user interface.
The bus 13 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 13 may be divided into an address bus, a data bus, a control bus, etc. The bus 13 is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
Fig. 4 shows only an electronic device having components, and those skilled in the art will appreciate that the structure shown in fig. 4 does not constitute a limitation of the electronic device, and may include fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so that functions of charge management, discharge management, power consumption management and the like are realized through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used to establish a communication connection between the electronic device and other electronic devices.
Optionally, the electronic device may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable, among other things, for displaying information processed in the electronic device and for displaying a visualized user interface.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The service data structure program stored in the memory 11 of the electronic device is a combination of a plurality of instructions, and when running in the processor 10, can realize:
acquiring a data marking request, identifying a specified service data set corresponding to the data marking request, and carrying out data marking on the specified service data set to obtain marked data and a corresponding data identifier;
converting the marked data into standard data of a preset type, and storing the standard data and the data identification into a preset database to obtain an initial database;
extracting preset service fields in the appointed service data set, constructing field configuration rules corresponding to the preset service fields, and adding the field configuration rules to the initial database to obtain a service database;
and when the data making request is obtained, performing data making processing based on the service database to obtain a plurality of pieces of service making data.
Specifically, the specific implementation method of the processor 10 for the instruction may refer to the description of the relevant steps in the embodiment corresponding to fig. 1, which is not described herein again.
Further, the electronic device integrated module/unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. The computer readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM).
The present invention also provides a computer-readable storage medium, storing a computer program which, when executed by a processor of an electronic device, may implement:
acquiring a data marking request, identifying a specified service data set corresponding to the data marking request, and carrying out data marking on the specified service data set to obtain marked data and a corresponding data identifier;
converting the marked data into standard data of a preset type, and storing the standard data and the data identification into a preset database to obtain an initial database;
extracting preset service fields in the appointed service data set, constructing field configuration rules corresponding to the preset service fields, and adding the field configuration rules to the initial database to obtain a service database;
and when the data manufacture number request is acquired, performing data manufacture number processing based on the service database to acquire a plurality of pieces of service manufacture number data.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.
Claims (10)
1. A method for service data numbering, the method comprising:
acquiring a data marking request, identifying a specified service data set corresponding to the data marking request, and carrying out data marking on the specified service data set to obtain marked data and a corresponding data identifier;
converting the marked data into standard data of a preset type, and storing the standard data and the data identification into a preset database to obtain an initial database;
extracting preset service fields in the appointed service data set, constructing field configuration rules corresponding to the preset service fields, and adding the field configuration rules to the initial database to obtain a service database;
and when the data manufacture number request is acquired, performing data manufacture number processing based on the service database to acquire a plurality of pieces of service manufacture number data.
2. The service data numbering method according to claim 1, wherein said identifying the specific service data set to which the data tagging request corresponds comprises:
analyzing the data marking request to obtain a data request text;
and searching and obtaining a plurality of pieces of data corresponding to the data request text in the pre-acquired historical data set as a specified service data set.
3. The service data manufacturing method according to claim 1, wherein said data marking the specified service data set to obtain marked data and corresponding data identifier comprises:
acquiring a system name, a table field name and node information to which the specified service data set belongs;
marking the appointed service data set by taking the system name as a system identifier and taking the table field name as a field identifier to obtain an initial data set;
marking the node number contained in the node information in the initial data set to obtain marked data;
and summarizing the system identification, the field identification and the node information to obtain corresponding data identification.
4. The traffic data numbering method according to claim 1, wherein said extracting the preset traffic field in the specified traffic data set comprises:
training a convolutional neural network model by using the historical data set as a training data set to obtain a prediction training set;
judging whether the prediction training set is consistent with a real field set corresponding to the historical data set or not, and when the prediction training set is consistent with the real field set, taking the convolutional neural network model as a field extraction model;
and inputting the specified service data set into the field extraction model to obtain a preset service field.
5. The method for making business data according to claim 1, wherein the constructing of the field configuration rule corresponding to the preset business field includes:
identifying a field service type corresponding to the preset service field;
when the field service type is a password field type, constructing a reference field with a preset length as the field configuration rule;
when the field service type is the certificate number field type, defining the field configuration rule according to the property of the certificate number;
and when the field service type is the application number field type, taking a mode of carrying out incremental processing on the preset service field as the field configuration rule.
6. The business data numbering method according to claim 5, wherein said defining said field configuration rule according to the nature of the certificate number comprises:
selecting a plurality of corresponding components from a preset component library according to the property of the certificate number;
and combining the components to obtain a regular expression, and taking the regular expression as the field configuration rule.
7. The traffic data structure number method of claim 1, wherein after obtaining the plurality of pieces of traffic structure number data, the method further comprises:
and taking the plurality of pieces of service data as a reference template, and performing data supplement on the service database according to the reference template to obtain a supplemented service database.
8. A traffic data numbering device, said device comprising:
the data marking module is used for acquiring a data marking request, identifying a specified service data set corresponding to the data marking request, and marking the specified service data set with data to obtain marked data and a corresponding data identifier;
the data storage module is used for converting the marked data into standard data of a preset type, and storing the standard data and the data identification into a preset database to obtain an initial database;
the rule construction module is used for extracting a preset service field in the specified service data set, constructing a field configuration rule corresponding to the preset service field, and adding the field configuration rule to the initial database to obtain a service database;
and the data making module is used for carrying out data making processing based on the service database to obtain a plurality of pieces of service making data when the data making request is obtained.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a traffic data construction method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the service data numbering method according to any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211086126.6A CN115658968A (en) | 2022-09-06 | 2022-09-06 | Service data number making method and device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211086126.6A CN115658968A (en) | 2022-09-06 | 2022-09-06 | Service data number making method and device, electronic equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115658968A true CN115658968A (en) | 2023-01-31 |
Family
ID=84984317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211086126.6A Pending CN115658968A (en) | 2022-09-06 | 2022-09-06 | Service data number making method and device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115658968A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118193544A (en) * | 2024-05-20 | 2024-06-14 | 浪潮通用软件有限公司 | Automatic labeling method, equipment and medium for business data |
-
2022
- 2022-09-06 CN CN202211086126.6A patent/CN115658968A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118193544A (en) * | 2024-05-20 | 2024-06-14 | 浪潮通用软件有限公司 | Automatic labeling method, equipment and medium for business data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112134739B (en) | Link state tracking method and device, electronic equipment and computer storage medium | |
CN112052242A (en) | Data query method and device, electronic equipment and storage medium | |
CN112541745A (en) | User behavior data analysis method and device, electronic equipment and readable storage medium | |
CN112418798A (en) | Information auditing method and device, electronic equipment and storage medium | |
CN112115145A (en) | Data acquisition method and device, electronic equipment and storage medium | |
CN113434674A (en) | Data analysis method and device, electronic equipment and readable storage medium | |
CN111625252A (en) | Cluster upgrading maintenance method and device, electronic equipment and storage medium | |
CN111787171A (en) | Automatic outbound method, device, electronic equipment and computer readable storage medium | |
CN114979120A (en) | Data uploading method, device, equipment and storage medium | |
CN112231417A (en) | Data classification method and device, electronic equipment and storage medium | |
CN112580079A (en) | Authority configuration method and device, electronic equipment and readable storage medium | |
CN112882995A (en) | Script automatic generation method and device, electronic equipment and storage medium | |
CN115145870A (en) | Method and device for positioning reason of failed task, electronic equipment and storage medium | |
CN113254446B (en) | Data fusion method, device, electronic equipment and medium | |
CN115658968A (en) | Service data number making method and device, electronic equipment and readable storage medium | |
CN113434542A (en) | Data relation identification method and device, electronic equipment and storage medium | |
CN113986924A (en) | Intelligent data filling method, device, equipment and storage medium | |
CN112685384A (en) | Data migration method and device, electronic equipment and storage medium | |
CN112667244A (en) | Data verification method and device, electronic equipment and computer readable storage medium | |
CN112506931A (en) | Data query method and device, electronic equipment and storage medium | |
CN112541688A (en) | Service data checking method and device, electronic equipment and computer storage medium | |
CN111538768A (en) | Data query method and device based on N-element model, electronic equipment and medium | |
CN113434397B (en) | Task system testing method and device, electronic equipment and storage medium | |
CN114911479A (en) | Interface generation method, device, equipment and storage medium based on configuration | |
CN114896164A (en) | Interface optimization method and device, electronic equipment and storage medium |
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 |