CN116737302A - Chat window display method and device and electronic equipment - Google Patents

Chat window display method and device and electronic equipment Download PDF

Info

Publication number
CN116737302A
CN116737302A CN202310745665.4A CN202310745665A CN116737302A CN 116737302 A CN116737302 A CN 116737302A CN 202310745665 A CN202310745665 A CN 202310745665A CN 116737302 A CN116737302 A CN 116737302A
Authority
CN
China
Prior art keywords
input
chat window
target
target chat
shared document
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
CN202310745665.4A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202310745665.4A priority Critical patent/CN116737302A/en
Publication of CN116737302A publication Critical patent/CN116737302A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a chat window display method and device and electronic equipment, and belongs to the technical field of communication. Wherein the method comprises the following steps: receiving a first input of a shared document; displaying a name of at least one chat object in response to the first input; receiving a second input to a target chat object of the at least one chat object; and in response to the second input, displaying a target chat window corresponding to the target chat object in the shared document.

Description

Chat window display method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a chat window display method and device and electronic equipment.
Background
At present, shared documents for collaborative editing by multiple persons are very popular, but in most of work, users are still accustomed to communicating in chat applications, and then the communication process is saved in the shared documents.
In the above process, the user needs to manually copy the objects in the chat window, then find the corresponding shared document to edit and save, and frequently switch between different applications, which is very cumbersome to operate and easy to make mistakes.
Disclosure of Invention
The embodiment of the application aims to provide a chat window display method, a chat window display device and electronic equipment, which can solve the problem that users need to frequently switch among different applications in the process of using shared documents and chat windows, and the operation is very complicated.
In a first aspect, an embodiment of the present application provides a chat window display method, where the method includes:
receiving a first input of a shared document;
displaying a name of at least one chat object in response to the first input;
receiving a second input to a target chat object of the at least one chat object;
and in response to the second input, displaying a target chat window corresponding to the target chat object in the shared document.
In a second aspect, an embodiment of the present application provides a chat window display apparatus, including:
a first receiving module for receiving a first input of a shared document;
a first display module for displaying a name of at least one chat object in response to a first input;
a second receiving module for receiving a second input to a target chat object of the at least one chat object;
and the second display module is used for responding to the second input and displaying a target chat window corresponding to the target chat object in the shared document.
In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In an embodiment of the present application, a name of at least one chat object is displayed for a target chat window from which a user can select a target chat object to be added to a shared document, by responding to a first input to the shared document; then, in response to a second input to a target chat object of the at least one chat object, a target chat window corresponding to the target chat object is displayed in the shared document. Therefore, the target chat window and the chat content contained in the target chat window become a part of the shared document, and users performing collaborative editing in the shared document can view the target chat window in the shared document and view the chat content in the target chat window, so that the users can conveniently and quickly view the information in the shared document and the information in the target chat window, and the information viewing efficiency is improved.
Drawings
Fig. 1 is a flowchart of a chat window display method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a shared document provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of adding chat windows according to an embodiment of the application;
FIG. 4 is a schematic diagram of another embodiment of the present application for adding chat windows;
FIG. 5 is a schematic diagram of a shared document displaying a target chat window according to an embodiment of the application;
FIG. 6 is a schematic diagram of another shared document displaying a target chat window provided by an embodiment of the application;
FIG. 7 is a schematic illustration of a second interface provided by an embodiment of the present application;
FIG. 8 is a schematic illustration of a first interface provided by an embodiment of the present application;
FIG. 9 is a schematic diagram of a first object provided by an embodiment of the present application;
FIG. 10 is a schematic diagram of a second object provided by an embodiment of the present application;
FIG. 11 is a schematic diagram of a third object according to an embodiment of the present application;
fig. 12 is a block diagram of a chat window display apparatus according to an embodiment of the present application;
FIG. 13 is a schematic diagram of a hardware architecture of an electronic device according to an embodiment of the present application;
fig. 14 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the accompanying drawings of the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, 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, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The chat window display method provided by the embodiment of the application can be at least applied to the following application scenes, and is explained below.
At present, shared documents for real-time collaborative editing of multiple people are very popular, but in most of the work, users are still accustomed to communicating in chat applications, and then the communication process and the conclusion are copied and pasted to the corresponding shared documents for storage. Thus, the following problems may occur: the user needs to manually copy the objects in the chat window, then find the corresponding document to paste, and if the copied objects are video, files or compressed package and other format contents, the copied objects also need to be downloaded locally and then uploaded into the shared document, so that the operation is very tedious and easy to make mistakes.
Aiming at the problems of the related art, the embodiment of the application provides a chat window display method and device, which can solve the problems that in the related art, users need to frequently switch in different applications and have very complicated operation in the process of using shared documents and chat windows.
The chat window display method provided by the embodiment of the application is described in detail through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 is a flowchart of a chat window display method according to an embodiment of the present application.
As shown in fig. 1, the chat window display method may include steps 110 to 140, and the method is applied to a chat window display apparatus, specifically as follows:
step 110, receiving a first input of a shared document;
as shown in FIG. 2, an "add control" may be included in the shared document, an add list may be displayed in response to input of the "add control", a "chat window" control may be included in the add list, and a name of at least one chat object may be displayed in response to input of the "chat window" control.
Accordingly, as shown in fig. 2, the first input may include: inputs to the "Add" control and the "chat Window" control.
Step 120, in response to the first input, displaying a name of at least one chat object;
the name of at least one chat object may be the name of an existing chat group, or may be the name of a chat group newly created by the user.
As shown in fig. 3, the name of at least one chat object may be the name of an existing chat group;
as shown in fig. 4, the name of at least one chat object may be the name of a chat group newly created by the user.
Step 130, receiving a second input to a target chat object in the at least one chat object;
and a second input of the target chat object in the at least one chat object is used for selecting the corresponding target chat object to be used for adding the target chat window corresponding to the selected target chat object to the shared document. In response to a second input to the target chat object, a chat window corresponding to the selected target chat object may be displayed for the user to see if the chat window is a chat window that needs to be added to the shared document.
And 140, in response to the second input, displaying a target chat window corresponding to the target chat object in the shared document.
Specifically, in response to the second input, the server corresponding to the shared document acquires information of a chat window, where the information of the chat window includes: the type of the chat window, the identification information of the chat window, the position of the chat window in the document, the creator of the chat window, and the adder of the chat window.
Specifically, the types of chat windows may include: group chat window, single chat window and public chat window; the identification information of the chat window may be a name of the chat window or a uniform resource locator system (Uniform Resource Locator, URL) of the chat window, wherein the URL is a representation method for specifying a location of information on a web service program of the internet.
The position of the chat window in the document can be the line of the chat window in the shared document;
the creator of the chat window is used for indicating the user initiating the chat window;
the adder of the chat window is used to indicate the user adding the chat window to the shared document.
As shown in FIG. 5, in response to the second input, a target chat window is added to the shared document to display the target chat window in the shared document in which other members in the target chat window can communicate.
From the perspective of other clients corresponding to the shared document, when the shared document is opened, the server side of the shared document can send the information of the target chat window to the clients of the shared document, and the other clients corresponding to the shared document load and display the target chat window in the shared document based on the information of the target chat window.
The chat window can be embedded into an online document by using the IFRAME, and the document and the chat window can interact information through PostMessage, and can interact with a chat tool server through a document server.
Where IFRAME is an HTML tag that acts as a document in a document, or a floating frame. PostMessage is a common function in an application program interface for placing a message into a message queue.
As shown in FIG. 6, the target chat window, similar to the document common module, can be centered, left-or right-aligned, or can be copied or cut to other locations in the shared document. And can also be hidden to reduce the occupation range of the target chat window.
Therefore, by displaying the target chat window in the shared document, the target chat window and the chat content contained in the target chat window are part of the shared document and are permanently stored in the shared document, and users in online collaborative editing can see the target chat window in the shared document and access the chat content at that time.
The shared document can comprise at least one target chat window, so that a user can communicate with different crowds in different chat windows, frequent switching operation between the document and a plurality of chat windows is avoided, and communication continuity is ensured.
In a possible embodiment, step 140 may specifically include the following steps:
responding to the second input, and acquiring user information corresponding to the second input;
and displaying a target interface corresponding to the target chat window according to the user information.
The account number of the login sharing document can be determined through the second input, so that user information corresponding to the account number of the login sharing document is obtained, and a target interface corresponding to the target chat window is displayed according to the user information.
In a possible embodiment, the step of displaying, according to the user information, the target interface corresponding to the target chat window may specifically include the following steps:
displaying a first interface corresponding to the target chat window under the condition that the user information is matched with the preset user information, wherein the first interface comprises an input frame;
displaying a second interface corresponding to the target chat window under the condition that the user information is not matched with the preset user information, wherein the second interface does not comprise an input frame;
wherein the preset user information corresponds to chat members in the target chat window.
The shared document itself has a user account hierarchy and only users with rights can view the document. When the shared document is opened, user information is verified, wherein the user information can be encrypted by the front end of the shared document, then the encrypted user information is put behind url of the target chat window, the user information is transmitted to the target chat window, and the target chat window compares the user information with preset user information in the target chat window after receiving the user information.
The original user information may include a mobile phone number, a job number, a certificate number, or the like of the user.
As shown in fig. 7, in the case that the user information does not match with the preset user information, loading a second interface corresponding to the target chat window that does not include the input frame, and then displaying the second interface corresponding to the target chat window, where the second interface does not include the input frame, that is, the user cannot send information in the target chat window.
As shown in fig. 8, in the case that the user information matches the preset user information, a first interface corresponding to the target chat window including an input box is loaded, and then the first interface corresponding to the target chat window is displayed, where the first interface includes the input box, that is, the user may send information in the target chat window.
The step of displaying the second interface corresponding to the target chat window may further include the following steps when the user information does not match the preset user information:
receiving a sixth input of the shared document, the sixth input including an application request for the target chat window;
in response to the sixth input, in the event that the application request passes the verification, the second interface is updated to the first interface.
And displaying a second interface corresponding to the target chat window under the condition that the user information is not matched with the preset user information, wherein the second interface does not comprise an input box, namely, the user cannot send information in the target chat window. At this time, the second interface may be updated to the first interface in response to the sixth input of the shared document in case the request passes the authentication so that the user can transmit information in the target chat window.
As shown in fig. 7, if the user is not a member of the target chat window, the user may view the chat content, or may click "apply for joining" on the upper right corner of the chat window, so as to apply for the permission of the chat window. Wherein clicking on "apply for join" includes a sixth input of an application request to the target chat window.
After the chat window manager agrees to join, the user can see the chat window input box and has the right of chat communication. Accordingly, the chat window manager can receive the application joining information at the right upper corner of the chat window, click agreeing, and can fast join the application into the chat members. The join request may also be processed at the other end of the chat window. The other ends of the chat window may specifically include: the mobile phone end corresponding to the chat window and the PC end corresponding to the chat window.
In the embodiment of the application, the target interface corresponding to the target chat window is displayed according to the user information, so that the target interface corresponding to the target chat window can be loaded and displayed for different users, and the user can conveniently and efficiently use the target chat window.
In a possible embodiment, after step 140, the following steps may be further included:
receiving a third input to the first object in the target chat window;
in response to the third input, the first object is pasted into the shared document.
Wherein the first object comprises: text, pictures, videos, links, folders, compressed packs, etc.;
in response to a third input to the first object in the target chat window, a functionality control can be displayed in the area associated with the first object, including a "copy to document" control in the functionality control, in response to an input to the "copy to document" control, the first object is pasted into the shared document,
as shown in FIG. 9, the first object "A" is pasted into the shared document in response to a third input of the first object "A" in the target chat window.
And responding to the third input of the first object in the target chat window, wherein the first object can be directly transmitted to the service end of the shared document through the application service end corresponding to the chat window, and the service end of the shared document is displayed in the shared document, so that the online collaborative user corresponding to the shared document can see the corresponding copy content, and the first object can be seen.
Therefore, the troublesome work that the user needs to download the first object in the chat window to the local and then upload the first object to the shared document is avoided.
The first object displayed in the shared document includes identification information of a chat window, for example, background color or graphic mark, and deletion editing can be performed on the first object in the shared document, so long as the first object is not completely deleted, the identification information of the chat window can always exist.
For an object in the shared document, such as a first object "A", which is copied from the target chat window, the menu list associated with any object includes two menu items, namely "one-click positioning" and "quick look-up context". The following description will be given respectively:
in a possible embodiment, after step 140, the following steps may be further included:
receiving a fourth input to the second object; the shared document comprises at least one object copied from the target chat window, and the at least one object comprises a second object;
and responding to the fourth input, positioning to the position of the target chat window and updating the display content in the target chat window into the chat record corresponding to the second object.
The fourth input to the second object is the input of "one-click positioning", and in response to the fourth input, the shared document is first positioned at the position of the corresponding target chat window.
The target chat window is scrolled again, the display content in the target chat window is updated to be the chat record corresponding to the second object, and the chat record corresponding to the second object is marked, so that the user can be helped to quickly locate the corresponding content.
Wherein the first object and the second object may be the same or different.
Illustratively, as shown in fig. 10, the display content in the target chat window is updated to a chat record corresponding to the second object, where the chat record corresponding to the second object includes the second object "a".
In addition, in the process of using the shared document in the future, the user can quickly search the chat record corresponding to the second object according to the second object, and can quickly check the chat record corresponding to the second object, so that time and labor are saved.
Therefore, the chat records corresponding to the second object can be quickly positioned based on the second object, the chat context can be quickly checked, and the user can conveniently check in time.
In a possible embodiment, after step 140, the following steps may be further included:
receiving a fifth input to the third object; the shared document comprises at least one object copied from the target chat window, and the at least one object comprises a third object;
in response to the fifth input, a chat log corresponding to the third object is displayed in a display area associated with the third object.
The fifth input to the third object, namely, the input of "quick look context", is responded to the fifth input, and the chat record corresponding to the third object is displayed in the display area related to the third object.
The third object may be the same as or different from the first object and the second object.
As shown in fig. 11, in the display area related to the third object, the chat log corresponding to the third object is displayed, and the chat log corresponding to the third object includes the third object "a".
Illustratively, after the user clicks on "quick look context", a pop-up window corresponding to the chat record corresponding to the third object appears on the right side of the third object "a", and the user can scroll up and down in this pop-up window to look for the context.
Therefore, the chat records corresponding to the second object can be quickly positioned based on the second object, the chat context can be quickly checked, and the user can conveniently check in time.
The user clicks other areas, namely the display areas related to the third object, the display of the chat record corresponding to the third object in the display areas related to the third object is canceled, and the user can continuously edit the document without excessively disturbing the user.
In an embodiment of the present application, a name of at least one chat object is displayed for a target chat window from which a user can select a target chat object to be added to a shared document, by responding to a first input to the shared document; then, in response to a second input to a target chat object of the at least one chat object, a target chat window corresponding to the target chat object is displayed in the shared document. Therefore, the target chat window and the chat content contained in the target chat window become a part of the shared document, and users performing collaborative editing in the shared document can view the target chat window in the shared document and view the chat content in the target chat window, so that the users can conveniently and quickly view the information in the shared document and the information in the target chat window, and the information viewing efficiency is improved.
According to the chat window display method provided by the embodiment of the application, the execution subject can be the chat window display device. In the embodiment of the application, a chat window display device is taken as an example to execute a chat window display method, and the chat window display device provided by the embodiment of the application is described.
Fig. 12 is a block diagram of a chat window display apparatus according to an embodiment of the application, the apparatus 1200 including:
a first receiving module 1210 for receiving a first input of a shared document;
a first display module 1220 for displaying a name of at least one chat object in response to the first input;
a second receiving module 1230 for receiving a second input for a target chat object of the at least one chat object;
the second display module 1240 is configured to display a target chat window corresponding to the target chat object in the shared document in response to the second input.
In an embodiment of the present application, a name of at least one chat object is displayed for a target chat window from which a user can select a target chat object to be added to a shared document, by responding to a first input to the shared document; then, in response to a second input to a target chat object of the at least one chat object, a target chat window corresponding to the target chat object is displayed in the shared document. Therefore, the target chat window and the chat content contained in the target chat window become a part of the shared document, and users performing collaborative editing in the shared document can view the target chat window in the shared document and view the chat content in the target chat window, so that the users can conveniently and quickly view the information in the shared document and the information in the target chat window, and the information viewing efficiency is improved.
In one possible embodiment, the apparatus 1200 may further include:
a third receiving module for receiving a third input to the first object in the target chat window;
and a pasting module for pasting the first object into the shared document in response to the third input.
In one possible embodiment, the apparatus 1200 may further include:
a fourth receiving module for receiving a fourth input to the second object; the shared document comprises at least one object copied from the target chat window, and the at least one object comprises a second object;
and the first updating module is used for responding to the fourth input, positioning to the position of the target chat window and updating the display content in the target chat window into the chat record corresponding to the second object.
In one possible embodiment, the apparatus 1200 may further include:
a fifth receiving module for receiving a fifth input to the third object; the shared document comprises at least one object copied from the target chat window, and the at least one object comprises a third object;
and the third display module is used for responding to the fifth input and displaying the chat record corresponding to the third object in the display area related to the third object.
In one possible embodiment, the second display module 1240 is specifically configured to:
responding to the second input, and acquiring user information corresponding to the second input;
and displaying a target interface corresponding to the target chat window according to the user information.
In one possible embodiment, the second display module 1240 is specifically configured to:
displaying a first interface corresponding to the target chat window under the condition that the user information is matched with the preset user information, wherein the first interface comprises an input frame;
displaying a second interface corresponding to the target chat window under the condition that the user information is not matched with the preset user information, wherein the second interface does not comprise an input frame;
wherein the preset user information corresponds to chat members in the target chat window.
In one possible embodiment, the apparatus 1200 may further include:
a sixth receiving module, configured to receive a sixth input of the shared document, where the sixth input includes an application request for the target chat window;
and the second updating module is used for responding to the sixth input and updating the second interface to the first interface under the condition that the application request passes the verification.
The chat window display apparatus in the embodiment of the application can be an electronic device, or can be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The chat window display apparatus of the embodiment of the present application may be an apparatus having an action system. The action system may be an Android (Android) action system, an iOS action system, or other possible action systems, and the embodiment of the application is not limited specifically.
The chat window display apparatus provided by the embodiment of the present application can implement each process implemented by the above method embodiment, and in order to avoid repetition, details are not repeated here.
Optionally, as shown in fig. 13, an embodiment of the present application further provides an electronic device 1310, including a processor 1311, a memory 1312, and a program or an instruction stored in the memory 1312 and capable of being executed on the processor 1311, where the program or the instruction implements each step of any one of the chat window display method embodiments described above when executed by the processor 1311, and the same technical effects are achieved, so that repetition is avoided and redundant description is omitted herein.
The electronic device of the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 14 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1400 includes, but is not limited to: radio frequency unit 1401, network module 1402, audio output unit 1403, input unit 1404, sensor 1405, display unit 1406, user input unit 1407, interface unit 1408, memory 1409, and processor 1410.
Those skilled in the art will appreciate that the electronic device 1400 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1410 by a power management system to perform functions such as managing charging, discharging, and power consumption by the power management system. The electronic device structure shown in fig. 14 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein the user input unit 1407 is for receiving a first input of a shared document;
a display unit 1406 for displaying a name of at least one chat object in response to the first input;
a user input unit 1407 for receiving a second input of a target chat object of the at least one chat object;
and a display unit 1406 for displaying a target chat window corresponding to the target chat object in the shared document in response to the second input.
Optionally, the user input unit 1407 is further configured to receive a third input to the first object in the target chat window;
a processor 1410, responsive to the third input, pastes the first object into the shared document.
Optionally, the user input unit 1407 is further configured to receive a fourth input to the second object; the shared document comprises at least one object copied from the target chat window, and the at least one object comprises a second object;
the processor 1410 is further configured to, in response to the fourth input, locate a position in which the target chat window is located and update the display content in the target chat window to the chat record corresponding to the second object.
Optionally, the user input unit 1407 is further configured to receive a fifth input to the third object; the shared document comprises at least one object copied from the target chat window, and the at least one object comprises a third object;
the display unit 1406 is further configured to display, in response to the fifth input, a chat record corresponding to the third object in a display area related to the third object.
Optionally, the processor 1410 is further configured to, in response to the second input, obtain user information corresponding to the second input;
the display unit 1406 is further configured to display, according to the user information, a target interface corresponding to the target chat window.
Optionally, the display unit 1406 is further configured to display a first interface corresponding to the target chat window, where the user information matches with the preset user information, and the first interface includes an input box;
the display unit 1406 is further configured to display a second interface corresponding to the target chat window, where the second interface does not include an input box, if the user information does not match the preset user information; wherein the preset user information corresponds to chat members in the target chat window.
Optionally, the user input unit 1407 is further configured to a sixth receiving module, configured to receive a sixth input for the shared document, where the sixth input includes an application request for the target chat window;
the processor 1410 is further configured to update the second interface to the first interface in response to the sixth input in case the application request passes the verification.
In an embodiment of the present application, a name of at least one chat object is displayed for a target chat window from which a user can select a target chat object to be added to a shared document, by responding to a first input to the shared document; then, in response to a second input to a target chat object of the at least one chat object, a target chat window corresponding to the target chat object is displayed in the shared document. Therefore, the target chat window and the chat content contained in the target chat window become a part of the shared document, and users performing collaborative editing in the shared document can view the target chat window in the shared document and view the chat content in the target chat window, so that the users can conveniently and quickly view the information in the shared document and the information in the target chat window, and the information viewing efficiency is improved.
It should be appreciated that in embodiments of the present application, the input unit 1404 may include a graphics processor (Graphics Processing Unit, GPU) 14041 and a microphone 14042, with the graphics processor 14041 processing image data of still pictures or video images obtained by an image capturing device (e.g., a camera) in a video image capturing mode or an image capturing mode. The display unit 1406 may include a display panel 14061, and the display panel 14061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1407 includes at least one of a touch panel 14071 and other input devices 14072. The touch panel 14071 is also referred to as a touch screen. The touch panel 14071 may include two parts, a touch detection device and a touch controller. Other input devices 14072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 1409 may be used to store software programs as well as various data including, but not limited to, application programs and action systems. The processor 1410 may integrate an application processor that primarily processes an action system, user pages, applications, etc., with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1410.
Memory 1409 may be used to store software programs as well as various data. The memory 1409 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1409 may include volatile memory or nonvolatile memory, or the memory x09 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 1409 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
Processor 1410 may include one or more processing units; optionally, the processor 1410 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1410.
The embodiment of the application also provides a readable storage medium, wherein the readable storage medium stores a program or an instruction, and the program or the instruction realizes each process of the chat window display method embodiment when being executed by a processor, and can achieve the same technical effect, so that repetition is avoided and redundant description is omitted.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the various processes of the chat window display method embodiment can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the processes of the chat window display method embodiment described above, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (10)

