WO2022218034A1 - 交互方法、装置和电子设备 - Google Patents

交互方法、装置和电子设备 Download PDF

Info

Publication number
WO2022218034A1
WO2022218034A1 PCT/CN2022/077504 CN2022077504W WO2022218034A1 WO 2022218034 A1 WO2022218034 A1 WO 2022218034A1 CN 2022077504 W CN2022077504 W CN 2022077504W WO 2022218034 A1 WO2022218034 A1 WO 2022218034A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
response
document
area
response information
Prior art date
Application number
PCT/CN2022/077504
Other languages
English (en)
French (fr)
Inventor
陈伟
李包发
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2022218034A1 publication Critical patent/WO2022218034A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/169Annotation, e.g. comment data or footnotes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing

Definitions

  • the present disclosure relates to the field of Internet technologies, and in particular, to an interaction method, apparatus, and electronic device.
  • the embodiments of the present disclosure provide an interaction method, apparatus, and electronic device.
  • comments can be made on any area of the attached document.
  • an embodiment of the present disclosure provides an interaction method, including: in response to receiving a first selection operation in a content area of a first document, determining a first selection object, wherein the content area is used to display the second document The content of the above-mentioned second document is displayed in the above-mentioned first document; in response to the response operation to the above-mentioned first selection object, the response information is displayed.
  • an embodiment of the present disclosure provides an interaction apparatus, including: a first determination unit, configured to determine a first selection object in response to receiving a first selection operation in a content area of a first document, wherein the above content The area is used to display the content of the second document, and the above-mentioned second document is displayed in the above-mentioned first document; the display unit is used to display the response information in response to the response operation to the above-mentioned first selection object.
  • embodiments of the present disclosure provide an electronic device, including: one or more processors; and a storage device for storing one or more programs, when the one or more programs are processed by the one or more programs.
  • the above-mentioned one or more processors implement the above-mentioned interaction method according to the first aspect.
  • an embodiment of the present disclosure provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of the interaction method described in the first aspect.
  • the second document can be displayed in the content area of the first document, and after it is detected that the first selection operation is performed on the second document, it can be determined that the first selection operation is performed.
  • the indicated first selection object and may display response information in response to a response operation corresponding to the first selection.
  • Comment on document content That is, when the document is previewed, the user can comment on the text content in any area of the document, thereby improving the accuracy of the user in the process of commenting on the document.
  • FIG. 1 is a flowchart of one embodiment of an interaction method according to the present disclosure
  • FIGS. 2A and 2B are schematic diagrams showing an embodiment of an interaction method according to the present disclosure
  • FIG. 3 is a schematic diagram showing yet another embodiment of the interaction method according to the present disclosure.
  • 4A and 4B are schematic diagrams showing yet another embodiment of the interaction method according to the present disclosure.
  • FIG. 5 is a schematic diagram showing yet another embodiment of the interaction method according to the present disclosure.
  • FIG. 6 is a schematic diagram showing yet another embodiment of the interaction method according to the present disclosure.
  • FIG. 7 is a schematic diagram showing yet another embodiment of the interaction method according to the present disclosure.
  • FIG. 8 is a schematic structural diagram of an embodiment of a commenting device according to the present disclosure.
  • FIG. 9 is an exemplary system architecture to which the interaction method of an embodiment of the present disclosure may be applied.
  • FIG. 10 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
  • the term “including” and variations thereof are open-ended inclusions, ie, "including but not limited to”.
  • the term “based on” is “based at least in part on.”
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
  • FIG. 1 shows the flow of one embodiment of the interaction method according to the present disclosure.
  • the interaction method can be applied to terminal devices.
  • the interaction method includes the following steps:
  • Step 101 in response to receiving a first selection operation in the content area in the first document, determine a first selection object.
  • the content area is used to display the content of the second document, and the second document is displayed within the first document.
  • the specific setting position of the content area can be set according to the actual situation, and the specific setting position of the content area is not limited here; correspondingly, the size of the content area can also be set according to the actual situation.
  • the size of the area may be equal to 1/2 the page size of the first document.
  • the user can also manually adjust the size of the preview area.
  • the first document can be understood as an online document; as an example, when a user is browsing an online document, the attachment document (which can be understood as the second document) embedded in the online document (which can be understood as the first document) Preview (the document content of the attached document can be displayed in the content area).
  • multiple attachment documents may be embedded in the first document, and the second document may be understood as any attachment document among the multiple attachment documents.
  • the user may select part or all of the content in the content area by performing the first selection operation, and the selected content may be understood as a selection object.
  • the first selection operation may be a sliding selection operation, a frame selection operation, etc.
  • the specific operation form of the first selection operation is not limited here, and only needs to be reasonably set according to the actual situation.
  • the first selection object may be understood as the document content of the second document selected by the user.
  • Step 102 in response to the response operation to the first selected object, displaying response information.
  • the response operation can be understood as the user's comment input operation.
  • a window for inputting comments may be displayed, and when the user inputs comment content in this window, it may be understood that the user has performed a comment input operation.
  • the response information can be understood as the comment content input by the user.
  • the user when the user is reading the second document, he may be confused about some content in the second document.
  • the user can perform the first selection operation on this part of the document content, so that this part of the content can be selected. It is determined as the selection object, and a response operation can be performed on this part of the content, and response information can be displayed (for example, the content in the response information may include content for indicating one's own doubts, content for indicating one's own opinion, etc.).
  • the second document is displayed in the content area of the first document, and after it is detected that the first selection operation is performed on the second document, the first selection operation indicated by the first selection operation can be determined.
  • the object is selected, and response information may be displayed in response to a response operation corresponding to the first selection.
  • Comment on document content That is, when the document is previewed, the user can comment on the text content in any area of the document, thereby improving the accuracy of the user in the process of commenting on the document.
  • the first document when a user is editing a certain document (here, it can be understood as the first document), it may be necessary to add an attachment document to make the document more comprehensive.
  • the first document is a sports report, which involves multiple sports stars, and each sports star may have its own introduction article, therefore, these sports star introduction articles can be added to the target document; this , these documents used to introduce sports stars can be understood as attachment documents.
  • the content of the attached document may be large. Therefore, in order to make the first document look more concise, when the attached document is added to the first document, only the document link identifier of the attached document can be displayed, and the user can
  • the document link identifier of the document executes a trigger operation (for example, a single-click operation, a double-click operation, etc.) to open the attached document, or input a preview instruction, so that the content area can be displayed, and the document can be displayed in the content area.
  • a trigger operation for example, a single-click operation, a double-click operation, etc.
  • preview instructions there are many ways to generate preview instructions, which are not limited here.
  • the user can move the mouse to the document link of the attached document, and the interface can display the preview control. Execute the trigger operation to generate the preview command.
  • the attached document may be a picture, a PDF (Portable Document Format, Portable Document Format) document, a Word document, and the like.
  • the first document may correspond to one content area (when the first document has multiple attachment documents, the multiple attachment documents may all be displayed in the same content area), or may correspond to multiple content areas (for example, the first document An attachment document in a document corresponds to a content area).
  • the specific setting position of the content area can be set according to the actual situation, and the specific setting position of the content area is not limited here.
  • the content area may display the identifier corresponding to the attached document (when adding the attached document to the first document, the identifier of the attached document may be displayed, so that the user can know that the attached document is added somewhere in the first document) area obtained by zooming in.
  • the document displayed in the content area can be understood as the second document.
  • FIG. 2A is a schematic diagram of the first document displaying the document link identifier of the attached document.
  • the attached document here can be understood as The second document;
  • FIG. 2B is a schematic diagram showing the content area, and the document content of the second document is displayed in the content area; when the preview instruction for the second document is detected, it can be displayed in the display document link of the second document.
  • the area 201 is enlarged, the content area 202 can be obtained. That is, the transition from FIG. 2A to FIG. 2B can be understood as: when the preview instruction for the second document is detected, the changes of the display interface are displayed.
  • the content area 202 can also be separated in the area 201 identified by the document link, for example, the content area is to the right of the area 201 identified by the document link, or the content area 202 can also be in the area 201. To the left, or the content area 202 may be above the area 201 or the like.
  • the document content of the attached document can be previewed and displayed in the content area.
  • the user can perform a sliding operation in the content area. You can change the document content of the attached document displayed in the content area. For example, a user can perform a swipe up operation to scroll up the document content of the attached document.
  • the user when the user reads the second document, he may comment on some parts of the second document (for example, the user does not understand the content of some parts of the second document, the user thinks that some parts of the second document There is an error in the content of the document, the user needs to further explain the content of a certain part of the document, etc.).
  • the user can perform the first selection operation on the part of the content, and the selected content can be understood as the first selection object. content operation), you can display the response information.
  • the first selection operation may be understood as an operation of selecting document content, and of course, the first selection operation may also be understood as an operation of performing frame selection on document content. For example, if there are several paintings in the document content, the user can select one of the paintings to comment and annotate, or select a certain area of the painting, so that only part of the painting can be commented.
  • FIG. 3 is a schematic preview of the second document.
  • the document content of the second document includes content A, content B, and content C.
  • the user can perform the first selection operation to select content A. Selected (such as clicking on content A), then content A can be understood as the first selection object.
  • the content A is a picture, and the user only needs to comment on part of the content in the picture, the user can perform a frame selection operation, and only frame the content that needs to be commented in the picture, and the content that is framed in the picture ( That is, the content in the rectangular frame 301 in the figure) can be understood as the first selection object.
  • the user can select different ways to perform the first selection operation according to the actual content of the comment, so that the user can comment on the document content in the second document more flexibly.
  • object prompt information corresponding to the first selected object may be displayed.
  • the object hint information is used to indicate the selected object displayed in the content area.
  • the object prompt information can be a newly added layer, or can be a specific color identification (for example, a red box, a yellow box, etc.). It should be noted that the specific form of the object prompt information is not described here. Restriction, it only needs to be set according to the actual situation, that is, after the display object prompt information, the selection object selected by the user in the display interface can be distinguished from other content.
  • the selected objects in the document content of the attached document can be distinguished from other contents of the attached document, so that the users who view the annotations can clearly know which objects the user has made. annotated.
  • the first response content in response to receiving the first response content in the first response area corresponding to the first selection object, is displayed in the first response area.
  • the first response area may be understood as an area for inputting comments, and correspondingly, the first response content may be understood as comment content for inputting.
  • one selection object may correspond to one response area, that is, comments input by different users with respect to the first selection object may be displayed in one response area.
  • one selection object may also correspond to multiple response areas, and accordingly, comments input by different users corresponding to the first selection may be displayed in different response areas.
  • the user can conveniently know the comments on the selected object, so that the user can better understand the second document (for example, the comment is for a certain part of the document content of the second document). Further explanation).
  • the display position of the response information is determined according to the display area of the second document; the response information is displayed at the display position.
  • the response information can be displayed in the first document, and when the second document is opened by using the document link identifier of the second document, at this time,
  • the display interface can display the second document.
  • the response information can be displayed in the second document.
  • the content area is smaller than the display interface of the first document; and in order to display the content of the second document in the content area as much as possible , the first response area can be displayed in the first document, so that the user can browse more content at one time through the content area.
  • the location information of the first selected object in the second document may be determined, and the response information, the second document and the location information may be sent to the device corresponding to the target account.
  • the target account includes at least one of the following accounts:
  • the first document can be created using the create account
  • the second document can be added to the first document using the edit account.
  • the first document can be understood as being edited by several people.
  • an online document is created using account A
  • the area A of the online document can be edited using account A
  • the area B of the online document can be edited using account B
  • the area B of the online document can be edited using account B.
  • Area C can be edited by account C; while the second document is in area B, at this time, account A can be understood as creating an account
  • account B can be understood as an editing account of the second document, therefore, account A and/or account B can be the target account.
  • both Account A and Account B may be used as target accounts.
  • the user corresponding to account A (creating user) created the first document
  • the user corresponding to account B target editing user edited area B
  • the user corresponding to account A may know the first document.
  • the content recorded in the document, and the user corresponding to the account B may know the content recorded in the area B of the first document. Therefore, after the user annotates the second document, the response information (which may include the comment content and the comment box) and the second document can be sent to the device corresponding to the target account; that is, both the creating user and/or the target editing user can Receive notifications quickly, and learn the specific annotation content of the second document.
  • the creator user and/or the target editor user who received the notification do not need to open the first document again to find the response information of the second document, but only according to the content sent to, can know the response information, and the corresponding response information.
  • the first selection object (because the location information of the first selection object in the second document is also sent), so that the user indicated by the target account can process the response information (which can be understood as a comment) more conveniently. That is, by sending the second document, the response information and the location information to the device corresponding to the target account, the efficiency of the annotation processing can be improved.
  • the device corresponding to the target account when the device corresponding to the target account receives the sent information, it can directly display the first selection object and the response information, which can facilitate the target account.
  • the user indicated by the account can conveniently or respond to the information, so that the efficiency of processing the response information can be improved.
  • the account indicated by the account identification is determined as the target account.
  • the user can also designate an account as the target account, for example, the account identifies an account name, such as @+account C (account C can be understood as the account name, or as a certain account identifier) , that is, when the user inputs @+account C, it can be determined that account C can also be a target account, so that after the user completes the annotation, the response information, the second document and the location information can be sent to the device corresponding to account C.
  • an account name such as @+account C (account C can be understood as the account name, or as a certain account identifier)
  • the user who is browsing may know that user C (the user indicated by account C) is relatively familiar with the selection object. Therefore, when the user annotates the first selection object, the account C corresponding to user C can be determined as the target account, so that user C can receive the first attachment document and the annotation content, so that user C can receive the annotation content and the first attachment document input by the browsing user.
  • this setting method simplifies the interaction of the response information, so that different users can easily receive the response information, and can clearly know the selection object indicated by the response information.
  • the device corresponding to the target account displays the display response information, and can display the first selection object of the second document according to the received location information.
  • the device corresponding to the target account may determine the display mode of the second document according to the location information.
  • the first selection object may be displayed preferentially, so that the user indicated by the target account can quickly learn the first selection object and corresponding response information.
  • the correspondence between the response information and the second document is adjusted.
  • the content displayed in the content area can be changed (for example, the content area can display the content of the second document or the title content of the second document), in other words, perform After the switching operation, the content displayed in the content area can be changed according to the instruction of the switching operation.
  • the content displayed in the current content area is the document content of the second document.
  • the content displayed in the content area only includes the title of the second document.
  • the area of the content display area can be If the selected object is not displayed in the content area, the response information may correspond to the second document.
  • the switching operation can be a click operation.
  • the title control and the content control can be displayed in the display interface.
  • the content area can display the title of the second document, and when the content control is clicked, the content area can display the title control.
  • the document content of the second document can be set according to the actual situation, and the specific operation form of the switching operation is not limited here.
  • the response object of the response information is adjusted from the first selection object to the second document.
  • the first content includes body content
  • the second content includes title content
  • the response object of the response information is adjusted from the second document to the first selection object.
  • the response object of the response information may be the first selection object.
  • the response object of the response information may be the second document. That is, in the process of browsing the first document, when the user browses to the title content of the second document, he can know that some users have commented on the document content of the second document, so that it is convenient for the user to browse the first document. , you can know that those attached documents of the first document have been commented.
  • FIG. 4A the display diagram of the display interface is shown in FIG. 4A .
  • the document content is displayed in the content area at this time. If the user determines the document content in the rectangular frame 401 as the first selection object, at this time, the corresponding object of the corresponding information A can be understood as the document in the rectangular frame 401 content.
  • the document title of the second document is displayed in the content area, then the second document can be determined as the response object at this time, that is, when the user browses the first document, he can know the Two documents made those comments.
  • the display area of the plurality of response information in response to the presence of the plurality of response information, in response to receiving a switching operation for the content area, the display area of the plurality of response information may also be adjusted.
  • multiple document contents in the second document may have been commented, and therefore, multiple response information may exist in the second document.
  • a plurality of response information may be displayed in the same display area.
  • the response information displayed in the same display area may be displayed in the respective display areas, respectively.
  • the first content may include body content
  • the second content may include title content
  • the response information is displayed in the respective corresponding display areas, which can facilitate the reader to know the specific response corresponding to each response information. object.
  • the second content is displayed in the content area, multiple pieces of response information may be displayed in the same display area, so that the user can know which comments are on the second document.
  • FIG. 5A when the first content is displayed in the content area, the user may perform different comments for different content (which can be understood as selection objects), and at this time, the response information may correspond to the selection objects, as shown in FIG. 5A .
  • the response object corresponding to the response information A is the rectangular box 501
  • the response object corresponding to the response information B is the rectangular box 502.
  • the response objects corresponding to the response information A and the response information B are different. Therefore, the response Information A and response information B are displayed in different display areas.
  • both response information A and response information B include response information.
  • response information A includes response information a and response information b
  • response information Information B includes response information c and response information d.
  • the response objects of the multiple response information are all the second document at this time
  • multiple response information can be only corresponding to one display area, and in this display area, the response information A and the response information B are displayed at the same time.
  • the content area may have different sizes. For example, for some important attachment documents, the second content may be displayed in a larger size, while some less important documents may be displayed in a larger size. document, it can be displayed smaller. As shown in FIG. 5C , both the content area 504 and the content area 505 display the title of the document, so the document displayed in the content area 505 is more conspicuous than the document displayed in the content area 504, and is easier to be discovered by the user . In this way, the user can be made aware of which attached documents may be important, so that the user can read these attached documents preferentially. In other words, the efficiency of the user's clear understanding of the first document can be improved.
  • the response information in the display area includes the above-mentioned selection object and response information to the selection object; and, in response to the response information corresponding to the same selection object, one above-mentioned selection object and a plurality of the above-mentioned selection objects are displayed in the above-mentioned display area.
  • Response information in response to the response information corresponding to different selection objects, each different selection object is displayed in the display area, and the response information corresponding to the selection object is displayed.
  • the response information can be understood as the reply information made by the user for the comment.
  • different users may all reply to the same comment.
  • the selection object when the response information corresponds to the same selection object, the selection object may be displayed in the display area, and multiple response information of the selection object may be displayed, so that it is convenient for the user to view the response information corresponding to the selection object (The response information can also be regarded as the response information for the selected object).
  • the response information can also be regarded as the response information for the selected object.
  • each different selection object can be displayed in the display area, and the response information corresponding to each selection object can be displayed; thus, it is convenient for the user to know those who have commented on the selection object.
  • the second document may correspond to at least one piece of response information; in this case, in response to detecting a selection operation for a certain response information, the selection object corresponding to the response information selected by the selection operation may be displayed .
  • the second document corresponds to multiple pieces of response information.
  • user A commented on one document of the second document
  • user B commented on the content of another document in the second document.
  • the second document corresponds to multiple response information
  • the user in order for the user to accurately know the correspondence between the response information and the selected object, after the user performs a selection operation on a certain response information, it can be determined that the corresponding response information corresponds to the selected object.
  • the selected object can be displayed together with the object prompt information corresponding to the selected object. And this design also enables the user to clearly know the selection object indicated by each response message.
  • the response information of the second document can be arranged in sequence.
  • the specific content of the response information B can be displayed, and the content area will also display the corresponding response information B.
  • the selected object is displayed, and the object prompt information 601 corresponding to the selected object is displayed, so that the user can clearly know the selected object indicated by the response information B.
  • the target object prompt information in response to detecting that at least one response information is displayed in the content area, is displayed in a first form, and other than the target object prompt information in the at least one object prompt information is displayed in a second form.
  • Object prompt information in response to detecting that at least one response information is displayed in the content area, is displayed in a first form, and other than the target object prompt information in the at least one object prompt information is displayed in a second form.
  • the first form is different from the second form.
  • the response object indicated by the target object prompt information may be understood as the response object selected by the user.
  • each object prompt information may be relatively close.
  • other object prompt information may also be displayed. Therefore, in order to enable the user to know the target selection object corresponding to the response information triggered by the user ;
  • the prompt information of the target object can be displayed in the first form, and other prompt information can be displayed in the second form. Thereby, the user can make it clear that the selected object indicated by the response information is currently being displayed.
  • the prompt information of the target object can be highlighted, and the brightness of the prompt information of other objects can be lowered.
  • the prompt information of the target object can also be displayed in other display forms.
  • the specific display form of the object prompt information is limited, and it only needs to be set reasonably according to the actual situation.
  • the target object prompt information 702 and another object prompt information (second object prompt information) 701 are displayed in the content area at the same time, and at this time, since the user triggers the response information B, the display is displayed at this time.
  • the target object prompt information 702 can be highlighted to distinguish the second object prompt information 701 from the target object prompt information 702.
  • displaying the second object prompt information 701 in the content area can also remind users who are browsing that the content recorded in the second object prompt information 701 also has corresponding response information, that is, some users may also make comments here. commented. In other words, in this way, when browsing the second document, the user can know which content of the second document has been commented on, and at the same time, the user can also clearly know the selection object corresponding to each comment.
  • At least one response information corresponding to the second document may be hidden, and at least one object prompt information may be hidden.
  • the user may input an annotation hiding instruction to hide the response information and the object prompt information in the content area, so that only the document content of the second document can be displayed in the content area, and without the interference of the object prompt information and the response information, The user can quickly browse the document content of the second document.
  • an annotation hiding control can be displayed on the display interface, and when the user performs a click operation on the control, it can be understood that the user has entered a response information hiding instruction.
  • the user can also input the response information hiding instruction in other ways, and the specific input method of the response information instruction is not limited here, and only needs to be reasonably set according to the actual situation.
  • the present disclosure provides an embodiment of a commenting device, which corresponds to the interaction method embodiment shown in FIG. 1 , and the device may specifically Used in various electronic devices.
  • the commenting apparatus of this embodiment includes: a first determining unit 801, configured to determine a first selection object in response to receiving a first selection operation in a content area of a first document, wherein the content area is determined by For displaying the content of the second document, the second document is displayed in the first document; the display unit 802 is configured to display response information in response to a response operation to the first selection object.
  • the above apparatus further includes a display unit 803 for displaying object prompt information corresponding to the first selected object, wherein the object prompt information is used to indicate the selected object displayed in the content area.
  • the display unit 802 is further configured to display the first response content in the first response area in response to receiving the first response content in the first response area corresponding to the first selection object.
  • the above-mentioned display unit 802 is further configured to: in response to the response operation to the above-mentioned first selection object, determine the display position of the above-mentioned response information according to the display area of the above-mentioned second document; display at the placement.
  • the above-mentioned display unit 802 is further configured to: in response to detecting that the above-mentioned content area displays the above-mentioned second document, determine to display the above-mentioned response information in the display interface corresponding to the above-mentioned first document; in response to detecting that the above-mentioned display The interface displays the second document, and it is determined that the response information is displayed in the display interface.
  • the above-mentioned apparatus further includes a second determining unit 804, configured to determine the position information of the above-mentioned first selection object in the above-mentioned second document; send the above-mentioned response information, the above-mentioned second document and the above-mentioned position information to the A device corresponding to a target account; wherein the target account includes at least one of the following accounts: an account for creating the first document and an account for editing the second document.
  • the device corresponding to the target account displays the response information, and displays the first selection object of the second document according to the received location information.
  • the above-mentioned apparatus further includes an adjustment unit 805, configured to adjust the corresponding relationship between the response information and the above-mentioned second document in response to receiving the switching operation for the above-mentioned content area.
  • the adjustment unit 805 is further configured to: in response to the display content of the content area being switched from the first content to the second content, adjust the response object of the response information from the first selection object to the above-mentioned The second document; wherein, the first content includes body content, and the second content includes title content.
  • the adjustment unit 805 is further configured to: in response to the display content of the content area being switched from the second content to the first content, adjust the response object of the response information from the second document to the first content A selection object; wherein, the first content includes text content, and the second content includes title content.
  • the above-mentioned adjusting unit 805 in response to the existence of a plurality of response information, is further configured to: in response to receiving a switching operation for the above-mentioned content area, adjust the display area of the plurality of response information.
  • the above-mentioned adjustment unit 805 is further configured to: in response to the display content of the above-mentioned content area being switched from the first content to the second content, display multiple pieces of response information in the same display area; wherein the above-mentioned The first content includes body content, and the above-mentioned second content includes title content.
  • the adjustment unit 805 is further configured to: in response to the display content of the content area being switched from the second content to the first content, display the response information displayed in the same display area on the respective In the display area; wherein, the first content includes text content, and the second content includes title content.
  • the response information in the above-mentioned display area includes the above-mentioned selection object and response information to the above-mentioned selection object; and, the above-mentioned adjusting unit 805 is further configured to: in response to the above-mentioned response information corresponding to the same selection object, in the above-mentioned A above-mentioned selection object and a plurality of above-mentioned response information are displayed in the display area; in response to the corresponding different selection objects of the above-mentioned response information, each different selection object is displayed in the above-mentioned display area, and the response information corresponding to each selection object is displayed .
  • FIG. 9 illustrates an exemplary system architecture in which the interaction method of an embodiment of the present disclosure may be applied.
  • the system architecture may include terminal devices 901 , 902 , and 903 , a network 904 , and a server 905 .
  • the network 904 may be the medium used to provide the communication link between the end devices 901 , 902 , 903 and the server 905 .
  • Network 904 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
  • the terminal devices 901, 902, 903 can interact with the server 905 through the network 904 to receive or send messages and the like.
  • Various client applications may be installed on the terminal devices 901 , 902 and 903 , such as web browser applications, search applications, and news information applications.
  • the client applications in the terminal devices 901, 902, and 903 can receive the user's instruction, and perform corresponding functions according to the user's instruction, for example, adding corresponding information to the information according to the user's instruction.
  • the terminal devices 901, 902, and 903 may be hardware or software.
  • the terminal devices 901, 902, and 903 can be various electronic devices that have a display screen and support web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Compression Standard Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) Players, Laptops and Desktops, etc.
  • the terminal devices 901, 902, and 903 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (such as software or software modules for providing distributed services), or as a single software or software module. There is no specific limitation here.
  • the server 905 may be a server that provides various services, such as receiving information acquisition requests sent by the terminal devices 901, 902, and 903, and acquiring display information corresponding to the information acquisition requests in various ways according to the information acquisition requests. And the relevant data of the displayed information is sent to the terminal devices 901 , 902 and 903 .
  • the information processing method provided by the embodiment of the present disclosure may be executed by a terminal device, and correspondingly, the commenting apparatus may be set in the terminal devices 901 , 902 , and 903 .
  • the information processing method provided by the embodiments of the present disclosure may also be executed by the server 905 , and accordingly, the information processing apparatus may be provided in the server 905 .
  • terminal devices, networks and servers in FIG. 9 are only illustrative. There can be any number of terminal devices, networks and servers according to implementation needs.
  • FIG. 10 it shows a schematic structural diagram of an electronic device (eg, a terminal device or a server in FIG. 9 ) suitable for implementing an embodiment of the present disclosure.
  • Terminal devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (eg, mobile terminals such as in-vehicle navigation terminals), etc., and stationary terminals such as digital TVs, desktop computers, and the like.
  • the electronic device shown in FIG. 10 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
  • the electronic device may include a processing device (eg, a central processing unit, a graphics processor, etc.) 1001, which may be loaded into a random access memory according to a program stored in a read only memory (ROM) 1002 or from a storage device 908
  • the program in (RAM) 1003 executes various appropriate operations and processes.
  • various programs and data required for the operation of the electronic device 1000 are also stored.
  • the processing device 1001, the ROM 1002, and the RAM 1003 are connected to each other through a bus 1004.
  • An input/output (I/O) interface 1005 is also connected to bus 1004.
  • I/O interface 1005 input devices 1006 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration
  • An output device 1007 such as a computer
  • a storage device 1008 including, for example, a magnetic tape, a hard disk, etc.
  • Communication means 1009 may allow electronic devices to communicate wirelessly or by wire with other devices to exchange data. While FIG. 10 illustrates an electronic device having various means, it should be understood that not all of the illustrated means are required to be implemented or available. More or fewer devices may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via the communication device 1009 , or from the storage device 1008 , or from the ROM 1002 .
  • the processing apparatus 1001 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
  • the client and server can use any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol) to communicate, and can communicate with digital data in any form or medium Communication (eg, a communication network) interconnects.
  • HTTP HyperText Transfer Protocol
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: in response to receiving the first selection operation in the content area of the first document, determine the first selection operation.
  • a selection object wherein the content area is used to display the content of the second document, and the second document is displayed in the first document; and response information is displayed in response to a response operation to the first selection object.
  • Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner.
  • the name of the unit does not constitute a limitation of the unit itself under certain circumstances, for example, the first determining unit 801 may also be described as "a unit for determining the selected object".
  • exemplary types of hardware logic components include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical Devices (CPLDs) and more.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs Systems on Chips
  • CPLDs Complex Programmable Logical Devices
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开实施例公开了的交互方法、装置和电子设备,第二文档在第一文档的内容区域内进行展示,当检测到针对第二文档执行第一选取操作之后,可以确定第一选取操作所指示的第一选取对象,并可以响应于对第一选取对应的响应操作,显示响应信息。而通过这种方式,当用户发现第二文档的某处文档内容需要进行评论时,仅需先对该处文档内容执行选取操作,再对该处文档内容执行响应操作,即可实现对该处文档内容进行批注评论。也即,文档在预览情况下,用户可以对文档的任意区域的文本内容进行评论,从而可以提升用户在评论文档过程中的准确性。

