Field configuration method, device, equipment and medium
By configuring the target to expand fields and updating the initial vertical table, the complex development and difficulty in data maintenance caused by frequent field modifications are solved, and the flexibility of field configuration and data maintenance are achieved.
Patent Information
- Application Number
- CN202210618138.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-01
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2042-06-01
AI Technical Summary
In the prior art, the complex development, long development cycle and difficult data maintenance caused by frequent modification of fields.
By configuring the target extended fields based on the extended fields, and obtaining the initial editing data after the audit is passed, data processing and update the initial vertical table, and storing data operation records, the flexibility of field configuration and data maintenance are achieved.
Reduces the complexity of field configuration and business development cycle, simplifies the data maintenance process, avoids the need to be coupled into the code, and improves the traceability of data operation behavior.
Smart Images

Figure CN114879947B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a field configuration method, device, equipment and medium. Background Art
[0002] As users' demand for personalized services increases, merchants need to frequently modify or add fields in the interface when developing their businesses.
[0003] When adding or modifying fields, you need to change the table structure in the background so that the fields in the table structure can be added, and then develop, debug, test and update package dependencies for the corresponding interfaces based on the background. After completing the above operations in the background, develop, debug and test the modified interfaces and update the corresponding packages in the front end.
[0004] Modifying the table structure and the corresponding interface will make the field configuration more complicated, resulting in a long business development cycle. When field development is tightly coupled with the business process, the business fields need to be coupled in the code, which is inconvenient for data maintenance. Summary of the invention
[0005] The present invention provides a field configuration method, device, equipment and medium, which reduce the complexity of field configuration and business development cycle while facilitating data maintenance.
[0006] According to one aspect of the present invention, there is provided a field configuration method, comprising:
[0007] Configure the target extension field according to the extension field configuration data;
[0008] When the target extension field is approved, obtaining initial editing data matching the target extension field;
[0009] Acquire an initial longitudinal table, and perform data processing on the initial edit data to obtain edit data to be stored and data operation records;
[0010] According to the target extended field and the edited data to be stored, the initial vertical table is updated, and the data operation record is stored.
[0011] According to another aspect of the present invention, there is provided a field configuration device, comprising:
[0012] A target extension field configuration module is used to configure the target extension field according to the extension field configuration data;
[0013] A first data acquisition module, configured to acquire initial edit data matching the target extension field when the target extension field is approved;
[0014] A second data acquisition module is used to acquire an initial longitudinal table and perform data processing on the initial edit data to obtain edit data to be stored and data operation records;
[0015] The data storage module is used to update the initial vertical table according to the target extension field and the edited data to be stored, and store the data operation record.
[0016] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0017] at least one processor; and
[0018] a memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the field configuration method described in any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the field configuration method described in any embodiment of the present invention when executed.
[0021] The technical solution of this embodiment configures the target extension field by configuring the data according to the extension field, and then when the target extension field is approved, the initial editing data matching the target extension field is obtained, thereby obtaining the initial longitudinal table, and processing the initial editing data to obtain the editing data to be stored, and the data operation record, and further updating the initial longitudinal table according to the target extension field and the editing data to be stored, and storing the data operation record. When configuring the target extension field, this solution does not require the background corresponding interface to be developed, adjusted and tested, and only needs to update the initial editing data matching the target extension field to the initial longitudinal table. Since the longitudinal table has the advantage of flexible field changes, even if the initial longitudinal table is updated, it only changes the number of records in the initial longitudinal table, and does not change the table structure. There is no need to couple the configured target extension field to the code, which is convenient for data maintenance. Storing the data operation record can also facilitate the backtracking of data operation behavior, which solves the problem of frequent field modification in the prior art, resulting in complex development, long development cycle and difficult data maintenance. On the premise of facilitating data maintenance, the complexity of field configuration and business development cycle are reduced.
[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 A flowchart of a field configuration method is provided for the first embodiment of the present invention;
[0025] Figure 2 A flowchart of a field configuration method provided in Embodiment 2 of the present invention;
[0026] Figure 3 This is a data interaction diagram of a field management platform provided according to Embodiment 2 of the present invention;
[0027] Figure 4 A schematic diagram of the structure of a field configuration device provided in Embodiment 3 of the present invention;
[0028] Figure 5 A schematic diagram of the structure of an electronic device that can be used to implement an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, 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 clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0032] Embodiment 1
[0033] Figure 1 A flowchart of a field configuration method is provided for the first embodiment of the present invention. This embodiment is applicable to the case of flexible field configuration. The method can be executed by a field configuration device. The field configuration device can be implemented in the form of hardware and / or software. The field configuration device can be configured in an electronic device. Figure 1 As shown, the method includes:
[0034] S110. Configure a target extension field according to the extension field configuration data.
[0035] The extended field configuration data may be data for configuring a newly added field and / or a field that needs to be deleted. The target extended field may be a field that needs to be configured according to the extended field configuration data.
[0036] In an embodiment of the present invention, the fields that need to be added and / or deleted can be determined based on business adjustments, and then the extended field configuration data of the fields that need to be added and / or deleted can be determined, and then the fields that need to be added and / or deleted, i.e., the target extended fields, can be configured based on the extended field configuration data.
[0037] Optionally, in order to quickly add new fields, the field space can be pre-configured. When the business is adjusted, at least one new field can be determined and / or at least one deleted field can be deleted according to the change in business functions. If it is determined that a new field needs to be added according to the change in business functions, the name of the new field, the function description, and the data permissions supported by the field can be used as extended field configuration data, and then the target extended field can be configured in the pre-configured field space based on the extended field configuration data.
[0038] S120. When the target extension field is approved, initial editing data matching the target extension field is obtained.
[0039] The initial edit data may be data content corresponding to the target extension field. For example, when the target extension field is understood as a key value name, the initial edit data may be used as the key value.
[0040] In the embodiment of the present invention, when the target extension field is a necessary field for business adjustment, the target extension field is manually reviewed and the result of the review is approved. When the target extension field is reviewed and approved, the initial edit data filled in the target extension field is further obtained.
[0041] S130, obtaining an initial vertical table, and performing data processing on the initial edit data to obtain edit data to be stored, and data operation records.
[0042] The initial vertical table may be a vertical table structure that matches the extended field configuration data and is not updated according to the target extended field. The edited data to be stored may be a data processing result of the initial edited data. The data operation record may be a log that records data operations.
[0043] In an embodiment of the present invention, an initial vertical table storing business-related fields corresponding to the extended field configuration data can be determined based on the extended field configuration data, and the initial edited data can be further processed such as availability, desensitization, and format conversion to obtain the edited data to be stored, and the data processing process of the initial edited data can be recorded to obtain a data operation record.
[0044] S140: Update the initial vertical table according to the target extension field and the edited data to be stored, and store the data operation record.
[0045] In an embodiment of the present invention, an initial vertical table matching the target extension field can be first obtained, and then the target extension field and the edited data to be stored matching the target extension field are stored as a data group in the initial vertical table, and the data operation records are stored, thereby tracing the data processing operations based on the stored data operation records.
[0046] The technical solution of this embodiment configures the target extension field by configuring the data according to the extension field, and then when the target extension field is approved, the initial editing data matching the target extension field is obtained, thereby obtaining the initial longitudinal table, and processing the initial editing data to obtain the editing data to be stored, and the data operation record, and further updating the initial longitudinal table according to the target extension field and the editing data to be stored, and storing the data operation record. When configuring the target extension field, this solution does not require the background corresponding interface to be developed, adjusted and tested, and only needs to update the initial editing data matching the target extension field to the initial longitudinal table. Since the longitudinal table has the advantage of flexible field changes, even if the initial longitudinal table is updated, it only changes the number of records in the initial longitudinal table, and does not change the table structure. There is no need to couple the configured target extension field to the code, which is convenient for data maintenance. Storing the data operation record can also facilitate the backtracking of data operation behavior, which solves the problem of frequent field modification in the prior art, resulting in complex development, long development cycle and difficult data maintenance. On the premise of facilitating data maintenance, the complexity of field configuration and business development cycle are reduced.
[0047] Embodiment 2
[0048] Figure 2A flowchart of a field configuration method provided in the second embodiment of the present invention is provided. This embodiment is concretized based on the above embodiment, and provides an optional implementation method after updating the initial vertical table and storing data operation records according to the target extended fields and the edited data to be stored. After updating the initial vertical table and storing data operation records according to the target extended fields and the edited data to be stored, it can specifically include: obtaining a vertical table query instruction, and determining a search field that matches the vertical table query instruction; wherein the search field includes a business object identifier, a business type, and a target field name; according to the business object identifier, the business type, and the target field name, querying the updated initial vertical table to obtain the target query data. Figure 2 As shown, the method includes:
[0049] S210: Configure a target extension field according to the extension field configuration data.
[0050] S220. When the target extension field is approved, obtain initial editing data matching the target extension field.
[0051] S230, obtaining an initial vertical table, and performing data processing on the initial edit data to obtain edit data to be stored, and data operation records.
[0052] In an optional embodiment of the present invention, data processing is performed on the initial editing data to obtain the editing data to be stored and the data operation record, which may include: when it is determined that the initial editing data is a valid field, obtaining the extended field to be desensitized in the target extended field; desensitizing the initial editing data according to the extended field to be desensitized to obtain the editing data to be stored, and generating a desensitization operation record.
[0053] The extension field to be desensitized may be a target extension field associated with sensitive information. The desensitization operation record may be a log recording the data desensitization operation.
[0054] In the example of the present invention, the validity of the initial edit data can be judged first. If the initial edit data is a valid field, the target extension field is further screened according to the type of known sensitive information to obtain the extension field to be desensitized, and then the initial edit data matching the extension field to be desensitized is desensitized to obtain the edit data to be stored, and a desensitization operation record is generated based on the desensitization process of the initial edit data.
[0055] Optionally, the initial edit data matching the extended field to be desensitized may be subjected to data encryption processing, and then the initial edit data that has completed the data encryption processing may be used as the edit data to be stored.
[0056] In an optional embodiment of the present invention, before desensitizing the initial edit data according to the extension field to be desensitized, it may also include: obtaining the data format of the initial edit data matching the target extension field, and the target data format matching the target extension field; when the data format of the initial edit data matching the target extension field is a non-target data format, performing format conversion processing on the initial edit data to obtain the initial edit data in the target data format, and generating a data format conversion record.
[0057] The target data format may be a pre-set data format that matches the target extension field. Optionally, the target data format may include a set, a string, an integer, and the like.
[0058] In an example of the present invention, the data format of the initial edit data that matches the target extension field can be determined first, and the extension field configuration data can be parsed to determine the target data format that matches the target extension field, thereby matching the data format of the initial edit data that matches the target extension field with the target data format that matches the target extension field. When the data format of the initial edit data that matches the target extension field is a non-target data format, the initial edit data is format converted to obtain the initial edit data in the target data format, and a data format conversion record is generated based on the format conversion process of the initial edit data.
[0059] In an optional embodiment of the present invention, after processing the initial editing data to obtain the editing data to be stored and the data operation record, it can also include: obtaining the data to be updated, and updating the editing data to be stored based on the data to be updated; when the editing data to be stored is updated, generating a data update record.
[0060] The data to be updated may be data in the initially edited data that needs to be updated and edited again. The data update record may be a log recording the data re-editing operation.
[0061] In an example of the present invention, when the initially edited data needs to be edited again, the data to be updated filled in the target extended field can be obtained, and then data processing can be performed on the data to be updated, so as to update the edited data to be stored according to the data processing results, and when the edited data to be stored is updated, a data update record is generated according to the process of re-editing the data.
[0062] S240: Update the initial vertical table according to the target extension field and the edited data to be stored, and store the data operation record.
[0063] In an optional embodiment of the present invention, updating the initial vertical table according to the target extension field and the edited data to be stored may include: obtaining a business object identifier and a business type that match the edited data to be stored; generating a data index according to the business object identifier and the business type; and updating the initial vertical table according to the target extension field, the edited data to be stored and the data index.
[0064] The business object identifier may be a mark for identifying the business object, and is used to distinguish different business objects. For example, the business object identifier may be an identification number assigned to the business object. The business type may include but is not limited to lending, leasing, and financial management.
[0065] In an example of the present invention, the extended field configuration data can be parsed to obtain the business object identifier and business type that match the edited data to be stored, and then the business object identifier and business type are combined into a data index, and then the target extended field and the edited data to be stored that matches the target extended field are stored in the initial vertical table according to the data index.
[0066] S250, obtaining a vertical table query instruction, and determining a search field that matches the vertical table query instruction.
[0067] The vertical table query instruction may be an instruction for querying data in the initial vertical table or the updated initial vertical table. The target field name may be the field name of the target extended field. The search field may include a business object identifier, a business type, and a target field name.
[0068] In an example of the present invention, after obtaining the vertical table query instruction, the vertical table query instruction can be parsed to determine the business object identifier, business type, target field name, etc. that match the vertical table query instruction, and then generate a retrieval field that matches the vertical table query instruction based on the business object identifier, business type, target field name, etc.
[0069] S260. According to the business object identifier, business type and target field name, query the updated initial vertical table to obtain target query data.
[0070] The target query data may be data that needs to be queried through a vertical table query instruction.
[0071] In the example of the present invention, the business object identifier, business type and target field name parsed from the vertical table query instruction can be used to construct a search formula, and the updated initial vertical table can be queried with the constructed search formula to obtain target search data.
[0072] In an optional embodiment of the present invention, after querying the updated initial vertical table according to the business object identifier, business type and target field name to obtain the target query data, it can also include: obtaining the data type of the target query data; when the data type of the target query data is a sensitive data type, performing decryption processing to obtain the target query data in plain text format.
[0073] In the example of the present invention, after obtaining the target query data, the data type of the target query data can be further determined. If the data type of the target query data is a sensitive data type, it is necessary to recover the target query data, that is, to perform decryption processing to obtain the target query data in plain text format.
[0074] Generally, different merchants have different personalized configuration fields. Merchants need to configure, write, and query their personalized fields before entering the merchant. According to the field configuration method of this solution, the personalized fields of merchants can be flexibly configured. Specifically, when the settled user needs to adjust the fields, the business party can adjust the fields according to the needs of the settled merchant and formulate the extended field configuration data. Figure 3 In the data interaction diagram of the field management platform, the front end of the field management platform configures the target extension field based on the extension field configuration data, and configures the target extension field person in charge, and further initiates approval. After the review is passed, a field configuration record is generated. The front end of the field management platform can query the data associated with each of the above processes. After the business party or the settled merchant writes the initial edit data and the data to be updated in the field management platform, the business party can store the data with the business object identifier and the business type as the data index, and can also check the field validity, data sensitivity, and data format verification during data storage, and generate data operation records. The business party can query the associated data of the above process except the data that can be queried by the front end of the field management platform. Merchants can query the validity, data format verification and sensitive data recovery of the field when they settle in the front end. The business party and the settled merchants can query the target extension field, query with the merchant number (business object identifier) + merchant type (such as business type) + field name (target field name), and perform data format conversion and sensitive data recovery according to the data type of the target query.
[0075] This solution can quickly respond to merchant field requirements and shorten the development cycle from 2 days to 20 minutes. It does not require backend development intervention, greatly improving the iteration efficiency of merchant field requirements.
[0076] Among them, one target extension field of a settled merchant corresponds to one configuration, the attributes of the target extension field are stored independently, and the field status can be divided into: ineffective, under application, and effective.
[0077] The technical solution of this embodiment configures the target extension field according to the extension field configuration data, and then obtains the initial editing data matching the target extension field when the target extension field is approved, thereby obtaining the initial vertical table, and processing the initial editing data to obtain the editing data to be stored, and the data operation record, and further updates the initial vertical table according to the target extension field and the editing data to be stored, and stores the data operation record, thereby obtaining the vertical table query instruction, and determining the retrieval field matching the vertical table query instruction, and then querying the updated initial vertical table according to the business object identifier, business type and target field name to obtain the target query data. When configuring the target extension field, this solution does not require the background corresponding interface to be developed, adjusted and tested. It is only necessary to update the initial edit data matching the target extension field to the initial vertical table. Since the vertical table has the advantage of flexible field change, even if the initial vertical table is updated, it only changes the number of records in the initial vertical table, and does not change the table structure. In addition, there is no need to couple the configured target extension field to the code, which facilitates data maintenance. Storing data operation records can also facilitate the backtracking of data operation behaviors, which solves the problems of frequent field modifications in the prior art, resulting in complex development, long development cycle and difficult data maintenance. On the premise of facilitating data maintenance, it reduces the complexity of field configuration and the business development cycle.
[0078] In the technical solution of the embodiment of the present invention, the acquisition, storage and application of user personal information (such as facial information, voice information, etc.) are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0079] Embodiment 3
[0080] Figure 4 This is a schematic diagram of the structure of a field configuration device provided in Embodiment 3 of the present invention. Figure 4 As shown, the device includes: a target extension field configuration module 310, a first data acquisition module 320, a second data acquisition module 330 and a data storage module 340;
[0081] The target extension field configuration module 310 may be used to configure the target extension field according to the extension field configuration data;
[0082] The first data acquisition module 320 may be used to acquire initial edit data matching the target extension field when the target extension field is approved;
[0083] The second data acquisition module 330 may be used to acquire the initial longitudinal table and perform data processing on the initial edit data to obtain the edit data to be stored and the data operation record;
[0084] The data storage module 340 may be used to update the initial vertical table and store the data operation record according to the target extension field and the edited data to be stored.
[0085] The technical solution of this embodiment configures the target extension field by configuring the data according to the extension field, and then when the target extension field is approved, the initial editing data matching the target extension field is obtained, thereby obtaining the initial longitudinal table, and processing the initial editing data to obtain the editing data to be stored, and the data operation record, and further updating the initial longitudinal table according to the target extension field and the editing data to be stored, and storing the data operation record. When configuring the target extension field, this solution does not require the background corresponding interface to be developed, adjusted and tested, and only needs to update the initial editing data matching the target extension field to the initial longitudinal table. Since the longitudinal table has the advantage of flexible field changes, even if the initial longitudinal table is updated, it only changes the number of records in the initial longitudinal table, and does not change the table structure. There is no need to couple the configured target extension field to the code, which is convenient for data maintenance. Storing the data operation record can also facilitate the backtracking of data operation behavior, which solves the problem of frequent field modification in the prior art, resulting in complex development, long development cycle and difficult data maintenance. On the premise of facilitating data maintenance, the complexity of field configuration and business development cycle are reduced.
[0086] Optionally, the second data acquisition module 330 can also be used to obtain the extended field to be desensitized in the target extended field when it is determined that the initial edit data is a valid field; desensitize the initial edit data according to the extended field to be desensitized to obtain the edit data to be stored, and generate a desensitization operation record.
[0087] Optionally, the second data acquisition module 330 can also be used to obtain the data format of the initial edit data that matches the target extension field, and the target data format that matches the target extension field; when the data format of the initial edit data that matches the target extension field is a non-target data format, the initial edit data is format converted to obtain the initial edit data in the target data format, and a data format conversion record is generated.
[0088] Optionally, the field configuration device further includes a data updating module, which is used to obtain the data to be updated, and update the edited data to be stored according to the data to be updated; and generate a data update record when the edited data to be stored is updated.
[0089] Optionally, the data storage module 340 can also be used to obtain a business object identifier and a business type that match the edited data to be stored; generate a data index based on the business object identifier and the business type; and update the initial vertical table based on the target extension field, the edited data to be stored and the data index.
[0090] Optionally, the field configuration device also includes a data query module, which is used to obtain a vertical table query instruction and determine a retrieval field that matches the vertical table query instruction; wherein the retrieval field includes a business object identifier, a business type, and a target field name; based on the business object identifier, the business type, and the target field name, the updated initial vertical table is queried to obtain the target query data.
[0091] Optionally, the field configuration device also includes a data recovery module, which is used to obtain the data type of the target query data; when the data type of the target query data is a sensitive data type, decryption processing is performed to obtain the target query data in plain text format.
[0092] The field configuration device provided in the embodiment of the present invention can execute the field configuration method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0093] Embodiment 4
[0094] Figure 5 A schematic diagram of an electronic device that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as computing devices for personal digital processing. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0095] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0096] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0097] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the field configuration method.
[0098] In some embodiments, the field configuration method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the field configuration method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the field configuration method in any other appropriate manner (e.g., by means of firmware).
[0099] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0100] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0101] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0102] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0103] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0104] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0105] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0106] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A field configuration method, characterized in that: include: Configure the target extension field according to the extension field configuration data; When the target extension field is approved, obtaining initial editing data matching the target extension field; Acquire an initial longitudinal table, and perform data processing on the initial edit data to obtain edit data to be stored and data operation records; According to the target extension field and the edited data to be stored, the initial vertical table is updated, and the data operation record is stored; The processing of the initial edit data to obtain the edit data to be stored and the data operation record includes: When it is determined that the initial edit data is a valid field, obtaining the extension field to be desensitized in the target extension field; Desensitizing the initial edit data according to the extended field to be desensitized, obtaining the edit data to be stored, and generating a desensitization operation record; Before desensitizing the initial edited data according to the extension field to be desensitized, the method further includes: Acquire the data format of the initial edit data matching the target extension field, and the target data format matching the target extension field; When the data format of the initial edit data matching the target extension field is a non-target data format, performing format conversion processing on the initial edit data to obtain the initial edit data in the target data format, and generating a data format conversion record; The updating of the initial vertical table according to the target extension field and the edited data to be stored includes: Obtain the business object identifier and business type that match the edited data to be stored; Generate a data index according to the business object identifier and the business type; The initial vertical table is updated according to the target extension field, the edited data to be stored, and the data index.
2. The method according to claim 1, after processing the initial edit data to obtain the edit data to be stored and the data operation record, further comprises: Acquire the data to be updated, and update the edited data to be stored according to the data to be updated; When the edited data to be stored is updated, a data update record is generated.
3. The method according to claim 1, characterized in that After updating the initial vertical table according to the target extension field and the edited data to be stored, the method further includes: Obtaining a vertical table query instruction and determining a search field that matches the vertical table query instruction; wherein the search field includes a business object identifier, a business type, and a target field name; According to the business object identifier, business type and target field name, the updated initial vertical table is queried to obtain the target query data.
4. The method according to claim 3, characterized in that After querying the updated initial vertical table according to the business object identifier, business type and target field name to obtain the target query data, the following steps are also included: Acquire the data type of the target query data; When the data type of the target query data is a sensitive data type, decryption processing is performed to obtain the target query data in a plain text format.
5. A field configuration device, characterized in that: include: A target extension field configuration module is used to configure the target extension field according to the extension field configuration data; A first data acquisition module, configured to acquire initial edit data matching the target extension field when the target extension field is approved; A second data acquisition module is used to acquire an initial longitudinal table and perform data processing on the initial edit data to obtain edit data to be stored and data operation records; A data storage module, used to update the initial vertical table according to the target extension field and the edited data to be stored, and store the data operation record; The second data acquisition module is used to acquire the to-be-desensitized extension field in the target extension field when it is determined that the initial edit data is a valid field; Desensitizing the initial edit data according to the extended field to be desensitized, obtaining the edit data to be stored, and generating a desensitization operation record; The second data acquisition module is used to acquire the data format of the initial edit data matching the target extension field and the target data format matching the target extension field; When the data format of the initial edit data matching the target extension field is a non-target data format, performing format conversion processing on the initial edit data to obtain the initial edit data in the target data format, and generating a data format conversion record; The data storage module is used to obtain a business object identifier and a business type that match the edited data to be stored; generate a data index according to the business object identifier and the business type; and update an initial vertical table according to the target extension field, the edited data to be stored, and the data index.
6. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the field configuration method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the field configuration method according to any one of claims 1 to 4 when executed.
Citation Information
Patent Citations
Data configuration management method and device and computer readable storage medium
CN109800015A
Field management method and device, computer equipment and storage medium
CN110297823A