1. A chat window display method, the method comprising:
receiving a first input of a shared document;
displaying a name of at least one chat object in response to the first input;
receiving a second input to a target chat object of the at least one chat object;
and responding to the second input, and displaying a target chat window corresponding to the target chat object in the shared document.
2. The method of claim 1, wherein after the displaying the target chat window corresponding to the target chat object in the shared document in response to the second input, the method further comprises:
receiving a third input to the first object in the target chat window;
in response to the third input, the first object is pasted into the shared document.
3. The method of claim 1, wherein after the displaying the target chat window corresponding to the target chat object in the shared document in response to the second input, the method further comprises:
receiving a fourth input to the second object; the shared document comprises at least one object copied from the target chat window, and the at least one object comprises the second object;
and responding to the fourth input, positioning to the position of the target chat window and updating the display content in the target chat window into the chat record corresponding to the second object.
4. The method of claim 1, wherein in response to the second input, after displaying a target chat window corresponding to the target chat object in the shared document, the method further comprises:
receiving a fifth input to the third object; the shared document comprises at least one object copied from the target chat window, and the at least one object comprises the third object;
and in response to the fifth input, displaying the chat record corresponding to the third object in a display area related to the third object.
5. The method of claim 1, wherein the displaying a target chat window corresponding to the target chat object in the shared document in response to the second input comprises:
responding to the second input, and acquiring user information corresponding to the second input;
and displaying a target interface corresponding to the target chat window according to the user information.
6. The method of claim 5, wherein displaying a target interface corresponding to the target chat window according to the user information comprises:
displaying a first interface corresponding to the target chat window under the condition that the user information is matched with preset user information, wherein the first interface comprises an input box;
displaying a second interface corresponding to the target chat window under the condition that the user information is not matched with the preset user information, wherein the second interface does not comprise the input box;
wherein the preset user information corresponds to chat members in the target chat window.
7. The method of claim 6, wherein, in the case that the user information does not match the preset user information, after displaying the second interface corresponding to the target chat window, the method further comprises:
receiving a sixth input to the shared document, the sixth input comprising an application request for the target chat window;
and in response to the sixth input, updating the second interface to the first interface in the case that the application request passes verification.
8. A chat window display apparatus for use with a first client, the apparatus comprising:
a first receiving module for receiving a first input of a shared document;
a first display module for displaying a name of at least one chat object in response to the first input;
a second receiving module for receiving a second input to a target chat object of the at least one chat object;
and the second display module is used for responding to the second input and displaying a target chat window corresponding to the target chat object in the shared document.
9. The apparatus of claim 8, wherein the apparatus further comprises:
a third receiving module for receiving a third input to the first object in the target chat window;
and a pasting module for pasting the first object into the shared document in response to the third input.
10. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method of any one of claims 1 to 7.
CN202310745665.4A 2023-06-21 2023-06-21 Chat window display method and device and electronic equipment Pending CN116737302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310745665.4A CN116737302A (en) 2023-06-21 2023-06-21 Chat window display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310745665.4A CN116737302A (en) 2023-06-21 2023-06-21 Chat window display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116737302A true CN116737302A (en) 2023-09-12