Description

交互方法、装置和电子设备
相关申请的交叉引用
本申请要求于2021年04月16日提交的,申请号为202110416041.9、发明名称为“交互方法、装置和电子设备”的中国专利申请的优先权,该申请的全文通过引用结合在本申请中。
技术领域
本公开涉及互联网技术领域,尤其涉及一种交互方法、装置和电子设备。
背景技术
随着科学技术的发展,终端应用所具备的功能也越来越完善,例如,一些办公软件还支持浏览在线文档。而在线文档内通过可以上传附件文档;而用户在浏览在线文档时,通常还可以选中在线文档中的文字,并可以对在线文档上的文字进行批注(例如,指出文档的错别字、批注上自己的见解等)。
发明内容
提供该公开内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该公开内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。
本公开实施例提供了一种交互方法、装置和电子设备,当附件文档 在预览状态下,可以对附件文档的任意区域进行评论。
第一方面,本公开实施例提供了一种交互方法,包括:响应于在第一文档的内容区域接收到第一选取操作,确定第一选取对象,其中,上述内容区域用于显示第二文档的内容,上述第二文档显示在上述第一文档中;响应于对上述第一选取对象的响应操作,显示响应信息。
第二方面,本公开实施例提供了一种交互装置,包括:第一确定单元,用于响应于在第一文档的内容区域接收到第一选取操作,确定第一选取对象,其中,上述内容区域用于显示第二文档的内容,上述第二文档显示在上述第一文档中;显示单元,用于响应于对上述第一选取对象的响应操作,显示响应信息。
第三方面,本公开实施例提供了一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当上述一个或多个程序被上述一个或多个处理器执行,使得上述一个或多个处理器实现如第一方面上述的交互方法。
第四方面,本公开实施例提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面上述的交互方法的步骤。
本公开实施例提供的交互方法、装置和电子设备,第二文档可以在第一文档的内容区域内进行展示,当检测到针对第二文档执行第一选取操作之后,可以确定第一选取操作所指示的第一选取对象,并可以响应于对第一选取对应的响应操作,显示响应信息。而通过这种方式,当用户发现第二文档的某处文档内容需要进行评论时,仅需先对该处文档内容执行选取操作,再对该处文档内容执行响应操作,即可实现对该处文档内容进行批注评论。也即,文档在预览情况下,用户可以对文档的任意区域的文本内容进行评论,从而可以提升用户在评论文档过程中的准确性。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标识表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1是根据本公开的交互方法的一个实施例的流程图;
图2A和2B是根据本公开的交互方法的一个实施例的展示示意图;
图3是根据本公开的交互方法的又一个实施例的展示示意图;
[根据细则91更正 20.04.2022] 
图4A和4B是根据本公开的交互方法的又一个实施例的展示示意图;
图5是根据本公开的交互方法的又一个实施例的展示示意图;
图6是根据本公开的交互方法的又一个实施例的展示示意图;
图7是根据本公开的交互方法的又一个实施例的展示示意图;
图8是根据本公开的评论装置的一个实施例的结构示意图;
图9是本公开的一个实施例的交互方法可以应用于其中的示例性系统架构;
图10是根据本公开实施例提供的电子设备的基本结构的示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
请参考图1,其示出了根据本公开交互方法的一个实施例的流程。该交互方法可以应用于终端设备。如图1所示该交互方法,包括以下步骤:
步骤101,响应于在第一文档内的内容区域接收到第一选取操作,确定第一选取对象。
在这里,内容区域用于显示第二文档的内容,第二文档显示在第一文档内。
作为示例,内容区域的具体设置位置,可以根据实际情况进行设定,在此并不对内容区域的具体设置位置进行限定;相应的,内容区域的大小也可以根据实际情况进行设定,例如,内容区域的尺寸大小可以等于第一文档的1/2页面大小。在一些实现方式中,用户也可以通过手动调节预览 区域的尺寸大小。
在这里,第一文档可以理解为在线文档;作为示例,当用户在浏览某个在线文档时,可以对嵌入该在线文档(可以理解为第一文档)的附件文档(可以理解为第二文档)进行预览(附件文档的文档内容可以在内容区域进行展示)。
作为示例,第一文档内可能嵌入了多个附件文档,而第二文档则可以理解为多个附件文档中的任一附件文档。
在这里,用户执行第一选取操作可以选取出内容区域内的部分或者全部内容,而被选取出的内容则可以理解为选取对象。作为示例,第一选取操作可以为滑动选取操作、框选操作等,在此并不对第一选取操作具体操作形式进行限定,仅需根据实际情况进行合理设定即可。
在这里,第一选取对象则可以理解为用户选取出的第二文档的文档内容。
步骤102,响应于对第一选取对象的响应操作,显示响应信息。
在这里,响应操作可以理解为用户的评论输入操作。作为示例,当用户执行第一选取操作之后,可以展示一个用于输入评论的窗口,当用户在这个窗口输入评论内容时,则可以理解为用户执行了评论输入操作。
在这里,响应信息可以理解为用户输入的评论内容。
作为示例,当用户在阅读第二文档的过程中,可能会对第二文档中的某些内容感到疑惑,此时,用户可以对这部分文档内容执行第一选取操作,从而可以将这部分内容确定为选取对象,并可以对这部分内容执行响应操作,并可以展示响应信息(例如,响应信息中的内容可以包括用于指示自己疑惑的内容、用于指示自己见解的内容等)。
可以看出,在本公开实施例中,第二文档在第一文档的内容区域内进行展示,当检测到针对第二文档执行第一选取操作之后,可以确定第一选 取操作所指示的第一选取对象,并可以响应于对第一选取对应的响应操作,显示响应信息。而通过这种方式,当用户发现第二文档的某处文档内容需要进行评论时,仅需先对该处文档内容执行选取操作,再对该处文档内容执行响应操作,即可实现对该处文档内容进行批注评论。也即,文档在预览情况下,用户可以对文档的任意区域的文本内容进行评论,从而可以提升用户在评论文档过程中的准确性。
在一些实施例中,当用户在编辑某个文档(这里,可以理解为第一文档)时,可能需要加入附件文档以使该文档更加全面。例如,当第一文档为一篇体育报告,其中涉及了多个体育明星,而每个体育明星可能会有自己的介绍文章,因此,则可以将这些体育明星介绍文章加入至目标文档内;此时,这些用于介绍体育明星的文档则可以理解为附件文档。
一般而言,附件文档的内容可能较多,因此,为了使第一文档看起来比较简洁,附件文档加入至第一文档内时,可以仅展示附件文档的文档链接标识,而用户可以通过对附件文档的文档链接标识执行触发操作(例如:单击操作、双击操作等)可以打开附件文档,也可以输入预览指令,从而可以展示内容区域,并在内容区域内展示文档。
需要说明的是,生成预览指令的方式有很多,在此并不进行限定,作为示例,用户可以将鼠标移动至附件文档的文档链接处,此时界面可以展示预览控件,而用户通过对预览控件执行触发操作,即可生成预览指令。
作为示例,附件文档可以为图片、PDF(Portable Document Format,可携带文件格式)文档、Word文档等。
作为示例,第一文档可以对应一个内容区域(当第一文档有多个附件文档时,多个附件文档可以均在同一内容区域进行展示),也可以是对应多个内容区域(例如,第一文档中的一个附件文档对应一个内容区域)。而内容区域的具体设置位置,可以根据实际情况进行设定,在此并不对内 容区域的具体设置位置进行限定。作为示例,内容区域可以将展示附件文档对应的标识(当在第一文档中加入附件文档时,可以展示附件文档的标识,以便用户获知在第一文档中的某处加入了附件文档)的区域进行放大而获得。相应的,当用户针对第一文档中的某个内容区域执行第一选取操作时,则该内容区域内显示的文档则可以理解为第二文档。
作为示例,为了便于理解内容区域与第一文档的关系,可以结合图2A和图2B进行说明,如图2A为第一文档展示附件文档的文档链接标识的示意图,此处的附件文档可以理解为第二文档;而图2B为展示内容区域,并在内容区域内展示第二文档的文档内容的示意图;当检测到针对第二文档的预览指令后,可以在第二文档的展示文档链接标识的区域201进行放大,即可获得内容区域202。也即,图2A转变为图2B可以理解为:当检测到针对第二文档的预览指令后,展示界面所发生的变化。需要说明的是,在具体实施方式中,内容区域202也可以在文档链接标识的区域201分开,例如,内容区域在文档链接标识的区域201的右方,或者内容区域202也可以在区域201的左方,或者内容区域202也可以在区域201的上方等。
作为示例,当接收到预览指令时,附件文档的文档内容可以在内容区域内进行预览展示,当内容区域内并不能完全展示附件文档的文档内容时,用户可以通过在内容区域内进行滑动操作,即可更改展示在内容区域内的附件文档的文档内容。例如,用户可以执行向上的滑动操作,即可将附件文档的文档内容向上滚动。
作为示例,用户在阅读第二文档时,可能会对第二文档的某些地方进行评论(例如,用户对第二文档中的某些部分文档内容不理解、用户认为第二文档中的某部分文档内容记载出错、用户需要对某部分文档内容进行进一步的解释等)。而此时,用户则可以对该部分内容执行第一选取操 作,而被选取出的内容,即可理解为第一选取对象,之后若接收到针对第一选取对象的响应操作(例如,输入评论内容的操作),则可以展示响应信息。
作为示例,第一选取操作可以理解为对文档内容进行选择的操作,当然,第一选取操作也可以理解为对文档内容进行框选的操作。例如,文档内容中有几幅画,用户可以选择其中某幅画进行评论批注,也可以对某幅画的某个区域进行框选,从而可以仅对该幅画的部分区域进行评论。
为了便于理解,进行举例说明,如图3所示,图3为第二文档的预览示意图,第二文档的文档内容包括内容A、内容B、内容C,用户可以执行第一选取操作将内容A选取出来(如点击内容A),则内容A则可以理解为第一选取对象。再如,若内容A为图片,而用户仅需对图片中的部分内容进行评论,则用户可以执行框选操作,仅框选图片中需要评论的内容,而图片中被框选出的内容(也即图中矩形框301中的内容)即可理解为第一选取对象。
可以看出,用户可以根据实际需要进行评论的内容,选择不同的方式执行第一选取操作,从而可以更灵活的对第二文档中的文档内容进行评论。
在一些实施例中,可以展示与第一选取对象对应的对象提示信息。
在这里,对象提示信息用于指示内容区域内展示的选取对象。
作为示例,对象提示信息可以是新增的一个图层,也可以是特定的颜色的标识(例如,红色框、黄色框等),需要说明的是,在此并不对对象提示信息的具体形式进行限定,仅需根据实际情况进行设定即可,也即,仅需使得展示对象提示信息之后,可以将展示界面中用户选出的选取对象,与其它内容进行区分即可。
可以看出,通过对选取对象添加相应的对象提示信息,可以将附件文 档的文档内容中的选取对象与附件文档的其它内容进行区分,从而可以使观看批注的用户,可以清晰获知那些对象用户进行了批注。
在一些实施例中,响应于在第一选取对象对应的第一响应区域内接收到第一响应内容,在第一响应区域显示第一响应内容。
在这里,第一响应区域可以理解为用于输入评论的区域,相应的,第一响应内容则可以理解为用于输入的评论内容。
作为示例,一个选取对象可以对应一个响应区域,也即,不同用户针对该第一选取对象输入的评论均可以在一个响应区域内进行展示。当然,一个选取对象也可以对应多个响应区域,相应的,不同用户针对第一选取对应输入的评论可以在不同的响应区域进行展示。
可以看出,通过展示响应区域和响应内容,使得用户可以便捷的获知针对选取对象的评论,从而可以便于用户更好的理解第二文档(例如,评论是针对第二文档的某部分文档内容的进一步解释)。
在一些实施例中,响应于对第一选取对象的响应操作,根据第二文档的展示区域,确定上述响应信息的展示位置;将响应信息在展示位置处进行展示。
在一些实施例中,响应于检测到内容区域展示第二文档,确定在第一文档对应的显示界面内展示响应信息;
响应于检测到显示界面展示第二文档,确定在显示界面内进行展示上述响应信息。
作为示例,当第二文档展示在第一文档内的内容区域内时,则响应信息可以在第一文档内进行展示,而当利用第二文档的文档链接标识打开第二文档时,此时,展示界面可以展示第二文档。换言之,此时可以理解为将第二文档进行了全屏展示,此时,响应信息可以在第二文档内进行展示。
可以看出,当内容区域内展示第二文档时,由于内容区域在第一文档内,因此,内容区域小于第一文档的显示界面;而为了使内容区域尽可能多的展示第二文档的内容,则可以将第一响应区域在第一文档内进行展示,从而以便用户通过内容区域一次性浏览到较多的内容。
在一些实施例中,可以确定第一选取对象在第二文档中的位置信息,并可以将响应信息、第二文档和位置信息这三者发送至与目标账户对应的设备。
在这里,目标账户包括以下至少一个账户:
第一文档的创建账户、第二文档的编辑账户。
在这里,可以利用创建账户创建第一文档,可以利用编辑账户将第二文档添加至第一文档内。
作为示例,第一文档可以理解为由几个人共同编辑而成。结合图4所示,某个在线文档利用账户A进行创建,而该在线文档创建完成之后,在线文档的区域A可以利用账户A编辑,在线文档的区域B可以利用账户B进行编辑,在线文档的区域C则可以利用账户C编辑;而第二文档在区域B处,此时,账户A可以理解为创建账户,而账户B可以理解为第二文档的编辑账户,因此,账户A和/或账户B可以为目标账户。作为示例,可以将账户A和账户B均作为目标账户。
作为示例,可以理解为:账户A对应的用户(创建用户)创建了第一文档,而账户B对应的用户(目标编辑用户)编辑的区域B,也即,账户A对应的用户可能清楚第一文档所记载的内容,而账户B对应的用户可能清楚第一文档的区域B所记载的内容。因此,当用户对第二文档进行批注之后,可以将响应信息(可以包括评论内容和评论框)和第二文档发送至目标账户对应的设备;也即,创建用户和/或目标编辑用户均能快速收到通知,并可以获知对第二文档具体的批注内容。且接收到通知的创 建用户和/或目标编辑用户,无需再次打开第一文档去寻找第二文档的响应信息,而是仅根据发送至的内容,即可获知响应信息,以及与响应信息对应的第一选取对象(因为,还发送了第一选取对象在第二文档文档中的位置信息),从而也就可以使目标账户所指示的用户可以更加便捷的处理响应信息(可以理解为评论)。也即,通过将第二文档、响应信息和位置信息这三者发送至目标账户对应的设备,可以提升批注被处理的效率。
可以看出,通过向目标账户发送响应信息、第二文档和位置信息,使得目标账户对应的设备在接收到发送的信息时,可以直接将第一选取对象和响应信息进行展示,从而可以便于目标账户所指示的用户可以便捷的或者响应信息,从而可以提升响应信息被处理的效率。
在一些实施例中,响应于确定响应信息包括用于指示账户的账户标识,将账户标识所指示的账户确定为目标账户。
在一些实施例中,用户也可以指定某个账户为目标账户,例如,账户标识某个账户名称,如@+账户C(账户C可以理解为账户名称,也可以理解为,某个账户标识),也即,用户输入@+账户C,即可确定账户C也可以为目标账户,从而用户完成批注后,即可向账户C对应的设备发送响应信息、第二文档和位置信息。
作为示例,在进行浏览的用户可能知道用户C(账户C所指示的用户)对选取对象比较了解,因此,用户在针对第一选取对象进行批注时,可以将用户C对应的账户C确定为目标账户,从而可以让用户C接收到第一附件文档以及批注内容,从而用户C即可收到在进行浏览的用户所输入的批注内容和第一附件文档。
可以看出,通过这种设置方式,简化了响应信息的交互方式,使得不同用户之间,可以很便捷的收到响应信息,并可以清晰获知响应信息所指示的选取对象。
在一些实施例中,目标账户对应的设备展示展示响应信息,并可以根据接收到的位置信息展示第二文档的第一选取对象。
在这里,目标账户对应的设备,可以根据位置信息,确定对第二文档的展示方式。作为示例,可以优先展示第一选取对象,从而可以使的目标账户所指示的用户可以较快地获知第一选取对象以及对应的响应信息。
在一些实施例中,响应于接收到针对内容区域的切换操作,调整响应信息与第二文档的对应关系。
在这里,当对内容区域执行切换操作之后,可以更改内容区域内展示的内容(例如,内容区域可以展示第二文档内容,也可以进展示第二文档的标题内容),换言之,对内容区域执行切换操作之后,内容区域内展示的内容可以根据切换操作的指示发生改变。
作为示例,当前内容区域内展示的内容为第二文档的文档内容,如对内容区域执行切换操作之后,内容区域内展示的内容仅包括第二文档的标题,此时可以将内容展示区域的面积调小,而由于当内容区域内并未将选取对象进行展示,因此,响应信息可以与第二文档对应。
在这里,切换操作可以为点击操作,例如,在展示界面内可以展示标题控件和内容控件,当点击标题控件时,内容区域可以展示第二文档的标题,当点击内容控件时,内容区域可以展示第二文档的文档内容。当然,切换操作的具体操作形式可以根据实际情况进行设定,在此并不对切换操作的具体操作形式进行限定。
在一些实施例中,响应于内容区域的显示内容由第一内容切换为第二内容时,将响应信息的响应对象由第一选取对象调整为第二文档。
在这里,第一内容包括正文内容,第二内容包括标题内容。
在一些实施例中,响应于内容区域的显示内容由第二内容切换为第一内容时,将响应信息的响应对象由第二文档调整为第一选取对象。
作为示例,当第一内容为正文内容,第二内容为标题内容时,当内容区域显示第一内容时,由于可能将第一选取对象进行了展示,因此,响应信息的响应对象可以为第一选取对象,从而可以便于用户清晰或者对第二文档的具体那部分内容进行了评论。当内容区域显示第二内容时,由于此时内容区域内仅展示了标题内容,而没有展示选取对象,响应信息的响应对象可以为第二文档。也即,使得用户在浏览第一文档过程中,当浏览到第二文档的标题内容时,即可获知某些用户对第二文档的文档内容进行了评论,从而可以便于用户通过浏览第一文档,即可获知第一文档的那些附件文档被进行了评论。
为了便于理解,结合图4A和图4B进行举例说明,以更好的理解响应信息与响应对象的对应关系,而图4A和图4B为不同响应对象时,展示界面的展示展示示意图,如图4A所示,此时内容区域内展示了文档内容,若用户对将矩形框401内的文档内容确定为第一选取对象,此时,相应信息A的相应对象则可以理解为矩形框401内的文档内容。继续如图4B所示,此时内容区域内展示了第二文档的文档标题,则此时则可以将第二文档确定为响应对象,也即,用户在浏览第一文档时,可以获知对第二文档进行了那些评论。
在一些实施例中,响应于存在多个响应信息,响应于接收到对内容区域的切换操作,还可以调整多个响应信息的显示区域。
作为示例,第二文档中的多处文档内容均可能被进行了评论,因此,第二文档可能存在多个响应信息。
在这里,当响应于内容区域的显示内容由第一内容切换为第二内容时,可以将多个响应信息显示在同一个显示区域中。
在这里,当响应于内容区域的显示内容由第二内容切换为第一内容时,可以将显示在同一个显示区域中的响应信息分别显示在各自的显示 区域中。
在这里,第一内容可以包括正文内容,第二内容可以包括标题内容。
作为示例,当内容区域内展示展示第一内容时,由于将文档内容进行了展示,因此,将响应信息展示在各自对应的显示区域内,可以便于阅读者获知每个响应信息多对应的具体响应对象。而当内容区域内展示第二内容时,可以将多个响应信息显示在同一显示区域内,以便用户获知针对第二文档有那些评论。
为了便于理解,结合图5A和图5B进行举例说明,以更好的理解响应信息的显示区域如何进行调节。如图5A所示,当内容区域内展示第一内容时,针对不同的内容(可以理解为选取对象),用户可能执行了不同的评论,此时,响应信息可以与选取对象对应,如图5A所示,响应信息A对应的响应对象为矩形框501,而响应信息B对应的响应对象为矩形框502,此时,响应信息A和响应信息B所对应的响应对象不同,因此,可以将响应信息A和响应信息B显示在不同的显示区域,同时,可以看出,响应信息A和响应信息B中均包括有回应信息,例如,响应信息A包括了回应信息a、回应信息b,而响应信息B包括了回应信息c、回应信息d。如图5B所示,当显示区域内展示第二内容时(也即内容区域内503内仅展示了第二文档的标题内容时),则此时多个响应信息的响应对象均为第二文档,此时,则可以将多个响应信息仅对应一个显示区域,在该显示区域中,同时展示了响应信息A和响应信息B。
作为示例,当内容区域内展示第二文档的第二内容时,内容区域可以有不同的大小,例如,某些重要的附件文档,可以将第二内容展示得大一些,而一些不太重要的文档,则可以展示得小一些。如图5C所示,内容区域504和内容区域505内展示的均是文档的标题,则内容区域505所展示的文档相较于内容区域504内展示的文档更显眼,也就更容易被用 户发现。通过这种方式,可以使用户了解哪些附件文档可能较为重要,从而用户可以优先阅读这些附件文档。换言之,可以提升用户清晰了解第一文档的效率。
在一些实施例中,显示区域中的响应信息包括上述选取对象和对选取对象的回应信息;以及,响应于响应信息对应相同的选取对象,在上述显示区域中显示一个上述选取对象和多个上述回应信息;响应于响应信息对应不同的选取对象,在显示区域中显示每一个不同的上述选取对象,以及显示与选取对象对应的回应信息。
在这里,回应信息可以理解为用户针对评论所作的回复性信息,相应地,同一选取对象可能存在多个回复信息,作为示例,可能不同的用户均对同一评论进行了回复。
作为示例,当响应信息对应相同的选取对象时,可以在显示区域中显示该选取对象,并可以将该选取对象的多个回应信息进行展示,从而可以便于用户观看该选取对象对应了那些响应信息(回应信息也可以看作针对该选取对象的响应信息)。而当响应信息对应不同的选取对象时,显示区域中可以显示每一个不同的选取对象,并可以显示与每个选取对象对应的回应信息;从而可以便于用户可以获知那些针对选取对象进行了评论。
在一些实施例中,第二文档可以对应至少一个响应信息;此时,在响应于检测到针对某一响应信息的选取操作时,可以将选取操作选取出的响应信息所对应的选取对象进行展示。
作为示例,可以理解为第二文档对应了多个响应信息,例如,可能有多个用户对第二文档进行了批注评论,或者一个用户对第二文档的多处文档内容均进行了批注评论。例如:用户A对第二文档的一处文档进行了批注评论,用户B对第二文档的另一处文档内容进行了批注评论。
作为示例,当第二文档对应了多个响应信息时,而为了使用户准确获知响应信息与选取对象的对应关系,当用户对某个响应信息执行选取操作之后,即可确定与该响应信息对应的选取对象,并可以将该选取对象对应的对象提示信息一并进行展示。而这种设计,也就使得用户可以清晰获知每个响应信息所指示的选取对象。
为了便于理解,请参阅图6,第二文档的响应信息可以依次进行排列,当用户点击了响应信息B时,则可以展示响应信息B的具体内容,且内容区域也将展示与响应信息B对应的选取对象,并展示与该选取对象对应的对象提示信息601,从而也就可以使用户清晰获知响应信息B所指示的选取对象。
在一些实施例中,响应于检测到内容区域内展示至少一个响应信息,以第一形态进行展示目标对象提示信息,以及以第二形态展示至少一个对象提示信息中除目标对象提示信息外的其它对象提示信息。
在这里,第一形态与第二形态不同。
在这里,目标对象提示信息所指示的响应对象可以理解为用户选取出的响应对象。
作为示例,各对象提示信息之间的位置可能较为接近,在展示目标对象提示信息时,可能也展示了其他对象提示信息,因此,为了使用户可以获知用户触发的响应信息所对应的目标选取对象;可以将目标对象提示信息以第一形态进行展示,而将其他提示信息以第二形态进行展示。从而也就使得用户可以明确当前正在展示响应信息所指示的选取对象。
例如,可以将目标对象提示信息进行高亮展示,而将其他对象提示信息的亮度调低,当然,也可以使目标对象提示信息以其它展示形式进行展示,在此并不对目标对象提示信息和其它对象提示信息的具体展示形式进行限定,仅需根据实际情况进行合理设定即可。
为了便于理解,请参阅图7,内容区域内同时展示了目标对象提示信息702和其它一个对象提示信息(第二对象提示信息)701,而此时,由于用户触发了响应信息B,此时展示了响应信息B的内容,若响应信息B与目标选取对象对应,则可以将目标对象提示信息702进行高亮展示,以将第二对象提示信息701和目标对象提示信息702进行区分。同时,内容区域内展示第二对象提示信息701还可以提醒正在浏览的用户,第二对象提示信息701处所记载的内容,也存在相应的响应信息,也即,某些用户可能对此处也进行了评论。换言之,通过这种方式,可以使用户浏览第二文档时,可以获知第二文档的具体哪些内容被进行了批注评论,同时,也可以使用户清晰获知每个批注评论所对应的选取对象。
在一些实施例中,响应于检测到响应信息隐藏指令,可以将第二文档对应的至少一个响应信息进行隐藏,以及隐藏至少一个对象提示信息。
作为示例,用户可以输入批注隐藏指令,以便隐藏响应信息和内容区域中的对象提示信息,从而可以使得内容区域内仅展示第二文档的文档内容,而由于没有对象提示信息和响应信息的干扰,使得用户可以快速的浏览完第二文档的文档内容。
在这里,展示界面上可以展示一个批注隐藏控件,当用户对该控件执行点击操作时,则可以理解为用户输入了响应信息隐藏指令。当然,在具体实施方式中,用户也可以通过其它方式输入响应信息隐藏指令,而响应信息指令的具体输入方式,在此并不进行限定,仅需根据实际情况进行合理设定即可。
进一步参考图8,作为对上述各图所示方法的实现,本公开提供了一种评论装置的一个实施例,该装置实施例与图1所示的交互方法实施例相对应,该装置具体可以应用于各种电子设备中。
如图8所示,本实施例的评论装置包括:第一确定单元801,用于响应于在第一文档的内容区域接收到第一选取操作,确定第一选取对象,其中,上述内容区域用于显示第二文档的内容,上述第二文档显示在上述第一文档中;显示单元802,用于响应于对上述第一选取对象的响应操作,显示响应信息。
在一些实施例中,上述装置还包括展示单元803,用于展示与上述第一选取对象对应的对象提示信息,其中,对象提示信息用于指示内容区域内展示的选取对象。
在一些实施例中,上述显示单元802具体还用于:响应于在上述第一选取对象对应的第一响应区域内接收到第一响应内容,在上述第一响应区域显示上述第一响应内容。
在一些实施例中,上述显示单元802具体还用于:响应于对上述第一选取对象的响应操作,根据上述第二文档的展示区域,确定上述响应信息的展示位置;将上述响应信息在上述展示位置处进行展示。
在一些实施例中,上述显示单元802具体还用于:响应于检测到上述内容区域展示上述第二文档,确定在上述第一文档对应的显示界面内展示上述响应信息;响应于检测到上述显示界面展示上述第二文档,确定在上述显示界面内进行展示上述响应信息。
在一些实施例中,上述装置还包括第二确定单元804,用于确定上述第一选取对象在上述第二文档中的位置信息;将上述响应信息、上述第二文档和上述位置信息发送至与目标账户对应的设备;其中,上述目标账户包括以下至少一个账户:上述第一文档的创建账户、上述第二文档的编辑账户。
在一些实施例中,上述目标账户对应的设备展示上述响应信息,并根据接收到的上述位置信息,展示上述第二文档的上述第一选取对象。
在一些实施例中,上述装置还包括调整单元805,用于响应于接收到针对上述内容区域的切换操作,调整响应信息与上述第二文档的对应关系。
在一些实施例中,上述调整单元805具体还用于:响应于上述内容区域的显示内容由第一内容切换为第二内容时,将上述响应信息的响应对象由上述第一选取对象调整为上述第二文档;其中,上述第一内容包括正文内容,上述第二内容包括标题内容。
在一些实施例中,上述调整单元805具体还用于:响应于上述内容区域的显示内容由第二内容切换为第一内容时,将上述响应信息的响应对象由上述第二文档调整为上述第一选取对象;其中,上述第一内容包括正文内容,上述第二内容包括标题内容。
在一些实施例中,响应于存在多个响应信息,上述调整单元805具体还用于:响应于接收到对上述内容区域的切换操作,调整多个响应信息的显示区域。
在一些实施例中,上述调整单元805具体还用于:响应于上述内容区域的显示内容由第一内容切换为第二内容时,将多个响应信息显示在同一个显示区域中;其中,上述第一内容包括正文内容,上述第二内容包括标题内容。
在一些实施例中,上述调整单元805具体还用于:响应于上述内容区域的显示内容由第二内容切换为第一内容时,将显示在同一个显示区域中的响应信息分别显示在各自的显示区域中;其中,上述第一内容包括正文内容,上述第二内容包括标题内容。
在一些实施例中,上述显示区域中的响应信息包括上述选取对象和对上述选取对象的回应信息;以及,上述调整单元805具体还用于:响应于上述响应信息对应相同的选取对象,在上述显示区域中显示一个上述 选取对象和多个上述回应信息;响应于上述响应信息对应不同的选取对象,在上述显示区域中显示每一个不同的选取对象,以及显示与每个选取对象对应的回应信息。
请参考图9,图9示出了本公开的一个实施例的交互方法可以应用于其中的示例性系统架构。
如图9所示,系统架构可以包括终端设备901、902、903,网络904,服务器905。网络904可以用以在终端设备901、902、903和服务器905之间提供通信链路的介质。网络904可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。
终端设备901、902、903可以通过网络904与服务器905交互,以接收或发送消息等。终端设备901、902、903上可以安装有各种客户端应用,例如网页浏览器应用、搜索类应用、新闻资讯类应用。终端设备901、902、903中的客户端应用可以接收用户的指令,并根据用户的指令完成相应的功能,例如根据用户的指令在信息中添加相应信息。
终端设备901、902、903可以是硬件,也可以是软件。当终端设备901、902、903为硬件时,可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。当终端设备901、902、903为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务的软件或软件模块),也可以实现成单个软 件或软件模块。在此不做具体限定。
服务器905可以是提供各种服务的服务器,例如接收终端设备901、902、903发送的信息获取请求,根据信息获取请求通过各种方式获取信息获取请求对应的展示信息。并展示信息的相关数据发送给终端设备901、902、903。
需要说明的是,本公开实施例所提供的信息处理方法可以由终端设备执行,相应地,评论装置可以设置在终端设备901、902、903中。此外,本公开实施例所提供的信息处理方法还可以由服务器905执行,相应地,信息处理装置可以设置于服务器905中。
应该理解,图9中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。
下面参考图10,其示出了适于用来实现本公开实施例的电子设备(例如图9中的终端设备或服务器)的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图10示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图10所示,电子设备可以包括处理装置(例如中央处理器、图形处理器等)1001,其可以根据存储在只读存储器(ROM)1002中的程序或者从存储装置908加载到随机访问存储器(RAM)1003中的程序而执行各种适当的动作和处理。在RAM 1003中,还存储有电子设备1000操作所需的各种程序和数据。处理装置1001、ROM1002以及RAM 1003通过总线1004彼此相连。输入/输出(I/O)接口1005也连 接至总线1004。
通常,以下装置可以连接至I/O接口1005:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置1006;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置1007;包括例如磁带、硬盘等的存储装置1008;以及通信装置1009。通信装置1009可以允许电子设备与其他设备进行无线或有线通信以交换数据。虽然图10示出了具有各种装置的电子设备,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置1009从网络上被下载和安装,或者从存储装置1008被安装,或者从ROM1002被安装。在该计算机程序被处理装置1001执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、 或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:响应于在第一文档的内容区域接收到第一选取操作,确定第一选取对象,其中,上述内容区域用于显示第二文档的内容,上述第二文档显示在上述第一文档中;响应于对上述第一选取对象的响应操作,显示响应信息。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开 的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一确定单元801还可以被描述为“确定选取对象的单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部 件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实 现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (17)

  1. 一种交互方法,其特征在于,包括:
    响应于在第一文档的内容区域接收到第一选取操作,确定第一选取对象,其中,所述内容区域用于显示第二文档的内容,所述第二文档显示在所述第一文档中;
    响应于对所述第一选取对象的响应操作,显示响应信息。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    展示与所述第一选取对象对应的对象提示信息,其中,对象提示信息用于指示内容区域内展示的选取对象。
  3. 根据权利要求1所述的方法,其特征在于,所述响应于对所述第一选取对应的响应操作,显示响应信息,包括:
    响应于在所述第一选取对象对应的第一响应区域内接收到第一响应内容,在所述第一响应区域显示所述第一响应内容。
  4. 根据权利要求1所述的方法,其特征在于,所述响应于对所述第一选取对象的响应操作,显示响应信息,包括:
    响应于对所述第一选取对象的响应操作,根据所述第二文档的展示区域,确定所述响应信息的展示位置;
    将所述响应信息在所述展示位置处进行展示。
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述第二文档的展示区域,确定所述响应信息的展示位置,包括:
    响应于检测到所述内容区域展示所述第二文档,确定在所述第一文档对应的显示界面内展示所述响应信息;
    响应于检测到所述显示界面展示所述第二文档,确定在所述显示界面内进行展示所述响应信息。
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    确定所述第一选取对象在所述第二文档中的位置信息;
    将所述响应信息、所述第二文档和所述位置信息发送至与目标账户对应的设备;
    其中,所述目标账户包括以下至少一个账户:
    所述第一文档的创建账户、所述第二文档的编辑账户。
  7. 根据权利要求6所述的方法,其特征在于,所述目标账户对应的设备展示所述响应信息,并根据接收到的所述位置信息,展示所述第二文档的所述第一选取对象。
  8. 根据权利要求1所述的方法,其特征在于,所述方法还包括:响应于接收到针对所述内容区域的切换操作,调整响应信息与所述第二文档的对应关系。
  9. 根据权利要求8所述的方法,其特征在于,所述响应于接收到针对所述内容区域的切换操作,调整响应信息与所述第二文档的对应关系,包括:
    响应于所述内容区域的显示内容由第一内容切换为第二内容时,将所述响应信息的响应对象由所述第一选取对象调整为所述第二文档;
    其中,所述第一内容包括正文内容,所述第二内容包括标题内容。
  10. 根据权利要求8所述的方法,其特征在于,所述响应于接收到针对所述内容区域的切换操作,调整响应信息与所述第二文档的对应关系,包括:
    响应于所述内容区域的显示内容由第二内容切换为第一内容时,将所述响应信息的响应对象由所述第二文档调整为所述第一选取对象;
    其中,所述第一内容包括正文内容,所述第二内容包括标题内容。
  11. 根据权利要求1所述的方法,其特征在于,响应于存在多个响应信息,所述方法还包括:
    响应于接收到对所述内容区域的切换操作,调整多个响应信息的显示区域。
  12. 根据权利要求11所述的方法,其特征在于,所述响应于接收到对所述内容区域的切换操作,调整多个响应信息的显示区域,包括:
    响应于所述内容区域的显示内容由第一内容切换为第二内容时,将多个响应信息显示在同一个显示区域中;
    其中,所述第一内容包括正文内容,所述第二内容包括标题内容。
  13. 根据权利要求11所述的方法,其特征在于,所述响应于接收到对所述内容区域的切换操作,调整多个响应信息的显示区域,包括:
    响应于所述内容区域的显示内容由第二内容切换为第一内容时,将显示在同一个显示区域中的响应信息分别显示在各自的显示区域中;
    其中,所述第一内容包括正文内容,所述第二内容包括标题内容。
  14. 根据权利要求12所述的方法,其特征在于,所述显示区域中的 响应信息包括所述选取对象和对所述选取对象的回应信息;
    以及,所述将多个所述响应信息显示在同一个显示区域中,包括:
    响应于所述响应信息对应相同的选取对象,在所述显示区域中显示一个所述选取对象和多个所述回应信息;
    响应于所述响应信息对应不同的选取对象,在所述显示区域中显示每一个不同的选取对象,以及显示与每个选取对象对应的回应信息。
  15. 一种交互装置,其特征在于,包括:
    第一确定单元,用于响应于在第一文档的内容区域接收到第一选取操作,确定第一选取对象,其中,所述内容区域用于显示第二文档的内容,所述第二文档显示在所述第一文档中;
    显示单元,用于响应于对所述第一选取对象的响应操作,显示响应信息。
  16. 一种电子设备,其特征在于,包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-14中任一所述的方法。
  17. 一种计算机可读介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-14中任一所述的方法。
