CN117579586A - Communication method and device and electronic equipment - Google Patents

Communication method and device and electronic equipment Download PDF

Info

Publication number
CN117579586A
CN117579586A CN202311463036.9A CN202311463036A CN117579586A CN 117579586 A CN117579586 A CN 117579586A CN 202311463036 A CN202311463036 A CN 202311463036A CN 117579586 A CN117579586 A CN 117579586A
Authority
CN
China
Prior art keywords
user
session
interface
information
control
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
CN202311463036.9A
Other languages
Chinese (zh)
Inventor
张焯元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202311463036.9A priority Critical patent/CN117579586A/en
Publication of CN117579586A publication Critical patent/CN117579586A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1822Conducting the conference, e.g. admission, detection, selection or grouping of participants, correlating users to one or more conference sessions, prioritising transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a communication method, a communication device and electronic equipment, and belongs to the field of computers. The method comprises the following steps: receiving target characters and information input at an interface of a first session; determining a third user according to the target character; transmitting the information to the third user; wherein the members of the first session include a first user and a second user, and the members of the first session do not include the third user.

Description

Communication method and device and electronic equipment
Technical Field
The application belongs to the field of computers, and particularly relates to a communication method, a communication device, electronic equipment and a readable storage medium.
Background
Communication of people is more convenient through network chat, and people can be singly chat one to one or group chat of multiple people. In some cases, two or more users chat together to communicate, and then find that communication with other users is needed, and the processes of information output, transmission, receiving, feedback and the like among the users are involved. But there is a problem in that communication efficiency is low in this process.
Disclosure of Invention
An object of the embodiments of the present application is to provide a communication method, which can solve the problem of low communication efficiency in the related art.
In a first aspect, an embodiment of the present application provides a communication method, including:
receiving target characters and information input at an interface of a first session;
determining a third user according to the target character;
transmitting the information to the third user;
wherein the members of the first session include a first user and a second user, and the members of the first session do not include the third user.
In a second aspect, an embodiment of the present application provides a communication device, including:
the receiving module is used for inputting target characters and information at the interface of the first session;
the determining module is used for determining a third user according to the target character;
the sending module is used for sending the information to the third user;
wherein the members of the first session include a first user and a second user, and the members of the first session do not include the third user.
In a third aspect, embodiments of the present application provide 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 implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide 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 the embodiment of the application, target characters and information input at an interface of a first session are received; determining a third user according to the target character; transmitting the information to a third user; wherein the members of the first session include the first user and the second user, and the members of the first session do not include the third user. The method and the device can quickly send information to other users except the first session member in the first session, can directly communicate with other users, avoid the complicated steps of exiting the first session to enter other sessions, and improve the communication efficiency.
Drawings
FIG. 1 is a flow chart of steps of a communication method provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of an interface for triggering a user selection control and displaying a user list provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of an interface for history information selection according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an interface for displaying a second session according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an interface for a second session setup provided by an embodiment of the present invention;
FIG. 6 is a schematic diagram of an interface for displaying a user information control, a history information selection control, and a second session setting control according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an interface for displaying a user selection control and a control corresponding to a third user according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of an interface for continuing editing information after triggering a user to select a control according to an embodiment of the present invention;
FIG. 9 is a flowchart of the complete steps of a communication method provided by an embodiment of the present invention;
FIG. 10 is a block diagram of a communication device according to an embodiment of the present invention;
FIG. 11 is a block diagram of an electronic device provided by an embodiment of the present invention;
fig. 12 is a schematic hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in 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 obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the 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 terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type and do not limit the number of objects, for example, 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 communication method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
In the disclosed embodiments, the following method steps may be performed by a network chat server. When the first user and the second user chat, the server can send chat information edited by the other party and sent to the server to the client corresponding to the first user and the second user, so that chat sessions of the two parties are displayed on the terminal display screens of the first user and the second user.
As shown in fig. 1, the communication method includes steps 101-104:
step 101, receiving target characters and information input at an interface of a first session;
the user can carry out online real-time communication with other users by installing an application program of instant chat on the terminal equipment of the user, and can also be in other non-instant communication modes. When chatting is performed through the instant chat application, the application provides a first session between users on a display screen of the terminal, and the first session may be a one-to-one first session or a multi-user first session including a plurality of users, i.e., group chatting. The application may provide the user with a session list interface including a plurality of one-to-one chats or group chats, and in response to a user's selection in the list, enter an interface for a first session of a particular one-to-one chat or group chat. When the user enters one-to-one chat, the terminal display screen displays a first session comprising a first user and a second user, the user who inputs the target characters and information on the interface of the first session can be the first user, and the second user is communicated with the first user in the first session.
The first session may be an incoming session in response to a selection of the first user in the list. The operation of inputting the target character and the information by the first user may be a text input operation, a voice input operation, or an operation based on a preset shortcut key. For example, the user may input the target character and the information in an input box of the interface of the first session, alternatively, may input the target character and the information in the input box at one time; or the first user performs voice input operation, the terminal acquires voice audio, and the audio data is sent to the server for recognition analysis; or the first user may operate based on a preset shortcut key, for example, a specific key of the keyboard device, and the embodiment of the disclosure is not limited herein to what operation to input the target character and the information. The target character may be a target character configured by the user himself, such as "@" or "#", etc., without limitation. The information is what the user wants to convey, and may be "this is done by the nail".
And 102, determining a third user according to the target character.
The third user is a user other than the first user and the second user, and the number of the third users may be one or more. The manner in which the third user is determined based on the target character may be various. Based on the target character, which may be an interface area of an application program for displaying instant chat within a display screen of the terminal, a control is provided, and a third user is determined in response to an operation of the first user for the control. Wherein, based on different operations on the control, the control can be directly corresponding to different third users. For example, a single click control operation corresponds to the third user a, a double click control operation corresponds to the third user B, and a long press control operation corresponds to the third user a and the third user B. Or providing a search input box in an interface area of the application program for displaying the instant chat, responding to the edit content of the user in the search input box, and searching a corresponding third user based on the stored user information data table. Embodiments of the present disclosure are not limited herein how the third user is determined from the target character.
And step 103, transmitting the information to the third user.
After the third user is determined from the target character, the above information is sent to the third user. In the session list interface of the third user, a new first session may correspondingly appear, and the appearance or display manner of this session may be consistent with other sessions or may have a special display manner, for example, a highlighted identifier, which is not limited herein.
In the embodiment of the application, target characters and information input at an interface of a first session are received; p determining a third user according to the target character; transmitting the information to a third user; wherein the members of the first session include the first user and the second user, and the members of the first session do not include the third user. The method and the device can quickly send information to other users except the first session member in the first session, can directly communicate with other users, avoid the complicated steps of exiting the first session to enter other sessions, and improve the communication efficiency.
Optionally, step 102 may specifically include substeps 1021-1023:
sub-step 1021, triggering and displaying a user selection control on the interface of the first session according to the target character;
Sub-step 1022, in response to an operation on the user selection control, displaying a user list on an interface of the first session, the user list not including members of the first session;
sub-step 1023, in response to an operation on a list of users, determines a third user in the list of users.
In the embodiment of the disclosure, according to the target character, the user selection control is triggered and displayed on the interface of the first session, which may be that the chat client automatically triggers the user selection control after inputting the target character in the input box of the first session, and the target character may be "@" or "#". The server may control the display screen of the terminal of the first user to display the user selection control according to the target character. The user selection control may display a prompt text, such as "select out of chat user" or "select other users" and so on.
In response to an operation, such as a touch operation, acting on the user selection control, a list of users is displayed in a display area. The users included in the user list may be added users of the first user, such as friend users, the added users being users already present in the address list of the first user; the first user may be a user who does not exist in the address list of the first user, but the first user has other users who have chat information to and from, or does not need to belong to the address list and does not need other users who have chat information; the user list may further include a selection of the searching user, and the first user may provide an input box in response to the first user after triggering the searching user, where the first user inputs information of other users that want to communicate, and the server searches after obtaining the information, and returns the searched user to the terminal of the first user. The user sources of the user list are not limited herein and how to determine which users may be included.
The display mode of the user list can be that a half-screen or full-screen page is popped up on the basis of the current first session interface, or a floating window is adopted; it may also be a direct jump to a new interface dedicated to displaying the user list, etc.
And determining a third user indicated by the second operation in the user list in response to the operation on the user list. The method may include determining, in response to a click operation of the first user on a particular location of the user list, a corresponding third user based on the location of the click operation. Wherein the determined third user may be one or more.
As shown in fig. 2, the first user in state a of fig. 2 inputs "@" in the input box, triggers the display of a user selection control on which the content "select other users" is displayed. In state B of fig. 2, after the user selection control is triggered, a user list of a plurality of friend users including user C, user D, user E and other users is provided in the interface, and a search input box is further provided for searching for a specific user after the user inputs information of the specific user.
Optionally, the method further comprises steps 108-109:
step 108, constructing a second session; the members of the second session include the members of the first session and the third user;
Step 109, displaying a control corresponding to the second session on the interface of the first session; and the information is displayed in the control.
In the embodiment of the disclosure, the first user inputs information required to be sent to the third user in an interface provided by the chat application program of the first user. The server can acquire the information input by the first user in real time in the input process of the first user, and the process of constructing the second session can be that after the first user finishes inputting the information, the first user triggers the sending of the information, and then triggers the construction of the second session, wherein the second session comprises the first user, the second user and the third user. The second session also includes information sent by the first user. It will be appreciated that the second session generated may be a group chat similar to a general group chat for a third user, the second session may be displayed on a session list interface of the third user, and the third user may enter the second session from the session list interface in response to an operation by the third user. The generated second session may be for the first and second users, where the control corresponding to the second session is displayed on the interface of the first session of the first and second users, and information input by the first user may be directly displayed in the control.
It will be appreciated that in response to a triggering operation acting on the control, the second session may also be presented to the executing user of the triggering operation. Because the application programs on the terminal of the first user and the terminal of the second user display the control corresponding to the second session in the interface of the first session, the first user and the second user can operate the control, and the terminal of the first user and the terminal of the second user can respond to the triggering operation acted on the control to display the second session on the half screen or the full screen of the interface of the first session of the executing user of the triggering operation.
Implementing embodiments of the present disclosure by constructing a second session comprising members of a first session and a third user; and displaying the control corresponding to the second session on the interface of the first session. The first user can build the second session on the interface of the first session, so that a plurality of users can participate in the same first session conveniently, and complicated operations such as exiting the current chat, newly-built chat and the like are avoided; meanwhile, when the first user sends the information of the third user, the second session is constructed, and the communication efficiency of sending the information and constructing the second session is further improved.
Optionally, before step 108, the method further includes step 104:
step 104, configuring that user information of the second user is invisible to the third user in the second session;
wherein the user information includes at least one of a user nickname and a user avatar.
In the embodiment of the disclosure, before the second session is constructed, the first user may configure, through the terminal device, that the user information of the second user is not visible to the third user in the second session, and the configuring process may be to provide a user information control in a display area of the first session, where the user information control may be displayed above the input box area or in another area. The response to the operation of the first user for the user information control may be that the user information control is in a selected state when triggered by the first user, and is in a non-selected state when triggered again.
The user information of the second user is invisible to the third user in the second session, when the first user triggers the user information control, the server receives the configuration information sent by the terminal of the first user, so that the user information of the second user in the second session is invisible to the third user in the second session when the second session is subsequently constructed, namely the third user cannot see the user information of the second user in the second session, and the user information is at least one of a nickname of the user and a head portrait of the user. For example, in a first session between a first user and a second user, the first user wants to generate a second session for communicating with a third user, and the generated second session may include the first user, the second user, and the third user, and user information of the second user may not be visible to the third user, such as a hidden name and/or user avatar. After hiding the user information, the third user cannot see the nickname or the head portrait of the second user, and the third user cannot search the personal information page of the second user through the chat information sent by the second user in the second session or through the chat information sent by the second user.
Implementing embodiments of the present disclosure, user information of the second user is not visible to the third user through configuration in the second session. The user information of the second user in the second session to be generated is invisible to the third user, so that the user information security when multiple users communicate together is improved.
It will be appreciated that prior to constructing the second session, the first user may select historical information communicated by the first user prior to the second user, and the selected historical information is also displayed in the second session to be constructed.
A history information selection control may be provided at the interface of the first session, which may be in the same or similar display form and display location as the user information control described above. In response to the first user operating the history information selection control, providing a history information selection interface on an interface of the first session, wherein the size of the history information selection interface can be half-screen or three-quarters-screen, the history information selection interface provided in the first session of the first user and the second user, and the information of the first user and the second user existing in the first session is displayed in the interface. It will be appreciated that the interface may be configured to present the information of the first user and the second user to and from within a certain period of time, such as within a day or a week. It is also possible to present a certain amount of information about the first user and the second user, for example the last fifty or one hundred pieces of information about the current. In addition, the time limit that the third user can view the target history information in the second session, namely the validity period configuration of the target history information, can be configured, and the target history information in the second session is controlled to be invisible or deleted within a certain time after the second session is generated.
As shown in fig. 3, after the history information selection control is triggered, a history information selection interface is popped up, the history information is displayed in the interface, which is the chat record of the first user and the second user, and the two pieces of history information are selected as target history information.
Implementing embodiments of the present disclosure, a history information selection control is provided by an interface at a first session; providing a history information selection interface at an interface of the first session in response to an operation acting on the control; in response to an operation of the first user, target history information for display in the second session to be generated in the first session is determined. The selected content of the current first session can be directly included in the second session generated subsequently, and the same content is not required to be communicated again in the additional sending information, so that the simplicity and the efficiency of multi-user communication are further improved.
Optionally, before step 106, the method further comprises steps 105-107:
step 105, displaying a second session setting control in the interface of the first session;
step 106, responding to the operation acted on the second session setting control, and displaying a second session setting interface; the second session setting interface comprises a session fixed switch;
And step 107, responding to the operation of the session fixed switch, and configuring the control corresponding to the second session to be displayed at a fixed position in the interface of the first session.
In the embodiment of the disclosure, a second session setting control is displayed in an interface of the first session, and the second session setting interface is provided in response to the operation of the first user for the second session setting control. The second session setting interface may be provided by jumping from the interface of the first session to the second session setting interface, or the second session setting interface may be located in the display area of the first session.
The second session setting interface comprises a session fixed switch, and controls corresponding to the second session are configured to be displayed at fixed positions of the interface of the first session in response to the operation of the first user for the session fixed switch, so that the situation that the second session is covered by information flow when the second session is displayed in the form of common chat information is avoided. For example, the control corresponding to the second session may be fixedly displayed on the information of the first session in a floating display manner, or a display area may be separately set for the control corresponding to the second session in the interface of the first session. In addition, the second session may be displayed in the form of a control for the first user and the second user, and may be displayed as a general group chat in the chat list for the third user.
As shown in fig. 4, the state a of fig. 4 is that the control corresponding to the second session is displayed in the form of a shortcut information card in the first session. State B of fig. 4 is that the control corresponding to the second session is fixedly displayed in a specific area of the lower half of the first session display area. State C of fig. 4 is the second session in the chat list seen by the third user.
Other switches or options regarding the functional configuration of the second session may also be included in the second session setup interface. For example, whether the user can be reminded based on the information in the second session can be further included, that is, an information no-disturbance switch can be included; a switch may be included to save the second session to the address book, an option to modify its nickname in the second session, or an option to close or delete the second session.
As shown in fig. 5, the second session setting interface includes an information no-disturbance switch, a session fixed switch, a save to address book switch, a hide user information switch, a nickname modification option, and an option to close the second session. Wherein the user information of the second user is not visible to the third user and the corresponding hidden user information switch is in an on state.
Implementing embodiments of the present disclosure, by displaying a second session setting control in an interface of a first session; responding to the operation acted on the second session setting control, and displaying a second session setting interface; and responding to the operation of the session fixed switch, and configuring the control corresponding to the second session to be displayed at a fixed position in the interface of the first session. The control corresponding to the second session can intuitively display the content in the display area of the first session, so that the first or second user can conveniently check the message in the second session through the control, and the communication efficiency of communication among multiple users is improved.
As shown in fig. 6, the user information control 61 is in a triggered state such that the user information of the second user is not visible to the third user. The history information selection control 62 and the second session setting control 63 may be displayed at the same horizontal position, and the name or nickname of the third user, i.e., user C, is filled into the input box.
Optionally, after the step of constructing the second session, the method further comprises:
responding to target character input operation of the interface of the first session, which is used by the first user, and displaying a user selection control and a control corresponding to a third user in the interface;
And responding to the operation of the first user for the control corresponding to the third user, and determining that the third user is a chat information sending object.
Responding to the information sending operation of the first user, and acquiring second session information of the first user for the third user;
and sending the second session information into the second session.
In the embodiment of the present disclosure, the first operation is a target character input operation, and the target character may be "@, for example. In response to the first user entering the target character, the server sends information to the terminal of the first user, and because the first user has selected a third user of the other users, the server may instruct the terminal to display the user selection control and a control corresponding to the third user in the display area, where the control corresponding to the third user may be displayed above or below the user selection control, and so on. Then, based on a similar procedure to the foregoing, the third user is determined, thereby making the third user the transmission object of this chat information. After that, the input box may automatically fill in information such as the name or nickname of the third user, and the first user may continue to input other characters after the name or nickname in the input box area of the first session to edit the information to be transmitted. As shown in fig. 7, after the target character "@" is input, a user selection control is displayed, and "select other users" is displayed on the user selection control; and displaying a control corresponding to the third user, for example, if the previously selected third user is user C, and displaying the name of the user C on the control corresponding to the third user.
After the first user edits the information to be sent, responding to the information sending operation of the first user, acquiring second session information of the first user for the third user by the server, and sending the second session information to a second session where the third user is located.
It will be appreciated that the second user may also set the transmission object of the information to be edited and transmitted as the third user in the second session by inputting a target character, for example "@". In response to the information transmission operation of the second user, the server acquires information of the second user and transmits the information into the second session to notify the third user.
By means of the embodiment of the method, whether the user inputs the target character or not is detected, a user selection control and a control corresponding to the selected third user are provided for the user, the third user is determined to be a sending object of information to be edited and sent in response to user operation, and after the user finishes information editing and sending, the server sends the chat information to a second session where the third user is located to inform the third user. The chat information can be directly sent to the third user of the second session on the first session interface, and the information sending efficiency is improved.
Optionally, after the step of constructing the second session, the method further comprises:
responding to target character input operation of the interface of the first user for the first session, and displaying a user selection control and a control corresponding to a third user in the display area;
determining that the second user is a chat information sending object under the condition that the operation of selecting a control for the user or a control corresponding to the third user is not detected;
responding to the information sending operation of the first user, and acquiring the chat information of the first user aiming at the second user;
and sending the chat information to the first session.
In the embodiment of the disclosure, the same as the above procedure, in response to the user inputting the target character, a user selection control and a control corresponding to a third user are provided for the user, but in the case that the operation for the user selection control or the control corresponding to the third user is not detected, the server takes the second user as the sending object of the chat information currently edited by the first user. And after the chat information of the first user for the second user is acquired, the chat information is sent to the first session to inform the second user. Referring to fig. 7, after the input box inputs "@" it is possible to continue to input "wow.com is the mailbox suffix of our company", and the resulting final information is "@ wow.com is the mailbox suffix of our company".
According to the embodiment of the disclosure, the sending object of the chat information currently edited by the first user is determined by responding to the character input of the user, and after the server acquires the information that the editing is completed and sent, the chat information is sent to the first session where the second user is located. The chat information can be normally sent to the second user in the first session on the basis of the information sent to the second session where the third user is located quickly, and the accuracy of chat information sending is improved.
It may be understood that after the user selection control is displayed in the display area, no operation for the user selection control is detected, and a touch signal of the first user on the area where the user selection control is located in the display screen may not be detected. In this process, the display of the user selection control is triggered according to the target character, but the triggering of the user selection control is not continued afterwards, i.e. the third user is not selected. The first user is directly continuing to enter other characters, i.e., the first user continues to edit the chat message within the input box, and at the same time the user selection control may disappear. The information entered by the first user along with the target character is to be sent to the second user and the information is sent to the first session. For example, as shown in fig. 8, when the chat message content that the first user wants to edit is "mail box of first is 123@wow.com", the target character "@" triggers to display the user selection control after the first user inputs @, but when the first user continues to edit and inputs wow.com, the user selection control disappears at the same time, so as to edit and complete the desired chat message content.
In the embodiment of the application, target characters and information input at an interface of a first session are received; determining a third user according to the target character; transmitting the information to a third user; wherein the members of the first session include the first user and the second user, and the members of the first session do not include the third user. The method and the device can quickly send information to other users except the first session member in the first session, can directly communicate with other users, avoid the complicated steps of exiting the first session to enter other sessions, and improve the communication efficiency.
Based on the foregoing, an interactive flow diagram is provided herein to illustrate the overall method flow. As shown in fig. 9, step 101, receiving target characters and information input at an interface of a first session; step 1021, triggering and displaying a user selection control on the interface of the first session according to the target character; step 1022, in response to an operation acting on the user selection control, displaying a user list on the interface of the first session; step 1023, in response to the operation on the user list, determining a third user in the user list; step 103, sending the information to a third user; step 104, configuring that the user information of the second user is invisible to the third user in the second session; step 105, displaying a second session setting control in the interface of the first session; step 106, responding to the operation acted on the second session setting control, and displaying a second session setting interface; step 107, responding to the operation of the session fixed switch, and configuring the fixed position display of the control corresponding to the second session in the interface of the first session; step 108, constructing a second session; and step 109, displaying the control corresponding to the second session on the interface of the first session.
According to the communication method provided by the embodiment of the application, the execution body can be a communication device. In the embodiment of the present application, a communication device is described by taking an example of a communication method performed by a communication device.
As shown in fig. 10, the communication apparatus 100 includes:
a receiving module 1001, configured to input a target character and information at an interface of a first session;
a determining module 1002, configured to determine a third user according to the target character;
a sending module 1003, configured to send the information to the third user;
wherein the members of the first session include a first user and a second user, and the members of the first session do not include the third user.
Optionally, the determining module includes:
the triggering sub-module is used for triggering and displaying a user selection control on the interface of the first session according to the target character;
a display sub-module, configured to display a user list on an interface of the first session in response to an operation acting on the user selection control, where the user list does not include members of the first session;
a determination submodule for determining a third user in the user list in response to an operation on the user list.
Optionally, the apparatus further includes:
a second session construction module for constructing a second session; the members of the second session include the members of the first session and the third user;
the session control display module is used for displaying controls corresponding to the second session on the interface of the first session; and the information is displayed in the control.
Optionally, the apparatus further includes:
a first configuration module configured to configure user information of the second user to be invisible to the third user in the second session; wherein the user information includes at least one of a user nickname and a user avatar.
Optionally, the apparatus further includes:
the setting control display module is used for displaying a second session setting control in the interface of the first session;
the setting interface display module is used for responding to the operation acted on the second session setting control and displaying a second session setting interface; the second session setting interface comprises a session fixed switch;
and the second configuration module is used for responding to the operation acted on the session fixed switch and configuring the fixed position display of the control corresponding to the second session in the interface of the first session.
In the embodiment of the application, target characters and information input at an interface of a first session are received; determining a third user according to the target character; transmitting the information to a third user; wherein the members of the first session include the first user and the second user, and the members of the first session do not include the third user. The method and the device can quickly send information to other users except the first session member in the first session, can directly communicate with other users, avoid the complicated steps of exiting the first session to enter other sessions, and improve the communication efficiency.
The communication device in the embodiment of the application may be an electronic device, or may be a component in an electronic device, for example, 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 communication device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The communication device provided in the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 1 to 9, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 11, the embodiment of the present application further provides an electronic device 1100, including a processor 1101 and a memory 1102, where the memory 1102 stores a program or an instruction that can be executed on the processor 1101, and the program or the instruction implements each step of the embodiment of the communication method when executed by the processor 1101, and the steps can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 12 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1300 includes, but is not limited to: radio frequency unit 1301, network module 1302, audio output unit 1303, input unit 1304, sensor 1305, display unit 1306, user input unit 1307, interface unit 1308, memory 1309, and processor 1310.
Those skilled in the art will appreciate that the electronic device 1300 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1310 by a power management system, such as to perform functions such as managing charging, discharging, and power consumption by the power management system.
Wherein the processor 1310 is configured to:
receiving target characters and information input at an interface of a first session;
determining a third user according to the target character;
transmitting the information to the third user;
wherein the members of the first session include a first user and a second user, and the members of the first session do not include the third user.
Optionally, the processor 1310 is further configured to:
the step of determining the third user according to the target character comprises the following steps:
triggering and displaying a user selection control on an interface of the first session according to the target character;
responding to the operation acted on the user selection control, and displaying a user list on the interface of the first session, wherein the user list does not comprise members of the first session;
in response to an operation on the list of users, a third user is determined in the list of users.
Optionally, the processor 1310 is further configured to:
constructing a second session; the members of the second session include the members of the first session and the third user;
displaying a control corresponding to the second session on the interface of the first session; and the information is displayed in the control.
Optionally, the processor 1310 is further configured to:
user information of the second user configured in the second session is not visible to the third user;
wherein the user information includes at least one of a user nickname and a user avatar.
Optionally, the processor 1310 is further configured to:
displaying a second session setting control in an interface of the first session;
responding to the operation acted on the second session setting control, and displaying a second session setting interface; the second session setting interface comprises a session fixed switch;
and responding to the operation acted on the session fixed switch, and configuring the control corresponding to the second session to be displayed at a fixed position in the interface of the first session.
In the embodiment of the application, target characters and information input at an interface of a first session are received; determining a third user according to the target character; transmitting the information to a third user; wherein the members of the first session include the first user and the second user, and the members of the first session do not include the third user. The method and the device can quickly send information to other users except the first session member in the first session, can directly communicate with other users, avoid the complicated steps of exiting the first session to enter other sessions, and improve the communication efficiency.
It should be appreciated that in embodiments of the present application, the input unit 1304 may include a graphics processor (Graphics Processing Unit, GPU) 13041 and a microphone 13042, the graphics processor 13041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 1306 may include a display panel 13061, and the display panel 13061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1307 includes at least one of a touch panel 13071 and other input devices 13072. The touch panel 13071 is also referred to as a touch screen. The touch panel 13071 can include two parts, a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Memory 1309 may be used to store software programs as well as various data. The memory 1309 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 1309 may include volatile memory or nonvolatile memory, or the memory 1309 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 109 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The processor 1310 may include one or more processing units; optionally, processor 1310 integrates an application processor that primarily handles operations related to the operating system, user interface, and applications, and a modem processor that primarily handles 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 1310.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing communication method embodiment, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
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 includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, implementing each process of the above communication method embodiment, and achieving the same technical effect, so as to avoid repetition, and no redundant description is provided herein.
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.
The 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 respective processes of the embodiments of the communication method described above, and achieve the same technical effects, and are not repeated 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 also 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 solutions 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 (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in 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 of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (11)

1. A method of communication, the method comprising:
receiving target characters and information input at an interface of a first session;
determining a third user according to the target character;
transmitting the information to the third user;
wherein the members of the first session include a first user and a second user, and the members of the first session do not include the third user.
2. The method of claim 1, wherein the step of determining a third user from the target character comprises:
triggering and displaying a user selection control on an interface of the first session according to the target character;
responding to the operation acted on the user selection control, and displaying a user list on the interface of the first session, wherein the user list does not comprise members of the first session;
in response to an operation on the list of users, a third user is determined in the list of users.
3. The method of claim 1, further comprising, after the step of determining a third user from the target character:
constructing a second session; the members of the second session include the members of the first session and the third user;
Displaying a control corresponding to the second session on the interface of the first session; and the information is displayed in the control.
4. A method according to claim 3, further comprising, prior to the step of constructing the second session:
user information of the second user configured in the second session is not visible to the third user;
wherein the user information includes at least one of a user nickname and a user avatar.
5. A method according to claim 3, further comprising, prior to the step of constructing the second session:
displaying a second session setting control in an interface of the first session;
responding to the operation acted on the second session setting control, and displaying a second session setting interface; the second session setting interface comprises a session fixed switch;
and responding to the operation acted on the session fixed switch, and configuring the control corresponding to the second session to be displayed at a fixed position in the interface of the first session.
6. A communication device, the device comprising:
the receiving module is used for inputting target characters and information at the interface of the first session;
the determining module is used for determining a third user according to the target character;
The sending module is used for sending the information to the third user;
wherein the members of the first session include a first user and a second user, and the members of the first session do not include the third user.
7. The apparatus of claim 6, wherein the determining module comprises:
the triggering sub-module is used for triggering and displaying a user selection control on the interface of the first session according to the target character;
a display sub-module, configured to display a user list on an interface of the first session in response to an operation acting on the user selection control, where the user list does not include members of the first session;
a determination submodule for determining a third user in the user list in response to an operation on the user list.
8. The apparatus of claim 6, wherein the apparatus further comprises:
a second session construction module for constructing a second session; the members of the second session include the members of the first session and the third user;
the session control display module is used for displaying controls corresponding to the second session on the interface of the first session; and the information is displayed in the control.
9. The apparatus of claim 8, wherein the apparatus further comprises:
a first configuration module configured to configure user information of the second user to be invisible to the third user in the second session; wherein the user information includes at least one of a user nickname and a user avatar.
10. The apparatus of claim 8, wherein the apparatus further comprises:
the setting control display module is used for displaying a second session setting control in the interface of the first session;
the setting interface display module is used for responding to the operation acted on the second session setting control and displaying a second session setting interface; the second session setting interface comprises a session fixed switch;
and the second configuration module is used for responding to the operation acted on the session fixed switch and configuring the fixed position display of the control corresponding to the second session in the interface of the first session.
11. 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 communication method of any of claims 1-5.
CN202311463036.9A 2023-11-03 2023-11-03 Communication method and device and electronic equipment Pending CN117579586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311463036.9A CN117579586A (en) 2023-11-03 2023-11-03 Communication method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311463036.9A CN117579586A (en) 2023-11-03 2023-11-03 Communication method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN117579586A true CN117579586A (en) 2024-02-20

Family

ID=89889011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311463036.9A Pending CN117579586A (en) 2023-11-03 2023-11-03 Communication method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN117579586A (en)

Similar Documents

Publication Publication Date Title
CN112866092B (en) Group chat creation method and group chat creation device
CN112272303A (en) Live content display method and device, electronic equipment and storage medium
CN112788178B (en) Message display method and device
CN113596555B (en) Video playing method and device and electronic equipment
WO2023125157A1 (en) Message sending method and apparatus, and electronic device and medium
CN112711366A (en) Image generation method and device and electronic equipment
CN112911052A (en) Information sharing method and device
CN114374663B (en) Message processing method and message processing device
US20150052211A1 (en) Message based conversation function execution method and electronic device supporting the same
CN113676395A (en) Information processing method, related device and readable storage medium
CN115695355A (en) Data sharing method and device, electronic equipment and medium
CN115623133A (en) Online conference method and device, electronic equipment and readable storage medium
CN115857684A (en) Display control method, display control device and electronic equipment
CN115633007A (en) Contact person determination method and device, electronic equipment and medium
CN117579586A (en) Communication method and device and electronic equipment
CN114125149A (en) Video playing method, device, system, electronic equipment and storage medium
CN112487371A (en) Chat session display method, device, terminal and storage medium
CN115052005B (en) Synchronous display method, synchronous display device, electronic equipment and storage medium
CN114401281B (en) Communication management method, device, electronic equipment and readable storage medium
CN113783840B (en) Account login method, device, equipment and storage medium
CN117032871A (en) Session interface display method and device, electronic equipment and readable storage medium
CN115720219A (en) Group creation method and device, electronic equipment and medium
CN117193901A (en) Information processing method and device and electronic equipment
CN116016756A (en) Information processing method, apparatus, electronic device, and readable storage medium
CN117376299A (en) Group management 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