WO2020155771A1 - 电子表格数据处理方法、装置、计算机设备和存储介质 - Google Patents

电子表格数据处理方法、装置、计算机设备和存储介质 Download PDF

Info

Publication number
WO2020155771A1
WO2020155771A1 PCT/CN2019/118376 CN2019118376W WO2020155771A1 WO 2020155771 A1 WO2020155771 A1 WO 2020155771A1 CN 2019118376 W CN2019118376 W CN 2019118376W WO 2020155771 A1 WO2020155771 A1 WO 2020155771A1
Authority
WO
WIPO (PCT)
Prior art keywords
initial
header information
column header
target
code table
Prior art date
Application number
PCT/CN2019/118376
Other languages
English (en)
French (fr)
Inventor
任龙伟
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020155771A1 publication Critical patent/WO2020155771A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating

Definitions

  • This application relates to an electronic form data processing method, device, computer equipment and storage medium.
  • the inventor realizes that with the current information storage method, every time a customer’s information type is updated, for example, when a customer wants to add a new customer information, the relevant staff needs to re-create the spreadsheet file according to the new information. Write the relevant code to upload the system once, which is inefficient.
  • an electronic form data processing method, apparatus, computer equipment, and storage medium are provided.
  • An electronic form data processing method including:
  • the electronic form data carrying an electronic form identifier
  • An electronic form data processing device including:
  • a receiving module for receiving electronic form data, the electronic form data carrying an electronic form identifier
  • An extraction module for extracting target column header information from the electronic table data
  • the query module is used to query the initial column header information and the initial code table corresponding to the electronic form identifier
  • a judging module for judging whether the target column header information and the initial column header information match
  • An obtaining module configured to obtain current column header information that fails to match when the target column header information does not match the initial column header information
  • a generating module used to generate the target code corresponding to the current column header information, modify the initial code table according to the target code, and save the modified initial code table;
  • a computer device includes a memory and one or more processors.
  • the memory stores computer-readable instructions.
  • the steps of the surveillance video processing method provided in any embodiment of the present application are implemented.
  • One or more non-volatile computer-readable storage media storing computer-readable instructions.
  • the one or more processors implement any one of the embodiments of the present application. Provides the steps of the surveillance video processing method.
  • Fig. 1 is an application scenario diagram of a spreadsheet data processing method according to one or more embodiments.
  • Fig. 2 is a schematic flowchart of a method for processing electronic form data according to one or more embodiments.
  • Fig. 3 is a schematic flowchart of steps of a method for generating an initial code table according to one or more embodiments.
  • Fig. 4 is a block diagram of an electronic form data processing device according to one or more embodiments.
  • Figure 5 is a block diagram of a computer device according to one or more embodiments.
  • the electronic form data processing method provided in this application can be applied to the application environment as shown in FIG. 1.
  • the terminal 102 communicates with the server 104 through the network.
  • the server 104 receives the electronic form data uploaded by the terminal 102, the electronic form data carries the electronic form identifier, and then extracts the target column header information from the electronic form data, and queries the initial column header information and the initial code table corresponding to the electronic form identifier, Secondly, determine whether the extracted target column header information and the initial column header information match. When the target column header information does not match the initial column header information, obtain the current column header information that fails to match, and generate the target code corresponding to the current column header information. And modify the initial code table according to the target code, and save the modified initial code table.
  • the terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
  • the server 104 may be implemented by an independent server or a server cluster composed of multiple servers.
  • an electronic form data processing method is provided. Taking the method applied to the server 104 in FIG. 1 as an example for description, the method includes the following steps:
  • Step 202 Receive electronic form data, where the electronic form data carries an electronic form identifier.
  • the data types in the electronic form can include the personal information data of the customers in the enterprise, the transaction data between the enterprise and the customer, various data of the enterprise, etc., through the form of the electronic form for data circulation between the enterprise and the customer Or save it temporarily, and then write the spreadsheet data as code and save it in the enterprise system.
  • the spreadsheet can be an excel spreadsheet, Kingsoft WPS, etc.
  • the electronic form identifier can be used to identify the column header information of the initial electronic form and the initial code table corresponding to the initial electronic form before the data is modified.
  • the server receives the electronic form data uploaded by the terminal, and the electronic form data carries an electronic form identifier.
  • Step 204 Extract target column header information from the spreadsheet data.
  • the server receives the spreadsheet data uploaded by the terminal, it extracts the target column header information in the spreadsheet data.
  • the target column header information can be a header in the spreadsheet data, indicating various types of data, such as customer information.
  • the target column header information can indicate various types of customer information, such as the customer’s name, age, and city.
  • Step 206 query the initial column header information and the initial code table corresponding to the electronic form identifier.
  • the initial column header information may be the column header information corresponding to the initial electronic form without data modification in the electronic form
  • the initial code table is the code form corresponding to the initial electronic form for saving in the system.
  • Step 208 Determine whether the target column header information and the initial column header information match.
  • the data type change can be the data type The increase, decrease, and the change of the definition of certain data items.
  • Step 210 When the target column header information and the initial column header information do not match, obtain the current column header information that fails to match.
  • the server judges that the target column header information does not match the initial column header information, it means that the type of data in the current spreadsheet has changed compared with the original spreadsheet.
  • an increase in data type is a type of data type change.
  • the name, age, and city of the customer in the initial form are added to the name, age, city, and number of transactions of the customer, and the server obtains the current column header information after the matching fails.
  • Step 212 Generate the target code corresponding to the current column header information, modify the initial code table according to the target code, and save the modified initial code table.
  • the server After the server detects that the data type has changed, it will generate the target code corresponding to the modified current column header information that can be uploaded to the system, and modify the initial code table corresponding to the initial column header information according to the target code.
  • the method of modification For example, when the type of data increases, the target code is added to the initial code table, or when the type of data decreases, the target code corresponding to the reduced data type is deleted from the initial code table. After the modification is completed, the modified initial The code table is saved to the system.
  • the initial spreadsheet data includes the customer’s name and age.
  • the key lines of the initial code table in the corresponding system can be the corresponding two lines, "name" and "age”.
  • the server receives After the spreadsheet data, it is detected that the column header information does not match the initial column header information, including not only the customer’s name and age, but also the customer’s city. Then the code “city” corresponding to the city is generated and the corresponding code line is added to the initial
  • the code table is saved in the uploaded system, and then you can directly fill in the customer's data in the system. This saves human resources and improves the efficiency of updating the spreadsheet data.
  • the server receives the electronic form data, the electronic form data carries the electronic form identifier, and then extracts the target column header information from the electronic form data, and queries the initial column header information corresponding to the electronic form identifier and the initial Code table, secondly, judge whether the extracted target column header information and the initial column header information match.
  • the target column header information does not match the initial column header information, obtain the current column header information that fails to match, and generate the corresponding column header information Target code, modify the initial code table according to the target code, and save the modified initial code table.
  • the target code corresponding to the changed current column header information is generated to modify the initial code table, which is consistent with the traditional staff. Compared with rewriting the relevant code and uploading the information of the electronic form, the efficiency of updating the electronic form data is improved.
  • acquiring the current column header information that fails to match includes: when the target column header information and the initial column header information are detected When the amount of information increases compared to the amount of information, obtain the new column header information; generate the target code corresponding to the current column header information, and modify the initial code table according to the target code, including: generate corresponding new column header information based on the newly added column header information Target code, and add a new target code to the initial code table.
  • the server After the server obtains the target column header information and the initial column header information, it compares whether the two match. If the two do not match and it detects that the target column header information has an increase in the amount of information compared to the initial column header information, it indicates that the received Compared with the original spreadsheet data, the data types of the spreadsheet data have increased, and the target column header information is obtained by obtaining the column header information that is newer than the initial column header information, and then the corresponding new target code is generated according to the newly added column header information , And add a new target code to the initial code table in the system.
  • the spreadsheet data includes the customer’s name, age, and city
  • the server compares the column header information of the spreadsheet data with the initial column header information and finds that the city is a new type of data compared with the initial column header information. Generate the code "city" corresponding to the city according to the newly added data type, and add the corresponding code line to the initial code table in the system.
  • the server changes the data in the system by automatically generating codes corresponding to the newly added data types, which saves human resources and improves the update efficiency of electronic form data compared with traditional manual code preservation.
  • acquiring the current column header information that fails to match includes: when the target column header information and the initial column header information are detected When the information is less than the amount of information, obtain the deleted column header information; generate the target code corresponding to the current column header information, and modify the initial code table according to the target code, including: obtaining the corresponding deletion according to the deleted column header information The target code, and delete the deleted target code in the initial code table.
  • the server After the server obtains the target column header information and the initial column header information, it compares whether the two match. If the two do not match and it detects that the target column header information is less than the initial column header information, it means that the received Compared with the original spreadsheet data, the data type of the spreadsheet data is reduced, and the target column header information is obtained by subtracting the column header information from the initial column header information, and then the corresponding subtracted target code is generated according to the subtracted column header information , And delete and delete the target code in the initial code table in the system.
  • the spreadsheet data includes the customer’s name, age, and city.
  • the server finds that compared with the initial column header information, the initial column header information also includes the customer’s For telephone numbers, delete the "tel" code line in the initial code table according to the reduced data type.
  • the server changes the data in the system by automatically deleting the corresponding codes of the reduced data types, which saves human resources and improves the update efficiency of the electronic form data compared with the traditional manual writing code preservation.
  • the initial code table generation method includes:
  • Step 302 Obtain initial verification rules and specification information corresponding to the initial column header information.
  • the initial verification rule can be a limitation on the length and size of the initial column header information.
  • the corresponding initial verification rule can be: the length of the customer’s name must be within Within 10 fields, the font of the name must be Times New Roman, etc.
  • the specification information can be a limitation on the size of the initial spreadsheet corresponding to the initial column header information.
  • the initial spreadsheet includes several rows and columns. That is, after the server finds the initial column header information, it obtains the initial verification rules and specification information corresponding to the initial column header information.
  • Step 304 Obtain a preset code format, and generate an initial code table according to the preset code format, initial column header information, specification information, and initial verification rules.
  • the preset code format may be a preset code format in the system, such as xml, json, database, etc.
  • the server After obtaining the preset code format, the server will obtain the initial column according to the preset code format.
  • the header information, specification information, and initial verification rules generate an initial code table, which can be uploaded to the system later for data storage and data type modification.
  • the server generates the initial code table through the preset code format, initial column header information, specification information and initial verification rules.
  • the initial code table can be used for data storage and subsequent data type modification, which improves the efficiency of subsequent data modification.
  • an electronic form data processing method may include: obtaining a new verification rule corresponding to the current column header information; detecting whether the new verification rule conflicts with the initial verification rule ; When the new verification rule conflicts with the verification rule, delete the initial verification rule that conflicts with the rule; generate the initial code table according to the preset code format, initial column header information, specification information and initial verification rule, including : Generate an initial code table according to the preset code format, initial column header information, specification information, initial verification rules after deletion, and new verification rules.
  • the server determines that the target column header information does not match the initial column header information, and obtains the current column header information that fails to match, it obtains the corresponding new verification rule in the current column header information, where the current verification rule can be To limit the length and size of the current column header information.
  • Compare the current verification rule with the initial verification rule to detect whether there is a rule conflict, and when there is a rule conflict between the new verification rule and the verification rule, delete the initial verification rule with rule conflict, where the rule conflict can be It is when the two rules conflict in scope, size, format, etc. For example, the initial verification rule is that the length of the customer name must be within 10 fields, and the new verification rule is that the length of the customer name must be within 8 fields. If there is a rule conflict, the initial verification rule is deleted, and the initial code table is generated through the newly added verification rule and the preset code format, initial column header information, specification information, and the deleted initial verification rule.
  • the server replaces the initial verification rule with conflicting rules by a newly added verification rule, ensuring that if the subsequent data type changes, the verification rule can also be updated in time with the data type update Update.
  • the spreadsheet data processing method obtains a preset code format, and generates an initial code table according to the preset code format from initial column header information, specification information, and initial verification rules, which may include: obtaining a historical code table, extracting The target code format corresponding to the historical code table; the initial code table is generated according to the target code format, initial column header information, specification information and initial verification rules.
  • the server is obtaining the historical code table, and determines the format of the initial code table by extracting the target code format in the historical code table, because generally speaking, the system is faster when interpreting codes in the same format as the historical code , Occupies fewer resources, and if a new code format appears in the system, the system can be time-consuming to interpret, or even impossible to interpret. Therefore, the server can obtain the target code format from the historical code table, and after obtaining the target code format, generate an initial code table based on the target code format, initial column header information, specification information, and initial verification rules.
  • the server determines the format of generating the initial code table by extracting the target code format in the historical code table, which saves the time and memory resources consumed by the subsequent system in interpreting the code table.
  • the above electronic form data processing method after receiving the electronic form data, determines whether the type of the electronic form data has changed by judging whether the column header information has changed compared with the initial column header information. If changes are made, the target code corresponding to the change item of the column header information is generated to modify the initial code table, which saves time and human resources for manual code rewriting.
  • the initial spreadsheet data includes the customer’s name and age.
  • the key lines of the initial code table in the corresponding system can be the corresponding two lines, "name" and "age”.
  • the server receives After the spreadsheet data, it is detected that the column header information does not match the initial column header information, including not only the customer’s name and age, but also the customer’s city.
  • an electronic form data processing device including: a receiving module 402, an extraction module 404, a query module 406, a judgment module 408, an acquisition module 410, and a generation module 412, wherein :
  • the receiving module 402 is configured to receive electronic form data, and the electronic form data carries an electronic form identifier.
  • the extraction module 404 is used to extract target column header information from the spreadsheet data.
  • the query module 406 is used to query the initial column header information and the initial code table corresponding to the electronic form identifier.
  • the judging module 408 is used to judge whether the target column header information and the initial column header information match.
  • the obtaining module 410 is configured to obtain the current column header information that fails to match when the target column header information and the initial column header information do not match.
  • the generating module 412 is used to generate the target code corresponding to the current column header information, modify the initial code table according to the target code, and save the modified initial code table.
  • the upload module 414 is used to upload the modified initial code table to the system for storage, so as to fill in customer data according to the modified initial code table stored in the system.
  • the device may further include:
  • the detection module is used to obtain newly added column header information when it is detected that the target column header information has increased the amount of information compared with the initial column header information.
  • the second generation module is used to generate corresponding new target code according to the newly added column header information, and add the new target code to the initial code table.
  • the device may further include:
  • the second detection module is used to obtain the deleted column header information when it is detected that the target column header information is less than the initial column header information.
  • the deletion module is used to obtain the corresponding deletion target code according to the deleted column header information, and delete the deletion target code in the initial code table.
  • the device may further include:
  • the second acquiring module is used to acquire the initial verification rule and specification information corresponding to the initial column header information.
  • the third acquisition module is used to acquire the preset code format, and generate an initial code table according to the preset code format, initial column header information, specification information and initial verification rules.
  • the device may further include:
  • the fourth acquiring module is used to acquire the newly added verification rule corresponding to the current column header information.
  • the third detection module is used to detect whether there is a rule conflict between the newly added verification rule and the initial verification rule.
  • the delete module is used to delete the initial verification rule with rule conflict when the new verification rule conflicts with the verification rule.
  • the third generation module is used to generate the initial code table according to the preset code format, initial column header information, specification information, deleted initial verification rules and newly added verification rules.
  • the device may further include:
  • the fifth obtaining module is used to obtain the historical code table and extract the target code format corresponding to the historical code table.
  • the fourth generation module is used to generate the initial code table according to the target code format, initial column header information, specification information and initial verification rules.
  • Each module in the above-mentioned electronic form data processing device can be implemented in whole or in part by software, hardware, and a combination thereof.
  • the above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
  • a computer device is provided.
  • the computer device may be a server, and its internal structure diagram may be as shown in FIG. 5.
  • the computer equipment includes a processor, a memory, a network interface and a database connected by a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system, computer readable instructions, and a database.
  • the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium.
  • the database of the computer equipment is used to store spreadsheet data.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer-readable instructions are executed by the processor to realize an electronic form data processing method.
  • FIG. 5 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may Including more or less parts than shown in the figure, or combining some parts, or having a different part arrangement.
  • a computer device includes a memory and one or more processors.
  • the memory stores computer-readable instructions.
  • the one or more processors execute the following steps: receiving spreadsheet data, The spreadsheet data carries the spreadsheet identifier; extracts the target column header information from the spreadsheet data; queries the initial column header information and the initial code table corresponding to the spreadsheet identifier; judges whether the target column header information and the initial column header information match; when When the target column header information and the initial column header information do not match, obtain the current column header information that fails to match; generate the target code corresponding to the current column header information, modify the initial code table according to the target code, and save the modified initial code table ; And upload the modified initial code table to the system to save, so that you can fill in customer data according to the modified initial code table saved in the system.
  • acquiring the current column header information that fails to match may include: when the target column header information is detected When the amount of header information increases compared with the initial column header information, obtain the new column header information; generate the target code corresponding to the current column header information, and modify the initial code table according to the target code, including: according to the newly added column header The information generates the corresponding new target code, and adds the new target code to the initial code table.
  • acquiring the current column header information that fails to match may include: when the target column header information is detected When the header information is reduced compared with the initial column header information, the deleted column header information is obtained; the target code corresponding to the current column header information is generated, and the initial code table is modified according to the target code, including: according to the deleted column header The information obtains the corresponding deleted target code, and deletes the deleted target code in the initial code table.
  • the method of generating the initial code table involved when the processor executes the computer-readable instruction may include: obtaining the initial verification rule and specification information corresponding to the initial column header information; obtaining the preset code format, according to Preset code format, initial column header information, specification information and initial verification rules to generate an initial code table.
  • the processor further implements the following steps when executing the computer-readable instructions: acquiring the new verification rule corresponding to the current column header information; detecting whether there is a rule conflict between the new verification rule and the initial verification rule; When there is a rule conflict between the new verification rule and the verification rule, delete the initial verification rule with the conflicting rule; generate the initial code table according to the preset code format, initial column header information, specification information, and initial verification rule, including: Preset code format, initial column header information, specification information, deleted initial verification rules and newly added verification rules to generate an initial code table.
  • obtaining the preset code format involved when the processor executes the computer-readable instruction, and generating the initial code table according to the preset code format from initial column header information, specification information, and initial verification rules may include: Obtain the historical code table, extract the target code format corresponding to the historical code table; generate the initial code table according to the target code format, initial column header information, specification information and initial verification rules.
  • One or more non-volatile computer-readable storage media storing computer-readable instructions.
  • the one or more processors perform the following steps: receiving spreadsheet data , The spreadsheet data carries the spreadsheet identifier; extract the target column header information from the spreadsheet data; query the initial column header information and the initial code table corresponding to the spreadsheet identifier; determine whether the target column header information and the initial column header information match; When the target column header information and the initial column header information do not match, obtain the current column header information that fails to match; generate the target code corresponding to the current column header information, modify the initial code table according to the target code, and save the modified initial code Table; and upload the modified initial code list to the system for storage, so that the customer data can be filled in according to the modified initial code list saved in the system.
  • acquiring the current column header information that fails to match may include: when the target is detected When the amount of column header information increases compared with the initial column header information, obtain the new column header information; generate the target code corresponding to the current column header information, and modify the initial code table according to the target code, including: according to the newly added column The header information generates the corresponding new target code, and adds the new target code to the initial code table.
  • acquiring the current column header information that fails to match may include: when the target is detected When the amount of column header information decreases compared with the initial column header information, obtain the deleted column header information; generate the target code corresponding to the current column header information, and modify the initial code table according to the target code, including: according to the deleted column The header information obtains the corresponding deleted target code, and deletes the deleted target code in the initial code table.
  • the method of generating the initial code table involved when the computer-readable instruction is executed by the processor may include: obtaining the initial verification rule and specification information corresponding to the initial column header information; obtaining the preset code format, The initial code table is generated according to the preset code format, initial column header information, specification information and initial verification rules.
  • the following steps are further implemented: acquiring the new verification rule corresponding to the current column header information; detecting whether the new verification rule conflicts with the initial verification rule; When there is a rule conflict between the new verification rule and the verification rule, delete the initial verification rule with the conflicting rule; generate the initial code table according to the preset code format, initial column header information, specification information, and initial verification rule, including: The initial code table is generated according to the preset code format, initial column header information, specification information, initial verification rules after deletion, and new verification rules.
  • the preset code format is obtained, and the initial column header information, specification information, and initial verification rule are generated according to the preset code format, which may include : Obtain the historical code table, extract the target code format corresponding to the historical code table; generate the initial code table according to the target code format, initial column header information, specification information and initial verification rules.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • ROM read only memory
  • PROM programmable ROM
  • EPROM electrically programmable ROM
  • EEPROM electrically erasable programmable ROM
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种电子表格数据处理方法,包括:接收电子表格数据,电子表格数据携带有电子表格标识;从电子表格数据中提取目标列头信息;查询与电子表格标识对应的初始列头信息及初始代码表;判断目标列头信息与初始列头信息是否匹配;当目标列头信息与初始列头信息不匹配时,获取匹配失败的当前列头信息;生成与当前列头信息对应的目标代码,根据目标代码修改初始代码表并保存;及将修改后的初始代码表上传到系统中保存,以便于根据系统中保存的修改后的初始代码表填写客户数据。

