Data storage method, data storage device and electronic device

By using multiple file parsing applications combined with the analysis results of different recognition and analysis methods, the data accuracy and efficiency problems in traditional resume management technology are solved, and higher file content parsing accuracy and work efficiency are achieved.

CN118093520BActive Publication Date: 2025-03-25BEIJING CAIDODUI INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410286572.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-13
Publication Date
2025-03-25
Estimated Expiration
2044-03-13

AI Technical Summary

Technical Problem

In traditional resume management technology, different identification and analysis methods have affected the accuracy of data, and it is impossible to effectively process the content data that has not been filled in. Staff need to frequently switch multiple applications, affecting efficiency and accuracy.

Method used

Multiple file parsing applications are used for file parsing, and combined with the analysis results of different recognition and analysis methods, the file content data is determined and stored in a preset database.

Benefits of technology

It improves the accuracy of file parsing results and the completeness and accuracy of file content in the database, reduces the switching operations of staff between different applications, and improves work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118093520B_ABST
    Figure CN118093520B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure disclose a data storage method, a data storage device, and an electronic device. A specific implementation of the method includes: in response to receiving an operation instruction representing file data storage, obtaining a target file indicated by the operation instruction; parsing the target file using multiple file parsing applications to obtain parsing results of multiple file parsing applications, wherein at least some of the file parsing applications use different recognition and analysis methods; determining the content data of the target file based on the parsing results of the multiple file parsing applications; and storing the content data of the target file in a preset database. This implementation can realize automatic parsing and extraction and storage of file content data. And by performing file parsing through multiple file parsing applications, the amount of parsed content and the accuracy of the parsing results can be greatly improved. Thereby, the integrity and accuracy of the file content stored in the database can be improved, and the human participation process can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of information management technology, and in particular to a data storage method, a data storage device, and an electronic device. Background Art

[0002] In traditional resume management technology, the corresponding management application is usually installed on the PC (Personal Computer) or the webpage of the management application is opened through a browser. Then, the function control for uploading the resume file is found on the application page, and the resume file is uploaded to the management application by dragging or selecting for recording.

[0003] However, this management approach often has the following technical problems:

[0004] First, since each management application uses a different recognition and analysis method, the accuracy of the data obtained by recognition is directly affected by the recognition accuracy of the management application used, which directly affects the data accuracy of the resume files stored and managed.

[0005] Second, generally, only the content data filled in the resume file can be recognized and processed. For the content data that is not filled in, the recognition result is also empty. For this situation, there is often a lack of corresponding processing.

[0006] Third, workers need to open multiple applications on their computers, such as the above-mentioned management applications, office communication applications, email, etc., and need to repeatedly switch between these applications. This not only affects work efficiency, but also increases the probability of work errors.

[0007] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention

[0008] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0009] Some embodiments of the present disclosure propose a data storage method, a data storage device, an electronic device, a computer-readable medium, and a computer program product to solve one or more of the technical problems mentioned in the above background technology section.

[0010] In a first aspect, some embodiments of the present disclosure provide a data storage method, including: in response to receiving an operation instruction representing file data storage, obtaining a target file indicated by the operation instruction; parsing the target file using multiple file parsing applications to obtain parsing results of the multiple file parsing applications, wherein, among the multiple file parsing applications, at least some of the file parsing applications adopt different recognition and analysis methods; determining content data of the target file based on the parsing results of the multiple file parsing applications; and storing the content data of the target file in a preset database.

[0011] In some embodiments, a target file is parsed using multiple file parsing applications, including: inputting the target file into a first file parsing application to obtain a first parsing result; in response to determining that there are unrecognized or incorrectly recognized attributes in the first parsing result, parsing the target file using a second file parsing application to obtain a second parsing result.

[0012] In some embodiments, in response to determining that there are unrecognized or incorrectly identified attributes in the first parsing result, a second file parsing application is used to parse the target file to obtain a second parsing result, including: displaying the first parsing result and the target file on the same screen for comparative analysis according to the data layout format of the target file; in response to determining that there are unrecognized or incorrectly identified attributes in the first parsing result, taking a screenshot of relevant content data of the attribute according to the position of the attribute in the target file to obtain a data image of the attribute; and inputting the data image into the second file parsing application to obtain a second parsing result of the attribute.

