CN116069736A - Document processing method, device, electronic equipment and storage medium - Google Patents

Document processing method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116069736A
CN116069736A CN202310003069.9A CN202310003069A CN116069736A CN 116069736 A CN116069736 A CN 116069736A CN 202310003069 A CN202310003069 A CN 202310003069A CN 116069736 A CN116069736 A CN 116069736A
Authority
CN
China
Prior art keywords
character
indicator
related information
person
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310003069.9A
Other languages
Chinese (zh)
Inventor
陈伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202310003069.9A priority Critical patent/CN116069736A/en
Publication of CN116069736A publication Critical patent/CN116069736A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a document processing method, a device, an electronic device and a storage medium, and relates to the technical field of computers. And displaying other contents except the character indicator in the target document in a default mode in a display interface. And responding to the first triggering operation of the character indicator, and displaying character related information of the character indicated by the character indicator in a display interface. Thus, the information of the person indicated by the person indicator can be known directly based on the person related information of the person indicated by the person indicator displayed in the display interface of the target document. Therefore, the user operation can be simplified, the realization cost of the user for knowing the character described by the character indicator can be reduced, and the information acquisition efficiency can be improved.

Description

Document processing method, device, electronic equipment and storage medium
Technical Field
The disclosure relates to the field of computer technology, and in particular, to a document processing method, a document processing device, an electronic device and a storage medium.
Background
Currently, document collaboration tools are becoming increasingly popular. Multiple users may register user accounts with the same account group during use of the document collaboration tool. And the users with accounts belonging to the same account group can perform collaborative operations such as document sharing and the like.
In the related art, a character indicator for indicating a specific character is sometimes inserted in a document. When a document is viewed, if the person indicated by the person indicator is to be known specifically, software with a search function needs to be opened first, the search interface is switched to, and then the user searches in the search interface manually according to the person indicator. In the mode, the operation is complicated, the realization cost of the person described by the person instruction word is high, and the information acquisition efficiency is low.
Disclosure of Invention
The disclosure provides a document processing method, a document processing device, electronic equipment and a storage medium, which at least solve the problems that operations are complicated in the related technology, realization cost of a person described by a person instruction word is high, and information acquisition efficiency is low. The technical scheme of the present disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided a document processing method, applied to a terminal, including:
in the case that a character indicator is included in a target document, displaying the character indicator in a first format in a display interface;
displaying other contents except the character indicator in the target document in a default mode in the display interface;
And responding to a first triggering operation of the character indicator, and displaying character related information of the character indicated by the character indicator in the display interface.
Optionally, the method further comprises:
in the editing process of the target document, responding to text information input by an editing account of the target document at this time, matching the text information with user indication words of users corresponding to all accounts in a target account group, and/or matching the text information with preset character indication words; the preset character indicator comprises an indicator of a character with a known name meeting preset requirements;
and determining the text information as the character indicator in the target document when the user indicator matched with the text information exists and/or the preset character indicator matched with the text information exists.
Optionally, the method further comprises:
displaying an associated control corresponding to the character related information under the condition that the current account has the appointed operation authority;
responding to a first triggering operation of the current account on the association control, binding the character indicator with the character related information, and changing the display style of the character indicator into a second style; wherein the second pattern is different from the first pattern.
Optionally, the method further comprises:
displaying an information switching control under the condition that at least two pieces of person related information exist;
and responding to a second triggering operation of the information switching control, and switching the currently displayed person related information into other person related information in the at least two pieces of person related information indicated by the second triggering operation.
Optionally, the binding the character indicator with the character related information includes: binding the character indication word with the character related information displayed at present;
in the case where the character indicator is bound to the character-related information, the method further includes:
and responding to a third triggering operation of the character indicator, and displaying character related information bound with the character indicator in the display interface.
Optionally, displaying, in the display interface, the person related information bound to the person indicator, including:
acquiring character related information bound with the character indicator;
determining a second display area of the character related information based on a first display area occupied by the character indicator in the display interface; the second display area is not overlapped with the first display area;
And displaying the person related information in the second display area.
Optionally, the person related information includes: the name, state information, contact information, and department information of the department to which the person instruction word indicates in the target account group.
According to a second aspect of the embodiments of the present disclosure, there is provided a document processing apparatus, applied to a terminal, including:
a first display module configured to perform, in a case where a character indicator is included in a target document, displaying the character indicator in a first format in a display interface;
a second display module configured to execute displaying other contents than the character indicator in the target document in a default style in the display interface;
and a third display module configured to perform a person related information of a person indicated by the person indication in response to a first trigger operation on the person indication in the display interface.
Optionally, the apparatus further includes:
the matching module is configured to respond to text information input by an editing account of the target document at this time in the editing process of the target document, match the text information with user indication words of users corresponding to the accounts in the target account group and/or match the text information with preset character indication words; the preset character indicator comprises an indicator of a character with a known name meeting preset requirements;
A determining module configured to perform determining the text information as a character indicator in the target document in the case that there is a user indicator matching the text information and/or there is a preset character indicator matching the text information.
Optionally, the apparatus further includes:
the fourth display module is configured to execute the associated control corresponding to the character related information when the current account has the appointed operation authority;
the binding module is configured to execute a first triggering operation of the association control in response to the current account, bind the character indicator with the character related information and change the display style of the character indicator into a second style; wherein the second pattern is different from the first pattern.
Optionally, the apparatus further includes:
a fifth display module configured to execute a display information switching control in the presence of at least two person-related information;
and the switching module is configured to execute a second triggering operation for responding to the information switching control, and switch the currently displayed character related information into other character related information in the at least two pieces of character related information indicated by the second triggering operation.
Optionally, the binding module is specifically configured to perform: binding the character indication word with the character related information displayed at present;
in the case where the character indicator is bound to the character-related information, the apparatus further includes:
and a sixth display module configured to perform a third trigger operation for the character indicator in response to which character-related information bound to the character indicator is displayed in the display interface.
Optionally, the binding module is specifically further configured to execute, including:
acquiring character related information bound with the character indicator;
determining a second display area of the character related information based on a first display area occupied by the character indicator in the display interface; the second display area is not overlapped with the first display area;
and displaying the person related information in the second display area.
Optionally, the person related information includes: the name, state information, contact information, and department information of the department to which the person instruction word indicates in the target account group.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
A processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of any of the first aspects.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the method of any one of the first aspects.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising readable program instructions which, when executed by a processor of an electronic device, cause the electronic device to perform the method according to any of the first aspects.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: in the embodiment of the present disclosure, by including the character indicator in the target document, the character indicator is displayed in the first form in the display interface. And displaying other contents except the character indicator in the target document in a default mode in a display interface. And displaying character related information of the character indicated by the character indicator in the display interface in response to the first trigger operation of the character indicator. Therefore, the user does not need to open the software with the searching function and switch to the searching interface firstly, does not need to manually search in the searching interface according to the character indication words, and can know the information of the character indicated by the character indication words directly based on the character related information of the character indicated by the character indication words displayed in the display interface of the target document. Therefore, the user operation can be simplified, the realization cost of the user for knowing the character described by the character indicator can be reduced, and the information acquisition efficiency can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
FIG. 1 is a flowchart illustrating a method of document processing according to an exemplary embodiment;
FIG. 2 is a schematic display diagram of a target document, shown according to an example embodiment;
FIG. 3 is a diagram of an associated control display, shown in accordance with an exemplary embodiment;
FIG. 4 is a schematic diagram of a second pattern shown in accordance with an exemplary embodiment;
FIG. 5 is a schematic diagram of an information switching control, shown according to an exemplary embodiment;
FIG. 6 is a diagram illustrating one type of persona-related information in accordance with an example embodiment;
FIG. 7 is a block diagram of a document processing device shown in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating an apparatus for document processing according to an example embodiment;
FIG. 9 is a block diagram illustrating another apparatus for document processing according to an example embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
FIG. 1 is a flow chart of a document processing method, as shown in FIG. 1, according to an exemplary embodiment, may include the steps of:
step 101, in the case that the character indicator is included in the target document, the character indicator is displayed in a first mode in a display interface.
And 102, displaying other contents except the character indicator in the target document in a default mode in the display interface.
The method can be applied to a terminal, and the terminal can be a mobile phone, a computer, a tablet personal computer and other devices. The target document may be a document that is currently to be displayed. The target document may be a document that has completed creation. For example, the target document may be a created completed document that is shared by other users. The target document may also be a document that has not been created. For example, the target document may be a document being edited. The character indicator may be a word for referring to one character. Illustratively, the persona indicator may be a name, or a number of persona, or the like.
Further, the specific forms of the first style and the default style may be set according to actual requirements, which is not limited by the embodiments of the present disclosure. Illustratively, the first style may be a style that carries a designated mark, the default style may be a style that does not carry a designated mark, or the default style may be a style that carries other marks, which the disclosed embodiments do not limit. Wherein the designated mark may be an underline in the form of a dotted line, or an underline in the form of a solid line, or alternatively, may be a color mark. Accordingly, an underline in the form of a broken line or an underline in the form of a solid line may be added to the displayed character indicator, or the character indicator may be displayed in a color indicated by a color mark. Illustratively, the first style is an underline in dashed form, and the default style is a style that does not carry a specified label. Fig. 2 is a schematic diagram showing a display of a target document according to an exemplary embodiment, in which character indicators (i.e., "Zhang Sanj" in fig. 2) in the target document are additionally underlined in the form of a broken line while other contents do not carry a designated mark, as shown in fig. 2. According to the method and the device for determining the character indication words in the target document, the character indication words in the target document and other contents are displayed in different styles, so that a user can conveniently determine the character indication words in the target document, and further, the user can conveniently view character related information of characters indicated by the character indication words when the user needs.
It should be noted that, in the actual application scenario, other specific keywords may be included in other contents, and the specific keywords often have a specific default style. Therefore, when the other contents than the character indicator in the target document are displayed in the default style, the partial text can be adaptively displayed according to the default style of each text in the other contents. The specific default style of the specific keyword may be the same as the first style, or may be different. For example, the default style of the technical keyword may be an underline in a dotted line form, and the default style of the plain text is that only text content is displayed, and then the technical keyword in other displayed content may be additionally added with the underline in a dotted line form, and the plain text is not additionally added with the underline in a dotted line form. Further, in the case where the specific default style of the specific keyword is identical to the first style, the number of the specific keywords is often small, so that although the same style is adopted, the difficulty of determining the character indicator by the user is avoided to a certain extent, and the display cost is reduced.
And step 103, responding to a first triggering operation of the character indicator, and displaying character related information of the character indicated by the character indicator in the display interface.
The operation type of the first triggering operation may be set according to actual requirements, and the first triggering operation may include a click operation, a long press operation, a selection control hit operation, and the like. Wherein, the selection control hit operation may refer to that the identification of the selection control falls into the area occupied by the character indicator in the display interface. Taking a selection control as an example of a mouse, it may be determined that a first trigger operation for the character indicator is received when the mouse cursor is stopped in an area occupied by the character indicator in the display interface. The person-related information may refer to information related to the person, for example, the person-related information may include a profile of the person, a description of the person, a personal signature, a contact address, and the like.
It should be noted that, the execution order of the steps in the embodiments of the present disclosure is not unique, for example, the steps 101 and 102 may be executed synchronously, or the step 102 is executed before the step 101, or the step 103 is executed before the step 102, which is not limited in the embodiments of the present disclosure.
In summary, in the document processing method provided by the embodiment of the present disclosure, when the character indicator is included in the target document, the character indicator is displayed in the first format in the display interface. And displaying other contents except the character indicator in the target document in a default mode in a display interface. And displaying character related information of the character indicated by the character indicator in the display interface in response to the first trigger operation of the character indicator. Therefore, the user does not need to open the software with the searching function and switch to the searching interface firstly, does not need to manually search in the searching interface according to the character indication words, and can know the information of the character indicated by the character indication words directly based on the character related information of the character indicated by the character indication words displayed in the display interface of the target document. Therefore, the user operation can be simplified, the realization cost of the user for knowing the character described by the character indicator can be reduced, and the information acquisition efficiency can be improved.
Optionally, the embodiment of the disclosure may further include the following steps:
step S21, in the editing process of the target document, responding to text information input by an editing account of the target document at this time, matching the text information with user indication words of users corresponding to all accounts in a target account group, and/or matching the text information with preset character indication words; the preset character indicator comprises an indicator of a character with a known name meeting preset requirements
Step S22, determining the text information as the character indicator in the target document when the user indicator matched with the text information exists or the preset character indicator matched with the text information exists.
In the embodiment of the disclosure, the editing process of the target document may refer to an editing process when the target document is created, and accordingly, the editing account of the target document may be a creation account of the target document. Where the created account may be an account used by the user when creating the document. Alternatively, the editing process of the target document may be a process of editing the target document by opening the target document again after creating the target document. Accordingly, the editing account of the target document may be an account used by the user who performs the editing operation this time. The account used by the user executing the editing operation at this time may be the created account or other accounts with editing authority.
Further, the text information currently input by the editing account may be specifically the text information currently input by the user of the editing account. The text information to be input may be a word, for example, a word composed of a plurality of characters, or a word composed of a single character. During document editing, a user may enter text information using an input control. The input control may be an external keyboard, a touch input area, a virtual keyboard, or the like. For example, a user may input text information using an input control: you are good. Next, text information is entered using the input control: please ask questions. Correspondingly, the text information input at the two times is respectively: you get, ask questions.
In one implementation, the persona indicators may include indicators that are user indicators of users corresponding to accounts in the target account group. Because the text information input may be character indicator, the text information can be matched with the user indicator of the user corresponding to each account in the target account group each time in response to the text information input by the editing account of the target document. Optionally, in one implementation, the person related information may include: the name, state information, contact information, and department information of the department to which the person instruction word indicates in the target account group. In this way, the user can be enabled to know the person indicated by the person indicator in multiple dimensions. The name of the person is name, the status information can represent the working status of the person, the contact information can be used for indicating a mailbox of the user, and the department information of the department in the target account group can represent the department to which the user belongs. Further, the person-related information may also include other information, such as the upper level of the indicated person.
Further, the user indicator may be used to indicate the user, for example, the user indicator may be the name of the user. The target account group may be pre-designated, and illustratively, the target account group may include accounts used by persons belonging to the same enterprise, and accordingly, the user indicator of the user corresponding to each account in the target account group may be the name of each person in the enterprise. Alternatively, the target account group may be an account group in which a plurality of users participate using their respective accounts. The current account of the editing account and the current triggering terminal displaying the target document in the display interface can belong to the target account group. Further, the text information can be matched with user instruction words of users corresponding to the accounts in the target account group one by one so as to determine whether the text information and the user instruction words are consistent. If so, it may be determined that the user indicator matches the text information. Otherwise, a mismatch may be determined. Since the user indicators of different users may be identical, for example, in the case of a duplicate name, the text information may match with a plurality of user indicators. Accordingly, if there is a pointer matched with the text information among the preset user pointers, the text information may be determined as a character pointer in the target document.
In another implementation, the persona indicators may include indicators of personas with a degree of awareness that meets a preset requirement. Correspondingly, the text information input at this time can be responded to the editing account of the target document each time, and the text information is matched with the preset character indicator. Specifically, the preset character indicators may include a plurality of characters, and the characters with encyclopedia entries may be determined as characters with awareness meeting the preset requirement. Accordingly, in such an implementation, the persona-related information may be an encyclopedia entry of the persona indicated by the persona indicator. For example, the indicator of the person having the encyclopedia entry may be collected in advance as the preset person indicator. Wherein the indicator of the person may be the name of the person. Encyclopedia vocabulary entries may search for vocabulary entry interpretations given in the software. Further, the text information may be matched with a preset character indicator one by one to determine whether the text information and the preset character indicator are consistent. If so, it may be determined that the preset personally indicated word matches the text information. Otherwise, a mismatch may be determined. Accordingly, if there is an indicator matching the text information among the preset persona indicators, the text information may be determined as the persona indicator in the target document.
In yet another implementation, the persona indicators may include indicators of user indicators of users corresponding to accounts in the target account group, and indicators of personas with awareness meeting preset requirements. Accordingly, the text information can be matched with user instruction words of users corresponding to the accounts in the target account group and with preset character instruction words. To determine whether there is an indicator matching the text information among the user indicator and the preset character indicator. Accordingly, if present, the text information may be determined to be a persona indicator in the target document.
In the embodiment of the disclosure, in the editing process of the target document, in response to text information input by an editing account of the target document at this time, matching the text information with user indication words of users corresponding to all accounts in the target account group, and/or matching the text information with preset character indication words, wherein the preset character indication words comprise indication words of characters with known names meeting preset requirements. In the case that there is a user indicator matching the text information and/or there is a preset character indicator matching the text information, the text information is determined as the character indicator in the target document. Therefore, the user indication words or the preset character indication words in the target document can be displayed in the first mode, and the user can conveniently check the character related information of the characters indicated by the indication words, so that the user can conveniently know the user with the account belonging to the target account group or can conveniently know the characters with the awareness meeting the preset requirements.
Optionally, the embodiment of the disclosure may further include the following steps:
and S31, displaying an associated control corresponding to the person related information under the condition that the current account has the appointed operation authority.
Step S32, responding to a first triggering operation of the current account on the association control, binding the character indicator with the character related information, and changing the display style of the character indicator into a second style; wherein the second pattern is different from the first pattern.
In the embodiment of the present disclosure, the current account may be an account that currently triggers the terminal to display the target document in the display interface, that is, the step 101 may be executed by the terminal in response to the document display instruction of the current account. For example, the document display instruction may be triggered by a creation operation or an opening operation of the target document.
Further, the specified operation authority may include an editing authority for the target document and an authority above the editing authority. The user account having the authority equal to or higher than the editing authority has the editing authority for the target document. For example, the right above the editing right may be a deletion right, i.e., the user account having the deletion right has editing right to the target document. The association control may be an association button. Wherein, the associated control can be displayed at a designated position, and the character related information of the character indicated by the character indicator can be displayed in the form of a card, and the associated control can be displayed at the bottom of the card. FIG. 3 is a diagram illustrating an associated control display, according to an example embodiment. As shown in fig. 3, in the case where the current account has the designated operation authority, an associated control 01 is displayed on the bottom of the card 00 for displaying the related information of the person. Of course, when the current account has the designated operation authority, the associated control may not be displayed, so as to avoid binding the person related information and the person indicator by the user without the authority.
Further, the specific form of the second pattern may be set according to actual requirements, which is not limited by the embodiments of the present disclosure. For example, the second style may carry a designated character. For example, the second pattern may be a capsule-shaped pattern carrying the "@" character. Fig. 4 is a schematic diagram illustrating a second pattern according to an exemplary embodiment. As shown in fig. 4, the character indicators are displayed in a second style. In addition, in practical application, the character indicator of the second pattern may further include a color mark, for example, the character indicator may be displayed according to a capsule-shaped pattern that is blue in color and carries the "@" character.
In the embodiment of the disclosure, the associated control corresponding to the related information of the person is displayed under the condition that the current account has the designated operation authority. And responding to the first triggering operation of the current account on the associated control, binding the character indicator with the character related information, and changing the display style of the character indicator into a second style. Wherein the second pattern is different from the first pattern. Thus, the character indicator of the bound character related information can be conveniently distinguished from the character indicator of the unbound character related information.
Further, the embodiment of the disclosure may further include the following steps:
step S41, when at least two pieces of person related information exist, an information switching control is displayed.
And step S42, responding to a second triggering operation of the information switching control, and switching the currently displayed character related information into other character related information in the at least two pieces of character related information indicated by the second triggering operation.
In the embodiment of the disclosure, if the current account has the designated operation authority, for any one of the target documents, if at least two person related information exists in the person indicator, the information switching control may be further displayed. The specific form of the information switching control can be set according to actual requirements, and the information switching control can comprise a switching button
The operation type of the second triggering operation may be set according to actual requirements, and the second triggering operation may include a click operation, a long press operation, and the like, for example. Since there may be a plurality of user instruction words and/or preset character instruction words that match the character instruction word, that is, there is a case of a duplicate name, the character related information of the character indicated by the character instruction word may be a plurality. The other person-related information of the at least two person-related information indicated by the second trigger operation may be the last person-related information of the currently displayed person-related information or the next person-related information of the currently displayed person-related information. The order of each person related information in the at least two person related information may be preset, and for example, the at least two person related information may be randomly ordered in advance, or may be ordered according to the order of the information integrity degree from high to low. Accordingly, the up/down person related information of the currently displayed person related information can be determined based on the sorting result.
Further, the information switch control may include a first control for indicating to switch the next person related information and a second control for indicating to switch the previous person related information. FIG. 5 is a schematic diagram of an information switching control, according to an example embodiment. As shown in fig. 5, the information switching control includes a first control 02 and a second control 03. Where m in n/m represents the total number of person-related information, and n represents what number of person-related information is currently displayed. That is, n represents the order of the character related information currently displayed in the ranking result.
In the case where the second trigger operation is specifically a trigger operation on the first control, the character-related information currently displayed is switched to the next-person-related information, that is, the next-person-related information is displayed in the card. In the case where the second trigger operation is specifically a trigger operation for the second control, the person-related information currently displayed is switched to the last person-related information, that is, the last person-related information is displayed in the card.
In the embodiment of the disclosure, in the case that at least two pieces of person-related information exist, an information switching control is displayed. And responding to a second triggering operation of the information switching control, and switching the currently displayed person related information into other person related information in the at least two pieces of person related information indicated by the second triggering operation. Therefore, the displayed person related information can be conveniently switched under the condition that at least two person related information exists by further displaying the information switching control, and the user can conveniently check the information.
Optionally, the step of binding the character indicator with the character related information may specifically include: binding the character indication word with the character related information displayed currently. In the embodiment of the disclosure, binding the character indicator with the currently displayed character related information may refer to establishing a one-to-one correspondence between the character indicator and the currently displayed character related information. Further, other character related information may be deleted.
Accordingly, in the case where the character indicator is bound to the character related information, the embodiment of the disclosure may further include: and responding to a third triggering operation of the character indicator, and displaying character related information bound with the character indicator in the display interface. The related information of the person, which is bound by the user selection, is often related information of the person actually represented by the person indicator. Therefore, in the embodiment of the disclosure, the person related information can be accurately displayed to a certain extent under the condition that a plurality of person related information exists, so that misunderstanding of a user is avoided, and information accuracy is further ensured.
The operation type of the third triggering operation may be set according to actual requirements, and the third triggering operation may be the same as the first triggering operation. For example, the third trigger operation may include a click operation, a long press operation, a select control hit operation. In the case where the character indicator is bound to the character-related information, the character-related information bound to the character indicator may be displayed in the display interface in response to the third trigger operation for the character indicator. Fig. 6 is a schematic diagram illustrating one type of character related information according to an exemplary embodiment. As shown in fig. 6, a card 00 for showing character related information bound to the character indicator is displayed.
Further, if the number of the character-related information of the character indicated by the character indication word is 1 in the case where the character indication word is not already bound to the character-related information, the character-related information is displayed. In this case, the displayed person-related information is consistent. If the number of the character-related information of the character indicated by the character indicator is greater than 1, the character-related information of the plurality of characters indicated by the character indicator may be displayed. Specifically, the plurality of character related information may be displayed simultaneously at the time of display. Or, one of the character related information may be displayed first, and when the second trigger operation for the information switching control is received, the character related information displayed currently is switched to other character related information indicated by the second trigger operation.
Optionally, the step of displaying, on the display interface, the information related to the person bound to the person indicator may specifically include:
step S51, acquiring the related information of the person bound with the person indication word.
Step S52, determining a second display area of the person related information based on a first display area occupied by the person indicator in a display interface; the second display area does not overlap the first display area.
Step S53, displaying the person related information in the second display area.
In the embodiment of the disclosure, the person related information corresponding to the person indicator may be determined based on the previously created correspondence, so as to determine the person related information bound to the person indicator.
Further, a display area where the character indicator is located in the display interface of the target document (i.e., a first display area) may be used as the reference area. An area that does not overlap with the reference area is determined in the specified orientation of the reference area as a second display area. The designated direction may be set according to actual requirements, for example, the designated direction may be the left side of the reference area, or the right side of the reference area, or the like. The specific display may be displayed in a preset form, for example, in the form of a card.
In the embodiment of the disclosure, the related information of the person bound with the person indication word is acquired. Determining a second display area of the person related information based on a first display area occupied by the person indicator in the display interface; the second display area does not overlap the first display area. Character related information is displayed in the second display area. Therefore, the displayed character related information can be prevented from shielding the character indicator, and the user can conveniently determine the character indicator corresponding to the currently displayed character related information.
It should be noted that, in the embodiment of the present disclosure, a cancel control may also be provided for the character indicator. In response to a trigger operation of the cancel control, the display of the persona indicator in the first format may be canceled, and the display of persona-related information of the persona indicated by the persona indicator may be canceled. Therefore, the character indicator can be displayed in the default mode, and the problem that display resources are wasted due to the fact that the character indicator is displayed in a non-default mode and related character information is displayed under the condition that a user does not need the character indicator can be solved.
The following describes an application scenario in connection with the present disclosure. The person indicator in the application scenario may be a name of a user corresponding to an account in the account group belonging to the same enterprise. Currently, a name written in a document, a user wants to know other information of a person indicated by the name. Only the software with the searching function can be switched to and searched manually. For example, searching is performed by instant messaging (Instant Messaging, IM) software. In the embodiment of the disclosure, the related information of the person indicated by the person indicator is displayed in the display interface in response to the first triggering operation of the person indicator, so that the related information can be conveniently understood.
Fig. 7 is a block diagram illustrating a document processing apparatus according to an exemplary embodiment, which may be applied to a terminal. As shown in fig. 7, the apparatus 20 may include:
a first display module 201 configured to perform, in a case where a character indicator is included in a target document, display the character indicator in a first format in a display interface;
a second display module 202 configured to execute displaying other contents than the character indicator in the target document in a default style in the display interface;
and a third display module 203 configured to perform a first trigger operation for the character indicator, and display character-related information of the character indicated by the character indicator in the display interface.
In an alternative embodiment, the apparatus 20 further comprises:
the matching module is configured to respond to text information input by an editing account of the target document at this time in the editing process of the target document, match the text information with user indication words of users corresponding to the accounts in the target account group and/or match the text information with preset character indication words; the preset character indicator comprises an indicator of a character with a known name meeting preset requirements;
A determining module configured to perform determining the text information as a character indicator in the target document in the case that there is a user indicator matching the text information and/or there is a preset character indicator matching the text information.
In an alternative embodiment, the apparatus 20 further comprises:
the fourth display module is configured to execute the associated control corresponding to the character related information when the current account has the appointed operation authority;
the binding module is configured to execute a first triggering operation of the association control in response to the current account, bind the character indicator with the character related information and change the display style of the character indicator into a second style; wherein the second pattern is different from the first pattern.
In an alternative embodiment, the apparatus 20 further comprises:
a fifth display module configured to execute a display information switching control in the presence of at least two person-related information;
and the switching module is configured to execute a second triggering operation for responding to the information switching control, and switch the currently displayed character related information into other character related information in the at least two pieces of character related information indicated by the second triggering operation.
In an alternative embodiment, the binding module is specifically configured to perform: binding the character indication word with the character related information displayed at present;
in the case where the character indicator is bound to the character-related information, the apparatus further includes:
and a sixth display module configured to perform a third trigger operation for the character indicator in response to which character-related information bound to the character indicator is displayed in the display interface.
In an alternative embodiment, the binding module is specifically further configured to execute, including:
acquiring character related information bound with the character indicator;
determining a second display area of the character related information based on a first display area occupied by the character indicator in the display interface; the second display area is not overlapped with the first display area;
and displaying the person related information in the second display area.
In an alternative embodiment, the person related information includes: the name, state information, contact information, and department information of the department to which the person instruction word indicates in the target account group.
In summary, in the document processing apparatus provided in the embodiment of the present disclosure, when the character indicator is included in the target document, the character indicator is displayed in the first format in the display interface. And displaying other contents except the character indicator in the target document in a default mode in a display interface. And displaying character related information of the character indicated by the character indicator in the display interface in response to the first trigger operation of the character indicator. Therefore, the user does not need to open the software with the searching function and switch to the searching interface firstly, does not need to manually search in the searching interface according to the character indication words, and can know the information of the character indicated by the character indication words directly based on the character related information of the character indicated by the character indication words displayed in the display interface of the target document. Therefore, the user operation can be simplified, the realization cost of the user for knowing the character described by the character indicator can be reduced, and the information acquisition efficiency can be improved.
According to one embodiment of the present disclosure, there is provided an electronic device including: a processor, a memory for storing processor-executable instructions, wherein the processor is configured to perform steps in a document processing method as in any of the embodiments described above.
According to an embodiment of the present disclosure, there is also provided a storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform the steps of the document processing method as in any of the embodiments described above.
According to an embodiment of the present disclosure, there is also provided a computer program product comprising readable program instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the steps of the document processing method as in any of the embodiments described above.
FIG. 8 is a block diagram illustrating an apparatus for document processing according to an example embodiment. The apparatus 900 may include, among other things, a processing component 902, a memory 904, a power component 906, a multimedia component 908, an audio component 910, an input/output interface 912, a sensor component 914, a communication component 916, and a processor 920. The processing component 902 may include one or more processors 920 to execute instructions to perform all or part of the steps of the document processing methods described above. In an exemplary embodiment, a storage medium is also provided, such as a memory 904 including instructions executable by the processor 920 of the apparatus 900 to perform the above-described method. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
FIG. 9 is a block diagram illustrating another apparatus for document processing according to an example embodiment.
The apparatus 1000 may include, among other things, a processing component 1022, a memory 1032, an input-output interface 1058, a network interface 1050, and a power supply component 1026. The apparatus 1000 may be provided as a server. The application programs stored in memory 1032 may include one or more modules each corresponding to a set of instructions. Further, the processing component 1022 is configured to execute instructions to perform the document processing methods described above.
User information (including, but not limited to, user device information, related information, user personal information, etc.), related data, etc. related to the present disclosure are all information authorized by the user or authorized by the parties.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A document processing method, applied to a terminal, the method comprising:
in the case that a character indicator is included in a target document, displaying the character indicator in a first format in a display interface;
displaying other contents except the character indicator in the target document in a default mode in the display interface;
and responding to a first triggering operation of the character indicator, and displaying character related information of the character indicated by the character indicator in the display interface.
2. The method according to claim 1, wherein the method further comprises:
in the editing process of the target document, responding to text information input by an editing account of the target document at this time, matching the text information with user indication words of users corresponding to all accounts in a target account group, and/or matching the text information with preset character indication words; the preset character indicator comprises an indicator of a character with a known name meeting preset requirements;
And determining the text information as the character indicator in the target document when the user indicator matched with the text information exists and/or the preset character indicator matched with the text information exists.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
displaying an associated control corresponding to the character related information under the condition that the current account has the appointed operation authority;
responding to a first triggering operation of the current account on the association control, binding the character indicator with the character related information, and changing the display style of the character indicator into a second style; wherein the second pattern is different from the first pattern.
4. A method according to claim 3, characterized in that the method further comprises:
displaying an information switching control under the condition that at least two pieces of person related information exist;
and responding to a second triggering operation of the information switching control, and switching the currently displayed person related information into other person related information in the at least two pieces of person related information indicated by the second triggering operation.
5. The method of claim 4, wherein the binding the persona indication with the persona-related information comprises: binding the character indication word with the character related information displayed at present;
in the case where the character indicator is bound to the character-related information, the method further includes:
and responding to a third triggering operation of the character indicator, and displaying character related information bound with the character indicator in the display interface.
6. The method of claim 5, wherein displaying the persona-related information bound to the persona indicator in the display interface comprises:
acquiring character related information bound with the character indicator;
determining a second display area of the character related information based on a first display area occupied by the character indicator in the display interface; the second display area is not overlapped with the first display area;
and displaying the person related information in the second display area.
7. The method of claim 2, wherein the persona-related information includes: the name, state information, contact information, and department information of the department to which the person instruction word indicates in the target account group.
8. A document processing apparatus, characterized by being applied to a terminal, comprising:
a first display module configured to perform, in a case where a character indicator is included in a target document, displaying the character indicator in a first format in a display interface;
a second display module configured to execute displaying other contents than the character indicator in the target document in a default style in the display interface;
and a third display module configured to perform a person related information of a person indicated by the person indication in response to a first trigger operation on the person indication in the display interface.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of any one of claims 1 to 7.
10. A storage medium, characterized in that instructions in the storage medium, when executed by a processor of an electronic device, cause the electronic device to perform the method of any of claims 1 to 7.
CN202310003069.9A 2023-01-03 2023-01-03 Document processing method, device, electronic equipment and storage medium Pending CN116069736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310003069.9A CN116069736A (en) 2023-01-03 2023-01-03 Document processing method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310003069.9A CN116069736A (en) 2023-01-03 2023-01-03 Document processing method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116069736A true CN116069736A (en) 2023-05-05