PCT/CN2022/077504 2021-04-16 2022-02-23 交互方法、装置和电子设备 WO2022218034A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110416041.9 2021-04-16
CN202110416041.9A CN113128185A (zh) 2021-04-16 2021-04-16 交互方法、装置和电子设备

Publications (1)

Publication Number Publication Date
WO2022218034A1 true WO2022218034A1 (zh) 2022-10-20

Family

ID=76777374

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/077504 WO2022218034A1 (zh) 2021-04-16 2022-02-23 交互方法、装置和电子设备

Country Status (2)

Country Link
CN (1) CN113128185A (zh)
WO (1) WO2022218034A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113128185A (zh) * 2021-04-16 2021-07-16 北京字跳网络技术有限公司 交互方法、装置和电子设备
CN115952775A (zh) * 2021-10-08 2023-04-11 北京字跳网络技术有限公司 文档的处理方法、装置、终端和存储介质
CN114564267B (zh) * 2022-02-28 2024-03-26 北京字跳网络技术有限公司 信息处理方法、装置、电子设备和存储介质
CN114565476A (zh) * 2022-03-02 2022-05-31 北京字跳网络技术有限公司 信息处理方法、装置、终端和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120143958A1 (en) * 2010-12-07 2012-06-07 Microsoft Corporation Populating documents with user-related information
CN105975601A (zh) * 2016-05-11 2016-09-28 无锡永中软件有限公司 网页文档在线预览的方法
CN108984502A (zh) * 2018-06-22 2018-12-11 阿里巴巴集团控股有限公司 在线文档中展示批注的方法、装置及浏览器
CN112114734A (zh) * 2020-09-28 2020-12-22 腾讯科技(深圳)有限公司 在线文档的显示方法、装置、终端及存储介质
CN113128185A (zh) * 2021-04-16 2021-07-16 北京字跳网络技术有限公司 交互方法、装置和电子设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9176943B2 (en) * 2008-05-12 2015-11-03 Adobe Systems Incorporated Comment presentation in electronic documents
US8321784B1 (en) * 2008-05-30 2012-11-27 Adobe Systems Incorporated Reviewing objects
US9069743B2 (en) * 2011-10-13 2015-06-30 Microsoft Technology Licensing, Llc Application of comments in multiple application functionality content
CN109492210A (zh) * 2018-10-26 2019-03-19 天津字节跳动科技有限公司 一种在线文档内容展示方法、装置、存储介质及电子设备
CN111580714A (zh) * 2020-04-27 2020-08-25 广州视源电子科技股份有限公司 智能交互平板的页面编辑方法、装置、设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120143958A1 (en) * 2010-12-07 2012-06-07 Microsoft Corporation Populating documents with user-related information
CN105975601A (zh) * 2016-05-11 2016-09-28 无锡永中软件有限公司 网页文档在线预览的方法
CN108984502A (zh) * 2018-06-22 2018-12-11 阿里巴巴集团控股有限公司 在线文档中展示批注的方法、装置及浏览器
CN112114734A (zh) * 2020-09-28 2020-12-22 腾讯科技(深圳)有限公司 在线文档的显示方法、装置、终端及存储介质
CN113128185A (zh) * 2021-04-16 2021-07-16 北京字跳网络技术有限公司 交互方法、装置和电子设备