Description

电子表格数据处理方法、装置、计算机设备和存储介质
相关申请的交叉引用
本申请要求于2019年01月28日提交中国专利局,申请号为2019100823374,申请名称为“电子表格数据处理方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及一种电子表格数据处理方法、装置、计算机设备和存储介质。
背景技术
在处理客户业务时,想要保留客户的个人信息或公司信息时,通常情况下,可以通过电子表格表格文件记载客户信息,然后通过相关工作人员将电子表格表格文件里的客户信息编写成相关代码,上传到公司系统保存。
然而,发明人意识到,目前的信息保存方法,每次客户的信息种类更新时,比如客户要新增一项新的客户信息时,需要相关工作人员根据新增信息的电子表格表格文件重新二次编写相关代码上传系统,效率低下。
发明内容
根据本申请公开的各种实施例,提供一种电子表格数据处理方法、装置、计算机设备和存储介质。
一种电子表格数据处理方法,包括:
接收电子表格数据,所述电子表格数据携带有电子表格标识;
从所述电子表格数据中提取目标列头信息;
查询与所述电子表格标识对应的初始列头信息以及初始代码表;
判断所述目标列头信息以及所述初始列头信息是否匹配;
当所述目标列头信息以及所述初始列头信息不匹配时,则获取匹配失败的当前列头信息;
生成与所述当前列头信息对应的目标代码,并根据所述目标代码修改所述初始代码表,保存修改后的初始代码表;及
将修改后的初始代码表上传到系统中保存,以便于根据系统中保存的修改后的初始代码表填写客户数据。
一种电子表格数据处理装置,包括:
接收模块,用于接收电子表格数据,所述电子表格数据携带有电子表格标识;
提取模块,用于从所述电子表格数据中提取目标列头信息;
查询模块,用于查询与所述电子表格标识对应的初始列头信息以及初始代码表;
判断模块,用于判断所述目标列头信息以及所述初始列头信息是否匹配;
获取模块,用于当所述目标列头信息以及所述初始列头信息不匹配时,则获取匹配失败的当前列头信息;
生成模块,用于生成与所述当前列头信息对应的目标代码,并根据所述目标代码修改所述初始代码表,保存修改后的初始代码表;及
将修改后的初始代码表上传到系统中保存,以便于根据系统中保存的修改后的初始代码表填写客户数据。
一种计算机设备,包括存储器和一个或多个处理器,存储器中存储有计算机可读指令,计算机可读指令被处理器执行时实现本申请任意一个实施例中提供的监控视频处理方法的步骤。
一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器实现本申请任意一个实施例中提供的监控视频处理方法的步骤。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为根据一个或多个实施例中电子表格数据处理方法的应用场景图。
图2为根据一个或多个实施例中电子表格数据处理方法的流程示意图。
图3为根据一个或多个实施例中初始代码表的生成方法的步骤的流程示意图。
图4为根据一个或多个实施例中电子表格数据处理装置的框图。
图5为根据一个或多个实施例中计算机设备的框图。
具体实施方式
为了使本申请的技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请提供的电子表格数据处理方法,可以应用于如图1所示的应用环境中。终端102通过网络与服务器104进行通信。服务器104接收终端102上传的电子表格数据,电子表格数据中携带有电子表格标识,然后从电子表格数据中提取目标列头信息,并查询与 电子表格标识对应的初始列头信息以及初始代码表,其次判断提取到的目标列头信息以及初始列头信息是否匹配,当目标列头信息与初始列头信息不匹配时,获取匹配失败的当前列头信息,生成当前列头信息对应的目标代码,并根据目标代码修改初始代码表,保存修改后的初始代码表。终端102可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,服务器104可以用独立的服务器或者是多个服务器组成的服务器集群来实现。
在其中一个实施例中,如图2所示,提供了一种电子表格数据处理方法,以该方法应用于图1中的服务器104为例进行说明,包括以下步骤:
步骤202,接收电子表格数据,电子表格数据携带有电子表格标识。
具体地,电子表格中的数据类型可以包含企业中客户的个人信息数据、企业与客户之间的交易数据,企业的各项数据等等,通过电子表格的形式在企业与客户之间进行数据流通或临时保存,然后将电子表格数据编写为代码,保存到企业系统中,电子表格具体可以为excel电子表格、金山WPS等。电子表格标识可以用于标识电子表格在对数据修改前,初始的电子表格的列头信息以及初始的电子表格对应的初始代码表。服务器接收终端上传的电子表格数据,电子表格数据携带有电子表格标识。
步骤204,从电子表格数据中提取目标列头信息。
具体地,服务器接收到终端上传的电子表格数据后,提取电子表格数据中的目标列头信息,目标列头信息可以为电子表格数据中的表头,表示各种数据的种类,比如在客户信息的电子表格中,目标列头信息可以表示各种客户信息的种类,比如客户的姓名、年龄、城市等。
步骤206,查询与电子表格标识对应的初始列头信息以及初始代码表。
具体地,初始列头信息可以为电子表格未经数据修改,初始的电子表格对应的列头信息,初始代码表为初始电子表格对应的用于保存在系统中的代码表格。服务器接收到终端上传的电子表格数据后,查询电子表格数据携带的电子表格标识对应的初始列头信息以及初始代码表。
步骤208,判断目标列头信息以及初始列头信息是否匹配。
具体地,在服务器获取到目标列头信息与初始列头信息之后,判断获取到的目标列头信息与初始列头信息是否相同,是否发生了数据种类的改变,数据种类的改变可以为数据种类的增加、减少以及某些数据项定义的改变。
步骤210,当目标列头信息以及初始列头信息不匹配时,获取匹配失败的当前列头信息。
具体地,当服务器判断目标列头信息与初始列头信息不匹配,说明当前电子表格数据的种类与初始电子表格相比,发生了改变,比如数据种类的增加就是数据种类改变的一种,可以由初始表格中的客户的姓名、年龄、城市增加为客户的姓名、年龄、城市和交易次数等,服务器获取匹配失败后的当前列头信息。
步骤212,生成与当前列头信息对应的目标代码,并根据目标代码修改初始代码表,保存修改后的初始代码表。
具体地,服务器在检测到数据种类发生了改变之后,会生成与修改后的当前列头信息对应能够上传到系统的目标代码,根据目标代码修改初始列头信息对应的初始代码表,修改的方法可以比如在数据的种类增加时,在初始代码表中增加目标代码,或是数据的种类减少时,在初始代码表中删除减少数据种类对应的目标代码,在修改结束后,将修改后的初始代码表保存到系统。
S214:将修改后的初始代码表上传到系统中保存,以便于根据系统中保存的修改后的初始代码表填写客户数据。
举例说明,比如在企业资料里,初始电子表格数据包括客户的姓名和年龄,对应的系统里的初始代码表的关键行可以为对应的两行,“name”以及“age”,服务器在接收到电子表格数据后,检测到列头信息与初始列头信息不匹配,不仅包含客户的姓名和年龄,还包含客户的城市,则生成城市对应的代码“city”,将对应的代码行添加到初始代码表中,上传的系统中保存,后续就可以直接在系统中填写客户的数据。这样节约了人力资源,也提高了电子表格数据的更新效率。
上述电子表格数据处理方法中,服务器接收电子表格数据,电子表格数据中携带有电子表格标识,然后从电子表格数据中提取目标列头信息,并查询与电子表格标识对应的初始列头信息以及初始代码表,其次判断提取到的目标列头信息以及初始列头信息是否匹配,当目标列头信息与初始列头信息不匹配时,获取匹配失败的当前列头信息,生成当前列头信息对应的目标代码,并根据目标代码修改初始代码表,保存修改后的初始代码表。通过将目标列头信息与初始列头信息匹配判断电子表格数据的种类是否改变,如果改变则生成改变后的当前列头信息对应的目标代码对初始代码表进行修改,与传统的工作人员根据改变的电子表格信息重新二次编写相关代码上传相比,提高了电子表格数据的更新效率。
在其中一个实施例中,电子表格数据处理方法中当目标列头信息以及初始列头信息不匹配时,则获取匹配失败的当前列头信息,包括:当检测到目标列头信息与初始列头信息相比信息量增加时,获取新增的列头信息;生成与当前列头信息对应的目标代码,并根据目标代码修改初始代码表,包括:根据新增的列头信息生成对应的新增目标代码,并在初始代码表格中增加新增目标代码。
具体地,服务器在获取目标列头信息以及初始列头信息后,对比两者是否匹配,如果两者不匹配且检测到目标列头信息与初始列头信息相比信息量增加时,说明接收到的电子表格数据与初始电子表格相比,数据种类有所增加,则获取目标列头信息比初始列头信息新增的列头信息,然后根据新增的列头信息生成对应的新增目标代码,并在系统中的初始代码表中增加新增目标代码。比如电子表格数据包括客户的姓名、年龄以及城市,而服务器将电子表格数据的列头信息与初始列头信息相比后,发现与初始列头信息相比,城市是 新增的数据种类,则根据新增的数据种类生成城市对应的代码“city”,将对应的代码行添加到系统中的初始代码表。
上述电子表格数据处理方法中,服务器通过自动生成新增数据种类对应代码来更改系统中的数据,与传统的人工编写代码保存相比,节约了人力资源,也提高了电子表格数据的更新效率。
在其中一个实施例中,电子表格数据处理方法中当目标列头信息以及初始列头信息不匹配时,则获取匹配失败的当前列头信息,包括:当检测到目标列头信息与初始列头信息相比信息量减少时,获取删减的列头信息;生成与当前列头信息对应的目标代码,并根据目标代码修改初始代码表,包括:根据删减的列头信息获取对应的删减目标代码,并在初始代码表格中删除删减目标代码。
具体地,服务器在获取目标列头信息以及初始列头信息后,对比两者是否匹配,如果两者不匹配且检测到目标列头信息与初始列头信息相比信息量减少时,说明接收到的电子表格数据与初始电子表格相比,数据种类有所减少,则获取目标列头信息比初始列头信息删减的列头信息,然后根据删减的列头信息生成对应的删减目标代码,并在系统中的初始代码表中删除删减目标代码。比如电子表格数据包括客户的姓名、年龄以及城市,而服务器将电子表格数据的列头信息与初始列头信息相比后,发现与初始列头信息相比,初始列头信息中还包括客户的电话号码,则根据减少的数据种类删除初始代码表中的“tel”代码行。
上述电子表格数据处理方法中,服务器通过自动删除减少的数据种类对应代码来更改系统中的数据,与传统的人工编写代码保存相比,节约了人力资源,也提高了电子表格数据的更新效率。
在其中一个实施例中,如图3所示,电子表格数据处理方法中,初始代码表的生成方式,包括:
步骤302,获取初始列头信息对应的初始校验规则以及规格信息。
具体地,初始校验规则可以为对初始列头信息的长度、大小等各方面的限定,比如初始列头信息为客户的姓名时,对应的初始校验规则可以为:客户姓名的长度必须在10个字段以内,姓名的字体必须为宋体等等规则,规格信息可以为,对初始列头信息对应的初始电子表格的大小的限定,比如初始电子表格包括几行几列等规格限定。即服务器在查询到初始列头信息之后,获取与初始列头信息对应的初始校验规则以及规格信息。
步骤304,获取预设代码格式,根据预设代码格式、初始列头信息、规格信息及初始校验规则生成初始代码表。
具体地,预设代码格式可以为预先设定的系统中代码存在的格式,比如xml、json、数据库等格式,服务器在获取预设代码格式后,根据预设的代码格式将获取到的初始列头信息、规格信息以及初始校验规则生成初始代码表,后续可以将初始代码表上传到系统,用于数据保存以及数据种类修改时直接修改初始代码表。
上述电子表格数据处理方法中,服务器通过预设代码格式、初始列头信息、规格信息及初始校验规则生成初始代码表。初始代码表能够用于数据保存以及后续的数据种类修改,提高了后续数据修改的效率。
在其中一个实施例中,提供了一种电子表格数据处理方法,该方法可以包括:获取当前列头信息对应的新增校验规则;检测新增校验规则与初始校验规则是否存在规则冲突;当新增校验规则与校验规则存在规则冲突时,删除存在规则冲突的初始校验规则;根据预设代码格式、初始列头信息、规格信息及初始校验规则生成初始代码表,包括:根据预设代码格式、初始列头信息、规格信息、删除后的初始校验规则及新增校验规则生成初始代码表。
具体地,服务器在判断目标列头信息与初始列头信息不匹配,且获取匹配失败的当前列头信息后,获取当前列头信息中对应的新增校验规则,其中,当前校验规则可以为对当前列头信息的长度、大小等各方面的限定。将当前校验规则与初始校验规则进行对比,检测是否存在规则冲突,且当新增校验规则与校验规则存在规则冲突时,删除存在规则冲突的初始校验规则,其中,规则冲突可以是当两种规则存在范围、大小、格式等方面的冲突,比如初始校验规则为客户姓名的长度必须在10个字段以内,而新增校验规则为客户姓名的长度必须在8个字段以内,存在规则冲突,则删除初始校验规则,并通过新增的校验规则与预设代码格式、初始列头信息、规格信息、删除后的初始校验规则生成初始代码表。
上述电子表格数据处理方法中,服务器通过新增的校验规则取代存在规则冲突的初始校验规则,保证了如果后续数据种类发生改变时,校验规则也能及时的随着数据种类的更新而更新。
在其中一个实施例中,电子表格数据处理方法获取预设代码格式,根据预设代码格式将初始列头信息、规格信息及初始校验规则生成初始代码表,可以包括:获取历史代码表,提取历史代码表对应的目标代码格式;根据目标代码格式、初始列头信息、规格信息及初始校验规则生成初始代码表。
具体地,服务器在获取历史代码表,通过提取历史代码表中的目标代码格式来确定生成初始代码表的格式,因为通常来说,系统在解读与历史代码同种格式的代码时的速度更快、所占资源更少,而如果在系统中出现全新的代码格式,系统可以解读起来费时、甚至无法解读。所以服务器可以在历史代码表中获取目标代码格式,并在获取到目标代码格式后,根据目标代码格式,与初始列头信息、规格信息及初始校验规则生成初始代码表。
上述电子表格数据处理方法中,服务器通过提取历史代码表中的目标代码格式来确定生成初始代码表的格式,节省了后续系统在解读代码表所消耗的时间与内存资源。
在其中一个实施例中,上述电子表格数据处理方法,在接收到电子表格数据后,通过判断列头信息与初始列头信息相比是否发生改变来判断电子表格数据的种类是否发生改变,若发生改变,则生成列头信息改变项对应的目标代码来修改初始代码表,节约了人 工重新编写代码的时间和人力资源。举例说明,比如在企业资料里,初始电子表格数据包括客户的姓名和年龄,对应的系统里的初始代码表的关键行可以为对应的两行,“name”以及“age”,服务器在接收到电子表格数据后,检测到列头信息与初始列头信息不匹配,不仅包含客户的姓名和年龄,还包含客户的城市,则生成城市对应的代码“city”,将对应的代码行添加到初始代码表中,上传的系统中保存,后续就可以直接在系统中填写客户的数据。这样节约了人力资源,也提高了电子表格数据的更新效率。
应该理解的是,虽然图2、图3的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2、图3中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
在其中一个实施例中,如图4所示,提供了一种电子表格数据处理装置,包括:接收模块402、提取模块404、查询模块406、判断模块408、获取模块410和生成模块412,其中:
接收模块402,用于接收电子表格数据,电子表格数据携带有电子表格标识。
提取模块404,用于从电子表格数据中提取目标列头信息。
查询模块406,用于查询与电子表格标识对应的初始列头信息以及初始代码表。
判断模块408,用于判断目标列头信息以及初始列头信息是否匹配。
获取模块410,用于当目标列头信息以及初始列头信息不匹配时,则获取匹配失败的当前列头信息。
生成模块412,用于生成与当前列头信息对应的目标代码,并根据目标代码修改初始代码表,保存修改后的初始代码表。
上传模块414,用于将修改后的初始代码表上传到系统中保存,以便于根据系统中保存的修改后的初始代码表填写客户数据。
在其中一个实施例中,装置还可以包括:
检测模块,用于当检测到目标列头信息与初始列头信息相比信息量增加时,获取新增的列头信息。
第二生成模块,用于根据新增的列头信息生成对应的新增目标代码,并在初始代码表格中增加新增目标代码。
在其中一个实施例中,装置还可以包括:
第二检测模块,用于当检测到目标列头信息与初始列头信息相比信息量减少时,获取删减的列头信息。
删减模块,用于根据删减的列头信息获取对应的删减目标代码,并在初始代码表格中删除删减目标代码。
在其中一个实施例中,装置还可以包括:
第二获取模块,用于获取初始列头信息对应的初始校验规则以及规格信息。
第三获取模块,用于获取预设代码格式,并根据预设代码格式、初始列头信息、规格信息及初始校验规则生成初始代码表。
在其中一个实施例中,装置还可以包括:
第四获取模块,用于获取当前列头信息对应的新增校验规则。
第三检测模块,用于检测新增校验规则与初始校验规则是否存在规则冲突。
删除模块,用于当新增校验规则与校验规则存在规则冲突时,删除存在规则冲突的初始校验规则。
第三生成模块,用于根据预设代码格式、初始列头信息、规格信息、删除后的初始校验规则及新增校验规则生成初始代码表。
在其中一个实施例中,装置还可以包括:
第五获取模块,用于获取历史代码表,提取历史代码表对应的目标代码格式。
第四生成模块,用于根据目标代码格式、初始列头信息、规格信息及初始校验规则生成初始代码表。
关于电子表格数据处理装置的具体限定可以参见上文中对于电子表格数据处理方法的限定,在此不再赘述。上述电子表格数据处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在其中一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图5所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机可读指令和数据库。该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。该计算机设备的数据库用于存储电子表格数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机可读指令被处理器执行时以实现一种电子表格数据处理方法。
本领域技术人员可以理解,图5中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。一种计算机设备,包括存储器和一个或多个处理器,存储器中储存有计算机可读指令,计算机可读指令被处理器执行时,使得一个或多个处理器执行以下步骤:接收电子表格数据, 电子表格数据携带有电子表格标识;从电子表格数据中提取目标列头信息;查询与电子表格标识对应的初始列头信息以及初始代码表;判断目标列头信息以及初始列头信息是否匹配;当目标列头信息以及初始列头信息不匹配时,则获取匹配失败的当前列头信息;生成与当前列头信息对应的目标代码,并根据目标代码修改初始代码表,保存修改后的初始代码表;及将修改后的初始代码表上传到系统中保存,以便于根据系统中保存的修改后的初始代码表填写客户数据。
在其中一个实施例中,处理器执行计算机可读指令时所涉及的当目标列头信息以及初始列头信息不匹配时,则获取匹配失败的当前列头信息,可以包括:当检测到目标列头信息与初始列头信息相比信息量增加时,获取新增的列头信息;生成与当前列头信息对应的目标代码,并根据目标代码修改初始代码表,包括:根据新增的列头信息生成对应的新增目标代码,并在初始代码表格中增加新增目标代码。
在其中一个实施例中,处理器执行计算机可读指令时所涉及的当目标列头信息以及初始列头信息不匹配时,则获取匹配失败的当前列头信息,可以包括:当检测到目标列头信息与初始列头信息相比信息量减少时,获取删减的列头信息;生成与当前列头信息对应的目标代码,并根据目标代码修改初始代码表,包括:根据删减的列头信息获取对应的删减目标代码,并在初始代码表格中删除删减目标代码。
在其中一个实施例中,处理器执行计算机可读指令时所涉及的初始代码表的生成方式,可以包括:获取初始列头信息对应的初始校验规则以及规格信息;获取预设代码格式,根据预设代码格式、初始列头信息、规格信息及初始校验规则生成初始代码表。
在其中一个实施例中,处理器执行计算机可读指令时还实现以下步骤:获取当前列头信息对应的新增校验规则;检测新增校验规则与初始校验规则是否存在规则冲突;当新增校验规则与校验规则存在规则冲突时,删除存在规则冲突的初始校验规则;根据预设代码格式、初始列头信息、规格信息及初始校验规则生成初始代码表,包括:根据预设代码格式、初始列头信息、规格信息、删除后的初始校验规则及新增校验规则生成初始代码表。
在其中一个实施例中,处理器执行计算机可读指令时所涉及的获取预设代码格式,根据预设代码格式将初始列头信息、规格信息及初始校验规则生成初始代码表,可以包括:获取历史代码表,提取历史代码表对应的目标代码格式;根据目标代码格式、初始列头信息、规格信息及初始校验规则生成初始代码表。
一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:接收电子表格数据,电子表格数据携带有电子表格标识;从电子表格数据中提取目标列头信息;查询与电子表格标识对应的初始列头信息以及初始代码表;判断目标列头信息以及初始列头信息是否匹配;当目标列头信息以及初始列头信息不匹配时,则获取匹配失败的当前列头信息;生成与当前列头信息对应的目标代码,并根据目标代码修改初始代码表,保存修改后的初始代 码表;及将修改后的初始代码表上传到系统中保存,以便于根据系统中保存的修改后的初始代码表填写客户数据。
在其中一个实施例中,计算机可读指令被处理器执行时所涉及的当目标列头信息以及初始列头信息不匹配时,则获取匹配失败的当前列头信息,可以包括:当检测到目标列头信息与初始列头信息相比信息量增加时,获取新增的列头信息;生成与当前列头信息对应的目标代码,并根据目标代码修改初始代码表,包括:根据新增的列头信息生成对应的新增目标代码,并在初始代码表格中增加新增目标代码。
在其中一个实施例中,计算机可读指令被处理器执行时所涉及的当目标列头信息以及初始列头信息不匹配时,则获取匹配失败的当前列头信息,可以包括:当检测到目标列头信息与初始列头信息相比信息量减少时,获取删减的列头信息;生成与当前列头信息对应的目标代码,并根据目标代码修改初始代码表,包括:根据删减的列头信息获取对应的删减目标代码,并在初始代码表格中删除删减目标代码。
在其中一个实施例中,计算机可读指令被处理器执行时所涉及的初始代码表的生成方式,可以包括:获取初始列头信息对应的初始校验规则以及规格信息;获取预设代码格式,根据预设代码格式、初始列头信息、规格信息及初始校验规则生成初始代码表。
在其中一个实施例中,计算机可读指令被处理器执行时还实现以下步骤:获取当前列头信息对应的新增校验规则;检测新增校验规则与初始校验规则是否存在规则冲突;当新增校验规则与校验规则存在规则冲突时,删除存在规则冲突的初始校验规则;根据预设代码格式、初始列头信息、规格信息及初始校验规则生成初始代码表,包括:根据预设代码格式、初始列头信息、规格信息、删除后的初始校验规则及新增校验规则生成初始代码表。
在其中一个实施例中,计算机可读指令被处理器执行时所涉及的获取预设代码格式,根据预设代码格式将初始列头信息、规格信息及初始校验规则生成初始代码表,可以包括:获取历史代码表,提取历史代码表对应的目标代码格式;根据目标代码格式、初始列头信息、规格信息及初始校验规则生成初始代码表。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一非易失性计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接 RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种电子表格数据处理方法,包括:
    接收电子表格数据,所述电子表格数据携带有电子表格标识;
    从所述电子表格数据中提取目标列头信息;
    查询与所述电子表格标识对应的初始列头信息以及初始代码表;
    判断所述目标列头信息以及所述初始列头信息是否匹配;
    当所述目标列头信息以及所述初始列头信息不匹配时,则获取匹配失败的当前列头信息;
    生成与所述当前列头信息对应的目标代码,并根据所述目标代码修改所述初始代码表,保存修改后的初始代码表;及
    将修改后的初始代码表上传到系统中保存,以便于根据系统中保存的修改后的初始代码表填写客户数据。
  2. 根据权利要求1所述的方法,其特征在于,所述当目标列头信息以及所述初始列头信息不匹配时,则获取匹配失败的当前列头信息,包括:
    当检测到所述目标列头信息与所述初始列头信息相比信息量增加时,获取新增的列头信息;及
    所述生成与所述当前列头信息对应的目标代码,并根据所述目标代码修改所述初始代码表,包括:
    根据所述新增的列头信息生成对应的新增目标代码,并在所述初始代码表格中增加所述新增目标代码。
  3. 根据权利要求1所述的方法,其特征在于,所述当目标列头信息以及所述初始列头信息不匹配时,则获取匹配失败的当前列头信息,包括:
    当检测到所述目标列头信息与所述初始列头信息相比信息量减少时,获取删减的列头信息;及
    所述生成与所述当前列头信息对应的目标代码,并根据所述目标代码修改所述初始代码表,包括:
    根据所述删减的列头信息获取对应的删减目标代码,并在所述初始代码表格中删除所述删减目标代码。
  4. 根据权利要求1所述的方法,其特征在于,所述初始代码表的生成方式,包括:
    获取所述初始列头信息对应的初始校验规则以及规格信息;及
    获取预设代码格式,根据所述预设代码格式、所述初始列头信息、规格信息及初始校验规则生成初始代码表。
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    获取所述当前列头信息对应的新增校验规则;
    检测所述新增校验规则与所述初始校验规则是否存在规则冲突;
    当所述新增校验规则与所述校验规则存在规则冲突时,删除存在规则冲突的初始校验规则;及
    所述根据预设代码格式、所述初始列头信息、规格信息及初始校验规则生成初始代码表,包括:
    根据预设代码格式、所述初始列头信息、规格信息、删除后的初始校验规则及新增校验规则生成初始代码表。
  6. 根据权利要求4所述的方法,其特征在于,所述获取预设代码格式,根据所述预设代码格式将所述初始列头信息、规格信息及初始校验规则生成初始代码表,包括:
    获取历史代码表,提取所述历史代码表对应的目标代码格式;及
    根据所述目标代码格式、所述初始列头信息、规格信息及初始校验规则生成初始代码表。
  7. 一种电子表格数据处理装置,包括:
    接收模块,用于接收电子表格数据,所述电子表格数据携带有电子表格标识;
    提取模块,用于从所述电子表格数据中提取目标列头信息;
    查询模块,用于查询与所述电子表格标识对应的初始列头信息以及初始代码表;
    判断模块,用于判断所述目标列头信息以及所述初始列头信息是否匹配;
    获取模块,用于当所述目标列头信息以及所述初始列头信息不匹配时,则获取匹配失败的当前列头信息;
    生成模块,用于生成与所述当前列头信息对应的目标代码,并根据所述目标代码修改所述初始代码表,保存修改后的初始代码表;及
    上传模块,用于将修改后的初始代码表上传到系统中保存,以便于根据系统中保存的修改后的初始代码表填写客户数据。
  8. 根据权利要求7所述的装置,其特征在于,所述装置包括:
    检测模块,用于当检测到所述目标列头信息与所述初始列头信息相比信息量增加时,获取新增的列头信息;及
    第二生成模块,用于根据所述新增的列头信息生成对应的新增目标代码,并在所述初始代码表格中增加所述新增目标代码。
  9. 一种计算机设备,包括存储器及一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
    接收电子表格数据,所述电子表格数据携带有电子表格标识;
    从所述电子表格数据中提取目标列头信息;
    查询与所述电子表格标识对应的初始列头信息以及初始代码表;
    判断所述目标列头信息以及所述初始列头信息是否匹配;
    当所述目标列头信息以及所述初始列头信息不匹配时,则获取匹配失败的当前列头信 息;及
    生成与所述当前列头信息对应的目标代码,并根据所述目标代码修改所述初始代码表,保存修改后的初始代码表;
    将修改后的初始代码表上传到系统中保存,以便于根据系统中保存的修改后的初始代码表填写客户数据。
  10. 根据权利要求9所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时所实现的所述当目标列头信息以及所述初始列头信息不匹配时,则获取匹配失败的当前列头信息,包括:
    当检测到所述目标列头信息与所述初始列头信息相比信息量增加时,获取新增的列头信息;及
    所述处理器执行所述计算机可读指令时所实现的所述生成与所述当前列头信息对应的目标代码,并根据所述目标代码修改所述初始代码表,包括:
    根据所述新增的列头信息生成对应的新增目标代码,并在所述初始代码表格中增加所述新增目标代码。
  11. 根据权利要求9所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时所实现的所述当目标列头信息以及所述初始列头信息不匹配时,则获取匹配失败的当前列头信息,包括:
    当检测到所述目标列头信息与所述初始列头信息相比信息量减少时,获取删减的列头信息;及
    所述处理器执行所述计算机可读指令时所实现的所述生成与所述当前列头信息对应的目标代码,并根据所述目标代码修改所述初始代码表,包括:
    根据所述删减的列头信息获取对应的删减目标代码,并在所述初始代码表格中删除所述删减目标代码。
  12. 根据权利要求9所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时所实现的所述初始代码表的生成方式,包括:
    获取所述初始列头信息对应的初始校验规则以及规格信息;及
    获取预设代码格式,根据所述预设代码格式、所述初始列头信息、规格信息及初始校验规则生成初始代码表。
  13. 根据权利要求12所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:
    获取所述当前列头信息对应的新增校验规则;
    检测所述新增校验规则与所述初始校验规则是否存在规则冲突;
    当所述新增校验规则与所述校验规则存在规则冲突时,删除存在规则冲突的初始校验规则;及
    所述处理器执行所述计算机可读指令时所实现的所述根据预设代码格式、所述初始列 头信息、规格信息及初始校验规则生成初始代码表,包括:
    根据预设代码格式、所述初始列头信息、规格信息、删除后的初始校验规则及新增校验规则生成初始代码表。
  14. 根据权利要求13所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时所实现的所述获取预设代码格式,根据所述预设代码格式将所述初始列头信息、规格信息及初始校验规则生成初始代码表,包括:
    获取历史代码表,提取所述历史代码表对应的目标代码格式;及
    根据所述目标代码格式、所述初始列头信息、规格信息及初始校验规则生成初始代码表。
  15. 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
    接收电子表格数据,所述电子表格数据携带有电子表格标识;
    从所述电子表格数据中提取目标列头信息;
    查询与所述电子表格标识对应的初始列头信息以及初始代码表;
    判断所述目标列头信息以及所述初始列头信息是否匹配;
    当所述目标列头信息以及所述初始列头信息不匹配时,则获取匹配失败的当前列头信息;及
    生成与所述当前列头信息对应的目标代码,并根据所述目标代码修改所述初始代码表,保存修改后的初始代码表;
    将修改后的初始代码表上传到系统中保存,以便于根据系统中保存的修改后的初始代码表填写客户数据。
  16. 根据权利要求15所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时所实现的所述当目标列头信息以及所述初始列头信息不匹配时,则获取匹配失败的当前列头信息,包括:
    当检测到所述目标列头信息与所述初始列头信息相比信息量增加时,获取新增的列头信息;及
    所述计算机可读指令被所述处理器执行时所实现的所述生成与所述当前列头信息对应的目标代码,并根据所述目标代码修改所述初始代码表,包括:
    根据所述新增的列头信息生成对应的新增目标代码,并在所述初始代码表格中增加所述新增目标代码。
  17. 根据权利要求15所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时所实现的所述当目标列头信息以及所述初始列头信息不匹配时,则获取匹配失败的当前列头信息,包括:
    当检测到所述目标列头信息与所述初始列头信息相比信息量减少时,获取删减的列头信息;及
    所述计算机可读指令被所述处理器执行时所实现的所述生成与所述当前列头信息对应的目标代码,并根据所述目标代码修改所述初始代码表,包括:
    根据所述删减的列头信息获取对应的删减目标代码,并在所述初始代码表格中删除所述删减目标代码。
  18. 根据权利要求15所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时所实现的所述初始代码表的生成方式,包括:
    获取所述初始列头信息对应的初始校验规则以及规格信息;及
    获取预设代码格式,根据所述预设代码格式、所述初始列头信息、规格信息及初始校验规则生成初始代码表。
  19. 根据权利要求18所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:
    获取所述当前列头信息对应的新增校验规则;
    检测所述新增校验规则与所述初始校验规则是否存在规则冲突;
    当所述新增校验规则与所述校验规则存在规则冲突时,删除存在规则冲突的初始校验规则;及
    所述计算机可读指令被所述处理器执行时所实现的所述根据预设代码格式、所述初始列头信息、规格信息及初始校验规则生成初始代码表,包括:
    根据预设代码格式、所述初始列头信息、规格信息、删除后的初始校验规则及新增校验规则生成初始代码表。
  20. 根据权利要求19所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时所实现的所述获取预设代码格式,根据所述预设代码格式将所述初始列头信息、规格信息及初始校验规则生成初始代码表,包括:
    获取历史代码表,提取所述历史代码表对应的目标代码格式;及
    根据所述目标代码格式、所述初始列头信息、规格信息及初始校验规则生成初始代码表。
