CN110765741A - Data processing method and device, computer equipment and storage medium - Google Patents
Data processing method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110765741A CN110765741A CN201910849180.3A CN201910849180A CN110765741A CN 110765741 A CN110765741 A CN 110765741A CN 201910849180 A CN201910849180 A CN 201910849180A CN 110765741 A CN110765741 A CN 110765741A
- Authority
- CN
- China
- Prior art keywords
- file
- data
- xml configuration
- xml
- excel
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 11
- 238000000034 method Methods 0.000 claims abstract description 45
- 238000012545 processing Methods 0.000 claims abstract description 27
- 238000012795 verification Methods 0.000 claims description 36
- 238000004590 computer program Methods 0.000 claims description 12
- 238000013507 mapping Methods 0.000 claims description 10
- 238000004458 analytical method Methods 0.000 claims description 7
- 125000004122 cyclic group Chemical group 0.000 claims description 7
- 238000006243 chemical reaction Methods 0.000 description 12
- 230000008676 import Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000000638 solvent extraction Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1004—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Document Processing Apparatus (AREA)
Abstract
The application relates to the technical field of data processing, and provides a data processing method, a data processing device, computer equipment and a storage medium, wherein the data processing method comprises the steps of analyzing configuration information of a data content structure of an EXCEL template file, creating a blank xml file, and configuring the configuration information of the data content structure of the EXCEL template file in the blank xml file in a partitioned mode to form an xml configuration file; when the first EXCEL file is imported, analyzing the attribute configured in the xml configuration file, checking the data content of the first EXCEL file according to the analyzed attribute, and importing the corresponding data content if the checking is successful; according to the method and the device, only the xml configuration file and the EXCEL template file need to be maintained, and the introduction of the EXCEL can be very conveniently used; the method does not need to be carried out in a code form, and solves the problem that the code can not be reused when the code is used for importing the file at present.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for data processing, a computer device, and a storage medium.
Background
In the current processing process of data import and export (particularly excel form files), basically, most of data are checked, converted and returned in a code mode, and then data import and export are carried out; the code mode refers to that for each excel form file template, data is imported and exported by developing a corresponding code program. However, when data is imported and exported in a code mode, the code needs to be manually maintained; different codes need to be developed when different types of files are imported and exported, and the codes need to be re-developed when different types of files are imported and exported, so that the efficiency is low.
Disclosure of Invention
The application mainly aims to provide a data processing method, a data processing device, a computer device and a storage medium, and solve the problem that codes are repeatedly developed when a code import file is used at present.
To achieve the above object, the present application provides a data processing method, comprising the steps of:
analyzing configuration information of a data content structure of the EXCEL template file; the configuration information comprises attributes of a header part and a body part in the EXCEL template file, wherein the attributes comprise position attributes, content attributes and check rules of data items of each cell in the header part and the body part;
creating a blank xml file, and dividing the blank xml file into a first configuration area and a second configuration area;
sequentially combining the position attribute, the content attribute and the check rule of the data item of each cell in the header part of the EXCEL template file to obtain a first xml configuration of each cell, adding the first xml configuration into a first preset configurator to form first content, and configuring the first content in a first configuration area of the blank xml file; combining the position attribute, the content attribute and the check rule of the data item of each cell in the body part of the EXCEL template file in sequence to obtain a second xml configuration of each cell, adding the second xml configuration into a second preset configurator to form second content, and configuring the second content in a second configuration area of the blank xml file to generate an xml configuration file;
when an instruction of importing a first EXCEL file is received, loading the xml configuration file, and respectively analyzing the attribute of a header part and the attribute of a body part from a first configuration area and a second configuration area of the xml configuration file; verifying the data content of the first EXCEL file according to the attribute of the analyzed header part and the attribute of the body part;
if the verification of the data content of the first EXCEL file is successful, importing the data content which is successfully verified; and if the verification of the data content of the first EXCEL file is unsuccessful, marking the data content which is not verified successfully.
Further, after the step of generating the xml configuration file, the method further includes:
adding a CRC element in the xml configuration file to generate a new xml configuration file; the value of the CRC element is the CRC checksum of the original xml configuration file;
starting the new xml configuration file, and searching a CRC (cyclic redundancy check) element in the new xml configuration file; obtaining CRC checksum X of the original xml configuration file from the text field of the CRC check element;
reading all the new xml configuration files into an internal memory to obtain a first length of the xml configuration files;
searching a CRC (cyclic redundancy check) element in a new xml configuration file read from the memory to obtain a second length of the CRC element, and deleting the CRC element;
calculating a difference Y between the first length and the second length;
judging whether the X and the Y are consistent; if the configuration files are consistent, the verification is passed, and the xml configuration files are configured correctly; if the xml configuration file is inconsistent, the verification is not passed, and the xml configuration file is configured incorrectly.
Further, the step of verifying the data content of the first EXCEL file according to the attribute of the parsed header part and the attribute of the body part includes:
analyzing a header part and a body part in the first EXCEL file, and converting data in the header part and the body part;
verifying whether the converted data in the header part and the body part in the first EXCEL file correspond to the position attributes and the content attributes of the header part and the body part analyzed in the xml configuration file; and verifying whether the converted data in the header part and the body part in the first EXCEL file are correct or not according to the verification rules of the data items in the header part and the body part analyzed from the xml configuration file.
Further, the step of converting the data in the header part and the body part includes:
identifying a first format of data in a header part and a body part of the first EXCEL file, and analyzing content attributes of the data in the header part and the body part of the EXCEL template file from the xml configuration file; the content attribute comprises a template format of data;
judging whether the first format is the same as the template format in the content attribute;
if not, judging whether a converter for converting the first format into the template format is arranged in the template;
if yes, calling the converter to convert the data in the header part and the body part; and if not, making a prompt of lacking the converter to prompt a user to expand the converter.
Further, after the step of generating the xml configuration file, the method includes:
when inquiring the inquiry data in the table of the appointed database and receiving the instruction of exporting the inquiry data, analyzing the configuration information in the xml configuration file; the configuration information at least comprises position attributes of each cell in a header part and a body part of the EXCEL template file; wherein the form is consistent with configuration information of the EXCEL template file;
generating a second EXCEL file with consistent position attributes according to the position attributes of each cell in the header part and the body part analyzed by the xml configuration file;
and filling the query data into the cells of the second EXCEL file with the same position attribute according to the position attribute of the table of the query data in the database.
Further, after the step of generating the xml configuration file, the method includes:
acquiring the starting position and the ending position of each cell attribute configured in the xml configuration file;
adding annotation information at the starting position or the ending position of each cell attribute;
and establishing a mapping relation among the annotation information, the attributes of each cell and the starting position or the ending position, and storing the mapping relation in the xml configuration file.
The present application further provides a data processing apparatus, including:
an analysis unit for analyzing configuration information of a data content structure of the EXCEL template file; the configuration information comprises attributes of a header part and a body part in the EXCEL template file, wherein the attributes comprise position attributes, content attributes and check rules of data items of each cell in the header part and the body part;
the system comprises a creating unit, a first configuration area and a second configuration area, wherein the creating unit is used for creating a blank xml file and dividing the blank xml file into the first configuration area and the second configuration area;
the configuration unit is used for sequentially combining the position attribute, the content attribute and the check rule of the data item of each cell in the header part of the EXCEL template file to obtain a first xml configuration of each cell, adding the first xml configuration into a first preset configuration character to form first content, and then configuring the first content in a first configuration area of the blank xml file; combining the position attribute, the content attribute and the check rule of the data item of each cell in the body part of the EXCEL template file in sequence to obtain a second xml configuration of each cell, adding the second xml configuration into a second preset configurator to form second content, and configuring the second content in a second configuration area of the blank xml file to generate an xml configuration file;
the analysis unit is used for loading the xml configuration file when receiving an instruction of importing a first EXCEL file, and respectively analyzing the attribute of the header part and the attribute of the body part from a first configuration area and a second configuration area of the xml configuration file; verifying the data content of the first EXCEL file according to the attribute of the analyzed header part and the attribute of the body part;
the processing unit is used for importing the data content which is successfully verified if the data content of the first EXCEL file is successfully verified; and if the verification of the data content of the first EXCEL file is unsuccessful, marking the data content which is not verified successfully.
Further, the apparatus further comprises:
the generating unit is used for adding a CRC element in the xml configuration file to generate a new xml configuration file; the value of the CRC element is the CRC checksum of the original xml configuration file;
the starting unit is used for starting the new xml configuration file and searching CRC (cyclic redundancy check) elements in the new xml configuration file; obtaining CRC checksum X of the original xml configuration file from the text field of the CRC check element;
the reading unit is used for reading all the new xml configuration files into the memory to obtain the first length of the xml configuration files;
the searching unit is used for searching the CRC check element in the new xml configuration file read from the memory to obtain a second length of the CRC check element and deleting the CRC check element;
a calculating unit for calculating a difference Y between the first length and the second length;
the judging unit is used for judging whether the X and the Y are consistent; if the configuration files are consistent, the verification is passed, and the xml configuration files are configured correctly; if the xml configuration file is inconsistent, the verification is not passed, and the xml configuration file is configured incorrectly.
The present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of any of the above.
The method, the device, the computer equipment and the storage medium for data processing analyze the configuration information of the data content structure of the EXCEL template file, create a blank xml file, and configure the configuration information of the data content structure of the EXCEL template file in the blank xml file in different areas to form an xml configuration file; when the first EXCEL file is imported, analyzing the attribute configured in the xml configuration file, checking the data content of the first EXCEL file according to the analyzed attribute, and importing the corresponding data content if the checking is successful; according to the method and the device, only the xml configuration file and the EXCEL template file need to be maintained, and the introduction of the EXCEL can be very conveniently used; the method does not need to be carried out in the form of codes, and solves the problem that the codes are repeatedly developed when the codes are used for importing files at present.
Drawings
FIG. 1 is a schematic diagram of the steps of a data processing method according to an embodiment of the present application;
FIG. 2 is a block diagram of an apparatus for data processing according to an embodiment of the present application;
fig. 3 is a block diagram illustrating a structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, an embodiment of the present application provides a data processing method, including the following steps:
step S1, analyzing the configuration information of the data content structure of the EXCEL template file; the configuration information comprises attributes of a header part and a body part in the EXCEL template file, wherein the attributes comprise position attributes, content attributes and check rules of data items of each cell in the header part and the body part;
step S2, creating a blank xml file, and dividing the blank xml file into a first configuration area and a second configuration area;
step S3, sequentially combining the position attribute and the content attribute of each cell in the header part of the EXCEL template file and the check rule of the data item to obtain a first xml configuration of each cell, adding the first xml configuration into a first preset configurator to form first content, and configuring the first content in a first configuration area of the blank xml file; combining the position attribute, the content attribute and the check rule of the data item of each cell in the body part of the EXCEL template file in sequence to obtain a second xml configuration of each cell, adding the second xml configuration into a second preset configurator to form second content, and configuring the second content in a second configuration area of the blank xml file to generate an xml configuration file;
step S4, when receiving an instruction of importing a first EXCEL file, loading the xml configuration file, and respectively analyzing the attribute of the header part and the attribute of the body part from the first configuration area and the second configuration area of the xml configuration file; verifying the data content of the first EXCEL file according to the attribute of the analyzed header part and the attribute of the body part;
step S5, if the verification of the data content of the first EXCEL file is successful, importing the data content which is successfully verified; and if the verification of the data content of the first EXCEL file is unsuccessful, marking the data content which is not verified successfully.
In this embodiment, as described in the step S1, the EXCEL template file is a template file for storing data in the data system, that is, the data uploaded to the data system needs to be uploaded in the form of the template file. Analyzing the data content structure of the EXCEL template file to decompose a sheet (worksheet) from the EXCEL template file, wherein each sheet comprises a header and a body, and the content in the header is public information (which can be understood as a title), such as a project name, a business name, a reporting period and the like; the body part is a data body specifically uploaded and comprises a horizontal table format and a vertical table format. The header and body comprise a plurality of cells, each cell being a data item, such as: the report name in the header and the column of the corresponding enterprise name in the body; the data items include check rule configurations, such as mandatory check, digital check, and the like.
The EXCEL template file is a preset template file corresponding to the EXCEL to be uploaded; that is, the EXCEL template file is a pre-established template file, and the EXCEL file to be imported in the subsequent system should be consistent with the structure of the EXCEL template file. The structure of the EXCEL template file may be configuration information of a data content structure of the EXCEL template file, where the configuration information includes a position attribute, a content attribute, and a verification rule of a data item of each cell in a header part (header part) and a body part (specific data filled in a cell corresponding to the header) of the EXCEL template file; the position attribute is position information of each cell in the worksheet, the content attribute is a format attribute (English format, Chinese format, capital and small form format, and the like) of the content in the cell, and the check rule is mainly used for checking whether data must be filled in the cells corresponding to the header part and the body part, whether the filled data is correct, and the like, specifically, the check rule includes mandatory check, data type check, digital size and length check, and the like.
After the configuration information of the data content structure of the EXCEL template file is analyzed, it needs to be configured in an xml file.
As described in the above step S2, creating a blank xml file, and dividing the blank xml file into two areas, namely a first allocation area and a second allocation area; and the two areas are used for respectively configuring the attributes of different parts in the EXCEL template file. The first configuration area is used for configuring the attribute of the header part in the EXCEL template file, and the second configuration area is used for configuring the attribute of the body part in the EXCEL template file.
As described in the above step S3, when the position attribute, the content attribute, and the check rule of the data item of each cell in the header portion of the EXCEL template file are sequentially combined, they can be directly spliced together (separated by "", "%" or "-"); obtaining a first xml configuration of each cell after combination; the first xml of each cell is configured as a combination of all attributes of the cell, for example, the combination is: location attribute% content attribute% data item. And adding the first xml configuration corresponding to each cell into a first preset configurator to form first content, and storing the first content in the first configuration area of the blank xml file. The first preset configuration symbol is used for partitioning the first xml configuration among the cells, so that confusion among the cells is avoided. For example, in this embodiment, the first preset configurator is "% label"% ", and the attribute configuration of any cell in the header part is then"% label "= first xml configuration".
When the position attribute, the content attribute and the check rule of the data item of each cell in the body part in the EXCEL template file are combined in sequence, the cells can be directly spliced together (only separated by "", "%" or "-"); obtaining a second xml configuration of each cell after combination; the second xml of each cell is configured as a combination of all attributes of the cell, for example, the combination is: location attribute-content attribute-verification rule of data item. And adding the second xml configuration corresponding to each cell into a second preset configurator to form second content, and storing the second content in a second configuration area of the blank xml file. The second preset configuration symbol is used for partitioning the second xml configuration among the cells, so that confusion among the cells is avoided. For example, in the present embodiment, the second preset configurer is "% type", and when an attribute of one cell of the body part is configured, the "type" is configured in the second xml. And storing all the contents configured in the first configuration area and the second configuration area, and generating an xml configuration file.
In this embodiment, the attributes of the header part and the body part are respectively configured in different configuration areas of the xml file, and are configured through preset different configuration symbols, so that the distinction is facilitated, and the confusion of the xml configuration file is avoided.
As described in step S4, the first EXCEL file is data to be imported into the system, and when data is imported into the data system, data having a structure matching the EXCEL template file, that is, the structure of the data content in the first EXCEL file needs to match the data content structure of the EXCEL template file.
The first EXCEL file is required to be consistent in format with the EXCEL template (or configured xml configuration file), otherwise the check will not pass. Therefore, in this embodiment, the xml configuration file is loaded and analyzed, two configuration areas in the xml configuration file are analyzed, and the configurators in the configuration areas are analyzed. The xml configuration file is provided with two configuration areas, wherein one configuration area is used for configuring the attribute of the header part, and the other configuration area is used for configuring the attribute of the body part; therefore, two configuration areas can be directly identified from the xml configuration file, and according to the difference of the configuration characters used in each configuration area, whether the attribute of the header part or the attribute of the body part is specifically configured in each configuration area can be determined; if the configurator "% label ═ is identified from one of the configuration areas, the configuration area is indicated as the attribute of the header part; and each configurator in the configuration area is added with the specific attribute of each cell in the header part.
In the embodiment, whether the configured attribute of the configurator belongs to the cells of the header part or the cells of the body part is determined according to the configurator; determining a position attribute, a content attribute and a verification rule of a data item of the data in each cell in the EXCEL template file according to the first xml configuration or the second xml configuration in the configuration symbol, verifying the data content of the first EXCEL file according to the position attribute and the content attribute of each data, and verifying whether the data content in the first EXCEL file is legal or not according to the corresponding verification rule; for example, if it is checked that the data in a certain cell or a certain column must be filled, it is necessary to check whether the data in the cell corresponding to the first EXCEL file is legal (must be filled, must be a number, etc.).
As described in the above step S5, if the verification of the data content in the first EXCEL file is successful, the data that is successfully verified is imported, and if the verification is unsuccessful, the data content that is not successfully verified is marked, for example, by using a color mark or other error verification process. In the embodiment, only the xml configuration file and the EXCEL template file need to be maintained, so that the import of the EXCEL can be very conveniently used without being carried out in a code form; and the code can be repeatedly used, and the repeated development of codes is avoided.
In an embodiment, after the xml configuration file is configured, the xml configuration file needs to be verified.
Specifically, after the step S3 of generating the xml configuration file, the method further includes:
step S50, adding a CRC element in the xml configuration file to generate a new xml configuration file; the value of the CRC element is the CRC checksum of the original xml configuration file;
and storing the checksum in the xml configuration file as the value of the CRC check element according to the length sum of the data items in the original xml configuration file.
Step S51, starting the new xml configuration file and searching the CRC check element in the new xml configuration file; obtaining CRC checksum X of the original xml configuration file from the text field of the CRC check element;
step S52, reading all the new xml configuration files into a memory to obtain a first length of the xml configuration files;
in the process, a new xml configuration file is read from a memory to obtain a first length of the new xml configuration file, and the value of the first length comprises the length of the CRC check element and the length of the original xml configuration file.
Step S53, searching the CRC check element in the new xml configuration file read from the memory to obtain the second length of the CRC check element, and deleting the CRC check element;
in this embodiment, the CRC check element is searched, and the second length of the CRC check element is calculated; it is understood that the first length minus the second length is the length of the original xml configuration file.
Step S54, calculating the difference Y between the first length and the second length;
step S55, judging whether X is consistent with Y; if the configuration files are consistent, the verification is passed, and the xml configuration files are configured correctly; if the xml configuration file is inconsistent, the verification is not passed, and the xml configuration file is configured incorrectly.
In this embodiment, a difference Y between the first length and the second length is calculated, where the difference Y is an actual length of the original xml configuration file calculated when the new xml configuration file is read from the memory; the length is obtained by memory reading calculation, so that the length is an accurate value; comparing the data with the check sum X obtained from the CRC check element, judging whether the data are consistent, if so, passing the check, and correctly configuring the xml configuration file; if the xml configuration file is inconsistent with the xml configuration file, the verification is not passed, and the xml configuration file is not configured correctly and needs to be configured again.
In an embodiment, in the step S4, the step of verifying the data content of the first EXCEL file according to the attribute of the parsed header portion and the attribute of the body portion includes:
a. analyzing a header part and a body part in the first EXCEL file, and converting data in the header part and the body part;
b. verifying whether the converted data in the header part and the body part in the first EXCEL file correspond to the position attributes and the content attributes of the header part and the body part analyzed in the xml configuration file; and verifying whether the converted data in the header part and the body part in the first EXCEL file are correct or not according to the verification rules of the data items in the header part and the body part analyzed from the xml configuration file.
In this embodiment, a first EXCEL file to be uploaded is analyzed, and a header part and a body part in the file are analyzed; the system is provided with a plurality of converters, such as date conversion, digital conversion and the like, which are used for format conversion of the data in the head part and the body part. In this embodiment, the extension of the converter is also supported, which facilitates data conversion.
After the format conversion is carried out on the data, continuously verifying whether the converted data in the head part and the body part in the first EXCEL file are consistent with the position attributes and the content attributes of the head part and the body part analyzed in the xml configuration file, and verifying whether the converted data in the head part and the body part in the first EXCEL file are correct according to the verification rules of the data items in the head part and the body part analyzed in the xml configuration file; verifying that the data is correct includes verifying that the cells that must be filled with the data have the data in them and that the data is of the correct data type (e.g., number, etc.).
In this embodiment, the first EXCEL file to be uploaded is decomposed, and each part of data content corresponding to the first EXCEL file has an independent processing logic, for example, the data of the header part has a header transfer class for processing (reading, converting, checking, etc.); the processing mode of each part is realized through an interface, and when the adjustment or the expansion is needed, the logic of a specific service can be realized by inheriting the class or realizing the interface, and then the logic is accessed to the processor of the upper layer, so that the purpose of external expansion without modifying the logic is achieved.
In an embodiment, the step of converting the data in the header part and the body part includes:
identifying a first format of data in a header part and a body part of the first EXCEL file, and analyzing content attributes of the data in the header part and the body part of the EXCEL template file from the xml configuration file; the content attribute comprises a template format of data;
judging whether the first format is the same as the template format in the content attribute;
if not, judging whether a converter for converting the first format into the template format is arranged in the template;
if yes, calling the converter to convert the data in the header part and the body part; and if not, making a prompt of lacking the converter to prompt a user to expand the converter.
In this embodiment, the content attributes of the data in the header part and the body part of the cell in the EXCEL template file include the template format of the data content in the cell; when the first EXCEL file is uploaded, it needs to be ensured that the format of the data content in the cell is consistent with the template format of the corresponding cell in the template file. Therefore, the first format of the data in the header part and the body part in the first EXCEL file is analyzed, and whether the format is the same as the template format in the content attribute is judged; if the two types of data are different, format conversion is required to be carried out on the data; in this embodiment, a plurality of converters (e.g., case conversion, date format conversion, etc.) are built in, and format conversion is performed on the data in the first EXCEL file by the built-in converters to convert the first format into the template format. If the corresponding converter is not used for realizing conversion, a prompt of lacking the converter is made to prompt a user to expand the converter; the user can upload the corresponding converter for expansion so as to perform format conversion.
In one embodiment, after the step S3 of generating the xml configuration file, the method includes:
step S501, when inquiring the inquiry data in the table of the designated database and receiving the instruction of exporting the inquiry data, analyzing the configuration information in the xml configuration file; the configuration information at least comprises position attributes of each cell in a header part and a body part of the EXCEL template file; wherein the form is consistent with configuration information of the EXCEL template file;
step S502, generating a second EXCEL file with consistent position attributes according to the position attributes of each cell in the header part and the body part analyzed by the xml configuration file;
step S503, according to the location attribute of the table in the database of the query data, filling the query data into the cells of the second EXCEL file with the same location attribute.
In this embodiment, if the queried data needs to be exported from the data system, during the export, a corresponding second EXCEL file needs to be created according to the configuration information of the corresponding EXCEL template file, and then, according to the location attribute of the table of the query data in the database, the query data is filled into the cell of the second EXCEL file with the same location attribute.
In another embodiment, after the step S3 of generating the xml configuration file, the method includes:
step S5a, acquiring the starting position and the ending position of each cell attribute configured in the xml configuration file;
step S5b, adding annotation information at the starting position or the ending position of each cell attribute;
step S5c, establishing a mapping relationship between the annotation information, the cell attributes, and the start position or the end position, and storing the mapping relationship in the xml configuration file.
In this embodiment, after the xml configuration file is generated, in order to record the attribute position of each cell, annotation information is added to the xml configuration file, where the annotation information is used to mark the cell attribute marked by the annotation information, and a mapping relationship between the annotation information and each cell attribute and the start position or the end position is established and stored in the xml configuration file, so that it is convenient to intuitively know at which position of the xml configuration file the attribute of each cell is specifically configured according to the mapping relationship, and it is convenient to query, maintain, and modify.
In summary, in the data processing method provided by the present application, the configuration information of the data content structure of the EXCEL template file is analyzed, a blank xml file is created, and the configuration information of the data content structure of the EXCEL template file is configured in the blank xml file in different areas to form an xml configuration file; when the first EXCEL file is imported, analyzing the attribute configured in the xml configuration file, checking the data content of the first EXCEL file according to the analyzed attribute, and importing the corresponding data content if the checking is successful; according to the method and the device, only the xml configuration file and the EXCEL template file need to be maintained, and the introduction of the EXCEL can be very conveniently used; the method does not need to be carried out in the form of codes, and solves the problem that the codes are repeatedly developed when the codes are used for importing files at present.
Referring to fig. 2, an embodiment of the present application further provides a data processing apparatus, including:
an analysis unit 10 for analyzing configuration information of a data content structure of the EXCEL template file; the configuration information comprises attributes of a header part and a body part in the EXCEL template file, wherein the attributes comprise position attributes, content attributes and check rules of data items of each cell in the header part and the body part;
the creating unit 20 is configured to create a blank xml file, and divide the blank xml file into a first configuration area and a second configuration area;
the configuration unit 30 is configured to sequentially combine the location attribute, the content attribute, and the check rule of the data item of each cell in the header portion of the EXCEL template file to obtain a first xml configuration of each cell, add the first xml configuration to a first preset configurator to form first content, and then configure the first content in a first configuration area of the blank xml file; combining the position attribute, the content attribute and the check rule of the data item of each cell in the body part of the EXCEL template file in sequence to obtain a second xml configuration of each cell, adding the second xml configuration into a second preset configurator to form second content, and configuring the second content in a second configuration area of the blank xml file to generate an xml configuration file;
the parsing unit 40 is configured to, when receiving an instruction to import a first EXCEL file, load the xml configuration file, and parse an attribute of the header portion and an attribute of the body portion from a first configuration area and a second configuration area of the xml configuration file, respectively; verifying the data content of the first EXCEL file according to the attribute of the analyzed header part and the attribute of the body part;
the processing unit 50 is configured to, if the verification of the data content of the first EXCEL file is successful, import the data content that is successfully verified; and if the verification of the data content of the first EXCEL file is unsuccessful, marking the data content which is not verified successfully.
In an embodiment, after the xml configuration file is configured, the xml configuration file needs to be verified.
Specifically, the above apparatus further comprises:
the generating unit is used for adding a CRC element in the xml configuration file to generate a new xml configuration file; the value of the CRC element is the CRC checksum of the original xml configuration file;
the starting unit is used for starting the new xml configuration file and searching CRC (cyclic redundancy check) elements in the new xml configuration file; obtaining CRC checksum X of the original xml configuration file from the text field of the CRC check element;
the reading unit is used for reading all the new xml configuration files into the memory to obtain the first length of the xml configuration files;
in the process, a new xml configuration file is read from a memory to obtain a first length of the new xml configuration file, and the value of the first length comprises the length of the CRC check element and the length of the original xml configuration file.
The searching unit is used for searching the CRC check element in the new xml configuration file read from the memory to obtain a second length of the CRC check element and deleting the CRC check element;
in this embodiment, the CRC check element is searched, and the second length of the CRC check element is calculated; it is understood that the first length minus the second length is the length of the original xml configuration file.
A calculating unit for calculating a difference Y between the first length and the second length;
the judging unit is used for judging whether the X and the Y are consistent; if the configuration files are consistent, the verification is passed, and the xml configuration files are configured correctly; if the xml configuration file is inconsistent, the verification is not passed, and the xml configuration file is configured incorrectly.
In an embodiment, the verifying the data content of the first EXCEL file by the parsing unit 40 according to the attribute of the parsed header part and the attribute of the body part specifically includes:
the first analysis subunit is used for analyzing the head part and the body part in the first EXCEL file and converting data in the head part and the body part;
the verification unit is used for verifying whether the converted data in the header part and the body part in the first EXCEL file correspond to the position attribute and the content attribute of the header part and the body part analyzed in the xml configuration file; and verifying whether the converted data in the header part and the body part in the first EXCEL file are correct or not according to the verification rules of the data items in the header part and the body part analyzed from the xml configuration file.
In one embodiment, the first analysis subunit comprises:
the identification module is used for identifying a first format of data in the header part and the body part of the first EXCEL file and analyzing the content attribute of the data in the header part and the body part of the EXCEL template file from the xml configuration file; the content attribute comprises a template format of data;
the first judging module is used for judging whether the first format is the same as the template format in the content attribute;
the second judgment module is used for judging whether a converter for converting the first format into the template format is arranged in the template storage module or not if the first format is different from the template format;
the conversion module is used for calling the converter to convert the data in the header part and the body part if the data exists; and if not, making a prompt of lacking the converter to prompt a user to expand the converter.
In an embodiment, the data processing apparatus further includes:
the export unit is used for analyzing the configuration information in the xml configuration file when querying the query data in the table of the specified database and receiving the instruction for exporting the query data; the configuration information at least comprises position attributes of each cell in a header part and a body part of the EXCEL template file; wherein the form is consistent with configuration information of the EXCEL template file;
the file generation unit is used for generating a second EXCEL file with consistent position attributes according to the position attributes of each cell in the header part and the body part analyzed by the xml configuration file;
and the filling unit is used for filling the query data into the cells with the same position attribute in the second EXCEL file according to the position attribute of the table of the query data in the database.
In another embodiment, the data processing apparatus further includes:
the acquiring unit is used for acquiring the starting position and the ending position of each cell attribute configured in the xml configuration file;
the adding unit is used for adding annotation information at the starting position or the ending position of each cell attribute;
and the establishing unit is used for establishing the mapping relation among the annotation information, the cell attributes and the starting position or the ending position, and storing the mapping relation in the xml configuration file.
For concrete implementation of each unit, subunit, and module in this embodiment, please refer to the description in the above method embodiment, which is not described herein again.
In summary, for the data processing apparatus provided by the present application, the configuration information of the data content structure of the EXCEL template file is analyzed, a blank xml file is created, and the configuration information of the data content structure of the EXCEL template file is configured in the blank xml file in different areas to form an xml configuration file; when the first EXCEL file is imported, analyzing the attribute configured in the xml configuration file, checking the data content of the first EXCEL file according to the analyzed attribute, and importing the corresponding data content if the checking is successful; according to the method and the device, only the xml configuration file and the EXCEL template file need to be maintained, and the introduction of the EXCEL can be very conveniently used; the method does not need to be carried out in the form of codes, and solves the problem that the codes are repeatedly developed when the codes are used for importing files at present.
Referring to fig. 3, a computer device, which may be a server and whose internal structure may be as shown in fig. 3, is also provided in the embodiment of the present application. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing template files and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement any of the above-described methods of data processing.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is only a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects may be applied.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements any of the above-mentioned data processing methods.
In summary, for the method, the apparatus, the computer device, and the storage medium for data processing provided in the embodiments of the present application, the configuration information of the data content structure of the EXCEL template file is analyzed, a blank xml file is created, and the configuration information of the data content structure of the EXCEL template file is configured in the blank xml file in different areas to form an xml configuration file; when the first EXCEL file is imported, analyzing the attribute configured in the xml configuration file, checking the data content of the first EXCEL file according to the analyzed attribute, and importing the corresponding data content if the checking is successful; according to the method and the device, only the xml configuration file and the EXCEL template file need to be maintained, and the introduction of the EXCEL can be very conveniently used; the method does not need to be carried out in the form of codes, and solves the problem that the codes are repeatedly developed when the codes are used for importing files at present.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware associated with instructions of a computer program, which may be stored on a non-volatile computer-readable storage medium, and when executed, may include processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only for the preferred embodiment of the present application and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.
Claims (10)
1. A method of data processing, comprising the steps of:
analyzing configuration information of a data content structure of the EXCEL template file; the configuration information comprises attributes of a header part and a body part in the EXCEL template file, wherein the attributes comprise position attributes, content attributes and check rules of data items of each cell in the header part and the body part;
creating a blank xml file, and dividing the blank xml file into a first configuration area and a second configuration area;
sequentially combining the position attribute, the content attribute and the check rule of the data item of each cell in the header part of the EXCEL template file to obtain a first xml configuration of each cell, adding the first xml configuration into a first preset configurator to form first content, and configuring the first content in a first configuration area of the blank xml file; combining the position attribute, the content attribute and the check rule of the data item of each cell in the body part of the EXCEL template file in sequence to obtain a second xml configuration of each cell, adding the second xml configuration into a second preset configurator to form second content, and configuring the second content in a second configuration area of the blank xml file to generate an xml configuration file;
when an instruction of importing a first EXCEL file is received, loading the xml configuration file, and respectively analyzing the attribute of a header part and the attribute of a body part from a first configuration area and a second configuration area of the xml configuration file; verifying the data content of the first EXCEL file according to the attribute of the analyzed header part and the attribute of the body part;
if the verification of the data content of the first EXCEL file is successful, importing the data content which is successfully verified; and if the verification of the data content of the first EXCEL file is unsuccessful, marking the data content which is not verified successfully.
2. The data processing method of claim 1, wherein the step of generating the xml configuration file is followed by:
adding a CRC element in the xml configuration file to generate a new xml configuration file; the value of the CRC element is the CRC checksum of the original xml configuration file;
starting the new xml configuration file, and searching a CRC (cyclic redundancy check) element in the new xml configuration file; obtaining CRC checksum X of the original xml configuration file from the text field of the CRC check element;
reading all the new xml configuration files into an internal memory to obtain a first length of the xml configuration files;
searching a CRC (cyclic redundancy check) element in a new xml configuration file read from the memory to obtain a second length of the CRC element, and deleting the CRC element;
calculating a difference Y between the first length and the second length;
judging whether the X and the Y are consistent; if the configuration files are consistent, the verification is passed, and the xml configuration files are configured correctly; if the xml configuration file is inconsistent, the verification is not passed, and the xml configuration file is configured incorrectly.
3. The method of data processing according to claim 1, wherein the step of verifying the data content of the first EXCEL file according to the attributes of the parsed header portion and the attributes of the body portion comprises:
analyzing a header part and a body part in the first EXCEL file, and converting data in the header part and the body part;
verifying whether the converted data in the header part and the body part in the first EXCEL file correspond to the position attributes and the content attributes of the header part and the body part analyzed in the xml configuration file; and verifying whether the converted data in the header part and the body part in the first EXCEL file are correct or not according to the verification rules of the data items in the header part and the body part analyzed from the xml configuration file.
4. The method of claim 3, wherein the step of converting the data in the header portion and the body portion comprises:
identifying a first format of data in a header part and a body part of the first EXCEL file, and analyzing content attributes of the data in the header part and the body part of the EXCEL template file from the xml configuration file; the content attribute comprises a template format of data;
judging whether the first format is the same as the template format in the content attribute;
if not, judging whether a converter for converting the first format into the template format is arranged in the template;
if yes, calling the converter to convert the data in the header part and the body part; and if not, making a prompt of lacking the converter to prompt a user to expand the converter.
5. The method of data processing according to claim 1, wherein the step of generating an xml configuration file is followed by:
when inquiring the inquiry data in the table of the appointed database and receiving the instruction of exporting the inquiry data, analyzing the configuration information in the xml configuration file; the configuration information at least comprises position attributes of each cell in a header part and a body part of the EXCEL template file; wherein the form is consistent with configuration information of the EXCEL template file;
generating a second EXCEL file with consistent position attributes according to the position attributes of each cell in the header part and the body part analyzed by the xml configuration file;
and filling the query data into the cells of the second EXCEL file with the same position attribute according to the position attribute of the table of the query data in the database.
6. The method of data processing according to claim 1, wherein the step of generating an xml configuration file is followed by:
acquiring the starting position and the ending position of each cell attribute configured in the xml configuration file;
adding annotation information at the starting position or the ending position of each cell attribute;
and establishing a mapping relation among the annotation information, the attributes of each cell and the starting position or the ending position, and storing the mapping relation in the xml configuration file.
7. An apparatus for data processing, comprising:
an analysis unit for analyzing configuration information of a data content structure of the EXCEL template file; the configuration information comprises attributes of a header part and a body part in the EXCEL template file, wherein the attributes comprise position attributes, content attributes and check rules of data items of each cell in the header part and the body part;
the system comprises a creating unit, a first configuration area and a second configuration area, wherein the creating unit is used for creating a blank xml file and dividing the blank xml file into the first configuration area and the second configuration area;
the configuration unit is used for sequentially combining the position attribute, the content attribute and the check rule of the data item of each cell in the header part of the EXCEL template file to obtain a first xml configuration of each cell, adding the first xml configuration into a first preset configuration character to form first content, and then configuring the first content in a first configuration area of the blank xml file; combining the position attribute, the content attribute and the check rule of the data item of each cell in the body part of the EXCEL template file in sequence to obtain a second xml configuration of each cell, adding the second xml configuration into a second preset configurator to form second content, and configuring the second content in a second configuration area of the blank xml file to generate an xml configuration file;
the analysis unit is used for loading the xml configuration file when receiving an instruction of importing a first EXCEL file, and respectively analyzing the attribute of the header part and the attribute of the body part from a first configuration area and a second configuration area of the xml configuration file; verifying the data content of the first EXCEL file according to the attribute of the analyzed header part and the attribute of the body part;
the processing unit is used for importing the data content which is successfully verified if the data content of the first EXCEL file is successfully verified; and if the verification of the data content of the first EXCEL file is unsuccessful, marking the data content which is not verified successfully.
8. The data processing apparatus of claim 7, further comprising:
the generating unit is used for adding a CRC element in the xml configuration file to generate a new xml configuration file; the value of the CRC element is the CRC checksum of the original xml configuration file;
the starting unit is used for starting the new xml configuration file and searching CRC (cyclic redundancy check) elements in the new xml configuration file; obtaining CRC checksum X of the original xml configuration file from the text field of the CRC check element;
the reading unit is used for reading all the new xml configuration files into the memory to obtain the first length of the xml configuration files;
the searching unit is used for searching the CRC check element in the new xml configuration file read from the memory to obtain a second length of the CRC check element and deleting the CRC check element;
a calculating unit for calculating a difference Y between the first length and the second length;
the judging unit is used for judging whether the X and the Y are consistent; if the configuration files are consistent, the verification is passed, and the xml configuration files are configured correctly; if the xml configuration file is inconsistent, the verification is not passed, and the xml configuration file is configured incorrectly.
9. A computer device comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910849180.3A CN110765741A (en) | 2019-09-09 | 2019-09-09 | Data processing method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910849180.3A CN110765741A (en) | 2019-09-09 | 2019-09-09 | Data processing method and device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110765741A true CN110765741A (en) | 2020-02-07 |
Family
ID=69329579
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910849180.3A Pending CN110765741A (en) | 2019-09-09 | 2019-09-09 | Data processing method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110765741A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112379946A (en) * | 2020-11-27 | 2021-02-19 | 平安普惠企业管理有限公司 | Template configuration method and device based on YAML and computer equipment |
CN112565064A (en) * | 2021-02-24 | 2021-03-26 | 太平金融科技服务(上海)有限公司 | Service processing method, device, equipment and medium based on remote multimedia |
CN112632332A (en) * | 2021-01-04 | 2021-04-09 | 恩亿科(北京)数据科技有限公司 | Configurable verification method, system, equipment and storage medium for XML file |
CN113362040A (en) * | 2021-06-30 | 2021-09-07 | 平安普惠企业管理有限公司 | Approval chain configuration updating method and device, electronic equipment and storage medium |
CN113836213A (en) * | 2021-09-29 | 2021-12-24 | 中国平安财产保险股份有限公司 | Excel-based data import method, device, equipment and storage medium |
CN114595199A (en) * | 2022-05-10 | 2022-06-07 | 太平金融科技服务(上海)有限公司 | File analysis method and device, computer equipment and storage medium |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060195777A1 (en) * | 2005-02-25 | 2006-08-31 | Microsoft Corporation | Data store for software application documents |
CN101609463A (en) * | 2009-08-04 | 2009-12-23 | 北京环太中科软件股份有限公司 | Set up the method for the relation of data-switching between the Wen Dan and literary composition single between the method for data migtation |
CN101706801A (en) * | 2009-11-17 | 2010-05-12 | 广州从兴电子开发有限公司 | Method and system for managing memory database data |
CN101968783A (en) * | 2010-09-19 | 2011-02-09 | 深圳市万兴软件有限公司 | Method and device of converting XML document into Excel document |
CN102902732A (en) * | 2012-09-11 | 2013-01-30 | 南车株洲电力机车研究所有限公司 | Check adding method into extensive makeup language (XML) configuration file |
CN103744982A (en) * | 2014-01-15 | 2014-04-23 | 北京神州普惠科技股份有限公司 | Method for importing Excel data into database |
CN104881275A (en) * | 2015-02-11 | 2015-09-02 | 中国农业银行股份有限公司 | Electronic spreadsheet generating method and device |
CN106547841A (en) * | 2016-10-14 | 2017-03-29 | 西安工程大学 | A kind of data automatic switching method of Excel XML mappings |
CN106648763A (en) * | 2016-12-06 | 2017-05-10 | 明博教育科技股份有限公司 | Batch data importing component and importing method thereof |
CN106776515A (en) * | 2016-12-16 | 2017-05-31 | 刘立 | The method and device of data processing |
CN107844467A (en) * | 2016-09-21 | 2018-03-27 | 北京京东尚科信息技术有限公司 | A kind of electrical form verification method and device |
CN108009264A (en) * | 2017-12-14 | 2018-05-08 | 北京航天测控技术有限公司 | A kind of comparative approach of versions of data for Excel format files |
CN108052488A (en) * | 2017-12-06 | 2018-05-18 | 广东技术师范学院天河学院 | Paper automatic generation method based on template |
CN108920436A (en) * | 2018-06-29 | 2018-11-30 | 郑州云海信息技术有限公司 | A kind of file data comparison method, tool and equipment |
CN109542433A (en) * | 2018-10-17 | 2019-03-29 | 深圳壹账通智能科技有限公司 | Product page face generates method, apparatus, computer equipment and storage medium |
CN109783554A (en) * | 2018-12-13 | 2019-05-21 | 重庆金融资产交易所有限责任公司 | Excel document analytic method, device and computer readable storage medium |
-
2019
- 2019-09-09 CN CN201910849180.3A patent/CN110765741A/en active Pending
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060195777A1 (en) * | 2005-02-25 | 2006-08-31 | Microsoft Corporation | Data store for software application documents |
CN101609463A (en) * | 2009-08-04 | 2009-12-23 | 北京环太中科软件股份有限公司 | Set up the method for the relation of data-switching between the Wen Dan and literary composition single between the method for data migtation |
CN101706801A (en) * | 2009-11-17 | 2010-05-12 | 广州从兴电子开发有限公司 | Method and system for managing memory database data |
CN101968783A (en) * | 2010-09-19 | 2011-02-09 | 深圳市万兴软件有限公司 | Method and device of converting XML document into Excel document |
CN102902732A (en) * | 2012-09-11 | 2013-01-30 | 南车株洲电力机车研究所有限公司 | Check adding method into extensive makeup language (XML) configuration file |
CN103744982A (en) * | 2014-01-15 | 2014-04-23 | 北京神州普惠科技股份有限公司 | Method for importing Excel data into database |
CN104881275A (en) * | 2015-02-11 | 2015-09-02 | 中国农业银行股份有限公司 | Electronic spreadsheet generating method and device |
CN107844467A (en) * | 2016-09-21 | 2018-03-27 | 北京京东尚科信息技术有限公司 | A kind of electrical form verification method and device |
CN106547841A (en) * | 2016-10-14 | 2017-03-29 | 西安工程大学 | A kind of data automatic switching method of Excel XML mappings |
CN106648763A (en) * | 2016-12-06 | 2017-05-10 | 明博教育科技股份有限公司 | Batch data importing component and importing method thereof |
CN106776515A (en) * | 2016-12-16 | 2017-05-31 | 刘立 | The method and device of data processing |
CN108052488A (en) * | 2017-12-06 | 2018-05-18 | 广东技术师范学院天河学院 | Paper automatic generation method based on template |
CN108009264A (en) * | 2017-12-14 | 2018-05-08 | 北京航天测控技术有限公司 | A kind of comparative approach of versions of data for Excel format files |
CN108920436A (en) * | 2018-06-29 | 2018-11-30 | 郑州云海信息技术有限公司 | A kind of file data comparison method, tool and equipment |
CN109542433A (en) * | 2018-10-17 | 2019-03-29 | 深圳壹账通智能科技有限公司 | Product page face generates method, apparatus, computer equipment and storage medium |
CN109783554A (en) * | 2018-12-13 | 2019-05-21 | 重庆金融资产交易所有限责任公司 | Excel document analytic method, device and computer readable storage medium |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112379946A (en) * | 2020-11-27 | 2021-02-19 | 平安普惠企业管理有限公司 | Template configuration method and device based on YAML and computer equipment |
CN112632332A (en) * | 2021-01-04 | 2021-04-09 | 恩亿科(北京)数据科技有限公司 | Configurable verification method, system, equipment and storage medium for XML file |
CN112565064A (en) * | 2021-02-24 | 2021-03-26 | 太平金融科技服务(上海)有限公司 | Service processing method, device, equipment and medium based on remote multimedia |
CN112565064B (en) * | 2021-02-24 | 2021-05-28 | 太平金融科技服务(上海)有限公司 | Service processing method, device, equipment and medium based on remote multimedia |
CN113362040A (en) * | 2021-06-30 | 2021-09-07 | 平安普惠企业管理有限公司 | Approval chain configuration updating method and device, electronic equipment and storage medium |
CN113836213A (en) * | 2021-09-29 | 2021-12-24 | 中国平安财产保险股份有限公司 | Excel-based data import method, device, equipment and storage medium |
CN113836213B (en) * | 2021-09-29 | 2024-02-09 | 中国平安财产保险股份有限公司 | Excel-based data importing method, device, equipment and storage medium |
CN114595199A (en) * | 2022-05-10 | 2022-06-07 | 太平金融科技服务(上海)有限公司 | File analysis method and device, computer equipment and storage medium |
CN114595199B (en) * | 2022-05-10 | 2022-09-02 | 太平金融科技服务(上海)有限公司 | File analysis method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110765741A (en) | Data processing method and device, computer equipment and storage medium | |
CN113220782B (en) | Method, device, equipment and medium for generating multi-element test data source | |
CN109062925B (en) | Method, device, computer equipment and storage medium for automatically generating insert sentences | |
CN106844307B (en) | System and method for converting Excel into Word based on mark | |
CN112036144B (en) | Data analysis method, device, computer equipment and readable storage medium | |
CN109857389B (en) | Model data generation method and device, computer equipment and storage medium | |
CN111159982B (en) | Document editing method, device, electronic equipment and computer readable storage medium | |
CN113064584B (en) | Idempotent implementation method, device, equipment and medium | |
CN112286934A (en) | Database table importing method, device, equipment and medium | |
CN113283228A (en) | Document generation method and device, electronic equipment and storage medium | |
CN111191079A (en) | Document content acquisition method, device, equipment and storage medium | |
CN115268991A (en) | Dependency analysis optimization method, dependency analysis optimization device, dependency analysis equipment and storage medium | |
CN114048130A (en) | Unit testing method, unit testing device, computer equipment and storage medium | |
CN113282498A (en) | Test case generation method, device, equipment and storage medium | |
CN110688315A (en) | Interface code detection report generation method, electronic device, and storage medium | |
CN115391439B (en) | Document data export method, device, electronic equipment and storage medium | |
CN112527286A (en) | Service code generation method and device, computer equipment and storage medium | |
CN103268242A (en) | Method and device for installing information system | |
CN113505078B (en) | Configuration file updating method, device, equipment and storage medium | |
CN113283231B (en) | Method for acquiring signature bit, setting system, signature system and storage medium | |
CN111708542B (en) | Test case generation method, system, equipment and storage medium | |
CN111176882A (en) | Specific data processing method, specific data processing device, computer equipment and storage medium | |
CN111680479A (en) | Excel template-based form generation method and device and computer equipment | |
CN113448982A (en) | DDL statement analysis method and device, computer equipment and storage medium | |
CN113626108A (en) | Method, device, equipment and storage medium for assisted configuration of webpack |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200207 |