[0013] In some embodiments, parsing the target file using a second file parsing application to obtain a second parsing result also includes: inputting the target file and an unrecognized or incorrectly recognized attribute into the second file parsing application to obtain a second parsing result for the attribute.

[0014] In some embodiments, parsing a target file using multiple file parsing applications also includes: inputting the target file into multiple file parsing applications respectively; and determining content data of the target file based on the parsing results of the multiple file parsing applications, including: for multiple parsing results of the same attribute, in response to determining that the multiple parsing results match, determining the parsing result of the target file parsing application among the multiple file parsing applications as the attribute value of the attribute, wherein the target file parsing application is the file parsing application with the highest historical parsing accuracy; or in response to determining that the multiple parsing results do not match, selecting a parsing result from the multiple parsing results as the attribute value of the attribute based on the historical parsing accuracy of the multiple file parsing applications and the attribute information of the attribute; or in response to determining that there is only one non-empty result among the multiple parsing results, determining the non-empty result as the attribute value of the attribute.

[0015] In view of the above-mentioned technical problem three, combined with the widespread use of office communication applications, the following solution can be adopted.

[0016] In some embodiments, in response to receiving an operation instruction representing file data storage, obtaining a target file indicated by the operation instruction includes: in response to detecting an operation to send a file in a dialog box of an office communication application, obtaining the file sent by the operation as the target file; and the method also includes: in response to determining that storage of content data of the target file is complete, generating corresponding feedback information according to the dialogue scenario of the dialog box, wherein the feedback information for different dialogue scenarios is different.

[0017] In some embodiments, in response to detecting an operation to send a file in a dialog box of an office communication application, obtaining the file sent by the operation includes: in response to detecting the file in the dialog box of the office communication application, obtaining the file in a designated storage location according to a storage path of the office communication application.

[0018] In some embodiments, in response to detecting an operation to send a file in a dialog box of an office communication application, obtaining the file sent by the operation also includes: in response to detecting a file identifier of the sent file in a dialog box of the office communication application, obtaining the file indicated by the file identifier in a designated application based on the file identifier.

[0019] In a second aspect, some embodiments of the present disclosure provide a data storage device, including: a file acquisition unit, configured to, in response to receiving an operation instruction representing file data storage, acquire a target file indicated by an operation instruction; a file parsing unit, configured to parse the target file using multiple file parsing applications to obtain parsing results of the multiple file parsing applications, wherein at least some of the multiple file parsing applications use different recognition and analysis methods; a data determination unit, configured to determine content data of the target file based on the parsing results of the multiple file parsing applications; and a storage unit, configured to store the content data of the target file in a preset database.

[0020] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by one or more processors, the one or more processors implement the data storage method described in any implementation method of the first aspect above.

[0021] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the data storage method described in any implementation manner in the above-mentioned first aspect is implemented.

[0022] In a fifth aspect, some embodiments of the present disclosure provide a computer program product, including a computer program, which, when executed by a processor, implements the data storage method described in any implementation manner in the above-mentioned first aspect.

[0023] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: the data storage method of some embodiments of the present disclosure can improve the accuracy of file parsing results. Specifically, as described in the background technology part, in the relevant resume file management technology, the file is usually uploaded to a management application for recording. This often leads to the following technical problem 1. Since each management application uses a different recognition and analysis method, the accuracy of the data obtained by recognition is directly affected by the recognition accuracy of the management application used. This will directly affect the data accuracy of the stored and managed resume files.

[0024] Based on this, the data storage method of some embodiments of the present disclosure proposes to use multiple file parsing applications to perform file parsing. Then, the content data of the file can be determined by combining the parsing results of multiple file parsing applications. Since different file parsing applications have certain differences in their parsing capabilities for different content data, multiple file parsing applications are used, especially file parsing applications with at least partial different identification and analysis methods. In this way, the parsing results of multiple applications can be integrated to complement each other. Then, the amount of parsed content and the accuracy of the parsing results can be greatly improved. In this way, the integrity and accuracy of the file content stored in the database can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0026] Figure 1 are flow charts of some embodiments of the data storage method disclosed herein;

[0027] Figure 2 are flow charts of other embodiments of the data storage method disclosed herein;

[0028] Figure 3A It is a schematic diagram of an operation of sending a file in a dialog box of an office communication application;

[0029] Figure 3B is another operation diagram for sending a file in a dialog box of an office communication application;

[0030] Figure 4is a schematic diagram of the structure of some embodiments of the data storage device disclosed in the present invention;

[0031] Figure 5 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0032] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0033] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0034] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0035] In addition, the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0036] Figure 1 A process 100 of some embodiments of the data storage method according to the present disclosure is shown. The method may include the following steps:

[0037] Step 101 , in response to receiving an operation instruction representing file data storage, obtaining a target file indicated by the operation instruction.

[0038] In some embodiments, the execution subject (such as an assistant server) of the data storage method of the present invention can be connected to other electronic devices (such as user terminals, databases) through wired or wireless connections. Here, the user can use the terminal to perform file data storage operations. When the execution subject detects the storage operation, it can determine that an operation instruction representing the storage of file data has been received. Then, the target file indicated by the operation instruction can be obtained according to the operation instruction. The file here can be any file whose content data needs to be parsed and stored, such as a resume, a list of personnel, etc. In addition, the format of the file is not limited here, and it can be a commonly used or common file format, such as a document format (PDF, doc, txt), a web page format (html, hypertext markup language) or a picture format (jpg), etc.

[0039] It is understandable that the operation mode of the above storage operation is not limited. As an example, the user can upload the file to be stored in the page of the above management application installed on the terminal. For another example, the user can also send the file to be stored in the dialog box of the office communication application. For details, please refer to Figure 2 The relevant description of step 201 in the embodiment will not be repeated here.

[0040] Step 102: parse the target file using multiple file parsing applications to obtain parsing results of the multiple file parsing applications.

[0041] In some embodiments, when the execution subject obtains the target file, it can use multiple (at least two) file parsing applications to parse the target file, thereby obtaining multiple parsing results. Among them, the file parsing application can be used to identify and structure the content data in the file. Structural processing generally refers to converting unstructured data into structured data. For example, the execution subject can send the target file to the corresponding file parsing application through the API (Application Programming Interface) provided by the application, and obtain the corresponding parsing results.

[0042] Here, among the multiple file parsing applications, at least some of the file parsing applications adopt different recognition and analysis methods. That is, among the file parsing applications in this embodiment, some may adopt, for example, first converting the content data of the file into a text description, and then recognizing and processing the converted text description; some may also adopt, for example, image recognition technology, to recognize and process the content data of the file.

[0043] It is understandable that, compared to using a certain file parsing application, using multiple file parsing applications can obtain multiple reference parsing results. By combining multiple parsing results, this helps to improve the accuracy of file parsing, especially file parsing applications that use different recognition and analysis methods. For example, although some applications have a high parsing success rate, they are mainly in the field of text parsing, and their parsing capabilities for images are poor. Although another application has a relatively low parsing success rate, it has better parsing capabilities for images. In this way, the two are integrated, and the parsing results complement each other, which can improve the success rate of parsing compared to any one of them.

[0044] In some embodiments, in order to improve the accuracy of overall recognition, the execution subject can send the target file to multiple file parsing applications at the same time, so that each file parsing application will parse all the content data of the target file.

[0045] Optionally, in order to improve processing efficiency and reduce work costs, the execution entity can first input the target file into a first file parsing application (such as a certain Lu) to obtain a first parsing result. If, through one-by-one comparison, it is determined that there are unrecognized or incorrectly recognized attributes in the first parsing result, the second file parsing application (such as a certain Sui) can be used to parse the target file to obtain a second parsing result. In other words, we can first use one of the applications for parsing. If there is data that fails to parse, the second application can be used to continue parsing. If the second application also fails to parse, a third application (such as a certain Qianwenda model) can be used for parsing.

[0046] It should be noted that in traditional file parsing technology, the entire file is usually input into a file parsing application, and all the content data of the file is parsed. Here, in order to improve the overall parsing efficiency, the target file can first be input as a whole into the first file parsing application to parse all its content data. If all attributes are successfully identified, the processing can be stopped, that is, there is no need to continue parsing using other file parsing applications. If there are attribute recognition errors or unrecognized attributes, the attributes with recognition errors or unrecognized attributes can be input into the second file parsing application, so that only the content data of the attribute is parsed. In this way, targeted recognition can be achieved, which greatly reduces the amount of data required to be identified, thereby improving processing efficiency.