PCT/CN2019/118376 2019-01-28 2019-11-14 电子表格数据处理方法、装置、计算机设备和存储介质 WO2020155771A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910082337.4A CN109902272B (zh) 2019-01-28 2019-01-28 电子表格数据处理方法、装置、计算机设备和存储介质
CN201910082337.4 2019-01-28

Publications (1)

Publication Number Publication Date
WO2020155771A1 true WO2020155771A1 (zh) 2020-08-06

Family

ID=66944319

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118376 WO2020155771A1 (zh) 2019-01-28 2019-11-14 电子表格数据处理方法、装置、计算机设备和存储介质

Country Status (2)

Country Link
CN (1) CN109902272B (zh)
WO (1) WO2020155771A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109902272B (zh) * 2019-01-28 2024-02-06 平安科技(深圳)有限公司 电子表格数据处理方法、装置、计算机设备和存储介质
CN110705226A (zh) * 2019-08-22 2020-01-17 平安科技(深圳)有限公司 电子表格的创建方法、装置及计算机设备
CN112966481B (zh) * 2019-12-13 2023-09-29 北京懿医云科技有限公司 一种数据表格展示方法及装置
CN113312881B (zh) * 2021-05-06 2024-04-05 上海移远通信技术股份有限公司 频段信息转换方法及装置、电子设备和计算机存储介质
CN113254520B (zh) * 2021-06-03 2021-09-21 武汉众邦银行股份有限公司 一种处理征信数据漏报并自动生成补充报文的方法
CN115757423B (zh) * 2022-11-29 2024-01-30 中诚智信工程咨询集团股份有限公司 工程造价数据修正方法、系统、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140372906A1 (en) * 2013-06-15 2014-12-18 Microsoft Corporation Application/Document Collaboration in a Multi-Device Environment
CN109062925A (zh) * 2018-06-06 2018-12-21 中国平安人寿保险股份有限公司 自动生成insert语句的方法、装置、计算机设备及存储介质
CN109271411A (zh) * 2018-09-28 2019-01-25 中国平安财产保险股份有限公司 报表生成方法、装置、计算机设备及存储介质
CN109902272A (zh) * 2019-01-28 2019-06-18 平安科技(深圳)有限公司 电子表格数据处理方法、装置、计算机设备和存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298517B (zh) * 2014-07-08 2018-03-02 中标软件有限公司 一种软件更新方法及系统
CN109062883B (zh) * 2018-07-18 2022-07-26 平安科技(深圳)有限公司 数据表动态导出方法、装置、计算机设备及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140372906A1 (en) * 2013-06-15 2014-12-18 Microsoft Corporation Application/Document Collaboration in a Multi-Device Environment
CN109062925A (zh) * 2018-06-06 2018-12-21 中国平安人寿保险股份有限公司 自动生成insert语句的方法、装置、计算机设备及存储介质
CN109271411A (zh) * 2018-09-28 2019-01-25 中国平安财产保险股份有限公司 报表生成方法、装置、计算机设备及存储介质
CN109902272A (zh) * 2019-01-28 2019-06-18 平安科技(深圳)有限公司 电子表格数据处理方法、装置、计算机设备和存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LU, DE-SHAN; CHEN, YAN-HUI: "Development of General Data Query System Based on PHP and Spreadsheet", VALUE ENGINEERING, no. 22, 31 December 2016 (2016-12-31), CN, pages 195 - 197, XP009522468, DOI: 10.14018/j.cnki.cn13-1085/n.2016.22.077 *