Family

ID=86179621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310003069.9A Pending CN116069736A (en) 2023-01-03 2023-01-03 Document processing method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116069736A (en)

Similar Documents

Publication Publication Date Title
US20080244442A1 (en) Techniques to share information between application programs
KR101394874B1 (en) Device and method implementing for particular function based on writing
CN110716991B (en) Method for displaying entity associated information based on electronic book and electronic equipment
CN111767396B (en) Data processing method, device, equipment and computer readable storage medium
CN104301199B (en) A kind of information processing method, apparatus and system
CN113014476B (en) Group creation method and device
CN113194024B (en) Information display method and device and electronic equipment
CN111737443B (en) Answer text processing method and device and key text determining method
CN109947635A (en) A kind of data reporting method, device, storage medium and terminal device
CN106060220B (en) A kind of contact information creation method and mobile terminal
CN111371953A (en) Tag data processing method, device and storage medium
CN114205177A (en) Communication message display method and device
CN110489032B (en) Dictionary query method for electronic book and electronic equipment
CN112036843A (en) Flow element positioning method, device, equipment and medium based on RPA and AI
CN112433650A (en) Project management method, device, equipment and storage medium
CN111310421A (en) Text batch marking method, terminal and computer storage medium
CN113315691B (en) Video processing method and device and electronic equipment
CN112416143B (en) Text information editing method and device and electronic equipment
CN116069736A (en) Document processing method, device, electronic equipment and storage medium
CN107168687B (en) Method and equipment for setting game instruction macro
CN109120783A (en) Information acquisition method and device, mobile terminal and computer readable storage medium
CN112287738A (en) Text matching method and device for graphic control, medium and electronic equipment
CN112633853A (en) Project management method and device and electronic equipment
CN113268193B (en) Notebook page moving method, electronic equipment and computer storage medium
CN109492171A (en) Information-pushing method and Related product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination