Information processing method and device
By generating the target file, including the target information of reference information in the pending file, the problem of reference information loss during file transfer is solved, and the accuracy and user understanding of the information are improved.
Patent Information
- Application Number
- CN202411217846.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2025-01-07
AI Technical Summary
During the transfer of file content, the exact data information referred to by reference information is easily lost, which leads to inconvenience when users read and understand file content.
By generating the target file, it is determined that the reference information satisfying the target characteristics and its corresponding reference information in the to-processed file, the target information referred to by the reference information is determined based on the reference information, and the target information is included in the target file, so as to Ensure that target information is always carried during transmission.
It effectively avoids the loss of exact data information referred to by reference information, improves the convenience of users to understand the content of the file, and ensures the accuracy and completeness of the information.
Smart Images

Figure CN119271633A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of information processing technology, and in particular, relates to an information processing method and device. Background Art
[0002] The content information contained in the generated file often contains some referential information that does not directly express the exact data information or expresses incomplete data information. As the file content is transmitted / disseminated, the exact data information referred to by these referential information is at risk of being lost. For example, if the text of the sent email contains relative time information such as today, next year, next quarter, etc., the precise (absolute) time information referred to by these relative time information will be lost in the process of disseminating the email text content through copying, etc.
[0003] The loss of the exact data information referred to by the referential information will cause inconvenience to users in reading and understanding the file content, making it difficult for users to understand the meaning represented by these referential information. Summary of the invention
[0004] To this end, this application discloses the following technical solutions:
[0005] An information processing method, comprising:
[0006] In response to a processing instruction for generating a target file for a to-be-processed file, determining referential information in the to-be-processed file that satisfies a target feature, and reference information corresponding to the referential information;
[0007] Determining, based on the reference information, the target information to which the referential information refers;
[0008] Generate a target file corresponding to the file to be processed and containing the target information;
[0009] The referential information and the target information are different expressions describing the same object.
[0010] Optionally, determining the referential information satisfying the target feature in the to-be-processed file includes:
[0011] Generate summary information of the file to be processed, and determine referential information in the summary information that meets the target feature.
[0012] Optionally, determining the referential information satisfying the target feature in the to-be-processed file includes:
[0013] Constructing first prompt word information; the first prompt word information is used to instruct to extract referential information from the content information of the file to be processed;
[0014] The content information and the first prompt word information are input into a generative artificial intelligence model to obtain referential information that satisfies the target feature and is extracted from the content information by the generative artificial intelligence model.
[0015] Optionally, the referential information includes at least one of the following: time information lacking precise time data, location information lacking precise location data, and character information lacking descriptive data;
[0016] Determining the reference information corresponding to the referential information includes at least one of the following:
[0017] Determine the precise time data corresponding to the current time as reference information for the time information;
[0018] Determine accurate location data corresponding to the current location as reference information for the location information;
[0019] Determine description data of the character corresponding to the character information as reference information of the character information.
[0020] Optionally, the determining of description data of the character corresponding to the character information includes one of the following:
[0021] Determine, from a knowledge source, context information that satisfies a first association relationship with the character information as description data of the character corresponding to the character information;
[0022] Determine from a knowledge source context information that satisfies a first association relationship with the character information, construct second prompt word information for indicating generation of description data for a character corresponding to the character information based on the context information, input the second prompt word information into a generative artificial intelligence model, and obtain the description data for the character corresponding to the character information generated by the generative artificial intelligence model based on the second prompt word information.
[0023] Optionally, determining, based on the reference information, the target information referred to by the referential information includes at least one of the following:
[0024] Determine the precise time data referred to by the time information based on the precise time data corresponding to the current time;
[0025] Determine the precise location data referred to by the location information based on the precise location data corresponding to the current location;
[0026] The description data of the character corresponding to the character information is determined as the target information referred to by the character information.
[0027] Optionally, the generating a target file containing the target information corresponding to the file to be processed includes:
[0028] Establishing a second association relationship between the referential information and the target information it refers to;
[0029] The target file is generated, which includes the content information of the file to be processed, the second association relationship and the target information.
[0030] Optionally, after generating a target file containing the target information corresponding to the file to be processed, the method further includes:
[0031] Target processing is performed on the target file.
[0032] Optionally, the target file includes content information of the file to be processed, and the performing target processing on the target file includes at least one of the following:
[0033] Displaying the content information, wherein the referential information in the content information has a special mark;
[0034] Displaying the content information, wherein the referential information in the content information is replaced with the target information it refers to for display;
[0035] Display the content information and the target information referred to by the referential information in the content information;
[0036] Transmitting the content information and the target information contained in the target file;
[0037] Transmitting at least part of the content information and target information referred to by at least part of the referential information contained in the content information;
[0038] The specific content information corresponding to the summary information of the to-be-processed file and the target information referred to by the referential information contained in the specific content information are transmitted.
[0039] An information processing device, comprising:
[0040] A first determination module, configured to determine, in response to a processing instruction for generating a target file from a file to be processed, referential information in the file to be processed that satisfies a target feature, and reference information corresponding to the referential information;
[0041] A second determination module, configured to determine, based on the reference information, the target information to which the referential information refers;
[0042] A generating module, used for generating a target file corresponding to the file to be processed and containing the target information;
[0043] The referential information and the target information are different expressions describing the same object.
[0044] An electronic device, comprising:
[0045] A memory for storing at least one set of computer instructions;
[0046] A processor is used to implement the information processing method as described in any one of the above by executing the instruction set stored in the memory. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0048] Figure 1 It is a flow chart of the information processing method provided by this application;
[0049] Figure 2 is an exemplary target file generated based on the multi-text format provided by this application;
[0050] Figure 3 It is another flowchart of the information processing method provided by the present application;
[0051] Figure 4 It is an example of displaying file content information and target information referred to by referential information in the file content information provided by the present application;
[0052] Figure 5 It is a structural diagram of the information processing device provided by this application;
[0053] Figure 6 It is a structural diagram of the electronic device provided in this application. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0055] The embodiments of the present application provide an information processing method and device, which are used to solve the problem that the exact data information referred to by the referential information is easily lost during the transmission / propagation of the file content, so as to avoid inconvenience for users to read and understand the file content. The data processing method provided by the embodiments of the present application can be applied to electronic devices in many general or special computing device environments or configurations, such as personal computers, server computers, handheld devices or portable devices, tablet devices, multi-processor devices, etc.
[0056] See also Figure 1 As shown in the method flow chart, the information processing method provided in the embodiment of the present application may at least include the following steps 101 to 103, and these steps are described in detail below.
[0057] Step 101: In response to a processing instruction for generating a target file for a file to be processed, determining referential information in the file to be processed that meets target characteristics and reference information corresponding to the referential information.
[0058] The files to be processed may be, but are not limited to, emails to be sent, office documents such as word / ppt / excel to be saved, webpage files to be published, etc.
[0059] The target file refers to the file generated after the corresponding processing to be executed is performed on the file to be processed. Taking the file to be processed as an email to be sent, an office document such as word / ppt / excel to be saved, or a web page file to be published, the target file can be the sent email generated after the sending processing is performed on the email to be sent, the saved file generated after the saving processing is performed on the office document such as word / ppt / excel to be saved, or the published web page generated after the publishing processing is performed on the web page file to be published.
[0060] The processing instruction is used to instruct to generate the to-be-processed file into a target file, and may specifically be, but not limited to, an email sending instruction, a word / ppt / excel or other office document saving instruction, a web page publishing instruction, etc., depending on the actual application scenario.
[0061] The referential information that meets the target characteristics refers to information that does not directly express exact data information or expresses incomplete data information, including but not limited to time information that lacks precise time data, location information that lacks precise location data, character information that lacks descriptive data (such as character names), etc.
[0062] In this step, specifically, a processing instruction for generating a target file for a file to be processed may be detected, and in response to detecting the processing instruction for generating a target file for a file to be processed, referential information in the file to be processed that meets the target characteristics and reference information corresponding to the referential information are determined.
[0063] When determining the referential information that meets the target characteristics in the file to be processed, optionally, the referential information that meets the target characteristics in the content information of the file to be processed can be specifically determined, for example, the referential information that meets the target characteristics in the email body content or the attachment content is determined, or the referential information that meets the target characteristics in the ppt content to be saved is determined, etc.
[0064] However, the present invention is not limited thereto. In other implementations, summary information of the to-be-processed file may be generated, and referential information satisfying target characteristics in the summary information may be determined.
[0065] Of course, in actual applications, these two implementations can also be combined to determine both the referential information that meets the target characteristics in the content information of the to-be-processed file and the referential information that meets the target characteristics in the summary information of the to-be-processed file. For example, the time information "today", "two years", "next quarter", "next century" that lacks precise expression, and the character information "Dr. Li Si" that lacks relevant introduction / description can be determined from the ppt document to be saved and / or its summary information.
[0066] The reference information corresponding to the referential information is used as a reference benchmark or auxiliary information to determine the exact meaning represented by the referential information.
[0067] Exemplarily, for the case where the referential information is time information that lacks precise time data (such as "today", "two years", "next quarter"), the reference information corresponding to the referential information may include the precise time data corresponding to the current time, such as the current time information "xx year xx month xx day"; for the case where the referential information is location information that lacks precise location data (such as "this city", "this province"), the reference information corresponding to the referential information may include the precise location data corresponding to the current location, such as precise geographic location information; for the case where the referential information is person information that lacks explanatory description data (such as "Dr. Li Si"), the reference information corresponding to the referential information may include explanatory description data of the person corresponding to the person information, such as the educational background of "Dr. Li Si", published documents, etc.
[0068] Correspondingly, for the above example, the precise time data corresponding to the current time can be determined as reference information for the time information, the precise location data corresponding to the current location can be determined as reference information for the location information, and / or the description data of the character corresponding to the character information can be determined as reference information for the character information.
[0069] Step 102: Determine the target information referred to by the referential information based on the reference information.
[0070] Referential information and the target information referred to by the referential information are different expressions that describe the same object. The target information referred to by the referential information is specifically the exact data information referred to by the referential information, which is used to express the exact meaning represented by the referential information. For example, assuming that the referential information is the time information "tomorrow" that lacks precise expression, the target information it refers to is the specific date "xx / xx / xx" represented by "tomorrow". Assuming that the referential information is the time information "next quarter" that lacks precise expression, if the current quarter is the second quarter, the target information referred to by the referential information "next quarter" is the "third quarter" represented by "next quarter".
[0071] After determining the referential information satisfying the target feature in the file to be processed and the reference information corresponding to the referential information, the reference information corresponding to the referential information can be used as a reference benchmark or auxiliary information to determine the target information referred to by the referential information.
[0072] For example, in the case where the referential information is time information lacking precise time data (referred to as "referential time information"), the precise time data corresponding to the current time can be used as a reference to determine the precise time data referred to by the referential time information. For example, assuming that the referential time information is "tomorrow", the date of the current (i.e., today) precise time data "xx year xx month xx day" can be added by 1 to obtain the precise time data referred to by the referential time information "tomorrow".
[0073] In the case where the referential information is location information lacking precise location data (referred to as "referential location information"), the precise location data corresponding to the current location, such as precise geographic location information, can be used as a reference to determine the precise location data referred to by the referential location information. For example, based on the location information obtained by locating the current location, the specific city name or province name represented by the referential location information "this city" or "this province" can be determined.
[0074] In the case where the referential information is character information that lacks explanatory description data (referred to as "referential character information"), the explanatory description data of the character corresponding to the referential character information can be used as the target information referred to by the referential character information. For example, for the referential character information "Dr. Li Si", the explanatory description data such as the character identity information, educational background, work experience, honors obtained and / or published literature information corresponding to "Dr. Li Si" can be used as the target information referred to by the referential character information "Dr. Li Si".
[0075] Step 103: Generate a target file corresponding to the file to be processed and containing the target information.
[0076] On the basis of determining the target information referred to by the referential information, a target file containing the target information corresponding to the file to be processed may be further generated.
[0077] When generating a target file containing the target information corresponding to the file to be processed, optionally, a second association relationship between the referential information and the target information it refers to can be specifically constructed, and a target file containing content information of the file to be processed, the second association relationship and the target information can be generated.
[0078] Optionally, each piece of referential information corresponds to a corresponding second association relationship and target information, and the number of second association relationships and target information may be one or more, without limitation, depending on the number of pieces of referential information.
[0079] In one embodiment, the referential information corresponding to each second association relationship and each target information in the file to be processed can be determined first. The referential information can be the referential information in the original content information of the file to be processed and / or the referential information in the summary information of the file to be processed.
[0080] On this basis, each second association relationship and target information can be saved to the information position of the corresponding referential information in the file to be processed based on Multi Text Format (MTF) or Rich Text Format (RTF), thereby generating a target file containing the content information of the file to be processed, the second association relationship and the target information.
[0081] See also Figure 2 , shows a schematic diagram of an exemplary target file generated based on a multi-text format for a file to be processed, such as Figure 2 As shown, for the referential information such as "today", "this city", "in the past two years", "next quarter", "Dr. Li Si", and "next century" contained in the file content of the file to be processed, in the generated target file, the corresponding target information and the second association relationship are associated and saved at the information position of each referential information based on the multi-text format. Taking the referential information "today" as an example, its corresponding target information is "2024.02.29", and the corresponding second association relationship is the association relationship represented by "{2024.02.09 today}".
[0082] Among them, \t, \p, \b, etc. represent multi-text format control codes such as time, place, and person, respectively.
[0083] It is worth mentioning that Figure 2The content information of the target file shown is the background content information of the target file (such as the storage content information when storing the sent email / saved ppt / published web page), rather than the interface content when displayed.
[0084] In practical applications, the target file corresponding to the to-be-processed file is not limited to the above-mentioned implementation mode. In other implementation modes, the content information of the to-be-processed file can be directly used as the content information of the corresponding target file, and the second association relationship and the target information can be used as the configuration information of the target file and embedded in the configuration file of the target file. It is easy to understand that under this implementation mode, the content information of the to-be-processed file and the configuration file are both components of the target file and together constitute the target file.
[0085] In summary, the information processing method of the embodiment of the present application, in response to a processing instruction for generating a target file for a file to be processed, determines the referential information that meets the target characteristics in the file to be processed and the reference information corresponding to the referential information, determines the target information referred to by the referential information according to the reference information, and generates a target file corresponding to the file to be processed and containing the target information. It can be seen that for a file to be processed containing referential information, the application proposes and implements the technical concept of generating a corresponding target file containing target information for the file to be processed. The target information is the exact data information referred to by the referential information, which can be used to represent the exact meaning represented by the referential information. By including the target information referred to by the referential information in the generated target file, the target information can be always carried during the transmission / propagation process of the target file, thereby eliminating the risk of losing the exact data information referred to by its referential information during the file transmission / propagation process, avoiding the loss of the exact data information referred to by the referential information, and correspondingly avoiding the inconvenience caused to the user in reading and understanding the file content.
[0086] In an optional embodiment, in step 101 of the method provided by the present application, determining the referential information satisfying the target feature in the to-be-processed file may be further implemented as follows:
[0087] 11) Constructing first prompt word information; the first prompt word information is used to instruct to extract referential information from the content information of the file to be processed.
[0088] Specifically, the first prompt word information can be constructed based on a first prompt word template of a generative artificial intelligence model.
[0089] Optionally, the first prompt word information constructed based on the first prompt word template may include, but is not limited to, at least part of the following information: the target role specified for the generative artificial intelligence model, the role capabilities of the target role, the role tasks to be completed by the target role, the inference rules on which the target role must complete the role tasks, and task examples for completing the role tasks based on the inference rules.
[0090] It should be noted that the above-mentioned information contained in the first prompt word information is all set around the guidance goal of "used to instruct the extraction of referential information that meets the target characteristics from the content information of the file to be processed", so as to guide the generative artificial intelligence model to extract referential information that meets the target characteristics from the content information of the file to be processed.
[0091] 12) Inputting the content information of the file to be processed and the first prompt word information into a generative artificial intelligence model to obtain referential information that satisfies the target feature and is extracted from the content information by the generative artificial intelligence model.
[0092] In constructing the information of the first prompt word information, the content information of the file to be processed and the first prompt word information can be input into the generative artificial intelligence model. After that, the generative artificial intelligence model extracts the referential information that meets the target characteristics from the content information of the file to be processed based on the guiding role of the first prompt word information, for example, extracting the referential time information "today", "next quarter", the referential place information "this city", "this province", and / or the referential character information "Dr. Li Si", etc., and outputs the extracted referential information.
[0093] The above implementation method specifically realizes extracting referential information that meets the target characteristics from the content information of the file to be processed. In practical applications, as described above, summary information of the file to be processed can also be generated, and referential information that meets the target characteristics in the summary information can be determined.
[0094] In this implementation, optionally, a generative artificial intelligence model may be used to generate summary information of the file to be processed, and further a generative artificial intelligence model may be used to extract referential information that meets the target characteristics from the summary information of the file to be processed.
[0095] Among them, different prompt word information can be constructed respectively in different use stages of the generative artificial intelligence model to instruct / guide the generative artificial intelligence model to provide matching processing functions. For example, when the generative artificial intelligence model is required to generate summary information of the file to be processed, prompt word information for indicating the generation of summary information for the file to be processed is constructed; when the generative artificial intelligence model is required to extract referential information that meets the target characteristics, prompt word information for indicating the extraction of referential information that meets the target characteristics is constructed.
[0096] This embodiment uses a generative artificial intelligence model to determine the referential information in the file to be processed. With the help of the powerful processing capabilities of the generative artificial intelligence model, it can accurately and efficiently extract referential information that meets the target characteristics from the file to be processed, thereby improving the accuracy and speed of referential information extraction, which can correspondingly improve the quality of the target file finally generated, and at the same time improve the generation efficiency of the target file.
[0097] In an optional embodiment, in step 101 of the method provided in the present application, when determining the reference information corresponding to the referential information, for the case where the referential information is time information that lacks precise time data, that is, referential time information, it can be, but is not limited to, obtaining the current system time on the electronic device (such as a laptop computer) or obtaining the current standard time from a time server through a network interface to obtain the precise time data corresponding to the current time (that is, the current system time or the current standard time), and use the precise time data corresponding to the current time as the reference information corresponding to the referential time information.
[0098] In the case where the referential information is location information that lacks precise location data, that is, referential location information, it is possible, but not limited to, to locate the current location of the electronic device by calling a positioning module of the electronic device, such as a GPS positioning module, to obtain precise geographic location information of the current location, and use the precise geographic location information as reference information corresponding to the referential location information.
[0099] In the case where the referential information is character information lacking explanatory description data, that is, referential character information, optionally, the explanatory description data of the character corresponding to the referential character information can be specifically determined, and the explanatory description data can be used as reference information corresponding to the referential character information.
[0100] The description data of the person corresponding to the representative person information may be determined based on, but not limited to, one of the following implementations 21) and 22):
[0101] 21) Determine, from a knowledge source, context information that satisfies a first association relationship with the representative character information as explanatory description data of the character corresponding to the representative character information.
[0102] Optionally, the first association condition may be set as that the degree of match with the keywords included in the representative character information reaches a matching threshold, or the degree of semantic similarity with the representative character information reaches a similarity threshold.
[0103] The knowledge source may include, but is not limited to, a local database and / or a network knowledge base.
[0104] In this implementation, the search conditions can be specifically constructed based on the referential character information, such as constructing corresponding search conditions based on the character name "Li Si" and the degree "Doctor" contained in the referential character information "Dr. Li Si", and based on the constructed search conditions, searching is performed in the local database and / or network knowledge base through keyword matching or semantic matching to obtain corresponding search results.
[0105] The search result can be regarded as context information that satisfies the first association relationship with the representative character information. In this implementation, the context information that satisfies the first association relationship with the representative character information is used as description data of the character corresponding to the representative character information.
[0106] 22) Determine from a knowledge source context information that satisfies a first association relationship with the referential character information, construct second prompt word information based on the context information for indicating generation of descriptive data for the character corresponding to the referential character information, input the second prompt word information into a generative artificial intelligence model, and obtain the descriptive data for the character corresponding to the referential character information generated by the generative artificial intelligence model based on the second prompt word information.
[0107] Different from the previous implementation 21), this implementation 22) after determining the context information that satisfies the first association relationship with the referential character information from the knowledge source, further constructs the second prompt word information for indicating the generation of description data of the character corresponding to the referential character information based on the context information.
[0108] Specifically, the second prompt word information can be constructed based on the second prompt word template of the generative artificial intelligence model. The second prompt word information constructed based on the second prompt word template can also include but is not limited to at least one of the following: the target role specified for the generative artificial intelligence model, the role capabilities of the target role, the role tasks to be completed by the target role, the inference rules based on which the target role needs to complete the role tasks, and task examples for completing the role tasks based on the inference rules.
[0109] It should be noted that the above-mentioned information contained in the second prompt word information is all set around the guidance goal of "used to instruct the generation of descriptive data of the person corresponding to the referential character information" so as to guide the generative artificial intelligence model to generate descriptive data of the person corresponding to the referential character information.
[0110] After completing the construction of the second prompt word information, the second prompt word information can be input into a generative artificial intelligence model to obtain description data of the character corresponding to the referential character information generated by the generative artificial intelligence model based on the second prompt word information.
[0111] The following examples illustrate this.
[0112] For example, firstly, the context information of Dr. Li Si is retrieved from the local database and / or the network knowledge base, including but not limited to the personal identity information, educational background, work experience, honors obtained, and information on published literature of Dr. Li Si.
[0113] Afterwards, the second prompt word information is constructed based on the second prompt word template, such as "Please generate an introduction to Dr. Li Si based on the following information about Dr. Li Si: Dr. Li Si's educational background is {specific educational background}, work experience is {specific work experience}, and he has published papers {[paper title_1], [paper title_2]…"}, and then such prompt word information is input into the generative artificial intelligence model, so that the artificial intelligence model can generate an accurate description of the relevant information of Dr. Li Si based on this information.
[0114] The above process essentially adopts the RAG (Retrieval-Augmented Generation) technology in artificial intelligence. Based on this processing process, the description information of the characters generated by the generative artificial intelligence model can be more accurate and relevant to the contextual information.
[0115] In practical applications, referential information usually includes referential time information, referential location information and / or referential character information. This embodiment provides a feasible implementation method for determining the reference information corresponding to the referential information for these referential information, and provides a reference basis for the subsequent determination of the target information referred to by the referential information. In addition, this embodiment combines RAG technology and uses a generative artificial intelligence model to generate character description data (character description data can be used as reference information corresponding to referential character information), which can facilitate the rapid and efficient acquisition of accurate descriptions corresponding to referential character information, thereby further ensuring the quality and generation efficiency of the target file finally generated.
[0116] In an alternative embodiment, see Figure 3 As shown in the information processing method flow chart, the information processing method provided by the present application may further include the following processing after step 103.
[0117] Step 104: Execute target processing on the target file.
[0118] As mentioned above, the target file may include content information of the to-be-processed file, a second association relationship between the referential information and the target information it refers to, and the target information.
[0119] Performing target processing on the target file may include but is not limited to performing at least one of the following processing:
[0120] 31) Displaying the content information, wherein the referential information in the content information has a special mark.
[0121] The special identification of the referential information may be, but is not limited to, highlight effect information corresponding to highlighting the referential information, color information corresponding to special color marking of the referential information, or identifier information corresponding to adding an additional identifier to the referential information.
[0122] The special mark is used to visually mark the referential information in the content information when displaying the content information, so as to facilitate the user to understand or view the referential information in the content information.
[0123] 32) Displaying the content information, wherein the referential information in the content information is replaced by the target information it refers to for display.
[0124] In this embodiment 32), when the content information is displayed, the referential information in the content information is directly replaced with the target information it refers to for display, so that the user can accurately understand the content information based on the displayed target information.
[0125] For example, assuming that the content information is "At the Autonomous Driving Technology Innovation Summit held in this city today", when displaying the content information, the referential time information "today" is directly replaced with the precise time data it refers to, and the referential place information "this city" is replaced with the precise place data it refers to, so that the displayed content can specifically be "At the Autonomous Driving Technology Innovation Summit held in xx city on xx / xx / xx".
[0126] 33) Displaying the content information and the target information referred to by the referential information in the content information.
[0127] In this embodiment 33), when the content information is displayed, the target information referred to by the referential information in the content information is also displayed.
[0128] Optionally, the target information referred to by the referential information can be displayed in a preset display mode in association with the position corresponding to the referential information. The preset display mode may include but is not limited to a mode of adding comments or annotations.
[0129] See also Figure 4 , provides an example of displaying the content information and the target information referred to by the referential information in the content information. The example associates and displays the target information referred to by each referential information at the position corresponding to the referential information through annotation, so that the user can intuitively view the exact meaning represented by each referential information, thereby facilitating the user to accurately understand the file content information.
[0130] 34) Transmitting the content information and the target information contained in the target file.
[0131] The target file can be transmitted on demand through, but not limited to, file copying / replication, email forwarding, file transfer based on social software, file upload / download based on a network interface, etc. When the target file is transmitted, both the content information and the target information in the target file are transmitted. Therefore, during the target file transmission process, in addition to the content information, the target information is also always carried in the target file, effectively avoiding the loss of the target information (i.e., the exact data information referred to by the referential information) during the target file transmission process, and correspondingly avoiding difficulties for users to read and understand the file content.
[0132] When the user subsequently needs to display the content information of the target file, the target information referred to by the referential information in the content information can be displayed based on replacement or associated display, so as to facilitate the user to accurately understand the exact meaning represented by the referential information.
[0133] 35) Transmitting at least part of the content information and target information referred to by at least part of the referential information contained in the content information.
[0134] In actual applications, it is not limited to the transmission of the entire target file, but can also be the transmission of at least part of the content information in the target file, such as selecting only part of the content from a word document or email body for copying, and transmitting the part of the content by copying.
[0135] Wherein, when transmitting at least part of the content information, the target information referred to by the referential information contained in at least part of the content information is determined at the same time, and the target information referred to by the referential information contained in at least part of the content information is also transmitted, so as to avoid the loss of the target information referred to by the referential information contained in at least part of the content information. When the user needs to display at least part of the content information later, the target information referred to by the referential information in at least part of the content information can be displayed based on replacement or associated display, so as to facilitate the user to accurately understand the exact meaning represented by the referential information.
[0136] For example, for the content of paragraph X selected from a word document or the body of an email, the target information referred to by the referential information in the content of paragraph X is determined, and when transmitting paragraph X, the target information referred to by the paragraph X and the referential information contained therein are transmitted together. In this way, when the content of paragraph X is transmitted, the target information referred to by the referential information in paragraph X is also carried, thereby avoiding the loss of the target information referred to by the referential information in paragraph X.
[0137] 36) Transmitting the specific content information corresponding to the summary information of the to-be-processed file and the target information referred to by the referential information contained in the specific content information.
[0138] The transmission method of the summary information of the to-be-processed file may also include, but is not limited to, copying / duplicating, email forwarding, information transmission based on social software, information upload / download based on a network interface, and the like.
[0139] In this embodiment, when the specific content information corresponding to the summary information of the file to be processed is transmitted, the target information referred to by the referential information in the specific content information corresponding to the summary information is also transmitted, so as to avoid losing the precise data information represented by the referential information during the transmission of the specific content information corresponding to the summary information.
[0140] When the user subsequently needs to display specific content information corresponding to the summary information, the target information referred to by the referential information in the specific content information can be displayed based on replacement or associated display, so as to facilitate the user to accurately understand the exact meaning represented by the referential information.
[0141] When transmitting the target file or at least part of its content information or specific content information corresponding to its summary information, this embodiment avoids the loss of the target information, i.e., the exact data information referred to by the referential information, by transmitting the target information referred to by the referential information in the specific content information corresponding to the target file or at least part of its content information or its summary information at the same time; and when displaying the content information / summary information of the target file, this embodiment displays the target information referred to by the referential information in the content information / summary information based on a corresponding manner, so that the user can intuitively view the exact data information referred to by the referential information, thereby providing help for the user to accurately understand the file content.
[0142] Corresponding to the above-mentioned information processing method, the embodiment of the present application also provides an information processing device, whose composition structure is as follows: Figure 5 As shown, including:
[0143] A first determination module 501 is used to determine, in response to a processing instruction for generating a target file from a file to be processed, referential information in the file to be processed that meets a target feature, and reference information corresponding to the referential information;
[0144] A second determination module 502 is used to determine the target information referred to by the referential information according to the reference information;
[0145] A generating module 503, used to generate a target file corresponding to the file to be processed and containing the target information;
[0146] The referential information and the target information are different expressions describing the same object.
[0147] In an optional implementation manner, the first determination module 501, when determining the referential information satisfying the target feature in the to-be-processed file, is specifically configured to:
[0148] Generate summary information of the file to be processed, and determine referential information in the summary information that meets the target feature.
[0149] In an optional implementation manner, the first determination module 501, when determining the referential information satisfying the target feature in the to-be-processed file, is specifically configured to:
[0150] Constructing first prompt word information; the first prompt word information is used to instruct to extract referential information from the content information of the file to be processed;
[0151] The content information and the first prompt word information are input into a generative artificial intelligence model to obtain referential information that satisfies the target feature and is extracted from the content information by the generative artificial intelligence model.
[0152] In an optional implementation, the referential information includes at least one of the following: time information lacking precise time data, location information lacking precise location data, and character information lacking descriptive data;
[0153] The first determination module 501 is specifically configured to perform at least one of the following when determining the reference information corresponding to the referential information:
[0154] Determine the precise time data corresponding to the current time as reference information for the time information;
[0155] Determine accurate location data corresponding to the current location as reference information for the location information;
[0156] Determine description data of the character corresponding to the character information as reference information of the character information.
[0157] In an optional implementation manner, the first determining module 501, when determining the description data of the character corresponding to the character information, is specifically configured to perform one of the following:
[0158] Determine, from a knowledge source, context information that satisfies a first association relationship with the character information as description data of the character corresponding to the character information;
[0159] Determine from a knowledge source context information that satisfies a first association relationship with the character information, construct second prompt word information for indicating generation of description data for a character corresponding to the character information based on the context information, input the second prompt word information into a generative artificial intelligence model, and obtain the description data for the character corresponding to the character information generated by the generative artificial intelligence model based on the second prompt word information.
[0160] In an optional implementation manner, the second determining module 502 is specifically configured to:
[0161] Determine the precise time data referred to by the time information based on the precise time data corresponding to the current time;
[0162] Determine the precise location data referred to by the location information based on the precise location data corresponding to the current location;
[0163] The description data of the character corresponding to the character information is determined as the target information referred to by the character information.
[0164] In an optional implementation manner, the generating module 503 is specifically configured to:
[0165] Establishing a second association relationship between the referential information and the target information it refers to;
[0166] The target file is generated, which includes the content information of the file to be processed, the second association relationship and the target information.
[0167] In an optional implementation, the apparatus further includes a processing module configured to perform target processing on the target file.
[0168] In an optional implementation manner, the target file includes content information of the file to be processed, and the processing module is specifically used to perform at least one of the following processes when performing target processing on the target file:
[0169] Displaying the content information, wherein the referential information in the content information has a special mark;
[0170] Displaying the content information, wherein the referential information in the content information is replaced with the target information it refers to for display;
[0171] Display the content information and the target information referred to by the referential information in the content information;
[0172] Transmitting the content information and the target information contained in the target file;
[0173] Transmitting at least part of the content information and target information referred to by at least part of the referential information contained in the content information;
[0174] The specific content information corresponding to the summary information of the to-be-processed file and the target information referred to by the referential information contained in the specific content information are transmitted.
[0175] The present application also provides an electronic device, the composition structure of the electronic device is as follows: Figure 6 As shown, including at least:
[0176] A memory 10, for storing a computer instruction set;
[0177] A set of computer instructions can be implemented in the form of a computer program.
[0178] The processor 20 is used to implement the information processing method provided by any of the above method embodiments by executing a computer instruction set.
[0179] The processor 20 can be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a neural network processor (NPU), a deep learning processor (DPU) or other programmable logic devices, etc.
[0180] The electronic device includes a display device and / or includes a display interface and can be connected to an external display device.
[0181] Optionally, the electronic device also includes a camera assembly, and / or is connected to an external camera assembly.
[0182] In addition, the electronic device may also include components such as a communication interface and a communication bus. The memory, the processor and the communication interface communicate with each other through the communication bus.
[0183] The communication interface is used for communication between electronic devices and other devices. The communication bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc.
[0184] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0185] For the convenience of description, the above system or device is described by dividing it into various modules or units according to its functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0186] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or the part that makes a creative contribution can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application or some parts of the embodiments.
[0187] Finally, it should be noted that, in this article, relational terms such as first, second, third and fourth are used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0188] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. An information processing method, comprising: In response to a processing instruction for generating a target file for a to-be-processed file, determining referential information in the to-be-processed file that satisfies a target feature, and reference information corresponding to the referential information; Determining, based on the reference information, the target information to which the referential information refers; Generate a target file corresponding to the file to be processed and containing the target information; The referential information and the target information are different expressions describing the same object.
2. According to the information processing method of claim 1, the step of determining the referential information in the to-be-processed file that satisfies the target feature comprises: Generate summary information of the file to be processed, and determine referential information in the summary information that meets the target feature.
3. The information processing method according to claim 1, wherein determining the referential information in the to-be-processed file that satisfies the target feature comprises: Constructing first prompt word information; The first prompt word information is used to instruct to extract referential information from the content information of the file to be processed; The content information and the first prompt word information are input into a generative artificial intelligence model to obtain referential information that satisfies the target feature and is extracted from the content information by the generative artificial intelligence model.
4. The information processing method according to claim 1, wherein the referential information comprises at least one of the following: time information lacking precise time data, location information lacking precise location data, and character information lacking descriptive data; Determining the reference information corresponding to the referential information includes at least one of the following: Determine the precise time data corresponding to the current time as reference information for the time information; Determine accurate location data corresponding to the current location as reference information for the location information; Determine description data of the character corresponding to the character information as reference information of the character information.
5. The information processing method according to claim 4, wherein the step of determining the description data of the character corresponding to the character information comprises one of the following: Determine, from a knowledge source, context information that satisfies a first association relationship with the character information as description data of the character corresponding to the character information; Determine from a knowledge source context information that satisfies a first association relationship with the character information, construct second prompt word information for indicating generation of description data for a character corresponding to the character information based on the context information, input the second prompt word information into a generative artificial intelligence model, and obtain the description data for the character corresponding to the character information generated by the generative artificial intelligence model based on the second prompt word information.
6. The information processing method according to claim 4, wherein determining the target information referred to by the referential information based on the reference information comprises at least one of the following: Determine the precise time data referred to by the time information based on the precise time data corresponding to the current time; Determine the precise location data referred to by the location information based on the precise location data corresponding to the current location; The description data of the character corresponding to the character information is determined as the target information referred to by the character information.
7. The information processing method according to claim 1, wherein generating a target file containing the target information corresponding to the file to be processed comprises: Establishing a second association relationship between the referential information and the target information it refers to; The target file is generated, which includes the content information of the file to be processed, the second association relationship and the target information.
8. The information processing method according to claim 1 or 7, after generating a target file containing the target information corresponding to the file to be processed, further comprising: Target processing is performed on the target file.
9. The information processing method according to claim 8, wherein the target file includes content information of the file to be processed, and the performing target processing on the target file comprises at least one of the following: Display the content information, wherein, The referential information in the content information has a special mark; Displaying the content information, wherein the referential information in the content information is replaced with the target information it refers to for display; Display the content information and the target information referred to by the referential information in the content information; Transmitting the content information and the target information contained in the target file; Transmitting at least part of the content information and target information referred to by at least part of the referential information contained in the content information; The specific content information corresponding to the summary information of the to-be-processed file and the target information referred to by the referential information contained in the specific content information are transmitted.
10. An information processing device, comprising: A first determination module, configured to determine, in response to a processing instruction for generating a target file from a file to be processed, referential information in the file to be processed that satisfies a target feature, and reference information corresponding to the referential information; A second determination module, configured to determine, based on the reference information, the target information to which the referential information refers; A generating module, used for generating a target file corresponding to the file to be processed and containing the target information; The referential information and the target information are different expressions describing the same object.