[0047] Specifically, first, the execution subject can display the first parsing result and the target file on the same screen according to the data layout format of the target file for comparative analysis. It can be understood that during the parsing process, the location information of each content data in the target file can be determined. Therefore, here, in order to facilitate comparative analysis, the first parsing result can also be displayed according to the location information. This helps to improve the efficiency of comparative analysis by displaying and comparing on the same screen. At this time, if it is determined that there are unrecognized or incorrectly identified attributes in the first parsing result, the relevant content data (i.e., attributes and attribute values) of the attribute in the target file can be screenshotted according to the location of the attribute in the target file, thereby obtaining a data image of the attribute. Afterwards, the data image can be input into the second file parsing application to obtain a second parsing result of the attribute.

[0048] Optionally, the execution entity may also input the target file, as well as the attributes that are not identified or identified incorrectly, into a second file parsing application. For example, the attribute may be added after the name of the target file. In this way, the second file parsing application may only parse the content data of the attribute, thereby obtaining a second parsing result of the attribute. It is understandable that the attributes contained in the resume file are generally the same, such as name, age, work experience, etc. And the distribution format of the content data in the resume file is also generally the same, such as the attributes and attribute values ​​are separated by colons or paragraphs, or the attribute font is bolded, enlarged, or has a background color, etc. Through these features, the second file parsing application can first identify the required attributes from the multiple attributes of the resume file, and then identify and process the attribute value of the attribute.

[0049] It should be noted that the first and second file parsing applications are respectively one of a plurality of file parsing applications, and can be set according to actual conditions. For example, a first file parsing application can be selected from a plurality of file parsing applications according to the format of the target file and / or the type of content data. As an example, if the target file is a picture, or there is a lot of picture data in the content data, a file parsing application with better image recognition and parsing capabilities can be selected as the first file parsing application.

[0050] For another example, for a PDF file, it can be converted into a picture format, so that an image model can be selected to parse it. The image model here can adopt an existing related image recognition model, or it can be obtained by training with sample data. It should be noted that in the traditional resume parsing process, the content data of the resume file is usually converted into a text description first, and then the converted text is recognized and processed. However, in actual operation, it can be seen that when the file is a PDF, during the text conversion (such as copying and pasting), conversion errors or failure to convert (becoming a square box) often occur. Recognition processing based on the converted text description will inevitably lead to final recognition processing errors. Therefore, in some embodiments of the present disclosure, by converting a PDF file into a picture, the picture content (equivalent to the original content in the PDF file) is directly recognized and processed. This can avoid the problems caused by the above-mentioned text conversion, which is conducive to further improving the accuracy of the parsing results.

[0051] In addition, existing file parsing applications can often only recognize domestic mobile phone numbers, but cannot recognize overseas mobile phone numbers. Therefore, the above-mentioned image model can also be used to identify the attribute of telephone contact information. Here, mobile phone number samples from various countries can be collected through public resources and marked with the name tags of the countries to which they belong. In this way, the image model can be trained using mobile phone number samples. And the model parameters of the image model are adjusted based on the comparison results of its prediction results with the corresponding name tags. As an example, the image model can adopt a multi-task learning framework, with one task for predicting mobile phone numbers and another task for predicting other content data. This can not only increase the scope of application of the method, but also help improve the accuracy of the recognition results.

[0052] Step 103: Determine the content data of the target file based on the analysis results of the multiple file analysis applications.