Family

ID=87900883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310745665.4A Pending CN116737302A (en) 2023-06-21 2023-06-21 Chat window display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN116737302A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117172216A (en) * 2023-09-18 2023-12-05 上海鸿翼软件技术股份有限公司 Document processing method, device, medium and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117172216A (en) * 2023-09-18 2023-12-05 上海鸿翼软件技术股份有限公司 Document processing method, device, medium and electronic equipment

Similar Documents

Publication Publication Date Title
US20140344707A1 (en) Information Distribution Method and Device
CN104346075A (en) Method for processing screenshots and client
CN104704468A (en) Cross system installation of WEB applications
US20230088720A1 (en) Message processing method and apparatus, device, storage medium, and program product
CN116737302A (en) Chat window display method and device and electronic equipment
CN112764857A (en) Information processing method and device and electronic equipment
US20240089223A1 (en) Information display method and apparatus, and electronic device
CN107862035B (en) Network reading method and device for conference record, intelligent tablet and storage medium
CN114153362A (en) Information processing method and device
WO2023246715A1 (en) Network connection control method and apparatus for target application, and electronic device
CN110109591B (en) Picture editing method and device
CN111817944A (en) Picture sharing method and device and electronic equipment
WO2023020328A1 (en) Object manipulating method and apparatus, and electronic device
CN112732958B (en) Image display method and device and electronic equipment
CN114780192A (en) Remote assistance method, remote assistance device and electronic equipment
US20130307872A1 (en) Integrating Remote Content with Local Content
CN114416248A (en) Conversation method and device thereof
CN114398129B (en) Sharing method and device for sharing objects, electronic equipment and readable storage medium
CN113037618B (en) Image sharing method and device
CN117596280A (en) File processing method, device, electronic equipment and readable storage medium
CN115328363B (en) File processing method, electronic equipment and related products
CN116627676A (en) Schedule creation method and device
CN114489415A (en) Application program generation method and device
CN115981765A (en) Content display method and device, electronic equipment and storage medium
CN117215456A (en) Display method and device and electronic equipment

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