WO2020186786A1 - 文件处理方法、装置、计算机设备和存储介质 - Google Patents
文件处理方法、装置、计算机设备和存储介质 Download PDFInfo
- Publication number
- WO2020186786A1 WO2020186786A1 PCT/CN2019/117942 CN2019117942W WO2020186786A1 WO 2020186786 A1 WO2020186786 A1 WO 2020186786A1 CN 2019117942 W CN2019117942 W CN 2019117942W WO 2020186786 A1 WO2020186786 A1 WO 2020186786A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- data
- target
- template
- name
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
Definitions
- This application relates to a file processing method, device, computer equipment and storage medium.
- a file processing method, device, computer device, and storage medium are provided.
- a target file processing method including:
- the target data is added to the data table corresponding to the file type information.
- a target file processing device including:
- the data receiving module is used to receive the target file and file type information uploaded by the terminal through the data management system;
- the file matching module is configured to extract a first file name from the target file, and determine whether the first file name matches the file type information, and the first file name is uniformly configured by the data management system;
- a rule obtaining module configured to obtain a data reading strategy corresponding to the first service identifier when it is determined that the first file name matches the file type information
- a data reading module configured to read target data from the target file according to the data reading strategy, and perform data verification on the target data
- the data adding module is used to add the target data to the data table corresponding to the file type information when the data verification is successful.
- a computer device including a memory and one or more processors, the memory stores computer readable instructions, when the computer readable instructions are executed by the processor, the one or more processors execute The following steps:
- the target data is added to the data table corresponding to the file type information.
- One or more non-volatile computer-readable storage media storing computer-readable instructions.
- the one or more processors execute the following steps:
- the target data is added to the data table corresponding to the file type information.
- Fig. 1 is an application scenario diagram of a file processing method according to one or more embodiments.
- Fig. 2 is a schematic flowchart of a file processing method according to one or more embodiments.
- Fig. 3 is a schematic flowchart of a file processing method in another embodiment.
- Fig. 4 is a structural block diagram of a file processing device according to one or more embodiments.
- Fig. 5 is an internal structure diagram of a computer device according to one or more embodiments.
- the file 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 through the network.
- the terminal 102 sends the target file uploaded by the user and the file type information selected by the user to the server 104 through the data management system.
- the server 104 extracts the first file name from the received target file, and judges whether the first file name matches the file type information; When it is determined that the first file name matches the file type information, obtain the data reading strategy containing the file data storage information corresponding to the file type information; read the target data from the target file according to the data reading strategy, and perform data processing on the target data Verification: When the data verification is successful, the target data is added to the data table corresponding to the file type information.
- 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.
- a file processing method is provided. Taking the method applied to the server 104 in FIG. 1 as an example, the method includes the following steps:
- Step 210 Receive the target file and file type information uploaded by the terminal through the data management system.
- the data management system is used to uniformly manage and maintain the user’s business data. A large amount of business data will be generated in daily business work. When there is new business data or when business data changes, users will add or change
- the business data is uploaded to the data management system in the form of data files. For example, it can be uploaded regularly every day or when there is a data update requirement.
- the user can upload the target file through the data management system on the terminal.
- the user can select the service type of the uploaded file through the system page.
- the terminal generates file type information according to the service type selected by the user, and combines the target file with the file type.
- the information is sent to the server, and the server receives the target file and file type information sent by the terminal.
- the file type of the target file may be excel, txt, csv, etc.
- the file type information may include service type information, such as a service identifier used to identify the type of service, or user information, such as a user identifier, a department identifier of a department to which the user belongs, and so on.
- the terminal can obtain the user information of the currently logged-in user, and generate file type information according to the service type information and the user information.
- Step 220 Extract the first file name from the target file, and determine whether the first file name matches the file type information, and the first file name is uniformly configured by the data management system.
- the server extracts the first file name of the target file.
- the file name of the target file uploaded through the terminal’s data management system is generated by the data management system according to the user’s selected service type and user information.
- the file name contains at least the service identifier of the service type, and the service identifier is set in the file name. At the preset character position.
- the server extracts the service identifier from the preset character position of the first file name, and extracts the service type information from the received file type.
- the service type information may be the service identifier or other information indicating the service type, for example, Other types of information such as business name and business code,
- mapping relationship between the information and the service identifier can be stored in the server in advance.
- the server judges whether the extracted service ID matches the service type information, and judges whether the target file of the user target is correct according to the file name of the target file and the service type of the file selected by the user, and avoids unnecessary data reading when the user targets the wrong file jobs.
- the server determines that the first file name does not match the file type information
- the server generates a file target error prompt and returns it to the terminal, and the terminal displays the file target error prompt for the user to retarget the file or modify the service type of the file to ensure The accuracy of the target file.
- Step 230 When the first file name matches the file type information, obtain a data reading strategy corresponding to the file type information.
- the server determines that the first file name matches the file type information
- the server extracts the service type from the file type information, and searches for a data reading strategy corresponding to the service type.
- the data storage information in the target file corresponding to various service types is determined in advance, and the server sets the data reading strategy of the data in the file according to the data storage information of the file.
- the file data storage information may include the field names of the file fields included in the file, the position information of the column where each file field is located, the data format information of the file field values, and the data title of the file.
- the location information may include the column number of the column where the field is located, the arrangement order of the field, etc.
- the data format information may include the data length of the field value, and the data type such as text, character string, etc.
- the data reading strategy can determine the reading order of each file field according to the file data storage information. For example, the arrangement order of the file field columns can be used as the reading order, and the data verification method of each file field can be determined, such as corresponding to each file field The content of the field, the field attribute and the data format of the field are checked for data, etc.
- the data reading strategy can also include other reading-related logic strategies.
- Step 240 Read the target data from the target file according to the data reading strategy, and perform data verification on the target data.
- the server reads the file field value line by line from the target file according to the data reading strategy to form multiple data records, and performs data verification on each file field value according to the data format of each file field to determine the data length of the file field value , Data type and other formats conform to the preset data format. If each file field value in each record conforms to the preset data format, the data record is verified successfully; if there is a file field value that does not conform to the preset data format in the data record, the record data is verified The test failed.
- the server when it has read all data records, it can generate an upload error report based on the data records that have failed verification.
- the upload error report can include the line number of the error record in the target file and the reason for the error such as "The length does not meet the requirements. ", "Data type error, etc.”, the server returns the generated upload error report to the terminal.
- Step 250 When the data verification succeeds, the target data is added to the data table corresponding to the file type information.
- the server searches the data table corresponding to the file type information.
- the data table can be stored in the database of the server's data management platform and classified according to the file type.
- the server generates multiple data tables according to the classification of the file. For example, the data table can be marked according to the business type, or it can be classified according to the business type. After classification, the data table is subdivided according to user information such as the user's department and group. After the server finds the corresponding data table from the database of the data management platform, it adds the read data record to the corresponding data table, thereby completing the data reading work of the target file.
- the server when there is a data record that fails the verification in the target file, the server adds the data record that is successfully verified to the corresponding data table, and checks the target file name, error record line number, upload time, etc. The information is recorded so that the modified target file number is uploaded on the terminal.
- the server can read the modified data record from the re-uploaded file according to the recorded error data record and re-verify it. When the verification is successful, it will The modified data record is added to the corresponding data table at the data location corresponding to the upload time.
- the user needs to upload the file type information at the same time when uploading the file on the terminal.
- the server can judge whether the file uploaded by the user is correct according to the received file type information, so as to prevent the user from uploading the wrong file and continue to read the wrong data to determine that the file upload is accurate Then, the pre-set data reading strategy corresponding to the file type information is obtained.
- the data reading strategy the data storage information in the uploaded file can be predicted.
- the target data can be directly read from the uploaded file without Then the data content in the file is identified and integrated, so as to effectively improve the data reading efficiency of the uploaded target file.
- the server may further include the following steps before receiving the target file and file type information uploaded by the terminal through the data management system:
- Step 202 Receive a template download request sent by the terminal, where the template download request carries the first service identifier and the first user identifier.
- the terminal Before uploading a file to the terminal, the user needs to use the file template specified by the data management system and use the file template to enter data.
- the terminal s data management system can provide a template download function.
- the user selects the service type of the file template to be downloaded on the page and selects the file download function button to generate the first service identification carrying the service type selected by the user and log in
- the terminal sends the template download request to the server.
- the server After receiving the template download request, the server reads the first service ID and the first user ID from the request.
- Step 204 Search for a file template corresponding to the first service identifier.
- each business type corresponds to a file template.
- the file template defines the data fields that need to be entered, the arrangement information of each field, and the title of the file. Further, the data format of each field column can be set in the file template, and the format of the entered data can be automatically verified when the user enters the data, which saves the data format verification work during data reading.
- the file template is marked according to the service identifier of the corresponding service type, and the server searches for the file template corresponding to the first service identifier.
- Step 206 Generate a second file name according to the first service ID and the first user ID.
- the naming rule of the file template is also set in advance.
- the naming includes fixed information of the service ID and the user ID. The two parts of information cannot be changed after the user downloads, so that the user can upload files according to the file name. Self-check whether the uploaded file is correct.
- the server generates a second file name according to the first service identifier and the first user identifier.
- Step 208 Generate a file template according to the file template and the second file name, and return the file template to the terminal.
- the server names the file template according to the second file name, and returns the named file template to the terminal.
- the file template may also be stored on the terminal, and the file template is directly obtained locally from the terminal.
- generating the file template according to the file template and the second file name may include: searching for the department number corresponding to the first user ID; searching for the restricted data category corresponding to the department number; processing the file template according to the restricted data category, Generate a file template according to the processed file template and the second file name.
- the server stores the restricted data of each department of each business in advance, and can specifically store the mapping relationship between the department number and each restricted field in the restricted data.
- the server searches for the department number corresponding to the first user ID, and searches for the restricted data corresponding to the department number, obtains each restricted field in the restricted data, and hides the corresponding field column in the file template according to the restricted field or deletes the setting , And name the processed file template according to the second file name.
- the same file template can be implemented to meet the business data requirements of multiple business departments.
- adding the target data to the data table corresponding to the file type information may include: extracting the second service ID and the second user ID from the file type information; searching the service data table corresponding to the second service ID; Obtain the upload time of the target file; add the target data to the position corresponding to the second user identifier and the upload time in the business data table.
- the server extracts the second service identifier and the second user identifier of the uploaded file from the file type information.
- the "second" is used here to distinguish from the "first” in the above embodiment.
- the target file uploaded by the user here can be a file in which data is entered through the file template downloaded in the above embodiment, or It may be a file in which data is entered through other file templates, that is, the first service ID and the second service ID, and the first user ID and the second user ID may be the same or different.
- the data belonging to the same business type is summarized in a data table, and the server looks up the data table corresponding to the first business ID.
- the data table can be divided into multiple data sub-tables according to the business department.
- the data sub-table can be arranged according to the user ID. , Store the data of the same user together and sort them in chronological order.
- the server searches the data sub-table corresponding to the department to which the user identification belongs, and the data in the data sub-table is marked according to the upload time of the file, and the uploaded data is marked according to the upload time.
- the server obtains the upload time of the uploaded file. If the uploaded file is re-modified, the upload time is the first upload time of the file, and the server adds the uploaded data to the location corresponding to the upload time in the data sub-table.
- reading the target data from the target file according to the data reading strategy and performing data verification on the target data may include: obtaining file data storage information from the data reading strategy; Find the first file field whose data type is the system type in the target data, and read the first file field name and first file field value of the first file field; find the system data corresponding to the first file field name; change the first file field The values are matched with the system data one by one; when all the first file field values match the system data successfully, the data verification is successful.
- the data reading strategy includes file data storage information.
- the file data storage information can include the field names of the file fields included in the file, the position information of each file field column, and the data format information of the file field value, such as data type and file information. Information such as data titles.
- the server obtains the file data storage information in the data reading strategy.
- the data type of the file field in the uploaded file is classified according to the numerical characteristics of the field value. It can be divided into ordinary type, system type, non-heavy type, etc., if there is no special numerical requirement, it can be classified as ordinary type.
- the server configures the data type of each data field in the file template in advance, the server obtains the data type of each file field, and judges whether there is a data type of the system type.
- the data of the system type is the fixed system data in the data management system, such as product name, product code, etc. Because the product in the business is determined, the product name and product code are also determined. These data are stored in the database in advance. When data is updated, such as when a product is added, the corresponding system data in the database is also updated accordingly.
- the server finds whether there is a file field of the system type in the target data of the file.
- the server obtains the first file field name and the first file of the file field Field value, and find the system data corresponding to the first file field name, and match the first file field value with the found system data one by one. If the consistent system data is found, the matching is successful. When all file field values are equal
- the match is successful, the file field verification is successful. For example, if there is a product name field in the uploaded file, the server compares the corresponding field value with the product name data in the system data. When the product name exceeds the system data range, it indicates that the user may enter the data incorrectly and the data verification fails.
- reading the target data from the target file according to the data reading strategy and performing data verification on the target data may include: obtaining file data storage information from the data reading strategy; Find the second file field whose data type is non-heavy type in the target data, and read the second file field value of the second file field; determine whether there are duplicate values in the second file field value; when determining the second file field value When there is no repeated value, the data verification is successful.
- the data reading strategy includes file data storage information.
- the file data storage information can include the field names of the file fields included in the file, the position information of each file field column, and the data format information of the file field value, such as data type and file information. Information such as data titles.
- the server obtains the file data storage information in the data reading strategy.
- the field values of non-retyped file fields should not have duplicate values, such as a customer's mobile phone number field, and the data entered by the user cannot have the same mobile phone number of two customers.
- the server obtains the data type of each file field and judges whether there is a non-heavy type data type. According to the file data storage information, the server finds whether there is a non-heavy file field in the target data of the file. When a non-heavy second file field exists, the server obtains all the second file fields in the second file field. File field values, and compare the second file field values in pairs to determine whether there are duplicate field values. When there is no duplicate field value in the second file field value, check the second file field data Success; otherwise, the verification of the file field data fails.
- the same file field can correspond to multiple data types, such as system type or non-heavy type. In this case, both need to be verified according to the data verification method corresponding to the system type. It needs to be verified according to the data verification method corresponding to the non-heavy type.
- a target file processing device which includes: a data receiving module 410, a file matching module 420, a rule acquisition module 430, a data reading module 440, and a data adding module 450, among them:
- the data receiving module 410 is used to receive the target file and file type information uploaded by the terminal through the data management system.
- the file matching module 420 is configured to extract a first file name from the target file, and determine whether the first file name matches the file type information, and the first file name is uniformly configured by the data management system.
- the rule obtaining module 430 is configured to obtain the data reading strategy corresponding to the first service identifier when it is determined that the first file name matches the file type information.
- the data reading module 440 is configured to read target data from the target file according to the data reading strategy, and perform data verification on the target data.
- the data adding module 450 is configured to add the target data to the data table corresponding to the file type information when the data verification is successful.
- the file processing apparatus may further include:
- the request receiving module is configured to receive a template download request sent by the terminal, and the template download request carries the first service identifier and the first user identifier.
- the template search module is used to search for the file template corresponding to the first business identifier.
- the file name generating module is used to generate a second file name according to the first service identifier and the first user identifier.
- the template generation module is used to generate a file template according to the file template and the second file name, and return the file template to the terminal.
- the template generation module may further include:
- the number search unit is used to search for the department number corresponding to the first user ID.
- Restricted category search unit used to find the restricted data category corresponding to the department number.
- the template processing unit is used to process the file template according to the restricted data category, and generate the file template according to the processed file template and the second file name.
- the data adding module 450 may include:
- the identification extraction unit is used to extract the second service identification and the second user identification from the file type information.
- the data table searching unit is used for searching the business data table corresponding to the second service identifier.
- the time obtaining unit is used to obtain the upload time of the target file.
- the adding unit is used to add the target data to the position corresponding to the second user identifier and the upload time in the service data table.
- the data reading module 440 may include:
- An information reading unit configured to obtain file data storage information from the data reading strategy
- the field data acquisition unit is configured to search for the first file field whose data type is the system type from the target data according to the file data storage information, and read the first file field name and the first file of the first file field Field value.
- the system data searching unit is used for searching the system data corresponding to the first file field name.
- the data matching unit is used to perform data matching between the field values of the first file and the system data one by one.
- the first verification unit is configured to verify the data successfully when all the field values of the first file are successfully matched with the system data.
- the data reading module 440 may include:
- An information reading unit configured to obtain file data storage information from the data reading strategy
- the field value obtaining unit is configured to search for a second file field whose data type is non-heavy type from the target data according to the file data storage information, and read the second file field value of the second file field.
- the non-re-judgment unit is used to judge whether there are duplicate values in the second file field value.
- the second verification unit is used to verify the data successfully when it is determined that there is no repeated value in the field value of the second file.
- Each module in the above-mentioned file processing device can be implemented in whole or in part by software, hardware, and a combination thereof.
- the foregoing modules may be embedded in the form of hardware or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the foregoing 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 through 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 computer readable instruction storage medium and internal memory.
- the non-volatile computer-readable instruction 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 computer-readable instruction storage medium.
- the database of the computer equipment is used to store data related to processing of uploaded files.
- the network interface of the computer device is used to communicate with an external terminal through a network connection.
- the computer readable instruction is executed by the processor to realize an uploaded file 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 fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
- a computer device includes a memory and one or more processors.
- the memory stores computer-readable instructions.
- the one or more processors perform the following steps:
- the target data is added to the data table corresponding to the file type information.
- the processor further implements the following steps when executing the computer-readable instructions: receiving a template download request sent by the terminal, the template download request carrying the first service identifier and the first user identifier; File template; generate a second file name based on the first service identifier and the first user identifier; generate a file template based on the file template and the second file name, and return the file template to the terminal.
- the processor when the processor executes the computer-readable instructions to implement the step of generating the file template according to the file template and the second file name, it is also used to: find the department number corresponding to the first user ID; find the restricted data corresponding to the department number Class; and process the file template according to the restricted data class, and generate the file template according to the processed file template and the second file name.
- the processor when the processor executes the computer-readable instruction to implement the step of adding the target data to the data table corresponding to the file type information, it is also used to: extract the second service identifier and the second user identifier from the file type information ; Find the business data table corresponding to the second business identifier; obtain the upload time of the target file; and add the target data to the position corresponding to the second user identifier and the target time in the business data table.
- the processor executes the computer-readable instructions to read the target data from the target file according to the data read strategy, and is also used to: read the data from the target data.
- Obtain file data storage information in the strategy find the first file field whose data type is the system type from the target data according to the file data storage information, and read the first file field name and first file field value of the first file field; find the first file field System data corresponding to a file field name; data matching of the first file field values with the system data one by one; and when all the first file field values are successfully matched with the system data, the data verification is successful.
- the step of reading the target data from the target file according to the data reading strategy and performing data verification on the target data is also used to: read from the data Obtain file data storage information in the fetch strategy; find the second file field whose data type is non-heavy type from the target data according to the file data storage information, and read the second file field value of the second file field; determine the second file field Whether there is a repeated value in the value; and when it is determined that there is no repeated value in the second file field value, the data verification is successful.
- One or more non-volatile computer-readable storage media storing computer-readable instructions.
- the one or more processors execute the following steps:
- Extract the first file name from the target file determine whether the first file name matches the file type information, the first file name is uniformly configured by the data management system; when the first file name matches the file type information, obtain The data read strategy corresponding to the file type information; read the target data from the target file according to the data read strategy, and perform data verification on the target data; and when the data verification is successful, add the target data to the file type information correspondence In the data sheet.
- the following steps are also implemented: receiving a template download request sent by the terminal, the template download request carrying the first service identifier and the first user identifier; and finding the corresponding first service identifier Generate a second file name according to the first service ID and the first user ID; and generate a file template according to the file template and the second file name, and return the file template to the terminal.
- the step of generating a file template according to the file template and the second file name is also used to: find the department number corresponding to the first user ID; find the restriction corresponding to the department number Data category; and process the file template according to the restricted data category, and generate the file template according to the processed file template and the second file name.
- the computer-readable instruction when executed by the processor to implement the step of adding the target data to the data table corresponding to the file type information, it is also used to: extract the second service identifier and the second service identifier from the file type information.
- User identification look up the business data table corresponding to the second business identification; obtain the target time of the target file; and add the target data to the position corresponding to the second user identification and the target time in the business data table.
- the step of reading the target data from the target file according to the data reading strategy and performing data verification on the target data is also used to: Obtain file data storage information in the read strategy; find the first file field whose data type is the system type from the target data according to the file data storage information, and read the first file field name and first file field value of the first file field; Find the system data corresponding to the first file field name; match the first file field values with the system data one by one; and when all the first file field values match the system data successfully, the data verification is successful.
- the step of reading the target data from the target file according to the data reading strategy and performing data verification on the target data is also used to: Obtain file data storage information in the reading strategy; find the second file field whose data type is non-heavy type from the target data according to the file data storage information, and read the second file field value of the second file field; determine the second file Whether there is a repeated value in the field value; and when it is determined that there is no repeated value in the second file field value, the data verification is successful.
- 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)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
一种文件处理方法, 包括: 接收终端通过数据管理系统上传的文件和文件类型信息; 从目标文件中提取第一文件名, 判断第一文件名与文件类型信息是否匹配, 第一文件名由所述数据管理系统统一配置; 当第一文件名与文件类型信息匹配时, 获取文件类型信息对应的数据读取策略; 根据数据读取策略从目标文件中读取目标数据, 并对目标数据进行数据校验; 当数据校验成功时, 将目标数据添加至文件类型信息对应的数据表中.
Description
相关申请的交叉引用
本申请要求于2019年03月20日提交中国专利局、申请号为2019102125269、发明名称为“文件处理方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及一种文件处理方法、装置、计算机设备和存储介质。
随着信息时代的不断发展,目前各公司、机构都有专门的数据管理系统对工作数据进行存储管理,并且日常工作中产生的大量数据需要上传至数据管理系统。
然而,发明人意识到,目前,在对用户上传的excel等类型的数据文件进行解析处理时,由于无法预知上传文件所包含的数据内容,需要逐行读取上传文件中的数据,并对数据格式进行识别,需要浪费大量的资源空间,并且数据处理速度很慢。
发明内容
根据本申请公开的各种实施例,提供一种文件处理方法、装置、计算机设备和存储介质。
一种目标文件处理方法,包括:
接收终端通过数据管理系统上传的目标文件和文件类型信息;
从所述目标文件中提取第一文件名,判断所述第一文件名与所述文件类型信息是否匹配,所述第一文件名由所述数据管理系统统一配置;
当所述第一文件名与所述文件类型信息匹配时,获取所述第一业务标识对应的数据读取策略;
根据所述数据读取策略从所述目标文件中读取目标数据,并对所述目标数据进行数据校验;及
当数据校验成功时,将所述目标数据添加至所述文件类型信息对应的数据表中。
一种目标文件处理装置,包括:
数据接收模块,用于接收终端通过数据管理系统上传的目标文件和文件类型信息;
文件匹配模块,用于从所述目标文件中提取第一文件名,判断所述第一文件名与所述文件类型信息是否匹配,所述第一文件名由所述数据管理系统统一配置;
规则获取模块,用于当判定所述第一文件名与所述文件类型信息匹配时,获取所述第一业务标识对应的数据读取策略;
数据读取模块,用于根据所述数据读取策略从所述目标文件中读取目标数据,并对所述目标数据进行数据校验;及
数据添加模块,用于当数据校验成功时,将所述目标数据添加至所述文件类型信息对应的数据表中。
一种计算机设备,包括存储器和一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述一个或多个处理器执行以下步骤:
接收终端通过数据管理系统上传的目标文件和文件类型信息;
从所述目标文件中提取第一文件名,判断所述第一文件名与所述文件类型信息是否匹配,所述第一文件名由所述数据管理系统统一配置;及
当所述第一文件名与所述文件类型信息匹配时,获取所述第一业务标识对应的数据读取策略;
根据所述数据读取策略从所述目标文件中读取目标数据,并对所述目标数据进行数据校验;及
当数据校验成功时,将所述目标数据添加至所述文件类型信息对应的数据表中。
一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:
接收终端通过数据管理系统上传的目标文件和文件类型信息;
从所述目标文件中提取第一文件名,判断所述第一文件名与所述文件类型信息是否匹配,所述第一文件名由所述数据管理系统统一配置;及
当所述第一文件名与所述文件类型信息匹配时,获取所述第一业务标识对应的数据读取策略;
根据所述数据读取策略从所述目标文件中读取目标数据,并对所述目标数据进行数据 校验;及
当数据校验成功时,将所述目标数据添加至所述文件类型信息对应的数据表中。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为根据一个或多个实施例中文件处理方法的应用场景图。
图2为根据一个或多个实施例中文件处理方法的流程示意图。
图3为另一个实施例中文件处理方法的流程示意图。
图4为根据一个或多个实施例中文件处理装置的结构框图。
图5为根据一个或多个实施例中计算机设备的内部结构图。
为了使本申请的技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请提供的文件处理方法,可以应用于如图1所示的应用环境中。终端102通过网络与服务器104通过网络进行通信。终端102通过数据管理系统向服务器104发送用户上传的目标文件和用户选择的文件类型信息,服务器104从接收的目标文件中提取出第一文件名,判断第一文件名与文件类型信息是否匹配;当判定第一文件名与文件类型信息匹配时,获取文件类型信息对应的包含文件数据存储信息的数据读取策略;根据数据读取策略从目标文件中读取目标数据,并对目标数据进行数据校验;当数据校验成功时,将目标数据添加至文件类型信息对应的数据表中。
终端102可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,服务器104可以用独立的服务器或者是多个服务器组成的服务器集群来实现。
在其中一个实施例中,如图2所示,提供了一种文件处理方法,以该方法应用于图1中的服务器104为例进行说明,方法包括以下步骤:
步骤210,接收终端通过数据管理系统上传的目标文件和文件类型信息。
数据管理系统用于统一管理维护用户的业务数据,每天的业务工作中会产生大量的业务数据,当有新增的业务数据时,或是业务数据发生变化时,用户会将新增或改变的业务数据以数据文件的形式上传至数据管理系统,如可以每日定时上传,也可以在有数据更新需求时上传。
用户可以通过终端上的数据管理系统上传目标文件,用户在上传目标文件时可以通过系统页面选择上传文件所属业务的业务类型,终端根据用户选择的业务类型生成文件类型信息,将目标文件和文件类型信息发送给服务器,服务器接收终端发送的目标文件和文件类型信息。
具体地,目标文件的文件类型可以为excel、txt、csv等类型。文件类型信息中可以包括业务类型信息,如用于标识业务类型的业务标识,也可以包括用户信息,如用户标识、用户所属部门的部门标识等等。终端可以获取当前登录用户的用户信息,根据业务类型信息和用户信息生成文件类型信息。
步骤220,从目标文件中提取第一文件名,判断第一文件名与文件类型信息是否匹配,所述第一文件名由所述数据管理系统统一配置。
服务器提取目标文件的第一文件名。通过终端的数据管理系统上传的目标文件,其文件名由数据管理系统根据用户选择的业务类型及用户信息等统一配置生成,文件名中至少包含业务类型的业务标识,业务标识设置在文件名中的预设字符位置处。
服务器从第一文件名的预设字符位置处提取出业务标识,并从接收的文件类型中提取出业务类型信息,业务类型信息可以为业务标识、也可以为其他表示业务类型的信息,例如,业务名称、业务代码等其他类型的信息,
若是其他表示业务类型的信息,信息与业务标识之间的映射关系可以预先存储在服务器中。
服务器判断提取出的业务标识与业务类型信息是否匹配,从而根据目标文件的文件名和用户选择的文件的业务类型判断用户目标的目标文件是否正确,避免用户目标错误文件时进行不必要的数据读取工作。当服务器判定出第一文件名与文件类型信息不匹配时,服务器生成文件目标错误提示并返回给终端,终端将文件目标错误提示进行显示,以供用户 重新目标文件或修改文件的业务类型,保证目标文件的准确性。
步骤230,当第一文件名与文件类型信息匹配时,获取文件类型信息对应的数据读取策略。
当服务器判定出第一文件名与文件类型信息匹配时,服务器从文件类型信息中提取出业务类型,查找与业务类型对应的数据读取策略。在本实施例中,各种业务类型对应的目标文件中的数据存储信息是事先确定的,服务器根据文件的数据存储信息设定文件中数据的数据读取策略。
文件数据存储信息可以包括文件中包括的文件字段的字段名,各文件字段所处列的位置信息、文件字段值的数据格式信息及文件的数据标题等信息。其中,位置信息可以包括字段所在列的列号、字段的排列顺序等,数据格式信息可以包括字段值的数据长度、数据类型如文本、字符串等。
数据读取策略可以根据文件数据存储信息确定各文件字段的读取顺序,如可以将文件字段列的排列顺序作为读取顺序,以及确定各文件字段的数据校验方法,如根据各文件字段对应的字段内容、字段属性及字段的数据格式等进行数据校验等,数据读取策略还可以包括其他与读取相关的逻辑策略。
步骤240,根据数据读取策略从目标文件中读取目标数据,并对目标数据进行数据校验。
服务器根据数据读取策略从目标文件中逐行读取文件字段值则形成多条数据记录,并根据每个文件字段的数据格式对各文件字段值进行数据校验,判断文件字段值的数据长度、数据类型等格式是否符合预设数据格式。若每条记录中的各文件字段值均符合预设数据格式时,则对该数据记录校验成功;若数据记录中存在不符合预设数据格式的文件字段值时,则对该记录数据校验失败。
进一步地,服务器在读取完所有数据记录时,可以根据校验失败的数据记录生成上传错误报告,上传错误报告中可以包括错误记录在目标文件中的行号、错误原因如“长度不符合要求”、“数据类型错误等”,服务器将生成的上传错误报告返回给终端。
步骤250,当数据校验成功时,将目标数据添加至文件类型信息对应的数据表中。
当目标文件中所有文件字段的字段值均校验成功时,服务器查找文件类型信息对应的数据表。数据表可以存储于服务器的数据管理平台的数据库中,并根据文件类型进行分类,服务器根据文件的分类类别生成多张数据表,如可以根据业务类型对数据表进行标记,也 可以在根据业务类型进行分类后,再根据用户信息如用户所在部门、组别等对数据表进行细分。服务器从数据管理平台的数据库中查找到对应的数据表后,将读取的数据记录添加至相应的数据表中,从而完成目标文件的数据读取工作。
在另一个实施例中,当目标文件中存在校验失败的数据记录时,服务器将校验成功的数据记录添加至相应的数据表中,并对目标文件名称、错误记录行号、上传时间等信息进行记录,从而在终端上传修改后的目标文件号,服务器可以根据记录的错误数据记录的信息从重新上传的文件中读取修改后的数据记录并重新校验,当校验成功时,将修改后的数据记录添加至相应的数据表中与上传时间对应的数据位置处。
上述方法中,用户在终端上传文件时需同时上传文件类型信息,服务器根据接收的文件类型信息可以判断用户上传的文件是否正确,避免用户上传错误文件还继续读取错误数据,判定出文件上传准确后,获取与文件类型信息对应的事先设定的数据读取策略,根据数据读取策略可以预知上传文件内各数据存储信息,根据数据读取策略可以直接从上传文件中读取目标数据,无需再对文件中的数据内容进行识别、整合等处理操作,从而有效提高上传的目标文件的数据读取效率。
在其中一个实施例中,如图3所示,服务器接收终端通过数据管理系统上传的目标文件和文件类型信息之前还可以包括以下步骤:
步骤202,接收终端发送的模板下载请求,模板下载请求中携带第一业务标识和第一用户标识。
用户在向终端上传文件之前,需要使用数据管理系统规定的文件模板,使用文件模板录入数据。终端的数据管理系统上可以提供模板下载功能,用户在页面上选在需要下载的文件模板的业务类型,并选中文件下载功能按钮后,生成携带有用户选择的业务类型的第一业务标识以及登录用户的用户标识的模板下载请求,终端将模板下载请求发送给服务器,服务器接收模板下载请求后,从请求中读取第一业务标识和第一用户标识。
步骤204,查找第一业务标识对应的文件模板。
服务器中事先设定有多个文件模板,每种业务类型对应一个文件模板,文件模板中定义了需要录入的数据字段,各字段的排列信息,文件的标题等。进一步地,文件模板中还可以设定每一字段列的数据格式,在用户录入数据的时候可以自动对录入数据的格式进行校验,节省了数据读取时的数据格式校验工作。文件模板根据对应业务类型的业务标识进行标记,服务器查找与第一业务标识对应的文件模板。
步骤206,根据第一业务标识和第一用户标识生成第二文件名。
在本实施例中,文件模板的命名规则也是事先设定的,命名中包含业务标识和用户标识两部分固定信息,用户下载后对这两部分信息无法更改,从而方便用户上传文件时根据文件名对上传文件是否正确进行自检。服务器根据第一业务标识和第一用户标识生成第二文件名。
步骤208,根据文件模板和第二文件名生成文件模板,将文件模板返回给终端。
服务器根据第二文件名对文件模板进行命名,将命名后的文件模板返回给终端。在其他实施例中,文件模板也可以存储在终端上,直接从终端本地获取文件模板。
在其中一个实施例中,根据文件模板和第二文件名生成文件模板可以包括:查找第一用户标识对应的部门编号;查找部门编号对应的限制数据类;根据限制数据类对文件模板进行处理,根据处理后的文件模板和第二文件名生成文件模板。
对于同一种业务,不同部门的数据需求可能不同,如有的部门并非需要所有的数据字段,这些字段为限制类数据。每个业务部门对应的文件模板中包含了所有部门需要的数据字段,对于有特殊数据需求的部门,需要将文件模板中的限制类数据进行处理。
服务器中事先存储了每种业务的各部门的限制类数据,具体可以存储部门编号与限制类数据中各限制字段的映射关系。服务器查找第一用户标识对应的部门编号,并查找部门编号对应的限制类数据,获取限制类数据中的各限制字段,根据限制字段对文件模板中对应的字段列进行隐藏不可见设置或者删除设置,并根据第二文件名对处理后的文件模板进行命名。
在本实施例中,通过设置每个部门的限制类数据,可以实现同一文件模板满足多个业务部门的业务数据需求。
在其中一个实施例中,将目标数据添加至文件类型信息对应的数据表中可以包括:从文件类型信息中提取第二业务标识和第二用户标识;查找第二业务标识对应的业务数据表;获取目标文件的上传时间;将目标数据添加至业务数据表中第二用户标识和上传时间对应的位置。
服务器从文件类型信息中提取出上传文件的第二业务标识和第二用户标识。需要说明的是,这里采用“第二”是为了与上述实施例中的“第一”以示区分,这里用户上传的目标文件可以是通过上述实施例中下载的文件模板录入数据的文件,也可以是通过其他文件模板录入数据的文件,即第一业务标识与第二业务标识、第一用户标识和第二用户标识可 能相同也可能不同。
属于同一业务类型的数据汇总至一张数据表中,服务器查找第一业务标识对应的数据表,数据表可以根据业务部门划分为多张数据子表,数据子表中可以按用户标识进行数据排列,将同一用户的数据存储在一起,并按照时间先后顺序进行排序。服务器查找用户标识所属部门对应的数据子表,数据子表中的数据均根据文件的上传时间进行标注,并根据上传时间对上传数据标注。服务器获取上传文件的上传时间,若是重新修改上传的文件,上传时间为文件的首次上传时间,服务器将上传数据添加至数据子表中与上传时间对应的位置处。
在其中一个实施例中,根据数据读取策略从目标文件中读取目标数据,并对目标数据进行数据校验可以包括:从数据读取策略中获取文件数据存储信息;根据文件数据存储信息从目标数据中查找数据类型为系统类型的第一文件字段,并读取第一文件字段的第一文件字段名和第一文件字段值;查找第一文件字段名对应的系统数据;将第一文件字段值逐个与系统数据进行数据匹配;当所有的第一文件字段值均与系统数据匹配成功时,则数据校验成功。
数据读取策略中包含文件数据存储信息,文件数据存储信息可以包括文件中包括的文件字段的字段名,各文件字段所处列的位置信息、文件字段值的数据格式信息如数据类型及文件的数据标题等信息。服务器获取数据读取策略中的文件数据存储信息。
上传的文件中的文件字段的数据类型根据字段值的数值特点进行分类,可以分为普通类型、系统类型、非重类型等等,如没有特殊数值要求的就可以归为普通类型。服务器事先对文件模板中各数据字段的数据类型进行配置,服务器获取各文件字段的数据类型,并判断是否存在系统类型的数据类型。系统类型的数据为数据管理系统中固定的系统数据,如产品名称、产品编码等,因为业务中的产品是确定的,所以产品名称、产品编码也是确定的,这些数据事先存储在数据库中,当有数据更新时,如产品新增时,数据库中的对应的系统数据也相应更新。
服务器根据文件数据存储信息,查找该文件的目标数据中是否存在数据类型为系统类型的文件字段,当存在系统类型的第一文件字段时,服务器获取该文件字段的第一文件字段名和第一文件字段值,并查找与第一文件字段名对应的系统数据,将第一文件字段值逐个与查找到的系统数据进行匹配,若查找到一致的系统数据则匹配成功,当所有的文件字段值均匹配成功时则对该文件字段校验成功。例如,上传文件中存在产品名称字段,服务 器将对应的字段值与系统数据中的产品名称数据进行比较,当产品名称超出系统数据的范围,则表明用户可能录入数据有误,数据校验失败。
在其中一个实施例中,根据数据读取策略从目标文件中读取目标数据,并对目标数据进行数据校验可以包括:从数据读取策略中获取文件数据存储信息;根据文件数据存储信息从目标数据中查找数据类型为非重类型的第二文件字段,并读取第二文件字段的第二文件字段值;判断第二文件字段值中是否存在重复数值;当判定第二文件字段值中不存在重复数值时,则数据校验成功。
数据读取策略中包含文件数据存储信息,文件数据存储信息可以包括文件中包括的文件字段的字段名,各文件字段所处列的位置信息、文件字段值的数据格式信息如数据类型及文件的数据标题等信息。服务器获取数据读取策略中的文件数据存储信息。
非重类型的文件字段的字段值中不应出现互相重复的数值,如客户的手机号码字段,用户录入的数据中不能存在两个客户手机号码相同的情况。服务器获取各文件字段的数据类型,并判断是否存在非重类型的数据类型。服务器根据文件数据存储信息,查找该文件的目标数据中是否存在数据类型为非重类型的文件字段,当存在非重类型的第二文件字段时,服务器获取该第二文件字段中的所有第二文件字段值,并将第二文件字段值之间两两进行比较,判断是否存在重复的字段值,当第二文件字段值中不存在重复字段值时,则对该第二文件字段数据校验成功;反之,对该文件字段数据校验失败。
需要说明的是,同一文件字段可以对应多种数据类型,如既可以为系统类型也可以为非重类型,这种情况下,需要既需要根据系统类型对应的数据校验方法进行校验,也需要根据非重类型对应的数据校验方法进行校验。
应该理解的是,虽然图2-3的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-3中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
在其中一个实施例中,如图4所示,提供了一种目标文件处理装置,包括:数据接收模块410、文件匹配模块420、规则获取模块430、数据读取模块440和数据添加模块450,其中:
数据接收模块410,用于接收终端通过数据管理系统上传的目标文件和文件类型信息。
文件匹配模块420,用于从所述目标文件中提取第一文件名,判断所述第一文件名与所述文件类型信息是否匹配,所述第一文件名由所述数据管理系统统一配置。
规则获取模块430,用于当判定第一文件名与文件类型信息匹配时,获取第一业务标识对应的数据读取策略。
数据读取模块440,用于根据数据读取策略从目标文件中读取目标数据,并对所述目标数据进行数据校验。
数据添加模块450,用于当数据校验成功时,将目标数据添加至文件类型信息对应的数据表中。
在其中一个实施例中,文件处理装置还可以包括:
请求接收模块,用于接收终端发送的模板下载请求,模板下载请求中携带第一业务标识和第一用户标识。
模板查找模块,用于查找第一业务标识对应的文件模板。
文件名生成模块,用于根据第一业务标识和第一用户标识生成第二文件名。
模板生成模块,用于根据文件模板和第二文件名生成文件模板,将文件模板返回给终端。
在其中一个实施例中,模板生成模块还可以包括:
编号查找单元,用于查找第一用户标识对应的部门编号。
限制类查找单元,用于查找部门编号对应的限制数据类。
模板处理单元,用于根据限制数据类对文件模板进行处理,根据处理后的文件模板和第二文件名生成文件模板。
在其中一个实施例中,数据添加模块450可以包括:
标识提取单元,用于从文件类型信息中提取第二业务标识和第二用户标识。
数据表查找单元,用于查找第二业务标识对应的业务数据表。
时间获取单元,用于获取目标文件的上传时间。
添加单元,用于将目标数据添加至业务数据表中第二用户标识和上传时间对应的位 置。
在其中一个实施例中,数据读取模块440可以包括:
信息读取单元,用于从所述数据读取策略中获取文件数据存储信息;
字段数据获取单元,用于根据所述文件数据存储信息从所述目标数据中查找数据类型为系统类型的第一文件字段,并读取所述第一文件字段的第一文件字段名和第一文件字段值。
系统数据查找单元,用于查找第一文件字段名对应的系统数据。
数据匹配单元,用于将第一文件字段值逐个与系统数据进行数据匹配。
第一校验单元,用于当所有第一文件字段值均与系统数据匹配成功时,则数据校验成功。
在其中一个实施例中,数据读取模块440可以包括:
信息读取单元,用于从所述数据读取策略中获取文件数据存储信息;
字段值获取单元,用于根据所述文件数据存储信息从所述目标数据中查找数据类型为非重类型的第二文件字段,并读取所述第二文件字段的第二文件字段值。
非重判断单元,用于判断第二文件字段值中是否存在重复数值。
第二校验单元,用于当判定第二文件字段值中不存在重复数值时,则数据校验成功。
关于文件处理装置的具体限定可以参见上文中对于文件处理方法的限定,在此不再赘述。上述文件处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在其中一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图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所述的方法,其特征在于,所述将所述目标数据添加至所述文件类型信息对应的数据表中,包括:从所述文件类型信息中提取第二业务标识和第二用户标识;查找所述第二业务标识对应的业务数据表;获取所述目标文件的上传时间;及将所述目标数据添加至所述业务数据表中所述第二用户标识和所述上传时间对应的 位置。
- 根据权利要求1所述的方法,其特征在于,所述根据所述数据读取策略从所述目标文件中读取目标数据,并对所述目标数据进行数据校验,包括:从所述数据读取策略中获取文件数据存储信息;根据所述文件数据存储信息从所述目标数据中查找数据类型为系统类型的第一文件字段,并读取所述第一文件字段的第一文件字段名和第一文件字段值;查找所述第一文件字段名对应的系统数据;将所述第一文件字段值逐个与所述系统数据进行数据匹配;及当所有的所述第一文件字段值均与所述系统数据匹配成功时,则数据校验成功。
- 根据权利要求1所述的方法,其特征在于,所述根据所述数据读取策略从所述目标文件中读取目标数据,并对所述目标数据进行数据校验,包括:从所述数据读取策略中获取文件数据存储信息;根据所述文件数据存储信息从所述目标数据中查找数据类型为非重类型的第二文件字段,并读取所述第二文件字段的第二文件字段值;判断所述第二文件字段值中是否存在重复数值;及当判定所述第二文件字段值中不存在重复数值时,则数据校验成功。
- 一种目标文件处理装置,包括:数据接收模块,用于接收终端通过数据管理系统上传的目标文件和文件类型信息;文件匹配模块,用于从所述目标文件中提取第一文件名,判断所述第一文件名与所述文件类型信息是否匹配,所述第一文件名由所述数据管理系统统一配置;规则获取模块,用于当判定所述第一文件名与所述文件类型信息匹配时,获取所述第一业务标识对应的数据读取策略;数据读取模块,用于根据所述数据读取策略从所述目标文件中读取目标数据,并对所述目标数据进行数据校验;及数据添加模块,用于当数据校验成功时,将所述目标数据添加至所述文件类型信息对应的数据表中。
- 根据权利要求7所述的装置,其特征在于,还包括:请求接收模块,用于接收终端发送的模板下载请求,所述模板下载请求中携带第一业务标识和第一用户标识;模板查找模块,用于查找所述第一业务标识对应的文件模板;文件名生成模块,用于根据所述第一业务标识和所述第一用户标识生成第二文件名;及模板生成模块,用于根据所述文件模板和所述第二文件名生成文件模板,将所述文件模板返回给终端。
- 根据权利要求8所述的装置,其特征在于,模板生成模块还可以包括:编号查找单元,用于查找第一用户标识对应的部门编号;限制类查找单元,用于查找部门编号对应的限制数据类;模板处理单元,用于根据限制数据类对文件模板进行处理,根据处理后的文件模板和第二文件名生成文件模板。
- 一种计算机设备,包括存储器及一个或多个处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:接收终端通过数据管理系统上传的目标文件和文件类型信息;从所述目标文件中提取第一文件名,判断所述第一文件名与所述文件类型信息是否匹配,所述第一文件名由所述数据管理系统统一配置;当所述第一文件名与所述文件类型信息匹配时,获取所述文件类型信息对应的数据读取策略;根据所述数据读取策略从所述目标文件中读取目标数据,并对所述目标数据进行数据校验;及当数据校验成功时,将所述目标数据添加至所述文件类型信息对应的数据表中。
- 根据权利要求10所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:接收终端发送的模板下载请求,所述模板下载请求中携带第一业务标识和第一用户标识;查找所述第一业务标识对应的文件模板;根据所述第一业务标识和所述第一用户标识生成第二文件名;及根据所述文件模板和所述第二文件名生成文件模板,将所述文件模板返回给终端。
- 根据权利要求11所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令实现所述根据所述文件模板和所述第二文件名生成文件模板时还执行以下步骤:查找所述第一用户标识对应的部门编号;查找所述部门编号对应的限制数据类;及根据所述限制数据类对所述文件模板进行处理,根据处理后的所述文件模板和所述第二文件名生成文件模板。
- 根据权利要求10所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令实现所述将所述目标数据添加至所述文件类型信息对应的数据表中时还执行以下步骤:从所述文件类型信息中提取第二业务标识和第二用户标识;查找所述第二业务标识对应的业务数据表;获取所述目标文件的上传时间;及将所述目标数据添加至所述业务数据表中所述第二用户标识和所述上传时间对应的位置。
- 根据权利要求10所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令实现所述根据所述数据读取策略从所述目标文件中读取目标数据,并对所述目标数据进行数据校验时还执行以下步骤:从所述数据读取策略中获取文件数据存储信息;根据所述文件数据存储信息从所述目标数据中查找数据类型为系统类型的第一文件字段,并读取所述第一文件字段的第一文件字段名和第一文件字段值;查找所述第一文件字段名对应的系统数据;将所述第一文件字段值逐个与所述系统数据进行数据匹配;及当所有的所述第一文件字段值均与所述系统数据匹配成功时,则数据校验成功。
- 根据权利要求10所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令实现所述根据所述数据读取策略从所述目标文件中读取目标数据,并对所述目标数据进行数据校验时还执行以下步骤:从所述数据读取策略中获取文件数据存储信息;根据所述文件数据存储信息从所述目标数据中查找数据类型为非重类型的第二文件字段,并读取所述第二文件字段的第二文件字段值;判断所述第二文件字段值中是否存在重复数值;及当判定所述第二文件字段值中不存在重复数值时,则数据校验成功。
- 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:接收终端通过数据管理系统上传的目标文件和文件类型信息;从所述目标文件中提取第一文件名,判断所述第一文件名与所述文件类型信息是否匹配,所述第一文件名由所述数据管理系统统一配置;当所述第一文件名与所述文件类型信息匹配时,获取所述文件类型信息对应的数据读取策略;根据所述数据读取策略从所述目标文件中读取目标数据,并对所述目标数据进行数据校验;及当数据校验成功时,将所述目标数据添加至所述文件类型信息对应的数据表中。
- 根据权利要求16所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:接收终端发送的模板下载请求,所述模板下载请求中携带第一业务标识和第一用户标识;查找所述第一业务标识对应的文件模板;根据所述第一业务标识和所述第一用户标识生成第二文件名;及根据所述文件模板和所述第二文件名生成文件模板,将所述文件模板返回给终端。
- 根据权利要求17所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行实现所述根据所述文件模板和所述第二文件名生成文件模板时还执行以下步骤:查找所述第一用户标识对应的部门编号;查找所述部门编号对应的限制数据类;及根据所述限制数据类对所述文件模板进行处理,根据处理后的所述文件模板和所述第二文件名生成文件模板。
- 根据权利要求16所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行实现所述将所述目标数据添加至所述文件类型信息对应的数据表中时还执行以下步骤:从所述文件类型信息中提取第二业务标识和第二用户标识;查找所述第二业务标识对应的业务数据表;获取所述目标文件的上传时间;及将所述目标数据添加至所述业务数据表中所述第二用户标识和所述上传时间对应的位置。
- 根据权利要求16所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行实现所述根据所述数据读取策略从所述目标文件中读取目标数据,并对所述目标数据进行数据校验时还执行以下步骤:从所述数据读取策略中获取文件数据存储信息;根据所述文件数据存储信息从所述目标数据中查找数据类型为系统类型的第一文件字段,并读取所述第一文件字段的第一文件字段名和第一文件字段值;查找所述第一文件字段名对应的系统数据;将所述第一文件字段值逐个与所述系统数据进行数据匹配;及当所有的所述第一文件字段值均与所述系统数据匹配成功时,则数据校验成功。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910212526.9 | 2019-03-20 | ||
| CN201910212526.9A CN110069449B (zh) | 2019-03-20 | 2019-03-20 | 文件处理方法、装置、计算机设备和存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020186786A1 true WO2020186786A1 (zh) | 2020-09-24 |
Family
ID=67366412
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/117942 Ceased WO2020186786A1 (zh) | 2019-03-20 | 2019-11-13 | 文件处理方法、装置、计算机设备和存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110069449B (zh) |
| WO (1) | WO2020186786A1 (zh) |
Cited By (34)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112380167A (zh) * | 2020-11-17 | 2021-02-19 | 深圳市和讯华谷信息技术有限公司 | 批量数据验证方法、装置、计算机设备及存储介质 |
| CN112463737A (zh) * | 2020-11-17 | 2021-03-09 | 中科金审(北京)科技有限公司 | 针对多格式数据智能匹配模板快速采集数据的系统及方法 |
| CN112509653A (zh) * | 2020-10-29 | 2021-03-16 | 望海康信(北京)科技股份公司 | 病案数据处理方法、系统及相应设备和存储介质 |
| CN112950370A (zh) * | 2021-02-25 | 2021-06-11 | 未鲲(上海)科技服务有限公司 | 业务处理方法、装置、设备及存储介质 |
| CN113297222A (zh) * | 2021-05-25 | 2021-08-24 | 北京京东振世信息技术有限公司 | 报表数据的获取方法、装置、电子设备和存储介质 |
| CN113438290A (zh) * | 2021-06-22 | 2021-09-24 | 康键信息技术(深圳)有限公司 | 重复请求的检测方法、装置、设备及存储介质 |
| CN113553344A (zh) * | 2021-07-05 | 2021-10-26 | 广州云徙科技有限公司 | 一种业务数据管理方法、系统、计算机设备和存储介质 |
| CN113642039A (zh) * | 2021-08-09 | 2021-11-12 | 平安科技(深圳)有限公司 | 单证模板的配置方法、装置、计算机设备和存储介质 |
| CN113656351A (zh) * | 2021-08-18 | 2021-11-16 | 东软集团股份有限公司 | 一种业务逻辑的实现方法、装置及设备 |
| CN113868210A (zh) * | 2021-09-09 | 2021-12-31 | 重庆锐云科技有限公司 | 一种导入数据的有效性验证方法、系统、设备及存储介质 |
| CN114116691A (zh) * | 2021-11-02 | 2022-03-01 | 浪潮软件股份有限公司 | 数据导入校验方法、系统、装置及计算机可读介质 |
| CN114218165A (zh) * | 2021-12-21 | 2022-03-22 | 平安付科技服务有限公司 | 文件下载方法、装置、计算机设备及介质 |
| CN114297274A (zh) * | 2021-12-03 | 2022-04-08 | 南方电网大数据服务有限公司 | 大数据抽取方法、装置、计算机设备和存储介质 |
| CN114401147A (zh) * | 2022-01-20 | 2022-04-26 | 山西晟视汇智科技有限公司 | 一种基于摘要算法的新能源电站通讯报文比对方法及系统 |
| CN114417431A (zh) * | 2021-12-23 | 2022-04-29 | 珠海大横琴科技发展有限公司 | 一种文件归档方法和装置 |
| CN114449063A (zh) * | 2022-01-17 | 2022-05-06 | 蚂蚁区块链科技(上海)有限公司 | 一种报文处理方法、装置及设备 |
| CN115081396A (zh) * | 2022-05-12 | 2022-09-20 | 中国南方电网有限责任公司 | 一种智能化修编作业文件的方法及装置 |
| CN115099216A (zh) * | 2022-06-27 | 2022-09-23 | 平安银行股份有限公司 | 一种统一文本解析方法及装置 |
| CN115334072A (zh) * | 2022-08-22 | 2022-11-11 | 京东方科技集团股份有限公司 | 文件信息处理方法、装置及电子设备 |
| CN115545016A (zh) * | 2022-09-30 | 2022-12-30 | 北京鼎普科技股份有限公司 | 一种基于wps的密点标记处理方法及终端 |
| CN115629958A (zh) * | 2022-09-08 | 2023-01-20 | 企查查科技有限公司 | 一种针对不同业务接口的通用字段级自动校验方法和装置 |
| CN115905381A (zh) * | 2022-11-08 | 2023-04-04 | 中国银行股份有限公司 | 表格导入方法和装置 |
| CN116166963A (zh) * | 2023-02-20 | 2023-05-26 | 北京奇艺世纪科技有限公司 | 一种模型更新的方法、装置、电子设备以及存储介质 |
| CN116402027A (zh) * | 2023-02-20 | 2023-07-07 | 京东方科技集团股份有限公司 | 生成隐患排查表单的方法、装置、系统和存储介质 |
| CN116521326A (zh) * | 2022-01-20 | 2023-08-01 | 中银金融科技有限公司 | 批量作业处理方法、装置、电子设备和存储介质 |
| CN116594959A (zh) * | 2023-06-08 | 2023-08-15 | 安世亚太科技股份有限公司 | 文件解析方法、装置、电子设备及存储介质 |
| CN116644035A (zh) * | 2023-07-21 | 2023-08-25 | 中邮消费金融有限公司 | 文件批量入库方法、装置、设备及存储介质 |
| CN116684404A (zh) * | 2023-06-06 | 2023-09-01 | 中国银行股份有限公司 | 资源交互数据下载方法、装置、计算机设备和存储介质 |
| CN116737761A (zh) * | 2023-06-08 | 2023-09-12 | 平安银行股份有限公司 | 一种异步对账处理方法、装置、设备及存储介质 |
| CN116841968A (zh) * | 2023-07-14 | 2023-10-03 | 北京万里红科技有限公司 | 一种文件管理方法、客户端、服务端以及系统 |
| CN117033730A (zh) * | 2023-08-08 | 2023-11-10 | 中国联合网络通信集团有限公司 | 业务数据分类方法、装置及存储介质 |
| CN117251423A (zh) * | 2023-10-31 | 2023-12-19 | 广州振华航科有限公司 | 一种航运业务oss云文件管理方法、系统、设备及介质 |
| CN117376033A (zh) * | 2023-12-06 | 2024-01-09 | 浙江网商银行股份有限公司 | 文件处理方法以及装置 |
| CN118583906A (zh) * | 2024-08-05 | 2024-09-03 | 杭州研趣信息技术有限公司 | 一种x射线光谱检测系统、方法、设备及存储介质 |
Families Citing this family (29)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110069449B (zh) * | 2019-03-20 | 2023-09-26 | 平安科技(深圳)有限公司 | 文件处理方法、装置、计算机设备和存储介质 |
| CN112395266B (zh) * | 2019-08-19 | 2022-12-13 | 中移(苏州)软件技术有限公司 | 一种数据文件处理方法、第一服务器及计算机存储介质 |
| CN110806979B (zh) * | 2019-10-31 | 2023-04-07 | 望海康信(北京)科技股份公司 | 接口返回值的校验方法、装置、设备及存储介质 |
| CN111176882A (zh) * | 2019-12-23 | 2020-05-19 | 平安信托有限责任公司 | 特定数据处理方法、装置、计算机设备及存储介质 |
| CN111144334B (zh) * | 2019-12-27 | 2023-09-26 | 北京天融信网络安全技术有限公司 | 一种文件匹配方法、装置、电子设备及存储介质 |
| CN111291051B (zh) * | 2020-01-22 | 2023-06-16 | 中国民航信息网络股份有限公司 | 运价数据处理方法及装置、存储介质及电子设备 |
| CN111274350B (zh) * | 2020-02-03 | 2023-06-23 | 广州极尚网络技术有限公司 | 数据处理方法、装置、计算机设备和存储介质 |
| CN111654522B (zh) * | 2020-04-27 | 2023-02-03 | 平安证券股份有限公司 | 文件同步方法、文件同步服务器及存储介质 |
| CN111666259B (zh) * | 2020-06-06 | 2023-05-23 | 智同道合(苏州)信息技术服务有限公司 | 文档管理方法、管理系统、可读存储介质及电子装置 |
| CN111782517B (zh) * | 2020-06-23 | 2021-06-04 | 浙江保融科技股份有限公司 | 一种自动化文件校验方法 |
| CN111935546B (zh) * | 2020-07-23 | 2022-02-25 | 深圳市鼎盛光电有限公司 | 节目导入方法、装置、视频播放设备及存储介质 |
| CN111966636B (zh) * | 2020-08-20 | 2024-08-02 | 中国农业银行股份有限公司 | 一种数据文件的融合方法及装置 |
| CN112612505B (zh) * | 2020-12-04 | 2024-01-30 | 北京思特奇信息技术股份有限公司 | 一种基于jdk流程处理的通用文件处理方法及系统 |
| CN112882995A (zh) * | 2021-02-24 | 2021-06-01 | 深圳壹账通智能科技有限公司 | 脚本自动生成方法、装置、电子设备及存储介质 |
| CN112988868B (zh) * | 2021-03-17 | 2022-12-13 | 首钢京唐钢铁联合有限责任公司 | 一种钢铁实验室数据处理方法及系统 |
| CN115129665A (zh) * | 2021-03-25 | 2022-09-30 | 易保网络技术(上海)有限公司 | 一种文件处理方法、系统以及计算机设备和介质 |
| CN113505580A (zh) * | 2021-07-26 | 2021-10-15 | 京东科技控股股份有限公司 | 表格文件的解析方法和装置 |
| CN113590554B (zh) * | 2021-08-10 | 2025-02-18 | 中国工商银行股份有限公司 | 文件处理方法、装置、电子设备和存储介质 |
| CN113672567B (zh) * | 2021-10-22 | 2023-07-07 | 南京数睿数据科技有限公司 | 文件构建方法、装置、电子设备和计算机可读介质 |
| CN114331261B (zh) * | 2021-12-21 | 2025-01-17 | 北京京东振世信息技术有限公司 | 一种数据处理方法和装置 |
| CN114461219A (zh) * | 2021-12-29 | 2022-05-10 | 南京苏宁电子信息技术有限公司 | 数据解析方法、装置、计算机设备和存储介质 |
| US20230214357A1 (en) * | 2022-01-05 | 2023-07-06 | International Business Machines Corporation | Context aware file naming conventions |
| CN114896468B (zh) * | 2022-04-24 | 2024-02-02 | 北京月新时代科技股份有限公司 | 基于神经网络的文件类型匹配方法和数据智能录入方法 |
| CN114595199B (zh) * | 2022-05-10 | 2022-09-02 | 太平金融科技服务(上海)有限公司 | 文件解析方法、装置、计算机设备和存储介质 |
| CN115098443A (zh) * | 2022-05-25 | 2022-09-23 | 杭州易和互联软件技术有限公司 | 一种可动态扩展并切换的文件存储方法及系统 |
| CN115348257A (zh) * | 2022-08-09 | 2022-11-15 | 平安银行股份有限公司 | 一种文件防重检查方法、装置、计算机设备及存储介质 |
| CN115293829A (zh) * | 2022-08-11 | 2022-11-04 | 北京分贝通科技有限公司 | 一种处理文件的方法、装置、存储介质及电子设备 |
| CN116028454A (zh) * | 2023-01-06 | 2023-04-28 | 广州中科易德科技有限公司 | 一种多格式数据文件接收方法 |
| CN116662263A (zh) * | 2023-05-31 | 2023-08-29 | 中国工商银行股份有限公司 | 数据接收处理方法、装置和计算机设备 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08314784A (ja) * | 1995-05-19 | 1996-11-29 | Toshiba Corp | ファイル管理装置 |
| CN101231647A (zh) * | 2007-01-26 | 2008-07-30 | 鸿富锦精密工业(深圳)有限公司 | 文件管理系统及方法 |
| CN107330096A (zh) * | 2017-07-05 | 2017-11-07 | 恒生电子股份有限公司 | 文件处理方法及装置、计算机可读存储介质和电子设备 |
| CN107908396A (zh) * | 2017-10-17 | 2018-04-13 | 广东广业开元科技有限公司 | 一种基于浏览器的图表数据在线处理系统及方法 |
| CN110069449A (zh) * | 2019-03-20 | 2019-07-30 | 平安科技(深圳)有限公司 | 文件处理方法、装置、计算机设备和存储介质 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106339438B (zh) * | 2016-08-22 | 2020-04-07 | 深圳鼎智通讯股份有限公司 | 文件管理器中的内部存储显示方法 |
| CN108804336A (zh) * | 2018-06-15 | 2018-11-13 | 深圳壹账通智能科技有限公司 | 交互系统测试方法、装置、计算机设备和存储介质 |
| CN109325030B (zh) * | 2018-09-03 | 2023-08-18 | 平安国际融资租赁有限公司 | 报文处理方法、装置、计算机设备和存储介质 |
-
2019
- 2019-03-20 CN CN201910212526.9A patent/CN110069449B/zh active Active
- 2019-11-13 WO PCT/CN2019/117942 patent/WO2020186786A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08314784A (ja) * | 1995-05-19 | 1996-11-29 | Toshiba Corp | ファイル管理装置 |
| CN101231647A (zh) * | 2007-01-26 | 2008-07-30 | 鸿富锦精密工业(深圳)有限公司 | 文件管理系统及方法 |
| CN107330096A (zh) * | 2017-07-05 | 2017-11-07 | 恒生电子股份有限公司 | 文件处理方法及装置、计算机可读存储介质和电子设备 |
| CN107908396A (zh) * | 2017-10-17 | 2018-04-13 | 广东广业开元科技有限公司 | 一种基于浏览器的图表数据在线处理系统及方法 |
| CN110069449A (zh) * | 2019-03-20 | 2019-07-30 | 平安科技(深圳)有限公司 | 文件处理方法、装置、计算机设备和存储介质 |
Cited By (38)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112509653A (zh) * | 2020-10-29 | 2021-03-16 | 望海康信(北京)科技股份公司 | 病案数据处理方法、系统及相应设备和存储介质 |
| CN112380167A (zh) * | 2020-11-17 | 2021-02-19 | 深圳市和讯华谷信息技术有限公司 | 批量数据验证方法、装置、计算机设备及存储介质 |
| CN112463737A (zh) * | 2020-11-17 | 2021-03-09 | 中科金审(北京)科技有限公司 | 针对多格式数据智能匹配模板快速采集数据的系统及方法 |
| CN112950370A (zh) * | 2021-02-25 | 2021-06-11 | 未鲲(上海)科技服务有限公司 | 业务处理方法、装置、设备及存储介质 |
| CN113297222A (zh) * | 2021-05-25 | 2021-08-24 | 北京京东振世信息技术有限公司 | 报表数据的获取方法、装置、电子设备和存储介质 |
| CN113438290A (zh) * | 2021-06-22 | 2021-09-24 | 康键信息技术(深圳)有限公司 | 重复请求的检测方法、装置、设备及存储介质 |
| CN113553344A (zh) * | 2021-07-05 | 2021-10-26 | 广州云徙科技有限公司 | 一种业务数据管理方法、系统、计算机设备和存储介质 |
| CN113642039A (zh) * | 2021-08-09 | 2021-11-12 | 平安科技(深圳)有限公司 | 单证模板的配置方法、装置、计算机设备和存储介质 |
| CN113642039B (zh) * | 2021-08-09 | 2024-05-28 | 平安科技(深圳)有限公司 | 单证模板的配置方法、装置、计算机设备和存储介质 |
| CN113656351A (zh) * | 2021-08-18 | 2021-11-16 | 东软集团股份有限公司 | 一种业务逻辑的实现方法、装置及设备 |
| CN113868210A (zh) * | 2021-09-09 | 2021-12-31 | 重庆锐云科技有限公司 | 一种导入数据的有效性验证方法、系统、设备及存储介质 |
| CN114116691A (zh) * | 2021-11-02 | 2022-03-01 | 浪潮软件股份有限公司 | 数据导入校验方法、系统、装置及计算机可读介质 |
| CN114297274A (zh) * | 2021-12-03 | 2022-04-08 | 南方电网大数据服务有限公司 | 大数据抽取方法、装置、计算机设备和存储介质 |
| CN114218165A (zh) * | 2021-12-21 | 2022-03-22 | 平安付科技服务有限公司 | 文件下载方法、装置、计算机设备及介质 |
| CN114417431A (zh) * | 2021-12-23 | 2022-04-29 | 珠海大横琴科技发展有限公司 | 一种文件归档方法和装置 |
| CN114449063A (zh) * | 2022-01-17 | 2022-05-06 | 蚂蚁区块链科技(上海)有限公司 | 一种报文处理方法、装置及设备 |
| CN114449063B (zh) * | 2022-01-17 | 2024-03-26 | 蚂蚁区块链科技(上海)有限公司 | 一种报文处理方法、装置及设备 |
| CN114401147A (zh) * | 2022-01-20 | 2022-04-26 | 山西晟视汇智科技有限公司 | 一种基于摘要算法的新能源电站通讯报文比对方法及系统 |
| CN116521326A (zh) * | 2022-01-20 | 2023-08-01 | 中银金融科技有限公司 | 批量作业处理方法、装置、电子设备和存储介质 |
| CN114401147B (zh) * | 2022-01-20 | 2024-02-20 | 山西晟视汇智科技有限公司 | 一种基于摘要算法的新能源电站通讯报文比对方法及系统 |
| CN115081396A (zh) * | 2022-05-12 | 2022-09-20 | 中国南方电网有限责任公司 | 一种智能化修编作业文件的方法及装置 |
| CN115099216A (zh) * | 2022-06-27 | 2022-09-23 | 平安银行股份有限公司 | 一种统一文本解析方法及装置 |
| CN115334072A (zh) * | 2022-08-22 | 2022-11-11 | 京东方科技集团股份有限公司 | 文件信息处理方法、装置及电子设备 |
| CN115629958A (zh) * | 2022-09-08 | 2023-01-20 | 企查查科技有限公司 | 一种针对不同业务接口的通用字段级自动校验方法和装置 |
| CN115545016A (zh) * | 2022-09-30 | 2022-12-30 | 北京鼎普科技股份有限公司 | 一种基于wps的密点标记处理方法及终端 |
| CN115905381A (zh) * | 2022-11-08 | 2023-04-04 | 中国银行股份有限公司 | 表格导入方法和装置 |
| CN116166963A (zh) * | 2023-02-20 | 2023-05-26 | 北京奇艺世纪科技有限公司 | 一种模型更新的方法、装置、电子设备以及存储介质 |
| CN116402027A (zh) * | 2023-02-20 | 2023-07-07 | 京东方科技集团股份有限公司 | 生成隐患排查表单的方法、装置、系统和存储介质 |
| CN116684404A (zh) * | 2023-06-06 | 2023-09-01 | 中国银行股份有限公司 | 资源交互数据下载方法、装置、计算机设备和存储介质 |
| CN116594959A (zh) * | 2023-06-08 | 2023-08-15 | 安世亚太科技股份有限公司 | 文件解析方法、装置、电子设备及存储介质 |
| CN116737761A (zh) * | 2023-06-08 | 2023-09-12 | 平安银行股份有限公司 | 一种异步对账处理方法、装置、设备及存储介质 |
| CN116841968A (zh) * | 2023-07-14 | 2023-10-03 | 北京万里红科技有限公司 | 一种文件管理方法、客户端、服务端以及系统 |
| CN116644035A (zh) * | 2023-07-21 | 2023-08-25 | 中邮消费金融有限公司 | 文件批量入库方法、装置、设备及存储介质 |
| CN116644035B (zh) * | 2023-07-21 | 2024-01-26 | 中邮消费金融有限公司 | 文件批量入库方法、装置、设备及存储介质 |
| CN117033730A (zh) * | 2023-08-08 | 2023-11-10 | 中国联合网络通信集团有限公司 | 业务数据分类方法、装置及存储介质 |
| CN117251423A (zh) * | 2023-10-31 | 2023-12-19 | 广州振华航科有限公司 | 一种航运业务oss云文件管理方法、系统、设备及介质 |
| CN117376033A (zh) * | 2023-12-06 | 2024-01-09 | 浙江网商银行股份有限公司 | 文件处理方法以及装置 |
| CN118583906A (zh) * | 2024-08-05 | 2024-09-03 | 杭州研趣信息技术有限公司 | 一种x射线光谱检测系统、方法、设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110069449B (zh) | 2023-09-26 |
| CN110069449A (zh) | 2019-07-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2020186786A1 (zh) | 文件处理方法、装置、计算机设备和存储介质 | |
| CN109474578B (zh) | 报文消息校验方法、装置、计算机设备和存储介质 | |
| CN108874926B (zh) | 海量数据查询方法、装置、计算机设备和存储介质 | |
| CN109670049B (zh) | 图谱路径查询方法、装置、计算机设备和存储介质 | |
| CN109947789B (zh) | 一种多数据库的数据处理的方法、装置、计算机设备及存储介质 | |
| CN108573371B (zh) | 数据审批方法、装置、计算机设备和存储介质 | |
| CN109558404B (zh) | 数据存储方法、装置、计算机设备和存储介质 | |
| CN111027295B (zh) | 数据处理方法、装置、计算机设备和存储介质 | |
| CN109992601B (zh) | 待办事项信息的推送方法、装置和计算机设备 | |
| WO2020057022A1 (zh) | 关联推荐方法、装置、计算机设备和存储介质 | |
| CN110659298B (zh) | 财务数据处理方法、装置、计算机设备和存储介质 | |
| CN108897728B (zh) | 短信拼接处理方法、装置、计算机设备和存储介质 | |
| CN111177302A (zh) | 业务单据处理方法、装置、计算机设备和存储介质 | |
| CN108874661B (zh) | 测试映射关系库生成方法、装置、计算机设备和存储介质 | |
| CN110321284B (zh) | 测试数据录入方法、装置、计算机设备和存储介质 | |
| CN110659297A (zh) | 数据处理方法、装置、计算机设备和存储介质 | |
| WO2020233091A1 (zh) | 业务数据回退方法、装置、计算机设备和存储介质 | |
| WO2019051946A1 (zh) | 节点任务数据显示方法、装置、存储介质和计算机设备 | |
| CN111191079B (zh) | 一种文档内容获取方法、装置、设备及存储介质 | |
| CN111708971A (zh) | 页面配置方法、装置、计算机设备和存储介质 | |
| CN109325042B (zh) | 处理模版获取方法、表格处理方法、装置、设备及介质 | |
| CN110908778B (zh) | 任务部署方法、系统和存储介质 | |
| CN114003432B (zh) | 参数校验方法、装置、计算机设备和存储介质 | |
| CN112286934A (zh) | 数据库表导入方法、装置、设备及介质 | |
| WO2020155771A1 (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: 19920081 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: 19920081 Country of ref document: EP Kind code of ref document: A1 |