[0053] In some embodiments, based on the multiple parsing results obtained in step 102, the execution subject can determine the content data of the target file. As an example, if the target file is input into multiple file parsing applications at the same time, multiple parsing results are obtained. In this case, the execution subject can merge and complement these parsing results. For example, for multiple parsing results of the same attribute, if it is determined that multiple parsing results match (such as the same or similar), the execution subject can determine the parsing result of the target file parsing application in the multiple file parsing applications as the attribute value of the attribute. The target file here can also be set according to actual conditions. As an example, the target file parsing application can be the file parsing application with the highest historical parsing accuracy. Alternatively, for multiple parsing results of the same attribute, if it is determined that multiple parsing results do not match (such as different), the execution subject can select a parsing result from the multiple parsing results according to the historical parsing accuracy of multiple file parsing applications and the attribute information of the attribute as the attribute value of the attribute. For example, the parsing result of the application with higher accuracy can be selected from multiple parsing results that match the attribute. For another example, the parsing result that best matches the attribute can be selected based on big data and historical file data. Alternatively, if it is determined that there is only one non-empty result among the multiple parsing results, that is, only one file parsing application has parsed it, then the non-empty result can be determined as the attribute value of the attribute.

[0054] Optionally, for the above-mentioned method of sequentially using one file parsing application to perform parsing, the execution subject may add the parsing results of the subsequent second, third, etc. file parsing applications to the first parsing result, thereby obtaining the parsed content data of the target file.

[0055] Step 104: Store the content data of the target file into a preset database.

[0056] In some embodiments, the execution subject may store the content data of the target file obtained in step 103 in a preset database to facilitate the use and management of the subsequent file data. The preset database here is also not limited, such as a relational database. As an example, the execution subject may match the attributes in the parsed content data with the fields in the preset database. Afterwards, the attribute value of the matching attribute may be written in the corresponding position of the field, thereby completing the storage of the data.

[0057] It can be seen from the above description that the data storage method of some embodiments of the present disclosure proposes to use multiple file parsing applications to perform file parsing. Then, the content data of the file can be determined by combining the parsing results of multiple file parsing applications. Since different file parsing applications have certain differences in their parsing capabilities for different content data. Therefore, multiple file parsing applications are used, especially file parsing applications with at least partial identification and analysis methods that are different. In this way, the parsing results of multiple applications can be integrated to complement each other. Then, the amount of parsed content and the accuracy of the parsing results can be greatly improved. In this way, the integrity and accuracy of the file content stored in the database can be improved.

[0058] It should be noted that, as described in the background technology section, the second technical problem is that existing file parsing applications can generally only identify and process content data filled in resume files. For content data that is not filled in, the recognition result is often empty. Considering that there are sometimes certain associations between some content data in the file, especially resume files. Its content data often has a certain time relationship, and some content occurs in chronological order. For example, there is a time relationship between age and date of birth, and education; another example is work experience and related years of work, etc.

[0059] In view of the storage relationship between content data, the following solution can be adopted to solve the above technical problem 2.

[0060] In some application scenarios, when the target file is parsed and the content data is obtained, if it is determined that the target file lacks the attribute value of a specified attribute, the attribute value of the specified attribute can be inferred based on the attribute value of the associated attribute in the target file to update the content data of the parsed target file. The specified attribute is usually a more important attribute in the preset database, which can be set according to the file to be stored. In this way, the missing data can be inferred and determined based on the existing associated content data, which can not only improve the accuracy of the inference result, but also enrich the required file data.

[0061] Taking the resume file as an example, if the age is not filled in, the age of the person can be obtained by subtracting the year of birth from the current year. Furthermore, the age can be accurately inferred by combining the size relationship between the current month and the month of birth. For example, if the current month is less than the month of birth, the age is reduced by one; otherwise, it can be increased by one. If the date of birth is not filled in, the age can also be inferred based on the academic qualifications. For example, the name of the school and the time of study are usually written in the learning experience. At this time, the age of the person can be determined by subtracting the graduation year from the current year and adding the graduation age. Among them, the graduation age can be the average age obtained by big data statistics, such as the average graduation age of undergraduates is 23 years old. Since different schools set different study years for different academic qualifications, in order to improve the accuracy of the inference, the above-mentioned graduation years can also be the average value of the corresponding professional qualifications of the corresponding school.

[0062] It should be noted that in the actual office process, in order to facilitate work communication and management, each company usually uses office communication applications. The office communication application here usually refers to chat tools, such as a certain book, a certain QQ, a certain letter, etc. In the face of the technical problem 3 mentioned in the background technology part, combined with the popularity of office communication applications, the following can be adopted Figure 2 The solution described in the embodiment.

[0063] Continue to see Figure 2 , which shows a process 200 of another embodiment of the data storage method according to the present disclosure. The method may include the following steps:

[0064] Step 201 , in response to detecting an operation of sending a file in a dialog box of an office communication application, obtaining the file sent by the operation as a target file.

[0065] In some embodiments, if the execution subject of the data storage method of the present disclosure detects an operation of sending a file in the dialog box of the office communication application, the file sent by the operation can be obtained as the target file. It can be understood that the operation method of sending a file here is also not limited.

[0066] As an example, the operation method of sending files in existing chat tools can be adopted. Figure 3A As shown, the user can directly drag the file to be sent into the dialog box. Alternatively, the send control can be used to select and send the file. In this case, if the execution subject detects a file in the dialog box of the office communication application, the file can be obtained in the specified storage location (i.e., the file storage location) according to the storage path of the office communication application.

[0067] It is understandable that the above operation method often requires downloading the file to the local computer first and then sending the file. Optionally, in order to further improve the data processing efficiency, such as Figure 3BAs shown, the user can also send the file identifier representing the file in the dialog box. The naming rules of the file identifier can be set by yourself. In this case, if the execution subject detects the file identifier of the sent file in the dialog box of the office communication application, the file indicated by the file identifier can be obtained in the specified application based on the file identifier. As an example, the user can send the file number of the resume file in a certain application to the dialog box. At this time, the execution subject can find the resume file indicated by the file number in the database of a certain application based on the file number.

[0068] This operation mode does not require the file downloading process, thereby simplifying the file sending process and improving the convenience of user operation. In addition, it can also enrich the diversity of operation modes to meet the needs of different users.

[0069] Step 202: parse the target file using multiple file parsing applications to obtain parsing results of the multiple file parsing applications.

[0070] Step 203: Determine the content data of the target file based on the analysis results of the multiple file analysis applications.

[0071] Step 204: store the content data of the target file into a preset database.

[0072] In some embodiments, the contents of steps 202 to 204 above can be found in Figure 1 The descriptions of steps 102 to 104 in the embodiment are not repeated here.

[0073] Step 205 , in response to determining that the storage of the content data of the target file is completed, generating corresponding feedback information according to the dialogue scenario of the dialog box.

[0074] In some embodiments, when it is determined that the content data storage of the target file is complete, the execution subject can also generate corresponding feedback information based on the dialogue scene in the dialog box, such as different groups and dialogue contexts, and can display the feedback information in the dialog box. As an example, when the user has a separate dialogue with the execution subject, the feedback information can be information that indicates that the file has been stored, and the specific information content is not limited. For another example, when the user sends the target file in a multi-person project group, the feedback information can be a storage link of the target file, or a recommended link for recommending or sharing the target file, etc. In this way, other users in the group can view the detailed content of the target file through the recommended link. The recommended link can also be sent to other contacts.

[0075] The data storage method of the embodiment of the present disclosure further enriches and improves the processing flow of file storage operations and file acquisition. It can be understood that the execution subject of the data storage method of the present disclosure can be embedded in the office communication application as an intelligent assistant to complete Figure 2 The method flow in the embodiment. This can reduce the number of applications that the user needs to open on the terminal. The file data can be directly stored through the office communication application. This helps to improve work efficiency and reduce or avoid switching operations between different applications. In addition, the method disclosed in the present invention can also generate different feedback information according to different dialogue scenarios. This can improve the scope of application of the method and meet the usage needs of different users.

[0076] Further references Figure 4 , as a response to the above Figure 1 , 2 The present disclosure provides some embodiments of a data storage device. Figure 1 , 2 The device can be specifically applied to various electronic devices.

[0077] like Figure 4 As shown, the data storage device 400 of some embodiments may include: a file acquisition unit 401, configured to acquire a target file indicated by an operation instruction in response to receiving an operation instruction representing file data storage; a file parsing unit 402, configured to parse the target file using multiple file parsing applications to obtain parsing results of the multiple file parsing applications, wherein at least some of the multiple file parsing applications use different recognition and analysis methods; a data determination unit 403, configured to determine content data of the target file based on the parsing results of the multiple file parsing applications; and a storage unit 404, configured to store the content data of the target file in a preset database.

[0078] In some embodiments, the file parsing unit 402 may include: a first parsing subunit (not shown in the figure), which is configured to further input the target file into a first file parsing application to obtain a first parsing result; a second parsing subunit (not shown in the figure), which is configured to parse the target file using a second file parsing application in response to determining that there are unrecognized or incorrectly recognized attributes in the first parsing result to obtain a second parsing result.

[0079] In some embodiments, the second parsing sub-unit is further configured to display the first parsing result and the target file on the same screen for comparative analysis based on the data layout format of the target file; in response to determining that there are unrecognized or incorrectly recognized attributes in the first parsing result, based on the position of the attribute in the target file, take a screenshot of the relevant content data of the attribute to obtain a data image of the attribute; and input the data image into a second file parsing application to obtain a second parsing result of the attribute.

[0080] In some embodiments, the second parsing subunit is further configured to input the target file and the unrecognized or incorrectly recognized attribute into a second file parsing application to obtain a second parsing result of the attribute.

[0081] In some embodiments, the file parsing unit 402 is further configured to input the target file into multiple file parsing applications respectively; and the data determination unit 403 is further configured to, for multiple parsing results of the same attribute, in response to determining that the multiple parsing results match, determine the parsing result of the target file parsing application among the multiple file parsing applications as the attribute value of the attribute, wherein the target file parsing application is the file parsing application with the highest historical parsing accuracy; or in response to determining that the multiple parsing results do not match, select a parsing result from the multiple parsing results as the attribute value of the attribute based on the historical parsing accuracy of the multiple file parsing applications and the attribute information of the attribute; or in response to determining that there is only one non-empty result among the multiple parsing results, determine the non-empty result as the attribute value of the attribute.

[0082] In some embodiments, the file acquisition unit 401 is further configured to, in response to detecting an operation of sending a file in a dialog box of an office communication application, acquire the file sent by the operation as a target file; and the data storage device 400 also includes a feedback unit, which is configured to, in response to determining that the storage of the content data of the target file is completed, generate corresponding feedback information according to the dialogue scenario of the dialog box, wherein the feedback information for different dialogue scenarios is different.

[0083] In some embodiments, the file acquisition unit 401 is further configured to, in response to detecting a file in a dialog box of the office communication application, acquire the file in a designated storage location according to a storage path of the office communication application.

[0084] In some embodiments, the file acquisition unit 401 is further configured to, in response to detecting a file identifier of a sent file in a dialog box of an office communication application, acquire the file indicated by the file identifier in a designated application according to the file identifier.

[0085] It is understood that the units recorded in the data storage device 400 are similar to the reference Figure 1, 2 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the data storage device 400 and the units contained therein, and will not be described in detail here.

[0086] Reference below Figure 5 , which shows a structural schematic diagram of an electronic device 500 suitable for implementing some embodiments of the present disclosure. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0087] like Figure 5 As shown, the electronic device 500 may include a processing device 501 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0088] Typically, the following devices may be connected to the I / O interface 505: input devices 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 507 including, for example, a speaker, a vibrator, etc.; storage devices 508 including, for example, a disk, a memory card, etc.; and communication devices 509. The communication devices 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Figure 5 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 5 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0089] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

[0090] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0091] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0092] The computer-readable medium may be included in the electronic device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: in response to receiving an operation instruction representing the storage of file data, obtains the target file indicated by the operation instruction; uses multiple file parsing applications to parse the target file, and obtains the parsing results of multiple file parsing applications, wherein at least some of the multiple file parsing applications use different recognition and analysis methods; determines the content data of the target file based on the parsing results of the multiple file parsing applications; and stores the content data of the target file in a preset database.

[0093] In addition, computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0094] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0095] The units described in some embodiments of the present disclosure may be implemented by software or hardware. The described units may also be provided in a processor, for example, may be described as: a processor including a file acquisition unit, a file parsing unit, a data determination unit and a storage unit. The names of these units do not constitute limitations on the units themselves in certain circumstances, for example, the file acquisition unit may also be described as a "unit for acquiring a target file indicated by an operation instruction".

[0096] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0097] Some embodiments of the present disclosure further provide a computer program product, including a computer program, which implements any of the above-mentioned data storage methods when executed by a processor.