Also Published As

Publication number Publication date
CN109902272A (zh) 2019-06-18
CN109902272B (zh) 2024-02-06

Similar Documents

Publication Publication Date Title
WO2020155771A1 (zh) 电子表格数据处理方法、装置、计算机设备和存储介质
WO2020186786A1 (zh) 文件处理方法、装置、计算机设备和存储介质
CN108509485B (zh) 数据的预处理方法、装置、计算机设备和存储介质
CN111177302B (zh) 业务单据处理方法、装置、计算机设备和存储介质
CN110990390B (zh) 数据协同处理方法、装置、计算机设备和存储介质
WO2020168755A1 (zh) 数据库操作控制方法、装置、计算机设备和存储介质
CN110795171B (zh) 业务数据处理方法、装置、计算机设备及存储介质
CN112286934A (zh) 数据库表导入方法、装置、设备及介质
CN113849524B (zh) 一种数据处理方法及装置
CN115544007A (zh) 标签预处理方法、装置、计算机设备和存储介质
CN112835886A (zh) 数据表字段添加方法和装置
CN112783866A (zh) 数据读取方法、装置、计算机设备和存储介质
CN112463783A (zh) 索引数据监控方法、装置、计算机设备和存储介质
CN114528045B (zh) 插件操作方法、装置、计算机设备和存储介质
CN111046241B (zh) 用于流式图处理的图存储方法及装置
CN116910069A (zh) 数据库更新方法、装置、计算机设备和存储介质
CN111143384B (zh) 实体属性的更新方法、装置、设备及可读介质
CN116975072A (zh) 数据处理方法、装置、计算机设备和存储介质
CN117216164A (zh) 金融数据同步处理方法、装置、设备、介质和程序产品
CN117369895A (zh) 快捷方式生成方法、装置、计算机设备和存储介质
CN113918593A (zh) 识别金融数据异常的方法及装置、存储介质、计算设备
CN114780561A (zh) 实体属性的编辑方法、装置、计算机设备、存储介质
CN116910115A (zh) 客群查询方法、装置、计算机设备和存储介质
CN116664270A (zh) 同一对象的确定方法、装置、设备、存储介质和产品
CN117971850A (zh) 一种保持数据一致性的方法、装置、设备及介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19912491

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19912491

Country of ref document: EP

Kind code of ref document: A1