Also Published As

Publication number Publication date
CN113128185A (zh) 2021-07-16

Similar Documents

Publication Publication Date Title
WO2022218034A1 (zh) 交互方法、装置和电子设备
WO2022193597A1 (zh) 界面信息切换方法及装置
US10346523B1 (en) Content synchronization across devices
WO2021135626A1 (zh) 菜单项选择方法、装置、可读介质及电子设备
WO2022127838A1 (zh) 文档处理方法、装置和电子设备
CN110389807B (zh) 一种界面翻译方法、装置、电子设备及存储介质
WO2022002066A1 (zh) 文档内表格浏览方法、装置、电子设备及存储介质
WO2022111591A1 (zh) 页面生成方法和装置、存储介质和电子设备
US20220374538A1 (en) Permission control method and device and electronic equipment
WO2022218251A1 (zh) 电子文档的处理方法、装置、终端和存储介质
US20240004917A1 (en) Data processing method and device, terminal, and storage medium
WO2022022619A1 (zh) 一种文档编辑方法、装置和电子设备
US20240126417A1 (en) Method, form data processing method, apparatus, and electronic device for form generation
US20240007718A1 (en) Multimedia browsing method and apparatus, device and mediuim
WO2022233311A1 (zh) 展示方法、装置和电子设备
US20240160650A1 (en) Document processing method and apparatus, device, and medium
CN110148024B (zh) 一种用于提供评论输入模式的方法与装置
US20240119216A1 (en) Method and apparatus, electronic device and storage media for content presentation
US20230409814A1 (en) Document editing method and apparatus, device, and storage medium
WO2023160578A1 (zh) 信息处理方法、装置、终端和存储介质
CN111310086A (zh) 一种页面跳转方法、装置和电子设备
CN111400581A (zh) 用于标注样本的系统、方法和装置
WO2022184024A1 (zh) 电子文档的处理方法、装置、终端和存储介质
CN112307393A (zh) 信息发布方法、装置和电子设备
WO2022184063A1 (zh) 表格内容处理方法、装置、设备、存储介质

Legal Events

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

Ref document number: 22787264

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18287135

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 12/03/2024)