[0098] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

Claims

1. A data storage method, comprising: In response to receiving an operation instruction representing a file data storage, acquiring a target file indicated by the operation instruction; Analyzing the target file using multiple file analysis applications to obtain analysis results of the multiple file analysis applications, wherein at least some of the multiple file analysis applications use different recognition and analysis methods; Determining content data of the target file based on the analysis results of the multiple file analysis applications; In response to determining that the target file lacks an attribute value of a specified attribute, inferring and determining the attribute value of the specified attribute according to the attribute value of the associated attribute in the target file, so as to update the content data of the target file obtained by parsing; storing the content data of the target file in a preset database; The step of parsing the target file using multiple file parsing applications to obtain parsing results of the multiple file parsing applications includes: Inputting the target file into a first file parsing application to obtain a first parsing result; In response to determining that there are unrecognized or incorrectly recognized attributes in the first parsing result, a second file parsing application is used to parse only the content data of the unrecognized or incorrectly recognized attributes in the target file to obtain a second parsing result.

2. The data storage method according to claim 1, wherein: In response to determining that there are unrecognized or incorrectly recognized attributes in the first parsing result, using a second file parsing application to parse only the content data of the unrecognized or incorrectly recognized attributes in the target file to obtain a second parsing result, including: According to the data layout format of the target file, displaying the first parsing result and the target file on the same screen for comparative analysis; In response to determining that there is an unrecognized or incorrectly recognized attribute in the first parsing result, taking a screenshot of relevant content data of the attribute according to a position of the attribute in the target file to obtain a data image of the attribute; The data image is input into a second file parsing application to obtain a second parsing result of the attribute.

3. The data storage method according to claim 1, wherein: The using of the second file parsing application to parse only the content data of the unrecognized or incorrectly recognized attributes in the target file to obtain a second parsing result also includes: The target file and the unrecognized or incorrectly recognized attribute are input into a second file parsing application to obtain a second parsing result of the attribute.

4. The data storage method according to any one of claims 1 to 3, wherein: In response to receiving the operation instruction representing the storage of file data, obtaining the target file indicated by the operation instruction includes: In response to detecting an operation of sending a file in a dialog box of an office communication application, acquiring the file sent by the operation as a target file; and The method further comprises: In response to determining that the storage of the content data of the target file is complete, corresponding feedback information is generated according to the dialogue scenario of the dialog box, wherein the feedback information of different dialogue scenarios is different.

5. The data storage method according to claim 4, wherein: The step of acquiring the file sent by the operation in response to detecting the operation of sending a file in the dialog box of the office communication application includes: In response to detecting a file in a dialog box of an office communication application, the file is acquired at a designated storage location according to a storage path of the office communication application.

6. The data storage method according to claim 4, wherein: In response to detecting an operation of sending a file in a dialog box of an office communication application, obtaining the file sent by the operation further includes: In response to detecting a file identifier of a sent file in a dialog box of an office communication application, the file indicated by the file identifier is acquired in a designated application according to the file identifier.

7. A data storage device, comprising: A file acquisition unit, configured to, in response to receiving an operation instruction representing file data storage, acquire a target file indicated by the operation instruction; A file parsing unit is configured to parse the target file using a plurality of file parsing applications to obtain parsing results of the plurality of file parsing applications, wherein at least some of the plurality of file parsing applications use different recognition and analysis methods; a data determination unit configured to determine content data of the target file based on parsing results of the plurality of file parsing applications, and in response to determining that an attribute value of a specified attribute is missing from the target file, inferring and determining an attribute value of the specified attribute based on attribute values ​​of associated attributes in the target file, so as to update the content data of the target file obtained by parsing; A storage unit, configured to store the content data of the target file into a preset database; Among them, the file parsing unit is further configured to input the target file into a first file parsing application to obtain a first parsing result; in response to determining that there are unrecognized or incorrectly identified attributes in the first parsing result, use a second file parsing application to parse only the content data of the unrecognized or incorrectly identified attributes in the target file to obtain a second parsing result.

8. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the data storage method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Resume processing method and device

    CN111241270A

  • Data file processing method and device

    CN111797613A

  • Static page generation method and device, storage medium and electronic equipment

    CN116126327A