WO2022206651A1 - Instant communication method and apparatus, electronic device, and storage medium - Google Patents

Instant communication method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2022206651A1
WO2022206651A1 PCT/CN2022/083247 CN2022083247W WO2022206651A1 WO 2022206651 A1 WO2022206651 A1 WO 2022206651A1 CN 2022083247 W CN2022083247 W CN 2022083247W WO 2022206651 A1 WO2022206651 A1 WO 2022206651A1
Authority
WO
WIPO (PCT)
Prior art keywords
mode
chat
target
video data
user
Prior art date
Application number
PCT/CN2022/083247
Other languages
French (fr)
Chinese (zh)
Inventor
张驰
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022206651A1 publication Critical patent/WO2022206651A1/en

Links

Images

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]
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone

Definitions

  • the present application belongs to the field of communication, and specifically relates to an instant communication method, device, electronic device and storage medium.
  • multiple clients can use social software for group video or group voice, which are widely used in work discussion or remote chat.
  • the video or voice sent by a client is forwarded by the server to all other clients participating in the group video or group voice.
  • the server forwards the video or voice sent by all other clients at the same time to the client.
  • group video or group voice if a client needs to send video or voice to other clients specified in group video or group voice, other chat tools are required, which is inconvenient to operate.
  • the purpose of the embodiments of the present application is to provide an instant communication method, device, electronic device and storage medium, which can solve the problem of inconvenient directional communication in group video or group voice.
  • an embodiment of the present application provides an instant messaging method, which includes:
  • a first input of the target object identifier in the group interface is received; wherein the target object identifier is used to indicate the plurality of chat objects.
  • the target chat object in the chat object is used to indicate the plurality of chat objects.
  • the modes include normal mode and shield mode
  • the normal mode includes sending the actual audio and video data packets of the user, and receiving and playing at least one of the actual audio and video data packets sent by the peer device;
  • the shielding mode includes not sending the actual audio and video data packets of the user, and at least one of not receiving, receiving but not playing the actual audio and video data packets sent by the peer device.
  • an instant messaging device including:
  • a receiving module configured to receive the first input of the target object identifier in the group interface when the user conducts instant communication with multiple chat objects simultaneously through the group interface; wherein, the target object identifier is used for indicating a target chat object in the plurality of chat objects;
  • a response module used for responding to the first input, using different modes to correspond to the peer device corresponding to the target chat object and other chat objects other than the target chat object in the plurality of chat objects to communicate with the peer device;
  • the modes include normal mode and shield mode
  • the normal mode includes sending the actual audio and video data packets of the user, and receiving and playing at least one of the actual audio and video data packets sent by the peer device;
  • the shielding mode includes not sending the actual audio and video data packets of the user, and at least one of not receiving, receiving but not playing the actual audio and video data packets sent by the peer device.
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
  • the local device uses different modes to communicate with the target chat and the peer device corresponding to other chat objects according to the user's input of the target object identifier in the group interface, so as to realize the use of shielding mode.
  • Some chat objects in communication are directional shielded, and the flexibility of communication is improved through directional communication between the local device and some chat objects.
  • Fig. 1 is one of the flow charts of the communication method provided by this application.
  • Fig. 2 is one of group interface schematic diagrams in the communication method provided by the present application.
  • FIG 3 is the second schematic diagram of the group interface in the communication method provided by the present application.
  • FIG. 6 is the fifth schematic diagram of the group interface in the communication method provided by the present application.
  • FIG. 10 is the ninth schematic diagram of the group interface in the communication method provided by the present application.
  • FIG. 11 is a tenth schematic diagram of a group interface in the communication method provided by the present application.
  • 13 is the twelfth schematic diagram of the group interface in the communication method provided by the present application.
  • FIG. 14 is the thirteenth schematic diagram of the group interface in the communication method provided by the present application.
  • 15 is a structural diagram of a communication device provided by the present application.
  • FIG. 16 is a schematic diagram of the hardware structure of the electronic device provided by the present application.
  • the instant messaging method provided by the embodiment of the present application includes:
  • Step 101 in the case where the user conducts instant communication with multiple chat objects simultaneously through the group interface, receive a first input of the target object identifier in the group interface; wherein the target object identifier is used to indicate the Describe the target chat object among the plurality of chat objects;
  • the execution body of the instant messaging method provided by the embodiment of the present application is a terminal device.
  • the local device may be a smart phone, a personal computer, a tablet computer, a wearable smart device, or the like.
  • the instant communication method provided by the embodiment of the present application is applied to the scenario of group video or group voice chat in social software.
  • the group interface is a chat interface for group video or group voice.
  • the group communication interface includes at least two chat objects.
  • the target chat object is one or some chat objects determined by the user from the chat objects of group video or group voice according to actual needs.
  • chat object is used as the target chat object.
  • chat object is used as the target chat object.
  • the chat object is used as the target chat object.
  • the chat object is taken as the target chat object.
  • the user's first input includes a drag operation, a click operation, or a keyboard input, etc. This embodiment is not limited to the specific form of the first input.
  • the user first opens the social software on the local device and joins the group video or group voice chat. Then, the target object identifier of the target chat object is operated on the group interface of the group video or group voice chat, and the operation is taken as the user's first input to the target chat object.
  • the local device receives the user's first input to the target chat object.
  • Step 102 in response to the first input, use different modes to pair with the peer device corresponding to the target chat object and other chat objects other than the target chat object in the plurality of chat objects.
  • the terminal device communicates; wherein, the mode includes a normal mode and a shielded mode;
  • Using different modes to communicate with the target chat object and peer devices corresponding to other chat objects includes:
  • the normal mode includes sending the actual audio and video data packets of the user, and receiving and playing at least one of the actual audio and video data packets sent by the peer device;
  • the audio and video data packets are audio data packets or video data packets.
  • the local device communicates normally with the target chat object or the peer device corresponding to other chat objects.
  • the local device sends the actual audio and video data packets of the user on the local device to the peer device through the cloud server, or receives and plays the actual audio data packets sent by the peer device through the cloud server.
  • the shielding mode includes not sending the actual audio and video data packets of the user, and at least one of not receiving, receiving but not playing the actual audio and video data packets sent by the peer device.
  • the local device In shield mode, the local device does not communicate with the target chat object, or even if normal communication is performed, the local device receives but does not play the actual audio and video data packets sent by the peer device.
  • the local device and the peer device send actual audio and video data packets to the cloud server, but the cloud server does not send the actual audio and video data packets of the local device. Forward to the peer device, or do not forward the actual audio and video data packets of the peer device to the local device.
  • the local device uses different modes to communicate with the target chat and the peer device corresponding to other chat objects according to the user's input of the target object identifier in the group interface, so as to realize the communication using the shield mode.
  • Some chat objects are directional shielded, and the flexibility of communication is improved through directional communication between the local device and some chat objects.
  • the normal mode includes a normal sending mode and a normal receiving mode
  • the masking mode includes a sending masking mode and a receiving masking mode
  • the normal sending mode is to send the actual audio and video data packets of the user
  • the normal receiving mode is to receive and play the actual audio and video data packets sent by the peer device
  • the transmission shielding mode is not to send the user
  • the actual audio and video data packets, the reception mask mode is not receiving or receiving but not playing the actual audio and video data packets sent by the peer device;
  • the use of different modes to communicate with the target chat object and other chat objects in the plurality of chat objects includes:
  • the normal sending mode is used to communicate with the peer device corresponding to the target chat object
  • the transmission blocking mode is used to communicate with the peer device corresponding to other chat objects.
  • the local device first transmits the collected audio or video to the cloud server in the form of audio and video data packets, and then the cloud server only forwards the audio and video data packets sent by the local device to the target chat object.
  • the peer device of the chat object will not be forwarded to the peer device corresponding to other chat objects.
  • the local device while sending the audio and video data packets to the cloud server, the local device sends the list of target chat objects to the cloud server.
  • the cloud server updates the delivery object of the audio and video data packets of the local device to the target chat object in the list, so that only the audio and video data packets of the local device are forwarded to the peer device corresponding to the target chat object.
  • the cloud server only forwards the audio and video data packets sent by the local device to the peer device corresponding to other chat objects, but not the peer device corresponding to the target chat object.
  • the local device while sending the audio and video data packets to the cloud server, the local device sends the list of other chat objects to the cloud server.
  • the cloud server updates the delivery object of the audio and video data packets of the local device to other chat objects in the list, so that only the audio and video data packets of the local device are forwarded to the peer device corresponding to the other chat objects.
  • reception blocking mode to communicate with the peer device corresponding to the target chat object
  • normal reception mode to communicate with the peer device corresponding to other chat objects
  • the target chat object sends audio and video data packets to the cloud server, and the cloud server does not forward the audio and video data packets sent by the target chat object to the local device.
  • the cloud server forwards the audio and video data packets sent by the target chat object to the local device, but the local device does not perform playback operations after receiving the audio and video data packets from the target chat object, thereby achieving directional shielding.
  • the local device sends the list of other chat objects to the cloud server.
  • the cloud server updates the object of the voice video data package to the local device to other chat objects, thereby shielding the audio and video data packets sent by the target chat object to the local device.
  • the normal reception mode is used to communicate with the peer device corresponding to the target chat object
  • the reception mask mode is used to communicate with the peer device corresponding to the other chat objects.
  • chat objects send audio and video data packets to the cloud server, and the cloud server does not forward the audio and video data packets sent by other chat objects to the local device.
  • the cloud server forwards the audio and video data packets sent by other chat objects to the local device, but the local device does not perform playback operations after receiving the audio and video data packets of other chat objects, thereby achieving directional shielding.
  • the local device sends the list of other chat objects to the cloud server.
  • the cloud server updates the object of the voice video data package to the local device to the target chat object, thereby shielding the audio and video data packets sent by other chat objects to the local device.
  • the local device forwards the audio and video data packets sent by the local device only to the target chat object or other chat objects according to the user's input to the target chat object, so as to realize directional chat, or not to the target chat object or other chat objects.
  • the audio and video data sent by the chat object to the local device is forwarded to the local device. Even if it is forwarded to the local device, the local device will not play it, which realizes directional shielding.
  • Directed communication improves the flexibility of communication.
  • the first input includes: an operation by the user to move a target control on the group interface group interface to the screen area where the group interface target object identifier is located; or,
  • the target control includes one or more of the first control, the second control, the third control and the fourth control.
  • the target control is a picture control or a button control.
  • Target controls are displayed on the group interface.
  • the normal sending mode is used to communicate with the peer device corresponding to the target chat object
  • the transmission blocking mode is used to communicate with the peer device corresponding to the other chat objects.
  • the reception mask mode is used to communicate with the peer device corresponding to the target chat object, and the normal reception mode is used to communicate with the peer devices corresponding to other chat objects.
  • the normal reception mode is used to communicate with the counterpart device corresponding to the target chat object, and the reception shield mode is used to communicate with the counterpart devices corresponding to other chat objects.
  • the target control includes both the first control and the second control
  • the first control can be selected for operation; in the case that the user only wants to chat with a few chat objects without chatting , the second control can be operated, thereby reducing the number of operations.
  • the target control includes both the third control and the fourth control
  • the fourth control can be selected for operation; in the case that the user only wants to chat with a few chat objects without chatting , the third control can be operated, thereby reducing the number of operations.
  • the smiling face image in the group interface is the object identification of the chatting object, and each area containing the smiling face image is the screen area where the object identification is located, and there are 9 chatting objects in total.
  • the target controls in the group interface include a first control and a third control.
  • the group interface also includes other controls, namely mute controls, hands-free controls, camera-on controls, and end controls.
  • Figure 2 is just an example of a group interface. This embodiment is not limited to the interface layout, the number of chat objects, the number of other controls, and the number of target controls in the group interface.
  • the chat object is the target chat object. Drag and drop the first control onto the screen area where the target object identifier of the target chat object is located, as shown in FIG. 3 .
  • FIG. 4 the schematic diagram of the group interface after the user drags and drops the first control is shown in Fig. 4. At this point, the local device conducts a directed chat with multiple target chat objects.
  • the local device performs communication with the peer device corresponding to the target chat object using the normal sending mode, and uses the sending shield mode to communicate with the peer device corresponding to other chat objects. devices to communicate.
  • the chat object is the target chat object. Drag and drop the third control onto the screen area where the target object identifier of the target chat object is located, as shown in FIG. 5 .
  • FIG. 6 a schematic diagram of the group interface after the user performs a drag operation on the third control is shown in FIG. 6 .
  • the local device performs directional shielding on multiple target chat objects.
  • the local device In response to the user's drag operation on the third control, the local device communicates with the peer device corresponding to the target chat object in the reception mask mode, and communicates with the peer device corresponding to other chat objects in the normal reception mode.
  • the user can drag the first control to the screen area where one or more target chat objects are located in the group interface, and simultaneously drag the third control to one or more target chats in the group interface On the screen area where the object is located, as shown in Figure 7.
  • the first control and the second control cannot perform the first input operation at the same time
  • the third control and the fourth control cannot perform the first input operation at the same time.
  • the first control and the fourth control can simultaneously perform the first input operation
  • the first control and the third control can simultaneously perform the first input operation.
  • the picture area to which the first control and the third control are dragged may be the same or different. Likewise, the picture area to which the first control and the fourth control are dragged may be the same or different.
  • the screen area where each chat object is located includes a first control and a third control.
  • the first control and the third control are checkbox controls.
  • the local device uses the normal sending mode to communicate with the peer device corresponding to the target chat object, and uses the send shield mode to communicate with the peer device corresponding to other chat objects. communicate with end devices.
  • the local device communicates with the peer device corresponding to the target chat object in the reception blocking mode, and communicates with the peer device corresponding to other chat objects in the normal reception mode. communicate with end devices.
  • the first control and the third control on the screen area where each chat object identifier is located may both be in the selected state.
  • the first control and the third control are radio button controls.
  • the local device uses the normal sending mode to communicate with the peer device corresponding to the target chat object, and uses the send shield mode to communicate with other chat objects corresponding to Communicate with peer devices.
  • the local device uses the reception blocking mode to communicate with the peer device corresponding to the target chat object, and uses the normal reception mode to communicate with other chat objects corresponding to other chat objects. Communicate with peer devices.
  • the first control and the third control on the screen area where each chat object is located cannot both be in the selected state.
  • the target control on the screen area where the target object identifier is located is set by dragging, or the selection state of the target control on the screen area where the target object identifier is located is set by clicking the mouse, which is convenient for operation and provides follow-up directed chat or directed shielding. Lay the foundation.
  • the method further includes: in the case of communicating with the opposite terminal device using the sending shielding mode, sending the simulated image data packet or the avatar image data packet of the user to the other chat objects.
  • the peer device in the case of using the sending shielding mode with the peer device corresponding to other chat objects, send the user's simulated screen data packet or avatar screen data packet to other chat objects, so that other chat objects correspond to The peer device displays the simulation picture or the avatar picture.
  • the simulated picture data packet of the user on the local device is sent.
  • the simulated picture data packets are different from the actual audio and video data packets.
  • the simulated picture data packet is obtained by processing the video in the actual audio and video data packet sent by the local device.
  • the processing process of the video in the actual audio and video data packets sent by the local device is: identify the mouth in each video frame, and replace the mouth in each video frame with the mouth in the reference frame, so that other chat objects can see 's mouth does not move in the video.
  • the reference frame is any video frame in the video.
  • the avatar picture data package is a user avatar preset by the user in the group video or group voice on the local device.
  • the simulated image data packet or the avatar image data packet of the local device is sent to other chat objects through the cloud server.
  • the sending shielding mode with the peer device corresponding to the target chat object, send the simulated screen data packet or avatar screen of the user to the peer device corresponding to the target chat object. data package, so that the peer device corresponding to the target chat object displays the simulated picture or the avatar picture.
  • the simulated image data packet or the avatar image data packet of the local device is sent to the target chat object through the cloud server.
  • the simulated screen data packet or the avatar screen data packet of the local device is sent to other chat objects or target chat objects shielded in the group interface, In the case of implementing directional chat, other blocked chat objects are not easily noticed, and user experience is improved.
  • the method further includes: using the reception masking mode to communicate with the opposite end device, and the reception masking mode is receiving but not playing the actual audio and video data sent by the opposite end device.
  • the audio data in the actual audio and video data packets sent by the peer device is parsed into corresponding text, and the text is displayed in a preset area in the group interface.
  • the local device receives but does not play the actual audio and video data sent by the peer device corresponding to the target chat object
  • the user may not want to hear or see the audio corresponding to the audio and video data packets sent by the target chat object.
  • Video but because the background sound of the target chat object's audio and video is noisy and inaudible, and may affect the listening of other chat objects' audio and video.
  • the audio and video data packets are not played.
  • the audio data in is parsed into corresponding text and displayed in the group interface, as shown in Figure 12 to Figure 14.
  • use the STT Seech to Text, language to text function of the local device to parse the audio data in the audio and video data packets sent by the target chat object into corresponding text.
  • the local device receives but does not play the actual audio and video data sent by the peer device corresponding to other chat objects
  • the user may not want to hear or see the audio and video data packets corresponding to the audio and video data packets sent by other chat objects.
  • video but because the background sound of the audio and video of other chat objects is noisy and inaudible, and may affect the listening of the audio and video of the target chat object.
  • the audio and video data packets are not played.
  • the audio data is parsed into corresponding text and displayed in the group interface.
  • the audio data in the audio and video data packets sent by the target chat object or other objects is parsed into corresponding text and displayed, and the target chat object can still be received. information sent by the object.
  • the method further includes: receiving a second input from the user to the target chat object;
  • the second input is the operation of canceling the first input.
  • the user Under the condition that the user no longer needs to use the shielding mode to communicate with a certain target chat object or other chat objects, the user makes a second input to the corresponding target chat object in the group interface.
  • the local device receives the user's second input to the target chat object.
  • the form of the second input is determined according to the form of the first input.
  • the local device In response to the second input, the local device resends the user's actual audio and video data packets to the target chat object or other chat objects without sending the user's actual audio and video data packets to the target chat object or other chat objects.
  • the target chat object is regarded as a normal chat object.
  • the chat mode before the first input is restored, that is, the default mode.
  • the embodiment of the present application cancels the directional chatting or directional shielding of the target chat object according to the second input of the user, which improves the flexibility of communication.
  • the second input includes: an operation by the user to drag the target control in the group interface to leave the screen area where the target chat object is located in the group interface;
  • the form of the second input is determined according to the form of the first input. Therefore, when the first input is the user dragging the target control to the screen area where the target chat object is located, the second input is The input is that the user drags the target control to leave the screen area where the target chat object is located.
  • the user can drag the target control to leave the screen area where some or all of the target chat objects are located.
  • the group interface is restored to FIG. 2 .
  • the second input is that the user clicks the target control displayed on the screen area where the target chat object is located. target control to make the target control unselected.
  • the group interface returns to FIG. 8 or FIG. 10 .
  • the target control on the screen area where the target chat object is located is canceled by dragging, or the target control on the screen area where the target chat object is located is unselected by clicking the mouse, which is convenient for operation and cancels the directional chat in the future. Or cancel directional masking to lay the groundwork.
  • the user opens the social software on the local device and joins the group video or group voice chat.
  • the user operates on one or more target chat objects on the group interface of the video or group voice chat, and uses the operation as the user's first input to the target chat objects.
  • the local device performs directional chatting or directional shielding on the target chat object.
  • the user makes a second input to the target chat object in the group interface.
  • the local device cancels the directional chatting or directional shielding of the target chat object.
  • the target chat object restores the default chat mode.
  • the method further includes: converting the actual audio and video data to be sent into corresponding text; and sending a data packet carrying the text to the peer device corresponding to each of the chat objects.
  • the local device When the local device detects that its own network status is not good, there is a delay in sending audio and video data packets from the local device to the cloud server, which causes the chat object in the group interface to play the video or voice of the local device intermittently, causing lag and poor experience. it is good.
  • the local device converts the actual audio and video data to be sent by the local device into corresponding text, and then forwards it to each chat object through the cloud server.
  • the converted text is displayed on the client side of each chat partner.
  • the transmission speed of the text data packets is faster than that of the audio and video data packets, which can avoid jamming.
  • the local device judges its own network status, and decides whether to convert the audio and video data to be sent into corresponding text according to the judgment result.
  • the local device determines that the network status is poor, it converts the audio and video data to be sent into the corresponding text, but after monitoring that the network status is good, it stops converting the audio and video data to be sent into the corresponding text.
  • the local device judges that the network status is good, it does not perform text conversion on the audio and video data to be sent.
  • the embodiment of the present application improves the transmission speed of data packets by converting the audio and video data to be sent by the local device into corresponding text and forwarding it to each chat object through the cloud server.
  • Avoid stuttering When the network status of the local device is not good, Avoid stuttering.
  • the method further includes: sending the simulation of the user to the peer device corresponding to each chat object. Screen data packet or avatar screen data packet.
  • the simulated picture data packet is obtained by processing the video in the audio and video data packet previously sent by the local device.
  • the processing process of the video in the audio and video data packets sent by the local device is as follows: identify the mouth in each video frame, and replace the mouth in each video frame with the mouth corresponding to the converted text, so that other chat objects can see it.
  • the movement of the mouth in the received video is consistent with the converted text.
  • the mouth corresponding to the text sent to each chat partner refers to the mouth that matches the lip shape when the converted text is read.
  • a voice with a tone similar to that of the user on the local device is generated according to the converted text, and the generated voice is sent to each chat object via the cloud server for playback.
  • the avatar picture data package is a user avatar preset by the user in the group video or group voice on the local device.
  • the user experience is improved by sending the converted text to each chat object, and also sending the simulated screen data packet or the avatar screen data packet.
  • the execution subject may be an instant messaging device, or a control module in the instant messaging device for executing the loading instant messaging method.
  • the instant messaging method provided by the embodiment of the present application is described by taking the instant messaging device executing the loading instant messaging method as an example.
  • the instant messaging device provided by the embodiment of the present application includes a receiving module 1501 and a response module 1502, wherein:
  • the receiving module 1501 is configured to receive the first input of the target object identifier in the group interface when the user conducts instant communication with multiple chat objects simultaneously through the group interface; wherein, the target object identifier is used for indicating a target chat object in the plurality of chat objects;
  • the user first opens the social software on the local device and joins the group video or group voice chat. Then, the target chat object is operated on the group interface of the group video or group voice chat, and the operation is taken as the user's first input to the target chat object.
  • Response module 1502 configured to respond to the first input, use different modes to correspond to the peer device corresponding to the target chat object and other chat objects other than the target chat object among the plurality of chat objects.
  • Corresponding peer device communicates; wherein, the modes include normal mode and shielding mode;
  • the normal mode includes sending the actual audio and video data packets of the user, and receiving and playing at least one of the actual audio and video data packets sent by the peer device;
  • the shielding mode includes not sending the actual audio and video data packets of the user, and at least one of not receiving, receiving but not playing the actual audio and video data packets sent by the peer device.
  • Using different modes to communicate with the target chat object and peer devices corresponding to other chat objects includes:
  • the local device uses different modes to communicate with the target chat and the peer device corresponding to other chat objects according to the user's input of the target object identifier in the group interface, so as to realize the communication using the shield mode.
  • Some chat objects are directional shielded, and the flexibility of communication is improved through directional communication between the local device and some chat objects.
  • the normal mode includes a normal sending mode and a normal receiving mode
  • the masking mode includes a sending masking mode and a receiving masking mode
  • the normal sending mode is to send the actual audio and video data packets of the user
  • the normal receiving mode is to receive and play the actual audio and video data packets sent by the peer device
  • the transmission shielding mode is not to send the user
  • the actual audio and video data packets, the reception mask mode is not receiving or receiving but not playing the actual audio and video data packets sent by the peer device;
  • the response module is configured to: use the normal transmission mode and the transmission masking mode as transmission modes, and use the normal reception mode and the reception masking mode as reception modes; use different transmission modes or reception modes
  • the mode communicates with the peer device corresponding to the target chat object and the peer devices corresponding to other chat objects in the plurality of chat objects except the target chat object.
  • the first input includes: an operation by the user to move a target control on the group interface to a screen area where the target object identifier is located; or, the user clicks on the target object Identify the target control displayed on the screen area where it is located, so that the target control is in a selected state.
  • the execution module is further configured to: in the case of using the transmission shield mode to communicate with the peer device, send the user's simulated screen data packet or avatar screen data to the peer device Bag.
  • the response module is further configured to: use the reception masking mode to communicate with the peer device, and the reception mask mode is to receive but not play the actual audio and video data sent by the peer device.
  • the audio data in the actual audio and video data packets sent by the peer device is parsed into corresponding text, and the text is displayed in a preset area in the group interface.
  • the response module is further configured to: receive a second input of the target object identifier from the user; in response to the second input, in the case of using the shielding mode to communicate with the opposite terminal device , and switch to use the normal mode to communicate with the peer device.
  • the response module is further configured to: convert the actual audio and video data to be sent into corresponding text; and send a data packet carrying the text to the peer device corresponding to each chat object.
  • the response module sends the data packet carrying the text to the peer device corresponding to each chat object, it is also used to:
  • the instant messaging device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the instant messaging in this embodiment of the present application may be a device having an operating system.
  • the operating system may be an Android (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 instant messaging provided in the embodiments of the present application can implement each process implemented by the instant messaging device in the method embodiments of FIG. 1 to FIG. 16 , and to avoid repetition, details are not described here.
  • FIG. 16 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the application.
  • the electronic device 1600 includes but is not limited to: a radio frequency unit 1601, a network module 1602, an audio output unit 1603, an input unit 1604, At least some of the components in the sensor 1605, the display unit 1606, the user input unit 1607, the interface unit 1608, the memory 1609, and the processor 1610 and the like.
  • the electronic device 1600 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1610 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 16 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the input unit 1604 may include a graphics processor (Graphics Processing Unit, GPU) 16041 and a microphone 16042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 1606 may include a display panel 16061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1607 includes a touch panel 16071 and other input devices 16072 . Touch panel 16071, also called touch screen.
  • the touch panel 16071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 16072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
  • the radio frequency unit 1601 receives the downlink data from the network side device, and then processes it to the processor 1610; in addition, sends the uplink data to the network side device.
  • the radio frequency unit 1601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • Memory 1609 may be used to store software programs or instructions as well as various data.
  • the memory 1609 may mainly include a storage program or instruction area and a storage data area, wherein the stored program or instruction area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.) and the like.
  • the memory 1609 may include a high-speed random access memory, and may also include a non-volatile memory, wherein the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM) , PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • ROM Read-Only Memory
  • PROM programmable read-only memory
  • PROM erasable programmable read-only memory
  • Erasable PROM Erasable PROM
  • EPROM electrically erasable programmable read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • flash memory for example at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • the processor 1610 may include one or more processing units; optionally, the processor 1610 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, application programs or instructions, etc., Modem processors mainly deal with wireless communications, such as baseband processors. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1610.
  • the user input unit 1607 is configured to receive the first input of the target object identifier in the group interface when the user conducts instant communication with multiple chat objects through the group interface; wherein the target The object identifier is used to indicate a target chat object among the plurality of chat objects; the processor 1610 is configured to, in response to the first input, use different modes to correspond with the peer device and the target chat object corresponding to the target chat object. communicating with peer devices corresponding to other chat objects other than the target chat object among the plurality of chat objects;
  • the modes include normal mode and shield mode
  • the normal mode includes sending the actual audio and video data packets of the user, and receiving and playing at least one of the actual audio and video data packets sent by the peer device;
  • the shielding mode includes not sending the actual audio and video data packets of the user, and at least one of not receiving, receiving but not playing the actual audio and video data packets sent by the peer device.
  • the normal mode includes a normal sending mode and a normal receiving mode
  • the masking mode includes a sending masking mode and a receiving masking mode
  • the normal sending mode is to send the actual audio and video data packets of the user
  • the normal receiving mode is to receive and play the actual audio and video data packets sent by the peer device
  • the transmission shielding mode is not to send the user
  • the actual audio and video data packets, the reception mask mode is not receiving or receiving but not playing the actual audio and video data packets sent by the peer device;
  • the processor 1610 is configured to: use the normal transmission mode and the transmission masking mode as a transmission mode, and use the normal reception mode and the reception masking mode as a reception mode;
  • the first input includes: an operation by the user to move a target control on the group interface to a screen area where the target object identifier is located; or, the user clicks on the target object Identify the target control displayed on the screen area where it is located, so that the target control is in a selected state.
  • the processor is further configured to: in the case of using the transmission mask mode to communicate with the opposite end device, send the user's simulated picture data packet or avatar picture data to the opposite end device Bag.
  • the processor is further configured to: communicate with the peer device in the reception mask mode, and the reception mask mode is to receive but not play the actual audio and video data sent by the peer device.
  • the audio data in the actual audio and video data packets sent by the peer device is parsed into corresponding text, and the text is displayed in a preset area in the group interface.
  • the processor is further configured to: receive a second input of the target object identifier from the user; in response to the second input, in the case of using the shielded mode to communicate with the opposite terminal device , and switch to use the normal mode to communicate with the peer device.
  • the processor is further configured to: convert the audio and video data to be sent by the local device into corresponding text; send the audio and video data carrying the text to the peer device corresponding to each chat object. data pack.
  • the processor is further configured to: send the message to the peer device corresponding to each chat object.
  • the electronic device embodiments in the embodiments of the present application are product embodiments corresponding to the foregoing method embodiments, and all implementations in the foregoing method embodiments are applicable to the electronic device embodiments, and can also achieve the same or similar technical effects. Therefore, it will not be repeated here.
  • Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the foregoing object distance measurement method embodiment can be achieved, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above embodiment of the method for measuring distance between objects and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • performing may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, eg, the described methods may be performed in a different order than described, and may also be added, omitted, or Combine various steps. Additionally, features described with reference to some examples may be combined in other examples.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Abstract

The present application relates to the field of communications, and discloses an instant communication method and apparatus, an electronic device, and a storage medium. The method comprises: receiving a first input to a target partner identifier of a group interface when a user instantly communicates with multiple chat partners at the same time by means of the group interface; and in response to the first input, using different modes to communicate with a peer device corresponding to a target chat partner and peer devices corresponding to the chat partners among the multiple chat partners other than the target chat partner, wherein the modes comprise a normal mode and a shielding mode.

Description

即时通信方法、装置、电子设备及存储介质Instant messaging method, device, electronic device and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2021年04月01日提交的申请号为202110357580.X,发明名称为“即时通信方法、装置、电子设备及存储介质”的中国专利申请的优先权,其通过引用方式全部并入本申请。This application claims the priority of the Chinese patent application with the application number 202110357580.X filed on April 1, 2021 and the invention title is "Instant Messaging Method, Device, Electronic Device and Storage Medium", which is fully incorporated by reference this application.
技术领域technical field
本申请属于通信领域,具体涉及一种即时通信方法、装置、电子设备及存储介质。The present application belongs to the field of communication, and specifically relates to an instant communication method, device, electronic device and storage medium.
背景技术Background technique
目前,多个客户端可以利用社交软件进行群视频或者群语音,广泛应用于工作讨论或远程聊天。At present, multiple clients can use social software for group video or group voice, which are widely used in work discussion or remote chat.
在群视频或群语音中,某个客户端发送的视频或语音经服务器转发给参加群视频或群语音中的所有其他客户端。同时,服务器将所有其他客户端同一时刻发送的视频或语音都转发给该客户端。在实现本申请过程中,发明人发现现有技术中至少存在如下问题:In group video or group voice, the video or voice sent by a client is forwarded by the server to all other clients participating in the group video or group voice. At the same time, the server forwards the video or voice sent by all other clients at the same time to the client. In the process of realizing this application, the inventor found that there are at least the following problems in the prior art:
在群视频或群语音中,如果某个客户端需要将视频或语音发送给群视频或群语音中指定的其他客户端,需要借助其他聊天工具,操作不便。In group video or group voice, if a client needs to send video or voice to other clients specified in group video or group voice, other chat tools are required, which is inconvenient to operate.
当某个客户端的环境音过于嘈杂时,需要通知该客户端关掉麦克风,操作不便。When the ambient sound of a client is too noisy, the client needs to be notified to turn off the microphone, which is inconvenient to operate.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种即时通信方法、装置、电子设备及存储介质,能够解决群视频或群语音中定向通信不方便的问题。The purpose of the embodiments of the present application is to provide an instant communication method, device, electronic device and storage medium, which can solve the problem of inconvenient directional communication in group video or group voice.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种即时通信方法,该方法包括:In a first aspect, an embodiment of the present application provides an instant messaging method, which includes:
在用户通过群组界面与多个聊天对象同时进行即时通信的情况下,接收对所述群组界面中的目标对象标识的第一输入;其中,所述目标对象标识用于指示所述多个聊天对象中的目标聊天对象;In the case where the user communicates with multiple chat objects simultaneously through the group interface, a first input of the target object identifier in the group interface is received; wherein the target object identifier is used to indicate the plurality of chat objects. The target chat object in the chat object;
响应于所述第一输入,使用不同的模式与所述目标聊天对象所对应的对端设备和所述多个聊天对象中除所述目标聊天对象以外的其他聊天对象所对应的对端设备进行通信;In response to the first input, use different modes to perform a communication with the peer device corresponding to the target chat object and the peer device corresponding to other chat objects in the plurality of chat objects except the target chat object. communication;
其中,所述模式包括正常模式和屏蔽模式;Wherein, the modes include normal mode and shield mode;
所述正常模式包括发送所述用户的实际音视频数据包,以及接收并播放所述对端设备发送的实际音视频数据包中的至少一项;The normal mode includes sending the actual audio and video data packets of the user, and receiving and playing at least one of the actual audio and video data packets sent by the peer device;
所述屏蔽模式包括不发送所述用户的实际音视频数据包,以及不接收、接收但不播放所述对端设备发送的实际音视频数据包中的至少一项。The shielding mode includes not sending the actual audio and video data packets of the user, and at least one of not receiving, receiving but not playing the actual audio and video data packets sent by the peer device.
第二方面,本申请实施例提供了一种即时通信的装置,包括:In a second aspect, an embodiment of the present application provides an instant messaging device, including:
接收模块,用于在用户通过群组界面与多个聊天对象同时进行即时通信的情况下,接收对所述群组界面中的目标对象标识的第一输入;其中,所述目标对象标识用于指示所述多个聊天对象中的目标聊天对象;A receiving module, configured to receive the first input of the target object identifier in the group interface when the user conducts instant communication with multiple chat objects simultaneously through the group interface; wherein, the target object identifier is used for indicating a target chat object in the plurality of chat objects;
响应模块,用于响应于所述第一输入,使用不同的模式与所述目标聊天对象所对应的对端设备和所述多个聊天对象中除所述目标聊天对象以外的其他聊天对象所对应的对端设备进行通信;A response module, used for responding to the first input, using different modes to correspond to the peer device corresponding to the target chat object and other chat objects other than the target chat object in the plurality of chat objects to communicate with the peer device;
其中,所述模式包括正常模式和屏蔽模式;Wherein, the modes include normal mode and shield mode;
所述正常模式包括发送所述用户的实际音视频数据包,以及接收并播放所述对端设备发送的实际音视频数据包中的至少一项;The normal mode includes sending the actual audio and video data packets of the user, and receiving and playing at least one of the actual audio and video data packets sent by the peer device;
所述屏蔽模式包括不发送所述用户的实际音视频数据包,以及不接收、接收但不播放所述对端设备发送的实际音视频数据包中的至少一项。The shielding mode includes not sending the actual audio and video data packets of the user, and at least one of not receiving, receiving but not playing the actual audio and video data packets sent by the peer device.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述 程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
在本申请实施例中,本端设备根据用户对群组界面中目标对象标识的输入,使用不同的模式与目标聊天和其他聊天对象所对应的对端设备进行通信,从而实现对使用屏蔽模式进行通信的部分聊天对象进行定向屏蔽,通过本端设备与部分聊天对象之间的定向通信,提升了通信的灵活性。In the embodiment of the present application, the local device uses different modes to communicate with the target chat and the peer device corresponding to other chat objects according to the user's input of the target object identifier in the group interface, so as to realize the use of shielding mode. Some chat objects in communication are directional shielded, and the flexibility of communication is improved through directional communication between the local device and some chat objects.
附图说明Description of drawings
图1是本申请提供的通信方法流程图之一;Fig. 1 is one of the flow charts of the communication method provided by this application;
图2是本申请提供的通信方法中群组界面示意图之一;Fig. 2 is one of group interface schematic diagrams in the communication method provided by the present application;
图3是本申请提供的通信方法中群组界面示意图之二;3 is the second schematic diagram of the group interface in the communication method provided by the present application;
图4是本申请提供的通信方法中群组界面示意图之三;4 is the third schematic diagram of the group interface in the communication method provided by the present application;
图5是本申请提供的通信方法中群组界面示意图之四;5 is the fourth schematic diagram of the group interface in the communication method provided by the present application;
图6是本申请提供的通信方法中群组界面示意图之五;6 is the fifth schematic diagram of the group interface in the communication method provided by the present application;
图7是本申请提供的通信方法中群组界面示意图之六;7 is the sixth schematic diagram of the group interface in the communication method provided by the present application;
图8是本申请提供的通信方法中群组界面示意图之七;8 is the seventh schematic diagram of the group interface in the communication method provided by the present application;
图9是本申请提供的通信方法中群组界面示意图之八;9 is the eighth schematic diagram of the group interface in the communication method provided by the present application;
图10是本申请提供的通信方法中群组界面示意图之九;10 is the ninth schematic diagram of the group interface in the communication method provided by the present application;
图11是本申请提供的通信方法中群组界面示意图之十;11 is a tenth schematic diagram of a group interface in the communication method provided by the present application;
图12是本申请提供的通信方法中群组界面示意图之十一;12 is an eleventh schematic diagram of a group interface in the communication method provided by the present application;
图13是本申请提供的通信方法中群组界面示意图之十二;13 is the twelfth schematic diagram of the group interface in the communication method provided by the present application;
图14是本申请提供的通信方法中群组界面示意图之十三;FIG. 14 is the thirteenth schematic diagram of the group interface in the communication method provided by the present application;
图15是本申请提供的通信装置结构图;15 is a structural diagram of a communication device provided by the present application;
图16是本申请提供的电子设备的硬件结构示意图。FIG. 16 is a schematic diagram of the hardware structure of the electronic device provided by the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的即时通信方法、装置、电子设备及存储介质进行详细地说明。The instant messaging method, device, electronic device, and storage medium provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
如图1所示,本申请实施例提供的即时通信方法,包括:As shown in FIG. 1 , the instant messaging method provided by the embodiment of the present application includes:
步骤101,在用户通过群组界面与多个聊天对象同时进行即时通信的情况下,接收对所述群组界面中的目标对象标识的第一输入;其中,所述目标对象标识用于指示所述多个聊天对象中的目标聊天对象; Step 101, in the case where the user conducts instant communication with multiple chat objects simultaneously through the group interface, receive a first input of the target object identifier in the group interface; wherein the target object identifier is used to indicate the Describe the target chat object among the plurality of chat objects;
本申请实施例提供的即时通信方法的执行主体为本端设备。该本端设备可以为智能手机、个人电脑、平板电脑或可穿戴智能设备等。The execution body of the instant messaging method provided by the embodiment of the present application is a terminal device. The local device may be a smart phone, a personal computer, a tablet computer, a wearable smart device, or the like.
本申请实施例提供的即时通信方法应用于社交软件中群视频或群语音聊天的场景。The instant communication method provided by the embodiment of the present application is applied to the scenario of group video or group voice chat in social software.
群组界面为群视频或群语音的聊天界面。在群视频或群语音场景中,群组通信界面至少包括两个聊天对象。The group interface is a chat interface for group video or group voice. In a group video or group voice scenario, the group communication interface includes at least two chat objects.
目标聊天对象为用户根据实际需要,从群视频或群语音的聊天对象中确 定的某个或某些聊天对象。The target chat object is one or some chat objects determined by the user from the chat objects of group video or group voice according to actual needs.
例如,用户只想参加群视频或群语音的某个或某些聊天对象听到自己的声音或看到自己的视频,则将该聊天对象作为目标聊天对象。For example, if the user only wants one or some of the chat objects participating in the group video or group voice to hear their own voice or see their own video, the chat object is used as the target chat object.
用户不想参加群视频或群语音的某个或某些聊天对象听到自己的声音或看到自己的视频,则将该聊天对象作为目标聊天对象。If the user does not want one or some of the chat objects participating in the group video or group voice to hear their own voice or see their own video, the chat object is used as the target chat object.
在本端设备播放的某个或某些聊天对象的视频或语音的背景音嘈杂,或者用户不想听到某个或某些聊天对象的发言的情况下,将该聊天对象作为目标聊天对象。When the background sound of the video or voice of one or some chat objects played by the local device is noisy, or the user does not want to hear the speech of one or some chat objects, the chat object is used as the target chat object.
在用户只想听到某个或某些聊天对象的发言的情况下,将该聊天对象作为目标聊天对象。用户的第一输入包括拖拽操作、点击操作或键盘输入等,本实施例不限于第一输入的具体形式。In the case that the user only wants to hear the speech of one or some chat objects, the chat object is taken as the target chat object. The user's first input includes a drag operation, a click operation, or a keyboard input, etc. This embodiment is not limited to the specific form of the first input.
用户首先打开本端设备上的社交软件,加入群视频或群语音聊天。然后在群视频或群语音聊天的群组界面上对目标聊天对象的目标对象标识进行操作,将该操作作为用户对目标聊天对象的第一输入。The user first opens the social software on the local device and joins the group video or group voice chat. Then, the target object identifier of the target chat object is operated on the group interface of the group video or group voice chat, and the operation is taken as the user's first input to the target chat object.
本端设备接收用户对目标聊天对象的第一输入。The local device receives the user's first input to the target chat object.
步骤102,响应于所述第一输入,使用不同的模式与所述目标聊天对象所对应的对端设备和所述多个聊天对象中除所述目标聊天对象以外的其他聊天对象所对应的对端设备进行通信;其中,所述模式包括正常模式和屏蔽模式; Step 102, in response to the first input, use different modes to pair with the peer device corresponding to the target chat object and other chat objects other than the target chat object in the plurality of chat objects. The terminal device communicates; wherein, the mode includes a normal mode and a shielded mode;
使用不同的模式与目标聊天对象和其他聊天对象所对应的对端设备进行通信包括:Using different modes to communicate with the target chat object and peer devices corresponding to other chat objects includes:
使用正常模式与目标聊天对象所对应的对端设备进行通信,使用屏蔽模式与其他聊天对象所对应的对端设备进行通信;或者,Use the normal mode to communicate with the peer device corresponding to the target chat object, and use the shield mode to communicate with the peer device corresponding to other chat objects; or,
使用屏蔽模式与目标聊天对象所对应的对端设备进行通信,使用正常模式与其他聊天对象所对应的对端设备进行通信。Use the shield mode to communicate with the peer device corresponding to the target chat object, and use the normal mode to communicate with the peer device corresponding to other chat objects.
所述正常模式包括发送所述用户的实际音视频数据包,以及接收并播放所述对端设备发送的实际音视频数据包中的至少一项;The normal mode includes sending the actual audio and video data packets of the user, and receiving and playing at least one of the actual audio and video data packets sent by the peer device;
其中,音视频数据包为音频数据包或视频数据包。The audio and video data packets are audio data packets or video data packets.
在正常模式下,本端设备与目标聊天对象或其他聊天对象所对应的对端设备进行正常通信。In the normal mode, the local device communicates normally with the target chat object or the peer device corresponding to other chat objects.
可选地,在正常模式下,本端设备通过云端服务器将本端设备上用户的实际音视频数据包发送给对端设备,或者通过云端服务器接收并播放对端设备发送的实际音频数据包。Optionally, in normal mode, the local device sends the actual audio and video data packets of the user on the local device to the peer device through the cloud server, or receives and plays the actual audio data packets sent by the peer device through the cloud server.
所述屏蔽模式包括不发送所述用户的实际音视频数据包,以及不接收、接收但不播放所述对端设备发送的实际音视频数据包中的至少一项。The shielding mode includes not sending the actual audio and video data packets of the user, and at least one of not receiving, receiving but not playing the actual audio and video data packets sent by the peer device.
在屏蔽模式下,本端设备与目标聊天对象不进行通信,或者即使进行正常通信,本端设备接收但不播放对端设备发送的实际音视频数据包。In shield mode, the local device does not communicate with the target chat object, or even if normal communication is performed, the local device receives but does not play the actual audio and video data packets sent by the peer device.
可选地,在本端设备与目标聊天对象不进行通信的情况下,本端设备和对端设备向云端服务器发送实际音视频数据包,但云端服务器不将本端设备的实际音视频数据包转发给对端设备,或不将对端设备的实际音视频数据包转发给本端设备。Optionally, when the local device does not communicate with the target chat object, the local device and the peer device send actual audio and video data packets to the cloud server, but the cloud server does not send the actual audio and video data packets of the local device. Forward to the peer device, or do not forward the actual audio and video data packets of the peer device to the local device.
本申请实施例中本端设备根据用户对群组界面中目标对象标识的输入,使用不同的模式与目标聊天和其他聊天对象所对应的对端设备进行通信,从而实现对使用屏蔽模式进行通信的部分聊天对象进行定向屏蔽,通过本端设备与部分聊天对象之间的定向通信,提升了通信的灵活性。In the embodiment of the present application, the local device uses different modes to communicate with the target chat and the peer device corresponding to other chat objects according to the user's input of the target object identifier in the group interface, so as to realize the communication using the shield mode. Some chat objects are directional shielded, and the flexibility of communication is improved through directional communication between the local device and some chat objects.
可选地,所述正常模式包括正常发送模式和正常接收模式,所述屏蔽模式包括发送屏蔽模式和接收屏蔽模式;Optionally, the normal mode includes a normal sending mode and a normal receiving mode, and the masking mode includes a sending masking mode and a receiving masking mode;
所述正常发送模式为发送所述用户的实际音视频数据包,所述正常接收模式为接收并播放所述对端设备发送的实际音视频数据包,所述发送屏蔽模式为不发送所述用户的实际音视频数据包,所述接收屏蔽模式为不接收或者接收但不播放所述对端设备发送的实际音视频数据包;The normal sending mode is to send the actual audio and video data packets of the user, the normal receiving mode is to receive and play the actual audio and video data packets sent by the peer device, and the transmission shielding mode is not to send the user The actual audio and video data packets, the reception mask mode is not receiving or receiving but not playing the actual audio and video data packets sent by the peer device;
所述使用不同的模式与所述多个聊天对象中的目标聊天对象和其他聊天对象进行通信,包括:The use of different modes to communicate with the target chat object and other chat objects in the plurality of chat objects includes:
将所述正常发送模式和所述发送屏蔽模式作为发送模式,将所述正常接收模式和所述接收屏蔽模式作为接收模式;Using the normal transmission mode and the transmission masking mode as a transmission mode, and using the normal reception mode and the reception masking mode as a reception mode;
使用不同的所述发送模式或所述接收模式与所述目标聊天对象所对应的对端设备和所述多个聊天对象中除所述目标聊天对象以外的其他聊天对象所对应的对端设备进行通信。Use the different sending modes or the receiving modes to conduct a communication with the peer device corresponding to the target chat object and the peer devices corresponding to other chat objects in the plurality of chat objects except the target chat object. communication.
可选地,使用正常发送模式与目标聊天对象所对应的对端设备进行通信,使用发送屏蔽模式与其他聊天对象所对应的对端设备进行通信。Optionally, the normal sending mode is used to communicate with the peer device corresponding to the target chat object, and the transmission blocking mode is used to communicate with the peer device corresponding to other chat objects.
在这种情况下,本端设备首先将采集的音频或视频以音视频数据包的形式先传送到云端服务器,然后云端服务器仅将本端设备发送的音视频数据包转发给目标聊天对象所对应的对端设备,而不转发其他聊天对象所对应的对端设备。In this case, the local device first transmits the collected audio or video to the cloud server in the form of audio and video data packets, and then the cloud server only forwards the audio and video data packets sent by the local device to the target chat object. The peer device of the chat object will not be forwarded to the peer device corresponding to other chat objects.
可选地,本端设备将音视频数据包发送到云端服务器的同时,将目标聊天对象的名单列表发送给云端服务器。云端服务器将本端设备的音视频数据包的下发对象更新为该名单列表中的目标聊天对象,从而只向目标聊天对象所对应的对端设备转发本端设备的音视频数据包。Optionally, while sending the audio and video data packets to the cloud server, the local device sends the list of target chat objects to the cloud server. The cloud server updates the delivery object of the audio and video data packets of the local device to the target chat object in the list, so that only the audio and video data packets of the local device are forwarded to the peer device corresponding to the target chat object.
可选地,使用发送屏蔽模式与目标聊天对象所对应的对端设备进行通信,使用正常发送模式与其他聊天对象所对应的对端设备进行通信。Optionally, communicate with the peer device corresponding to the target chat object by using the transmission blocking mode, and communicate with the peer device corresponding to other chat objects in the normal transmission mode.
在这种情况下,云端服务器仅将本端设备发送的音视频数据包转发给其他聊天对象所对应的对端设备,而不转发目标聊天对象所对应的对端设备。In this case, the cloud server only forwards the audio and video data packets sent by the local device to the peer device corresponding to other chat objects, but not the peer device corresponding to the target chat object.
可选地,本端设备将音视频数据包发送到云端服务器的同时,将其他聊天对象的名单列表发送给云端服务器。云端服务器将本端设备的音视频数据包的下发对象更新为该名单列表中的其他聊天对象,从而只向其他聊天对象所对应的对端设备转发本端设备的音视频数据包。Optionally, while sending the audio and video data packets to the cloud server, the local device sends the list of other chat objects to the cloud server. The cloud server updates the delivery object of the audio and video data packets of the local device to other chat objects in the list, so that only the audio and video data packets of the local device are forwarded to the peer device corresponding to the other chat objects.
可选地,使用接收屏蔽模式与目标聊天对象所对应的对端设备进行通信,使用正常接收模式与其他聊天对象所对应的对端设备进行通信。Optionally, use the reception blocking mode to communicate with the peer device corresponding to the target chat object, and use the normal reception mode to communicate with the peer device corresponding to other chat objects.
在这种情况下,目标聊天对象向云端服务器发送音视频数据包,云端服务器不将目标聊天对象发送的音视频数据包转发给本端设备。或者,云端服务器将目标聊天对象发送的音视频数据包转发给本端设备,但本端设备在接收到目标聊天对象的音视频数据包后,不进行播放操作,从而实现定向屏蔽。In this case, the target chat object sends audio and video data packets to the cloud server, and the cloud server does not forward the audio and video data packets sent by the target chat object to the local device. Alternatively, the cloud server forwards the audio and video data packets sent by the target chat object to the local device, but the local device does not perform playback operations after receiving the audio and video data packets from the target chat object, thereby achieving directional shielding.
可选地,本端设备将其他聊天对象的名单列表发送给云端服务器。云端服务器将向本端设备下发音视频数据包的对象更新为其他聊天对象,从而屏蔽目标聊天对象发往本端设备的音视频数据包。Optionally, the local device sends the list of other chat objects to the cloud server. The cloud server updates the object of the voice video data package to the local device to other chat objects, thereby shielding the audio and video data packets sent by the target chat object to the local device.
可选地,使用所述正常接收模式与所述目标聊天对象所对应的对端设备进行通信,使用所述接收屏蔽模式与所述其他聊天对象所对应的对端设备进行通信。Optionally, the normal reception mode is used to communicate with the peer device corresponding to the target chat object, and the reception mask mode is used to communicate with the peer device corresponding to the other chat objects.
在这种情况下,其他聊天对象向云端服务器发送音视频数据包,云端服务器不将其他聊天对象发送的音视频数据包转发给本端设备。或者,云端服务器将其他聊天对象发送的音视频数据包转发给本端设备,但本端设备在接收到其他聊天对象的音视频数据包后,不进行播放操作,从而实现定向屏蔽。In this case, other chat objects send audio and video data packets to the cloud server, and the cloud server does not forward the audio and video data packets sent by other chat objects to the local device. Alternatively, the cloud server forwards the audio and video data packets sent by other chat objects to the local device, but the local device does not perform playback operations after receiving the audio and video data packets of other chat objects, thereby achieving directional shielding.
可选地,本端设备将其他聊天对象的名单列表发送给云端服务器。云端服务器将向本端设备下发音视频数据包的对象更新为目标聊天对象,从而屏蔽其他聊天对象发往本端设备的音视频数据包。Optionally, the local device sends the list of other chat objects to the cloud server. The cloud server updates the object of the voice video data package to the local device to the target chat object, thereby shielding the audio and video data packets sent by other chat objects to the local device.
本申请实施例中本端设备根据用户对目标聊天对象的输入,将本端设备发送的音视频数据包仅转发给目标聊天对象或其他聊天对象,实现定向聊天,或者不将目标聊天对象或其他聊天对象发往本端设备的音视频数据转发给本端设备,即使转发给本端设备,本端设备也不播放,实现定向屏蔽,通过本端设备与目标聊天对象或其他聊天对象之间的定向通信,提升了通信的灵活性。In the embodiment of the present application, the local device forwards the audio and video data packets sent by the local device only to the target chat object or other chat objects according to the user's input to the target chat object, so as to realize directional chat, or not to the target chat object or other chat objects. The audio and video data sent by the chat object to the local device is forwarded to the local device. Even if it is forwarded to the local device, the local device will not play it, which realizes directional shielding. Through the communication between the local device and the target chat object or other chat objects Directed communication improves the flexibility of communication.
可选地,所述第一输入,包括:所述用户将所述群组界面群组界面上的目标控件移动至所述群组界面目标对象标识所在的画面区域上的操作;或者,Optionally, the first input includes: an operation by the user to move a target control on the group interface group interface to the screen area where the group interface target object identifier is located; or,
可选地,目标控件包括第一控件、第二控件、第三控件和第四控件中的一种或多种。Optionally, the target control includes one or more of the first control, the second control, the third control and the fourth control.
可选地,目标控件为图片控件或按钮控件。目标控件显示在群组界面上。Optionally, the target control is a picture control or a button control. Target controls are displayed on the group interface.
响应于用户对第一控件操作的第一输入,使用正常发送模式与目标聊天对象所对应的对端设备进行通信,使用发送屏蔽模式与所述其他聊天对象所对应的对端设备进行通信。In response to the user's first input on the first control operation, the normal sending mode is used to communicate with the peer device corresponding to the target chat object, and the transmission blocking mode is used to communicate with the peer device corresponding to the other chat objects.
响应于用户对第二控件操作的第一输入,使用发送屏蔽模式与目标聊天 对象所对应的对端设备进行通信,使用正常发送模式与其他聊天对象所对应的对端设备进行通信。In response to the user's first input of the second control operation, use the send shield mode to communicate with the counterpart device corresponding to the target chat object, and use the normal send mode to communicate with the counterpart device corresponding to other chat objects.
响应于用户对第三控件操作的第一输入,使用接收屏蔽模式与目标聊天对象所对应的对端设备进行通信,使用正常接收模式与其他聊天对象所对应的对端设备进行通信。In response to the user's first input of the third control operation, the reception mask mode is used to communicate with the peer device corresponding to the target chat object, and the normal reception mode is used to communicate with the peer devices corresponding to other chat objects.
响应于用户对第四控件操作的第一输入,使用正常接收模式与目标聊天对象所对应的对端设备进行通信,使用接收屏蔽模式与其他聊天对象所对应的对端设备进行通信。In response to the user's first input of the fourth control operation, the normal reception mode is used to communicate with the counterpart device corresponding to the target chat object, and the reception shield mode is used to communicate with the counterpart devices corresponding to other chat objects.
当目标控件同时包括第一控件和第二控件时,在用户只想与少数聊天对象进行聊天的情况下,可以选择第一控件进行操作;在用户只想与少数聊天对象不进行聊天的情况下,可以对第二控件进行操作,从而可以减少操作次数。When the target control includes both the first control and the second control, in the case that the user only wants to chat with a few chat objects, the first control can be selected for operation; in the case that the user only wants to chat with a few chat objects without chatting , the second control can be operated, thereby reducing the number of operations.
当目标控件同时包括第三控件和第四控件时,在用户只想与少数聊天对象进行聊天的情况下,可以选择第四控件进行操作;在用户只想与少数聊天对象不进行聊天的情况下,可以对第三控件进行操作,从而可以减少操作次数。When the target control includes both the third control and the fourth control, in the case that the user only wants to chat with a few chat objects, the fourth control can be selected for operation; in the case that the user only wants to chat with a few chat objects without chatting , the third control can be operated, thereby reducing the number of operations.
如图2所示,群组界面中的笑脸图像为聊天对象的对象标识,每个含有笑脸图像的区域为对象标识所在的画面区域,共有9个聊天对象。As shown in FIG. 2 , the smiling face image in the group interface is the object identification of the chatting object, and each area containing the smiling face image is the screen area where the object identification is located, and there are 9 chatting objects in total.
群组界面中的目标控件包括第一控件和第三控件。The target controls in the group interface include a first control and a third control.
群组界面中还包括其他控件,即静音控件、免提控件、开启摄像头控件和结束控件。The group interface also includes other controls, namely mute controls, hands-free controls, camera-on controls, and end controls.
图2仅为群组界面的示例。本实施例不限于群组界面中的界面布局、聊天对象的个数、其他控件的个数和目标控件的个数。Figure 2 is just an example of a group interface. This embodiment is not limited to the interface layout, the number of chat objects, the number of other controls, and the number of target controls in the group interface.
在用户需要只对群组界面中的某个聊天对象定向聊天的情况下,该聊天对象即为目标聊天对象。将第一控件拖拽到目标聊天对象的目标对象标识所在的画面区域上,如图3所示。In the case where the user only needs to chat with a certain chat object in the group interface, the chat object is the target chat object. Drag and drop the first control onto the screen area where the target object identifier of the target chat object is located, as shown in FIG. 3 .
在目标聊天对象为多个的情况下,用户对第一控件进行拖拽操作后的群 组界面示意图如4所示。此时,本端设备与多个目标聊天对象进行定向聊天。In the case of multiple target chat objects, the schematic diagram of the group interface after the user drags and drops the first control is shown in Fig. 4. At this point, the local device conducts a directed chat with multiple target chat objects.
可选地,本端设备响应于用户对第一控件的拖拽操作,执行使用正常发送模式与目标聊天对象所对应的对端设备进行通信,使用发送屏蔽模式与其他聊天对象所对应的对端设备进行通信。Optionally, in response to the user's dragging operation on the first control, the local device performs communication with the peer device corresponding to the target chat object using the normal sending mode, and uses the sending shield mode to communicate with the peer device corresponding to other chat objects. devices to communicate.
在用户需要只对群组界面中的某个聊天对象定向屏蔽的情况下,该聊天对象即为目标聊天对象。将第三控件拖拽到目标聊天对象的目标对象标识所在的画面区域上,如图5所示。In the case where the user only needs to directionally block a certain chat object in the group interface, the chat object is the target chat object. Drag and drop the third control onto the screen area where the target object identifier of the target chat object is located, as shown in FIG. 5 .
在目标聊天对象为多个的情况下,用户对第三控件进行拖拽操作后的群组界面示意图如6所示。此时,本端设备对多个目标聊天对象进行定向屏蔽。In the case where there are multiple target chat objects, a schematic diagram of the group interface after the user performs a drag operation on the third control is shown in FIG. 6 . At this time, the local device performs directional shielding on multiple target chat objects.
本端设备响应于用户对第三控件的拖拽操作,使用接收屏蔽模式与目标聊天对象所对应的对端设备进行通信,使用正常接收模式与其他聊天对象所对应的对端设备进行通信。In response to the user's drag operation on the third control, the local device communicates with the peer device corresponding to the target chat object in the reception mask mode, and communicates with the peer device corresponding to other chat objects in the normal reception mode.
另外,用户可以根据实际需要,将第一控件拖拽到群组界面中一个或多个目标聊天对象所在的画面区域上,同时将第三控件拖拽到群组界面中一个或多个目标聊天对象所在的画面区域上,如图7所示。In addition, according to actual needs, the user can drag the first control to the screen area where one or more target chat objects are located in the group interface, and simultaneously drag the third control to one or more target chats in the group interface On the screen area where the object is located, as shown in Figure 7.
需要说明的是,第一控件和第二控件不能同时进行第一输入操作,第三控件和第四控件不能同时进行第一输入操作。第一控件和第四控件能同时进行第一输入操作,第一控件和第三控件能同时进行第一输入操作。It should be noted that, the first control and the second control cannot perform the first input operation at the same time, and the third control and the fourth control cannot perform the first input operation at the same time. The first control and the fourth control can simultaneously perform the first input operation, and the first control and the third control can simultaneously perform the first input operation.
第一控件和第三控件拖拽到的画面区域可以相同,也可以不同。同样,第一控件和第四控件拖拽到的画面区域可以相同,也可以不同。在本端设备上的群组界面中静音控件为选中状态的情况下,本端设备不采集语音,因此无论是目标聊天对象,还是其他聊天对象均接收不到本端设备的音频数据包。The picture area to which the first control and the third control are dragged may be the same or different. Likewise, the picture area to which the first control and the fourth control are dragged may be the same or different. When the mute control is selected in the group interface on the local device, the local device does not collect voice, so neither the target chat object nor other chat objects can receive the audio data packets of the local device.
所述用户点击所述群组界面中所述目标对象标识所在的画面区域上显示的目标控件,以使所述目标控件为选中状态。The user clicks a target control displayed on the screen area where the target object identifier is located in the group interface, so that the target control is in a selected state.
如图8所示,每个聊天对象所在的画面区域中均包括第一控件和第三控件。第一控件和第三控件为复选框控件。As shown in FIG. 8 , the screen area where each chat object is located includes a first control and a third control. The first control and the third control are checkbox controls.
在用户需要对群组界面中的某个或某些聊天对象定向聊天的情况下,点 击相应聊天对象所在画面区域上第一控件和/或第三控件,如图9所示。When the user needs to chat with one or some chat objects in the group interface, click the first control and/or the third control on the screen area where the corresponding chat object is located, as shown in FIG. 9 .
在聊天对象所在画面区域上的第一控件为选中状态的情况下,本端设备使用正常发送模式与目标聊天对象所对应的对端设备进行通信,使用发送屏蔽模式与其他聊天对象所对应的对端设备进行通信。When the first control on the screen area where the chat object is located is selected, the local device uses the normal sending mode to communicate with the peer device corresponding to the target chat object, and uses the send shield mode to communicate with the peer device corresponding to other chat objects. communicate with end devices.
在聊天对象所在画面区域上的第三控件为选中状态的情况下,本端设备使用接收屏蔽模式与目标聊天对象所对应的对端设备进行通信,使用正常接收模式与其他聊天对象所对应的对端设备进行通信。When the third control on the screen area where the chat object is located is selected, the local device communicates with the peer device corresponding to the target chat object in the reception blocking mode, and communicates with the peer device corresponding to other chat objects in the normal reception mode. communicate with end devices.
每个聊天对象标识所在画面区域上的第一控件和第三控件可以同为选中状态。The first control and the third control on the screen area where each chat object identifier is located may both be in the selected state.
如图10所示,第一控件和第三控件为单选按钮控件。As shown in FIG. 10 , the first control and the third control are radio button controls.
在用户需要对群组界面中的某个或某些聊天对象定向聊天的情况下,点击相应聊天对象标识所在画面区域上的第一控件或第三控件,如图11所示。When the user needs to chat with one or some chat objects in the group interface, click the first control or the third control on the screen area where the corresponding chat object ID is located, as shown in FIG. 11 .
在聊天对象标识所在画面区域上的第一控件为选中状态的情况下,本端设备使用正常发送模式与目标聊天对象所对应的对端设备进行通信,使用发送屏蔽模式与其他聊天对象所对应的对端设备进行通信。When the first control on the screen area where the chat object identifier is located is selected, the local device uses the normal sending mode to communicate with the peer device corresponding to the target chat object, and uses the send shield mode to communicate with other chat objects corresponding to Communicate with peer devices.
在聊天对象标识所在画面区域上的第三控件为选中状态的情况下,本端设备使用接收屏蔽模式与目标聊天对象所对应的对端设备进行通信,使用正常接收模式与其他聊天对象所对应的对端设备进行通信。When the third control on the screen area where the chat object ID is located is selected, the local device uses the reception blocking mode to communicate with the peer device corresponding to the target chat object, and uses the normal reception mode to communicate with other chat objects corresponding to other chat objects. Communicate with peer devices.
出于单选按钮的特性,每个聊天对象所在画面区域上的第一控件和第三控件不可以同为选中状态。Due to the characteristics of radio buttons, the first control and the third control on the screen area where each chat object is located cannot both be in the selected state.
本申请实施例通过以拖拽方式设置目标对象标识所在画面区域上的目标控件,或以鼠标点击方式设置目标对象标识所在画面区域上目标控件的选择状态,便于操作,为后续定向聊天或定向屏蔽奠定基础。In this embodiment of the present application, the target control on the screen area where the target object identifier is located is set by dragging, or the selection state of the target control on the screen area where the target object identifier is located is set by clicking the mouse, which is convenient for operation and provides follow-up directed chat or directed shielding. Lay the foundation.
可选地,所述方法还包括:在使用所述发送屏蔽模式与所述对端设备进行通信的情况下,向所述其他聊天对象发送所述用户的模拟画面数据包或者头像画面数据包。Optionally, the method further includes: in the case of communicating with the opposite terminal device using the sending shielding mode, sending the simulated image data packet or the avatar image data packet of the user to the other chat objects.
可选地,在使用发送屏蔽模式与其他聊天对象所对应的对端设备进行的 情况下,向其他聊天对象发送所述用户的模拟画面数据包或者头像画面数据包,以使其他聊天对象对应的对端设备显示所述模拟画面或者头像画面。Optionally, in the case of using the sending shielding mode with the peer device corresponding to other chat objects, send the user's simulated screen data packet or avatar screen data packet to other chat objects, so that other chat objects correspond to The peer device displays the simulation picture or the avatar picture.
可选地,在视频通话的情况下,发送的是本端设备上用户的模拟画面数据包。模拟画面数据包与实际音视频数据包不同。Optionally, in the case of a video call, the simulated picture data packet of the user on the local device is sent. The simulated picture data packets are different from the actual audio and video data packets.
可选地,模拟画面数据包通过对本端设备发送的实际音视频数据包中的视频进行处理后获取。Optionally, the simulated picture data packet is obtained by processing the video in the actual audio and video data packet sent by the local device.
对本端设备发送的实际音视频数据包中视频的处理过程为:识别每个视频帧中的嘴巴,并将每个视频帧中的嘴巴替换为参考帧中的嘴巴,从而使得其他聊天对象看到的视频中的嘴巴不动。The processing process of the video in the actual audio and video data packets sent by the local device is: identify the mouth in each video frame, and replace the mouth in each video frame with the mouth in the reference frame, so that other chat objects can see 's mouth does not move in the video.
参考帧为该视频中的任一视频帧。The reference frame is any video frame in the video.
可选地,头像画面数据包为用户在本端设备上的群视频或群语音中预先设置的用户头像。Optionally, the avatar picture data package is a user avatar preset by the user in the group video or group voice on the local device.
可选地,通过云端服务器将本端设备的模拟画面数据包或者头像画面数据包发送给其他聊天对象。Optionally, the simulated image data packet or the avatar image data packet of the local device is sent to other chat objects through the cloud server.
可选地,在使用所述发送屏蔽模式与目标聊天对象所对应的对端设备进行的情况下,向所述目标聊天对象所对应的对端设备发送所述用户的模拟画面数据包或者头像画面数据包,以使目标聊天对象对应的对端设备显示所述模拟画面或者头像画面。Optionally, in the case of using the sending shielding mode with the peer device corresponding to the target chat object, send the simulated screen data packet or avatar screen of the user to the peer device corresponding to the target chat object. data package, so that the peer device corresponding to the target chat object displays the simulated picture or the avatar picture.
可选地,通过云端服务器将本端设备的模拟画面数据包或者头像画面数据包发送给目标聊天对象。Optionally, the simulated image data packet or the avatar image data packet of the local device is sent to the target chat object through the cloud server.
本申请实施例通过在与目标聊天对象或其他聊天对象定向聊天的情况下,将本端设备的模拟画面数据包或者头像画面数据包发送给群组界面中屏蔽的其他聊天对象或目标聊天对象,在实现定向聊天的情况下,使屏蔽的其他聊天对象不易察觉,提升用户体验。In the embodiment of the present application, in the case of directional chatting with the target chat object or other chat objects, the simulated screen data packet or the avatar screen data packet of the local device is sent to other chat objects or target chat objects shielded in the group interface, In the case of implementing directional chat, other blocked chat objects are not easily noticed, and user experience is improved.
可选地,所述方法还包括:在使用所述接收屏蔽模式与所述对端设备进行通信,且所述接收屏蔽模式为接收但不播放所述对端设备发送的实际音视频数据的情况下,将所述对端设备发送的实际音视频数据包中的音频数据解 析为对应的文字,并在所述群组界面中的预设区域显示所述文字。Optionally, the method further includes: using the reception masking mode to communicate with the opposite end device, and the reception masking mode is receiving but not playing the actual audio and video data sent by the opposite end device. Next, the audio data in the actual audio and video data packets sent by the peer device is parsed into corresponding text, and the text is displayed in a preset area in the group interface.
在本端设备接收但不播放目标聊天对象所对应的对端设备发送的实际音视频数据的情况下,用户可能并不是不想听到或看到目标聊天对象发来的音视频数据包对应的音视频,而是由于目标聊天对象的音视频的背景音嘈杂,听不清楚,而且可能影响其他聊天对象的音视频的收听。In the case where the local device receives but does not play the actual audio and video data sent by the peer device corresponding to the target chat object, the user may not want to hear or see the audio corresponding to the audio and video data packets sent by the target chat object. Video, but because the background sound of the target chat object's audio and video is noisy and inaudible, and may affect the listening of other chat objects' audio and video.
因此,为了避免本端设备丢失目标聊天对象发来的重要信息,在接收到目标聊天对象发来的音视频数据包后,虽然不播放音视频数据包对应的音视频,但将音视频数据包中的音频数据解析为对应的文字,显示在群组界面中,如图12至图14所示。Therefore, in order to prevent the local device from losing the important information sent by the target chat object, after receiving the audio and video data packets sent by the target chat object, although the audio and video data packets corresponding to the audio and video data packets are not played, the audio and video data packets are not played. The audio data in is parsed into corresponding text and displayed in the group interface, as shown in Figure 12 to Figure 14.
可选地,使用本端设备的STT(Speech to Text,语言转换成文字)功能,将目标聊天对象发来的音视频数据包中的音频数据解析为对应的文字。Optionally, use the STT (Speech to Text, language to text) function of the local device to parse the audio data in the audio and video data packets sent by the target chat object into corresponding text.
在本端设备接收但不播放其他聊天对象所对应的对端设备发送的实际音视频数据的情况下,用户可能并不是不想听到或看到其他聊天对象发来的音视频数据包对应的音视频,而是由于其他聊天对象的音视频的背景音嘈杂,听不清楚,而且可能影响目标聊天对象的音视频的收听。In the case that the local device receives but does not play the actual audio and video data sent by the peer device corresponding to other chat objects, the user may not want to hear or see the audio and video data packets corresponding to the audio and video data packets sent by other chat objects. video, but because the background sound of the audio and video of other chat objects is noisy and inaudible, and may affect the listening of the audio and video of the target chat object.
因此,为了避免本端设备丢失其他聊天对象发来的重要信息,在接收到其他聊天对象发来的音视频数据包后,虽然不播放音视频数据包对应的音视频,但将音视频数据包中的音频数据解析为对应的文字,显示在群组界面中。Therefore, in order to prevent the local device from losing important information sent by other chat objects, after receiving the audio and video data packets sent by other chat objects, although the audio and video data packets corresponding to the audio and video data packets are not played, the audio and video data packets are not played. The audio data in is parsed into corresponding text and displayed in the group interface.
本申请实施例在对目标聊天对象或其他对象定向屏蔽的情况下,将目标聊天对象或其他对象发来的音视频数据包中的音频数据解析为对应的文字显示出来,依然可以收到目标聊天对象发来的信息。In the embodiment of the present application, in the case of directional shielding of the target chat object or other objects, the audio data in the audio and video data packets sent by the target chat object or other objects is parsed into corresponding text and displayed, and the target chat object can still be received. information sent by the object.
可选地,所述方法还包括:接收用户对所述目标聊天对象的第二输入;Optionally, the method further includes: receiving a second input from the user to the target chat object;
第二输入为取消第一输入的操作。The second input is the operation of canceling the first input.
在用户不再需要使用屏蔽模式与某个目标聊天对象或其他聊天对象进行通信的情况下,用户在群组界面中对相应的目标聊天对象进行第二输入。Under the condition that the user no longer needs to use the shielding mode to communicate with a certain target chat object or other chat objects, the user makes a second input to the corresponding target chat object in the group interface.
本端设备接收用户对目标聊天对象的第二输入。The local device receives the user's second input to the target chat object.
第二输入的形式根据第一输入的形式确定。The form of the second input is determined according to the form of the first input.
响应于所述第二输入,在使用所述屏蔽模式与所述对端设备进行通信的情况下,切换为使用所述正常模式与所述对端设备进行通信。In response to the second input, in the case of using the masked mode to communicate with the opposite device, switching to use the normal mode to communicate with the opposite device.
本端设备响应于第二输入,在向目标聊天对象或其他聊天对象不发送用户的实际音视频数据包的情况下,重新将用户的实际音视频数据包发送给目标聊天对象或其他聊天对象。In response to the second input, the local device resends the user's actual audio and video data packets to the target chat object or other chat objects without sending the user's actual audio and video data packets to the target chat object or other chat objects.
在不接收或接收但不播放目标聊天对象或其他聊天对象发送的实际音视频数据包的情况下,重新接收且播放目标聊天对象或其他聊天对象发送的实际音视频数据包。In the case of not receiving or receiving but not playing the actual audio and video data packets sent by the target chat object or other chat objects, re-receive and play the actual audio and video data packets sent by the target chat object or other chat objects.
在对某个目标聊天对象取消定向聊天和定向屏蔽的情况下,该目标聊天对象视为普通聊天对象。恢复对其进行第一输入前的聊天模式,即默认模式。In the case of canceling the targeted chat and targeted blocking of a target chat object, the target chat object is regarded as a normal chat object. The chat mode before the first input is restored, that is, the default mode.
本申请实施例根据用户的第二输入取消对目标聊天对象的定向聊天或定向屏蔽,提升了通信的灵活性。The embodiment of the present application cancels the directional chatting or directional shielding of the target chat object according to the second input of the user, which improves the flexibility of communication.
可选地,所述第二输入,包括:所述用户拖拽所述群组界面中的目标控件离开所述群组界面中所述目标聊天对象所在的画面区域上的操作;Optionally, the second input includes: an operation by the user to drag the target control in the group interface to leave the screen area where the target chat object is located in the group interface;
由于第二输入为取消第一输入的操作,第二输入的形式根据第一输入的形式确定,因此在第一输入为用户拖拽目标控件到目标聊天对象所在的画面区域的情况下,第二输入为用户拖拽目标控件离开该目标聊天对象所在的画面区域。Since the second input is an operation of canceling the first input, the form of the second input is determined according to the form of the first input. Therefore, when the first input is the user dragging the target control to the screen area where the target chat object is located, the second input is The input is that the user drags the target control to leave the screen area where the target chat object is located.
用户可以拖拽目标控件离开部分或全部目标聊天对象所在的画面区域。The user can drag the target control to leave the screen area where some or all of the target chat objects are located.
在用户拖拽目标控件离开全部目标聊天对象所在的画面区域的情况下,群组界面恢复至图2。When the user drags the target control away from the screen area where all the target chat objects are located, the group interface is restored to FIG. 2 .
或所述用户点击所述群组界面中所述目标聊天对象所在的画面区域上显示的目标控件,以使所述目标控件为未选中状态。Or the user clicks on the target control displayed on the screen area where the target chat object is located in the group interface, so that the target control is in an unselected state.
在第一输入为用户点击目标聊天对象所在的画面区域上显示的目标控件,以使所述目标控件为选中状态的情况下,第二输入为用户点击该目标聊天对象所在的画面区域上显示的目标控件,以使目标控件为未选中状态。In the case where the first input is that the user clicks the target control displayed on the screen area where the target chat object is located, so that the target control is selected, the second input is that the user clicks the target control displayed on the screen area where the target chat object is located. target control to make the target control unselected.
用户点击部分或全部目标聊天对象所在的画面区域上显示的目标控件, 以使目标控件为未选中状态。The user clicks on the target controls displayed on the screen area where some or all of the target chat objects are located, so that the target controls are in an unselected state.
在用户点击全部目标聊天对象所在的画面区域上显示的目标控件的情况下,群组界面恢复至图8或图10。When the user clicks the target controls displayed on the screen area where all the target chat objects are located, the group interface returns to FIG. 8 or FIG. 10 .
本申请实施例通过以拖拽方式取消目标聊天对象所在画面区域上的目标控件,或以鼠标点击方式使目标聊天对象所在画面区域上的目标控件为未选中状态,便于操作,为后续取消定向聊天或取消定向屏蔽奠定基础。In this embodiment of the present application, the target control on the screen area where the target chat object is located is canceled by dragging, or the target control on the screen area where the target chat object is located is unselected by clicking the mouse, which is convenient for operation and cancels the directional chat in the future. Or cancel directional masking to lay the groundwork.
本申请实施例提供的即时通信方法的完整步骤如下:The complete steps of the instant messaging method provided by the embodiments of the present application are as follows:
1、首先用户打开本端设备上的社交软件,加入群视频或群语音聊天。1. First, the user opens the social software on the local device and joins the group video or group voice chat.
2、用户视频或群语音聊天的群组界面上对一个或多个目标聊天对象进行操作,将该操作作为用户对目标聊天对象的第一输入。2. The user operates on one or more target chat objects on the group interface of the video or group voice chat, and uses the operation as the user's first input to the target chat objects.
3、本端设备响应于第一输入,对目标聊天对象进行定向聊天或定向屏蔽。3. In response to the first input, the local device performs directional chatting or directional shielding on the target chat object.
4、用户在群组界面中对目标聊天对象进行第二输入。4. The user makes a second input to the target chat object in the group interface.
5、本端设备响应于第二输入,取消对目标聊天对象的定向聊天或定向屏蔽。5. In response to the second input, the local device cancels the directional chatting or directional shielding of the target chat object.
6、目标聊天对象恢复默认聊天模式。6. The target chat object restores the default chat mode.
可选地,所述方法还包括:将待发送的实际音视频数据,转换为对应的文字;向各所述聊天对象所对应的对端设备发送携带有所述文字的数据包。Optionally, the method further includes: converting the actual audio and video data to be sent into corresponding text; and sending a data packet carrying the text to the peer device corresponding to each of the chat objects.
在本地设备检测到自身的网络状态不好的情况下,本地设备向云端服务器发送音视频数据包有延迟,导致群组界面中聊天对象播放本地设备的视频或语音断断续续,存在卡顿,体验不好。When the local device detects that its own network status is not good, there is a delay in sending audio and video data packets from the local device to the cloud server, which causes the chat object in the group interface to play the video or voice of the local device intermittently, causing lag and poor experience. it is good.
为了解决该问题,本端设备将本端设备待发送的实际音视频数据转换为对应的文字后,经云端服务器转发给各聊天对象。在各聊天对象的客户端上显示转换的文字。In order to solve this problem, the local device converts the actual audio and video data to be sent by the local device into corresponding text, and then forwards it to each chat object through the cloud server. The converted text is displayed on the client side of each chat partner.
在将视频转换为对应的文字时,先从视频中提取出音频,然后将提取出的音频转换为文字。When converting a video into corresponding text, first extract the audio from the video, and then convert the extracted audio into text.
由于文字数据包的大小远远小于音视频数据包,因此文字数据包的输送速度比音视频数据包的传输速度快,可以避免卡顿。Since the size of the text data packets is much smaller than that of the audio and video data packets, the transmission speed of the text data packets is faster than that of the audio and video data packets, which can avoid jamming.
本端设备对自身的网络状态进行判断,根据判断结果决定是否将待发送的音视频数据转换为对应的文字。The local device judges its own network status, and decides whether to convert the audio and video data to be sent into corresponding text according to the judgment result.
本端设备在判断结果为网络状态差时,将待发送的音视频数据转换为对应的文字,但在之后监测到网络状态好时,停止将待发送的音视频数据转换为对应的文字。When the local device determines that the network status is poor, it converts the audio and video data to be sent into the corresponding text, but after monitoring that the network status is good, it stops converting the audio and video data to be sent into the corresponding text.
本端设备在判断结果为网络状态好时,对待发送的音视频数据不进行文字转换。When the local device judges that the network status is good, it does not perform text conversion on the audio and video data to be sent.
本申请实施例通过将本端设备待发送的音视频数据转换为对应的文字后,经云端服务器转发给各聊天对象,提高了数据包的传输速度,在本端设备的网络状态不好时,避免卡顿。The embodiment of the present application improves the transmission speed of data packets by converting the audio and video data to be sent by the local device into corresponding text and forwarding it to each chat object through the cloud server. When the network status of the local device is not good, Avoid stuttering.
可选地,所述向所述各聊天对象所对应的对端设备发送携带有所述文字的数据包之后,还包括:向各所述聊天对象所对应的对端设备发送所述用户的模拟画面数据包或者头像画面数据包。Optionally, after sending the data packet carrying the text to the peer device corresponding to each chat object, the method further includes: sending the simulation of the user to the peer device corresponding to each chat object. Screen data packet or avatar screen data packet.
可选地,模拟画面数据包通过对本端设备之前发送的音视频数据包中的视频进行处理后获取。Optionally, the simulated picture data packet is obtained by processing the video in the audio and video data packet previously sent by the local device.
对本端设备之前发送的音视频数据包中视频的处理过程为:识别每个视频帧中的嘴巴,并将每个视频帧中的嘴巴替换为转换的文字对应的嘴巴,从而使得其他聊天对象看到的视频中的嘴巴的变动与转换的文字一致。The processing process of the video in the audio and video data packets sent by the local device is as follows: identify the mouth in each video frame, and replace the mouth in each video frame with the mouth corresponding to the converted text, so that other chat objects can see it. The movement of the mouth in the received video is consistent with the converted text.
向各聊天对象发送的文字对应的嘴巴是指与转换的文字读取时的唇形一致的嘴巴。The mouth corresponding to the text sent to each chat partner refers to the mouth that matches the lip shape when the converted text is read.
可选地,根据转换成的文字生成与本地设备上的用户相似音色的语音,经云端服务器将生成的语音发送给各聊天对象进行播放。Optionally, a voice with a tone similar to that of the user on the local device is generated according to the converted text, and the generated voice is sent to each chat object via the cloud server for playback.
可选地,头像画面数据包为用户在本端设备上的群视频或群语音中预先设置的用户头像。Optionally, the avatar picture data package is a user avatar preset by the user in the group video or group voice on the local device.
本申请实施通过在向各聊天对象发送转换的文字的同时,还发送模拟画面数据包或者头像画面数据包,提升用户体验。In the implementation of the present application, the user experience is improved by sending the converted text to each chat object, and also sending the simulated screen data packet or the avatar screen data packet.
需要说明的是,本申请实施例提供的即时通信方法,执行主体可以为即 时通信装置,或者该即时通信装置中的用于执行加载即时通信方法的控制模块。本申请实施例中以即时通信装置执行加载即时通信方法为例,说明本申请实施例提供的即时通信方法。It should be noted that, in the instant messaging method provided by the embodiments of the present application, the execution subject may be an instant messaging device, or a control module in the instant messaging device for executing the loading instant messaging method. In the embodiment of the present application, the instant messaging method provided by the embodiment of the present application is described by taking the instant messaging device executing the loading instant messaging method as an example.
如图15所示,本申请实施例提供的即时通信装置包括接收模块1501和响应模块1502,其中:As shown in FIG. 15 , the instant messaging device provided by the embodiment of the present application includes a receiving module 1501 and a response module 1502, wherein:
接收模块1501用于在用户通过群组界面与多个聊天对象同时进行即时通信的情况下,接收对所述群组界面中的目标对象标识的第一输入;其中,所述目标对象标识用于指示所述多个聊天对象中的目标聊天对象;The receiving module 1501 is configured to receive the first input of the target object identifier in the group interface when the user conducts instant communication with multiple chat objects simultaneously through the group interface; wherein, the target object identifier is used for indicating a target chat object in the plurality of chat objects;
用户首先打开本端设备上的社交软件,加入群视频或群语音聊天。然后在群视频或群语音聊天的群组界面上对目标聊天对象进行操作,将该操作作为用户对目标聊天对象的第一输入。The user first opens the social software on the local device and joins the group video or group voice chat. Then, the target chat object is operated on the group interface of the group video or group voice chat, and the operation is taken as the user's first input to the target chat object.
响应模块1502,用于响应于所述第一输入,使用不同的模式与所述目标聊天对象所对应的对端设备和所述多个聊天对象中除所述目标聊天对象以外的其他聊天对象所对应的对端设备进行通信;其中,所述模式包括正常模式和屏蔽模式; Response module 1502, configured to respond to the first input, use different modes to correspond to the peer device corresponding to the target chat object and other chat objects other than the target chat object among the plurality of chat objects. Corresponding peer device communicates; wherein, the modes include normal mode and shielding mode;
所述正常模式包括发送所述用户的实际音视频数据包,以及接收并播放所述对端设备发送的实际音视频数据包中的至少一项;The normal mode includes sending the actual audio and video data packets of the user, and receiving and playing at least one of the actual audio and video data packets sent by the peer device;
所述屏蔽模式包括不发送所述用户的实际音视频数据包,以及不接收、接收但不播放所述对端设备发送的实际音视频数据包中的至少一项。The shielding mode includes not sending the actual audio and video data packets of the user, and at least one of not receiving, receiving but not playing the actual audio and video data packets sent by the peer device.
使用不同的模式与目标聊天对象和其他聊天对象所对应的对端设备进行通信包括:Using different modes to communicate with the target chat object and peer devices corresponding to other chat objects includes:
使用正常模式与目标聊天对象所对应的对端设备进行通信,使用屏蔽模式与其他聊天对象所对应的对端设备进行通信;或者,Use the normal mode to communicate with the peer device corresponding to the target chat object, and use the shield mode to communicate with the peer device corresponding to other chat objects; or,
使用屏蔽模式与目标聊天对象所对应的对端设备进行通信,使用正常模式与其他聊天对象所对应的对端设备进行通信。Use the shield mode to communicate with the peer device corresponding to the target chat object, and use the normal mode to communicate with the peer device corresponding to other chat objects.
本申请实施例中本端设备根据用户对群组界面中目标对象标识的输入,使用不同的模式与目标聊天和其他聊天对象所对应的对端设备进行通信,从 而实现对使用屏蔽模式进行通信的部分聊天对象进行定向屏蔽,通过本端设备与部分聊天对象之间的定向通信,提升了通信的灵活性。In the embodiment of the present application, the local device uses different modes to communicate with the target chat and the peer device corresponding to other chat objects according to the user's input of the target object identifier in the group interface, so as to realize the communication using the shield mode. Some chat objects are directional shielded, and the flexibility of communication is improved through directional communication between the local device and some chat objects.
可选地,所述正常模式包括正常发送模式和正常接收模式,所述屏蔽模式包括发送屏蔽模式和接收屏蔽模式;Optionally, the normal mode includes a normal sending mode and a normal receiving mode, and the masking mode includes a sending masking mode and a receiving masking mode;
所述正常发送模式为发送所述用户的实际音视频数据包,所述正常接收模式为接收并播放所述对端设备发送的实际音视频数据包,所述发送屏蔽模式为不发送所述用户的实际音视频数据包,所述接收屏蔽模式为不接收或者接收但不播放所述对端设备发送的实际音视频数据包;The normal sending mode is to send the actual audio and video data packets of the user, the normal receiving mode is to receive and play the actual audio and video data packets sent by the peer device, and the transmission shielding mode is not to send the user The actual audio and video data packets, the reception mask mode is not receiving or receiving but not playing the actual audio and video data packets sent by the peer device;
所述响应模块用于:将所述正常发送模式和所述发送屏蔽模式作为发送模式,将所述正常接收模式和所述接收屏蔽模式作为接收模式;使用不同的所述发送模式或所述接收模式与所述目标聊天对象所对应的对端设备和所述多个聊天对象中除所述目标聊天对象以外的其他聊天对象所对应的对端设备进行通信。The response module is configured to: use the normal transmission mode and the transmission masking mode as transmission modes, and use the normal reception mode and the reception masking mode as reception modes; use different transmission modes or reception modes The mode communicates with the peer device corresponding to the target chat object and the peer devices corresponding to other chat objects in the plurality of chat objects except the target chat object.
可选地,所述第一输入,包括:所述用户将所述群组界面上的目标控件移动至所述目标对象标识所在的画面区域上的操作;或者,所述用户点击所述目标对象标识所在的画面区域上显示的目标控件,以使所述目标控件为选中状态。Optionally, the first input includes: an operation by the user to move a target control on the group interface to a screen area where the target object identifier is located; or, the user clicks on the target object Identify the target control displayed on the screen area where it is located, so that the target control is in a selected state.
可选地,所述执行模块还用于:在使用所述发送屏蔽模式与所述对端设备进行通信的情况下,向所述对端设备发送所述用户的模拟画面数据包或者头像画面数据包。Optionally, the execution module is further configured to: in the case of using the transmission shield mode to communicate with the peer device, send the user's simulated screen data packet or avatar screen data to the peer device Bag.
可选地,所述响应模块还用于:在使用所述接收屏蔽模式与所述对端设备进行通信,且所述接收屏蔽模式为接收但不播放所述对端设备发送的实际音视频数据的情况下,将所述对端设备发送的实际音视频数据包中的音频数据解析为对应的文字,并在所述群组界面中的预设区域显示所述文字。Optionally, the response module is further configured to: use the reception masking mode to communicate with the peer device, and the reception mask mode is to receive but not play the actual audio and video data sent by the peer device. In the case of , the audio data in the actual audio and video data packets sent by the peer device is parsed into corresponding text, and the text is displayed in a preset area in the group interface.
可选地,所述响应模块还用于:接收用户对所述目标对象标识的第二输入;响应于所述第二输入,在使用所述屏蔽模式与所述对端设备进行通信的情况下,切换为使用所述正常模式与所述对端设备进行通信。Optionally, the response module is further configured to: receive a second input of the target object identifier from the user; in response to the second input, in the case of using the shielding mode to communicate with the opposite terminal device , and switch to use the normal mode to communicate with the peer device.
可选地,所述响应模块还用于:将待发送的实际音视频数据,转换为对应的文字;向所述各聊天对象所对应的对端设备发送携带有所述文字的数据包。Optionally, the response module is further configured to: convert the actual audio and video data to be sent into corresponding text; and send a data packet carrying the text to the peer device corresponding to each chat object.
可选地,所述响应模块向所述各聊天对象所对应的对端设备发送携带有所述文字的数据包之后,还用于:Optionally, after the response module sends the data packet carrying the text to the peer device corresponding to each chat object, it is also used to:
向所述各聊天对象所对应的对端设备发送所述用户的模拟画面数据包或者头像画面数据包。Send the simulated image data packet or the avatar image data packet of the user to the peer device corresponding to each chat object.
本申请实施例中的即时通信装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The instant messaging device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的即时通信可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The instant messaging in this embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的即时通信能够实现图1至图16的方法实施例中即时通信装置实现的各个过程,为避免重复,这里不再赘述。The instant messaging provided in the embodiments of the present application can implement each process implemented by the instant messaging device in the method embodiments of FIG. 1 to FIG. 16 , and to avoid repetition, details are not described here.
图16为本申请实施例提供的一种电子设备的硬件结构示意图,如图16所示,该电子设备1600包括但不限于:射频单元1601、网络模块1602、音频输出单元1603、输入单元1604、传感器1605、显示单元1606、用户输入单元1607、接口单元1608、存储器1609、以及处理器1610等中的至少部分部件。FIG. 16 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the application. As shown in FIG. 16 , the electronic device 1600 includes but is not limited to: a radio frequency unit 1601, a network module 1602, an audio output unit 1603, an input unit 1604, At least some of the components in the sensor 1605, the display unit 1606, the user input unit 1607, the interface unit 1608, the memory 1609, and the processor 1610 and the like.
本领域技术人员可以理解,电子设备1600还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1610逻辑相连,从 而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图16中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1600 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1610 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions. The structure of the electronic device shown in FIG. 16 does not constitute a limitation on the electronic device. The electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
应理解的是,本申请实施例中,输入单元1604可以包括图形处理器(Graphics Processing Unit,GPU)16041和麦克风16042,图形处理器16041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1606可包括显示面板16061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板16061。用户输入单元1607包括触控面板16071以及其他输入设备16072。触控面板16071,也称为触摸屏。触控面板16071可包括触摸检测装置和触摸控制器两个部分。其他输入设备16072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that, in this embodiment of the present application, the input unit 1604 may include a graphics processor (Graphics Processing Unit, GPU) 16041 and a microphone 16042. Such as camera) to obtain still pictures or video image data for processing. The display unit 1606 may include a display panel 16061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1607 includes a touch panel 16071 and other input devices 16072 . Touch panel 16071, also called touch screen. The touch panel 16071 may include two parts, a touch detection device and a touch controller. Other input devices 16072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
本申请实施例中,射频单元1601将来自网络侧设备的下行数据接收后,给处理器1610处理;另外,将上行的数据发送给网络侧设备。通常,射频单元1601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。In the embodiment of the present application, the radio frequency unit 1601 receives the downlink data from the network side device, and then processes it to the processor 1610; in addition, sends the uplink data to the network side device. Generally, the radio frequency unit 1601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
存储器1609可用于存储软件程序或指令以及各种数据。存储器1609可主要包括存储程序或指令区和存储数据区,其中,存储程序或指令区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1609可以包括高速随机存取存储器,还可以包括非易失性存储器,其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。 Memory 1609 may be used to store software programs or instructions as well as various data. The memory 1609 may mainly include a storage program or instruction area and a storage data area, wherein the stored program or instruction area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.) and the like. In addition, the memory 1609 may include a high-speed random access memory, and may also include a non-volatile memory, wherein the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM) , PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. For example at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
处理器1610可包括一个或多个处理单元;可选地,处理器1610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户 界面和应用程序或指令等,调制解调处理器主要处理无线通信,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1610中。The processor 1610 may include one or more processing units; optionally, the processor 1610 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, application programs or instructions, etc., Modem processors mainly deal with wireless communications, such as baseband processors. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1610.
其中,用户输入单元1607,用于在用户通过群组界面与多个聊天对象同时进行即时通信的情况下,接收对所述群组界面中的目标对象标识的第一输入;其中,所述目标对象标识用于指示所述多个聊天对象中的目标聊天对象;处理器1610,用于响应于所述第一输入,使用不同的模式与所述目标聊天对象所对应的对端设备和所述多个聊天对象中除所述目标聊天对象以外的其他聊天对象所对应的对端设备进行通信;The user input unit 1607 is configured to receive the first input of the target object identifier in the group interface when the user conducts instant communication with multiple chat objects through the group interface; wherein the target The object identifier is used to indicate a target chat object among the plurality of chat objects; the processor 1610 is configured to, in response to the first input, use different modes to correspond with the peer device and the target chat object corresponding to the target chat object. communicating with peer devices corresponding to other chat objects other than the target chat object among the plurality of chat objects;
其中,所述模式包括正常模式和屏蔽模式;Wherein, the modes include normal mode and shield mode;
所述正常模式包括发送所述用户的实际音视频数据包,以及接收并播放所述对端设备发送的实际音视频数据包中的至少一项;The normal mode includes sending the actual audio and video data packets of the user, and receiving and playing at least one of the actual audio and video data packets sent by the peer device;
所述屏蔽模式包括不发送所述用户的实际音视频数据包,以及不接收、接收但不播放所述对端设备发送的实际音视频数据包中的至少一项。The shielding mode includes not sending the actual audio and video data packets of the user, and at least one of not receiving, receiving but not playing the actual audio and video data packets sent by the peer device.
可选地,所述正常模式包括正常发送模式和正常接收模式,所述屏蔽模式包括发送屏蔽模式和接收屏蔽模式;Optionally, the normal mode includes a normal sending mode and a normal receiving mode, and the masking mode includes a sending masking mode and a receiving masking mode;
所述正常发送模式为发送所述用户的实际音视频数据包,所述正常接收模式为接收并播放所述对端设备发送的实际音视频数据包,所述发送屏蔽模式为不发送所述用户的实际音视频数据包,所述接收屏蔽模式为不接收或者接收但不播放所述对端设备发送的实际音视频数据包;The normal sending mode is to send the actual audio and video data packets of the user, the normal receiving mode is to receive and play the actual audio and video data packets sent by the peer device, and the transmission shielding mode is not to send the user The actual audio and video data packets, the reception mask mode is not receiving or receiving but not playing the actual audio and video data packets sent by the peer device;
所述处理器1610用于:将所述正常发送模式和所述发送屏蔽模式作为发送模式,将所述正常接收模式和所述接收屏蔽模式作为接收模式;The processor 1610 is configured to: use the normal transmission mode and the transmission masking mode as a transmission mode, and use the normal reception mode and the reception masking mode as a reception mode;
使用不同的所述发送模式或所述接收模式与所述目标聊天对象所对应的对端设备和所述多个聊天对象中除所述目标聊天对象以外的其他聊天对象所对应的对端设备进行通信。Use the different sending modes or the receiving modes to conduct a communication with the peer device corresponding to the target chat object and the peer devices corresponding to other chat objects in the plurality of chat objects except the target chat object. communication.
可选地,所述第一输入,包括:所述用户将所述群组界面上的目标控件移动至所述目标对象标识所在的画面区域上的操作;或者,所述用户点击所述目标对象标识所在的画面区域上显示的目标控件,以使所述目标控件为选 中状态。Optionally, the first input includes: an operation by the user to move a target control on the group interface to a screen area where the target object identifier is located; or, the user clicks on the target object Identify the target control displayed on the screen area where it is located, so that the target control is in a selected state.
可选地,所述处理器还用于:在使用所述发送屏蔽模式与所述对端设备进行通信的情况下,向所述对端设备发送所述用户的模拟画面数据包或者头像画面数据包。Optionally, the processor is further configured to: in the case of using the transmission mask mode to communicate with the opposite end device, send the user's simulated picture data packet or avatar picture data to the opposite end device Bag.
可选地,所述处理器还用于:在使用所述接收屏蔽模式与所述对端设备进行通信,且所述接收屏蔽模式为接收但不播放所述对端设备发送的实际音视频数据的情况下,将所述对端设备发送的实际音视频数据包中的音频数据解析为对应的文字,并在所述群组界面中的预设区域显示所述文字。Optionally, the processor is further configured to: communicate with the peer device in the reception mask mode, and the reception mask mode is to receive but not play the actual audio and video data sent by the peer device. In the case of , the audio data in the actual audio and video data packets sent by the peer device is parsed into corresponding text, and the text is displayed in a preset area in the group interface.
可选地,所述处理器还用于:接收用户对所述目标对象标识的第二输入;响应于所述第二输入,在使用所述屏蔽模式与所述对端设备进行通信的情况下,切换为使用所述正常模式与所述对端设备进行通信。Optionally, the processor is further configured to: receive a second input of the target object identifier from the user; in response to the second input, in the case of using the shielded mode to communicate with the opposite terminal device , and switch to use the normal mode to communicate with the peer device.
可选地,所述处理器还用于:将所述本端设备待发送的音视频数据,转换为对应的文字;向所述各聊天对象所对应的对端设备发送携带有所述文字的数据包。Optionally, the processor is further configured to: convert the audio and video data to be sent by the local device into corresponding text; send the audio and video data carrying the text to the peer device corresponding to each chat object. data pack.
可选地,所述处理器向所述各聊天对象所对应的对端设备发送携带有所述文字的数据包之后,还用于:向所述各聊天对象所对应的对端设备发送所述用户的模拟画面数据包或者头像画面数据包。Optionally, after the processor sends the data packet carrying the text to the peer device corresponding to each chat object, the processor is further configured to: send the message to the peer device corresponding to each chat object. User's simulation screen data packet or avatar screen data packet.
本申请实施例中的电子设备实施例是与上述方法实施例对应的产品实施例,上述方法实施例中的所有实现方式均适用于该电子设备实施例,亦可达到相同或相似的技术效果,故在此不再赘述。The electronic device embodiments in the embodiments of the present application are product embodiments corresponding to the foregoing method embodiments, and all implementations in the foregoing method embodiments are applicable to the electronic device embodiments, and can also achieve the same or similar technical effects. Therefore, it will not be repeated here.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述物体间距测量方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the foregoing object distance measurement method embodiment can be achieved, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述物体间距测量方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above embodiment of the method for measuring distance between objects and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional elements in the process, method, article or apparatus that includes the element. In addition, 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 the reverse order depending on the functions involved. performing, may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, eg, the described methods may be performed in a different order than described, and may also be added, omitted, or Combine various steps. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求 所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (19)

  1. 一种即时通信方法,其中,包括:An instant communication method, comprising:
    在用户通过群组界面与多个聊天对象同时进行即时通信的情况下,接收对所述群组界面中的目标对象标识的第一输入;其中,所述目标对象标识用于指示所述多个聊天对象中的目标聊天对象;In the case where the user communicates with multiple chat objects simultaneously through the group interface, a first input of the target object identifier in the group interface is received; wherein the target object identifier is used to indicate the plurality of chat objects. The target chat object in the chat object;
    响应于所述第一输入,使用不同的模式与所述目标聊天对象所对应的对端设备和所述多个聊天对象中除所述目标聊天对象以外的其他聊天对象所对应的对端设备进行通信;In response to the first input, use different modes to perform a communication with the peer device corresponding to the target chat object and the peer device corresponding to other chat objects in the plurality of chat objects except the target chat object. communication;
    其中,所述模式包括正常模式和屏蔽模式;Wherein, the modes include normal mode and shield mode;
    所述正常模式包括发送所述用户的实际音视频数据包,以及接收并播放所述对端设备发送的实际音视频数据包中的至少一项;The normal mode includes sending the actual audio and video data packets of the user, and receiving and playing at least one of the actual audio and video data packets sent by the peer device;
    所述屏蔽模式包括不发送所述用户的实际音视频数据包,以及不接收、接收但不播放所述对端设备发送的实际音视频数据包中的至少一项。The shielding mode includes not sending the actual audio and video data packets of the user, and at least one of not receiving, receiving but not playing the actual audio and video data packets sent by the peer device.
  2. 根据权利要求1所述的即时通信方法,其中,所述正常模式包括正常发送模式和正常接收模式,所述屏蔽模式包括发送屏蔽模式和接收屏蔽模式;The instant messaging method according to claim 1, wherein the normal mode includes a normal sending mode and a normal receiving mode, and the shielding mode includes a sending shielding mode and a receiving shielding mode;
    所述正常发送模式为发送所述用户的实际音视频数据包,所述正常接收模式为接收并播放所述对端设备发送的实际音视频数据包,所述发送屏蔽模式为不发送所述用户的实际音视频数据包,所述接收屏蔽模式为不接收或者接收但不播放所述对端设备发送的实际音视频数据包;The normal sending mode is to send the actual audio and video data packets of the user, the normal receiving mode is to receive and play the actual audio and video data packets sent by the peer device, and the transmission shielding mode is not to send the user The actual audio and video data packets, the reception mask mode is not receiving or receiving but not playing the actual audio and video data packets sent by the peer device;
    所述使用不同的模式与所述多个聊天对象中的目标聊天对象和其他聊天对象进行通信,包括:The use of different modes to communicate with the target chat object and other chat objects in the plurality of chat objects includes:
    将所述正常发送模式和所述发送屏蔽模式作为发送模式,将所述正常接收模式和所述接收屏蔽模式作为接收模式;Using the normal transmission mode and the transmission masking mode as a transmission mode, and using the normal reception mode and the reception masking mode as a reception mode;
    使用不同的所述发送模式或所述接收模式与所述目标聊天对象所对应的对端设备和所述多个聊天对象中除所述目标聊天对象以外的其他聊天对象所对应的对端设备进行通信。Use the different sending modes or the receiving modes to conduct communication with the peer device corresponding to the target chat object and the peer devices corresponding to other chat objects in the plurality of chat objects except the target chat object. communication.
  3. 根据权利要求1或2所述的即时通信方法,其中,所述第一输入,包括:The instant messaging method according to claim 1 or 2, wherein the first input comprises:
    所述用户将所述群组界面上的目标控件移动至所述目标对象标识所在的画面区域上的操作;或者,An operation by the user to move the target control on the group interface to the screen area where the target object identifier is located; or,
    所述用户点击所述目标对象标识所在的画面区域上显示的目标控件,以使所述目标控件为选中状态。The user clicks a target control displayed on the screen area where the target object identifier is located, so that the target control is in a selected state.
  4. 根据权利要求2所述的即时通信方法,其中,所述方法还包括:The instant messaging method according to claim 2, wherein the method further comprises:
    在使用所述发送屏蔽模式与所述对端设备进行通信的情况下,向所述对端设备发送所述用户的模拟画面数据包或者头像画面数据包。In the case of using the transmission mask mode to communicate with the opposite end device, send the user's simulated picture data packet or the avatar picture data packet to the opposite end device.
  5. 根据权利要求2所述的即时通信方法,其中,所述方法还包括:The instant messaging method according to claim 2, wherein the method further comprises:
    在使用所述接收屏蔽模式与所述对端设备进行通信,且所述接收屏蔽模式为接收但不播放所述对端设备发送的实际音视频数据的情况下,将所述对端设备发送的实际音视频数据包中的音频数据解析为对应的文字,并在所述群组界面中的预设区域显示所述文字。In the case that the reception masking mode is used to communicate with the peer device, and the reception masking mode is to receive but not play the actual audio and video data sent by the peer device, send the audio and video data sent by the peer device. The audio data in the actual audio and video data package is parsed into corresponding text, and the text is displayed in a preset area in the group interface.
  6. 根据权利要求1或2所述的即时通信方法,其中,所述方法还包括:The instant messaging method according to claim 1 or 2, wherein the method further comprises:
    接收用户对所述目标对象标识的第二输入;receiving a second input of the target object identifier from the user;
    响应于所述第二输入,在使用所述屏蔽模式与所述对端设备进行通信的情况下,切换为使用所述正常模式与所述对端设备进行通信。In response to the second input, in the case of using the masked mode to communicate with the opposite device, switching to use the normal mode to communicate with the opposite device.
  7. 根据权利要求2所述的即时通信方法,其中,所述方法还包括:The instant messaging method according to claim 2, wherein the method further comprises:
    将待发送的实际音视频数据,转换为对应的文字;Convert the actual audio and video data to be sent into corresponding text;
    向各所述聊天对象所对应的对端设备发送携带有所述文字的数据包。Send a data packet carrying the text to the peer device corresponding to each of the chat objects.
  8. 根据权利要求7所述的即时通信方法,其中,所述向各所述聊天对象所对应的对端设备发送携带有所述文字的数据包之后,还包括:The instant messaging method according to claim 7, wherein after sending the data packet carrying the text to the peer device corresponding to each of the chat objects, the method further comprises:
    向各所述聊天对象所对应的对端设备发送所述用户的模拟画面数据包或者头像画面数据包。Send the simulated image data packet or the avatar image data packet of the user to the peer device corresponding to each of the chat objects.
  9. 一种即时通信装置,其中,包括:An instant messaging device, comprising:
    接收模块,用于在用户通过群组界面与多个聊天对象同时进行即时通信 的情况下,接收对所述群组界面中的目标对象标识的第一输入;其中,所述目标对象标识用于指示所述多个聊天对象中的目标聊天对象;A receiving module, configured to receive the first input of the target object identifier in the group interface when the user conducts instant communication with multiple chat objects simultaneously through the group interface; wherein, the target object identifier is used for indicating a target chat object in the plurality of chat objects;
    响应模块,用于响应于所述第一输入,使用不同的模式与所述目标聊天对象所对应的对端设备和所述多个聊天对象中除所述目标聊天对象以外的其他聊天对象所对应的对端设备进行通信;A response module for responding to the first input, using different modes to correspond to the peer device corresponding to the target chat object and other chat objects other than the target chat object in the plurality of chat objects to communicate with the peer device;
    其中,所述模式包括正常模式和屏蔽模式;Wherein, the modes include normal mode and shield mode;
    所述正常模式包括发送所述用户的实际音视频数据包,以及接收并播放所述对端设备发送的实际音视频数据包中的至少一项;The normal mode includes sending the actual audio and video data packets of the user, and receiving and playing at least one of the actual audio and video data packets sent by the peer device;
    所述屏蔽模式包括不发送所述用户的实际音视频数据包,以及不接收、接收但不播放所述对端设备发送的实际音视频数据包中的至少一项。The shielding mode includes not sending the actual audio and video data packets of the user, and at least one of not receiving, receiving but not playing the actual audio and video data packets sent by the peer device.
  10. 根据权利要求9所述的即时通信装置,其中,所述正常模式包括正常发送模式和正常接收模式,所述屏蔽模式包括发送屏蔽模式和接收屏蔽模式;The instant messaging device according to claim 9, wherein the normal mode includes a normal sending mode and a normal receiving mode, and the shielding mode includes a sending shielding mode and a receiving shielding mode;
    所述正常发送模式为发送所述用户的实际音视频数据包,所述正常接收模式为接收并播放所述对端设备发送的实际音视频数据包,所述发送屏蔽模式为不发送所述用户的实际音视频数据包,所述接收屏蔽模式为不接收或者接收但不播放所述对端设备发送的实际音视频数据包;The normal sending mode is to send the actual audio and video data packets of the user, the normal receiving mode is to receive and play the actual audio and video data packets sent by the peer device, and the transmission shielding mode is not to send the user The actual audio and video data packets, the reception mask mode is not receiving or receiving but not playing the actual audio and video data packets sent by the peer device;
    所述响应模块用于:将所述正常发送模式和所述发送屏蔽模式作为发送模式,将所述正常接收模式和所述接收屏蔽模式作为接收模式;使用不同的所述发送模式或所述接收模式与所述目标聊天对象所对应的对端设备和所述多个聊天对象中除所述目标聊天对象以外的其他聊天对象所对应的对端设备进行通信。The response module is configured to: use the normal transmission mode and the transmission masking mode as transmission modes, and use the normal reception mode and the reception masking mode as reception modes; use different transmission modes or reception modes The mode communicates with the peer device corresponding to the target chat object and the peer devices corresponding to other chat objects in the plurality of chat objects except the target chat object.
  11. 根据权利要求9或10所述的即时通信装置,其中,所述第一输入,包括:所述用户将所述群组界面上的目标控件移动至所述目标对象标识所在的画面区域上的操作;或者,所述用户点击所述目标对象标识所在的画面区域上显示的目标控件,以使所述目标控件为选中状态。The instant messaging device according to claim 9 or 10, wherein the first input comprises: an operation by the user to move a target control on the group interface to a screen area where the target object identifier is located ; or, the user clicks on the target control displayed on the screen area where the target object identifier is located, so that the target control is in a selected state.
  12. 根据权利要求10所述的即时通信装置,其中,所述执行模块还用于:在使用所述发送屏蔽模式与所述对端设备进行通信的情况下,向所述对端设 备发送所述用户的模拟画面数据包或者头像画面数据包。The instant messaging apparatus according to claim 10, wherein the executing module is further configured to: in the case of using the transmission masking mode to communicate with the opposite end device, send the user to the opposite end device The simulation screen data packet or the avatar screen data packet.
  13. 根据权利要求10所述的即时通信装置,其中,所述响应模块还用于:在使用所述接收屏蔽模式与所述对端设备进行通信,且所述接收屏蔽模式为接收但不播放所述对端设备发送的实际音视频数据的情况下,将所述对端设备发送的实际音视频数据包中的音频数据解析为对应的文字,并在所述群组界面中的预设区域显示所述文字。The instant communication device according to claim 10, wherein the response module is further configured to: communicate with the peer device using the reception masking mode, and the reception masking mode is to receive but not play the In the case of actual audio and video data sent by the peer device, parse the audio data in the actual audio and video data packets sent by the peer device into corresponding text, and display all the audio and video data in the preset area in the group interface. description text.
  14. 根据权利要求9或10所述的即时通信装置,其中,所述响应模块还用于:接收用户对所述目标对象标识的第二输入;响应于所述第二输入,在使用所述屏蔽模式与所述对端设备进行通信的情况下,切换为使用所述正常模式与所述对端设备进行通信。The instant messaging device according to claim 9 or 10, wherein the response module is further configured to: receive a second input of the target object identifier from the user; in response to the second input, when using the shielding mode In the case of communicating with the opposite end device, switch to use the normal mode to communicate with the opposite end device.
  15. 根据权利要求10所述的即时通信装置,其中,所述响应模块还用于:将待发送的实际音视频数据,转换为对应的文字;向所述各聊天对象所对应的对端设备发送携带有所述文字的数据包。The instant messaging device according to claim 10, wherein the response module is further configured to: convert the actual audio and video data to be sent into corresponding text; A packet with said text.
  16. 根据权利要求15所述的即时通信装置,其中,所述响应模块向所述各聊天对象所对应的对端设备发送携带有所述文字的数据包之后,还用于:The instant messaging device according to claim 15, wherein after the response module sends the data packet carrying the text to the peer device corresponding to each chat object, the response module is further configured to:
    向所述各聊天对象所对应的对端设备发送所述用户的模拟画面数据包或者头像画面数据包。Send the simulated image data packet or the avatar image data packet of the user to the peer device corresponding to each chat object.
  17. 一种电子设备,其中,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-8任一所述的即时通信方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the processor to achieve as claimed in claim 1 -8 any of the steps of the instant messaging method.
  18. 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-8任一所述的即时通信方法的步骤。A readable storage medium, wherein a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the instant messaging method according to any one of claims 1-8 are implemented.
  19. 一种芯片,其中,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-8任一所述的方法。A chip, wherein the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used for running programs or instructions to implement the method according to any one of claims 1-8 .
PCT/CN2022/083247 2021-04-01 2022-03-28 Instant communication method and apparatus, electronic device, and storage medium WO2022206651A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110357580.XA CN113162844B (en) 2021-04-01 2021-04-01 Instant messaging method, instant messaging device, electronic equipment and storage medium
CN202110357580.X 2021-04-01

Publications (1)

Publication Number Publication Date
WO2022206651A1 true WO2022206651A1 (en) 2022-10-06

Family

ID=76886140

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/083247 WO2022206651A1 (en) 2021-04-01 2022-03-28 Instant communication method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN113162844B (en)
WO (1) WO2022206651A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113162844B (en) * 2021-04-01 2023-01-20 维沃移动通信有限公司 Instant messaging method, instant messaging device, electronic equipment and storage medium
CN113645128A (en) * 2021-08-17 2021-11-12 上海月猫科技有限公司 Sharing video technology based on retractable infrared camera

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002245A (en) * 2011-09-15 2013-03-27 腾讯科技(深圳)有限公司 Audio and video communication method and audio and video communication system
CN107124661A (en) * 2017-04-07 2017-09-01 广州市百果园网络科技有限公司 Communication means, apparatus and system in direct broadcast band
CN109921976A (en) * 2017-12-12 2019-06-21 腾讯科技(深圳)有限公司 A kind of communication control method based on group, device and storage medium
CN111147661A (en) * 2019-12-10 2020-05-12 维沃移动通信有限公司 Interface display method and electronic equipment
US10791224B1 (en) * 2019-08-20 2020-09-29 Motorola Solutions, Inc. Chat call within group call
CN112073204A (en) * 2020-08-27 2020-12-11 腾讯科技(深圳)有限公司 Group control method and device, electronic equipment and storage medium
CN113162844A (en) * 2021-04-01 2021-07-23 维沃移动通信有限公司 Instant messaging method, instant messaging device, electronic equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2766479C (en) * 2009-07-31 2018-01-23 Ibiquity Digital Corporation Digital radio broadcast receiver, broadcasting methods and methods for tagging content of interest
EP2850819B1 (en) * 2012-05-15 2017-10-11 Qualcomm Incorporated System and method for permitting recordation of voice transmissions among group members of a communication group of wireless communication devices
CN106506177A (en) * 2016-10-17 2017-03-15 捷开通讯(深圳)有限公司 A kind of method of group chatting, server and client
CN108809915B (en) * 2017-05-05 2021-10-12 腾讯科技(深圳)有限公司 Session management method and device
CN108600087B (en) * 2018-04-12 2021-08-20 北京五八信息技术有限公司 Method, device, electronic equipment and storage medium for processing chat records
CN110086639A (en) * 2019-05-13 2019-08-02 湖北潘多拉网络科技有限公司 Group chat method and device
CN112583700B (en) * 2020-12-10 2022-08-26 维沃移动通信有限公司 Group creation method, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002245A (en) * 2011-09-15 2013-03-27 腾讯科技(深圳)有限公司 Audio and video communication method and audio and video communication system
CN107124661A (en) * 2017-04-07 2017-09-01 广州市百果园网络科技有限公司 Communication means, apparatus and system in direct broadcast band
CN109921976A (en) * 2017-12-12 2019-06-21 腾讯科技(深圳)有限公司 A kind of communication control method based on group, device and storage medium
US10791224B1 (en) * 2019-08-20 2020-09-29 Motorola Solutions, Inc. Chat call within group call
CN111147661A (en) * 2019-12-10 2020-05-12 维沃移动通信有限公司 Interface display method and electronic equipment
CN112073204A (en) * 2020-08-27 2020-12-11 腾讯科技(深圳)有限公司 Group control method and device, electronic equipment and storage medium
CN113162844A (en) * 2021-04-01 2021-07-23 维沃移动通信有限公司 Instant messaging method, instant messaging device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113162844A (en) 2021-07-23
CN113162844B (en) 2023-01-20

Similar Documents

Publication Publication Date Title
US11044219B2 (en) Message forwarding method and electronic device
WO2022206651A1 (en) Instant communication method and apparatus, electronic device, and storage medium
WO2016169465A1 (en) Method, apparatus and system for displaying screen information
CN108307140B (en) Network call method, device and computer readable storage medium
CN106973330B (en) Screen live broadcasting method, device and system
WO2016161913A1 (en) Resource transfer system and method
CN109542378A (en) Screen sharing method, device, electronic equipment and readable storage medium storing program for executing
WO2021083087A1 (en) Screen capturing method and terminal device
CN111447074A (en) Reminding method, device, equipment and medium in group session
WO2018205786A1 (en) Method, apparatus and device for sharing screen-recording video
WO2021093844A1 (en) Sharing control method and electronic device
WO2019196691A1 (en) Keyboard interface display method and mobile terminal
WO2016116041A1 (en) Information recommendation management method, device and system
CN111984115A (en) Message sending method and device and electronic equipment
WO2016119165A1 (en) Chat history display method and apparatus
WO2023131133A1 (en) Message quoting method and device
WO2023040845A1 (en) Message transmission method and apparatus, and electronic device
WO2023072150A1 (en) Recalled message display method and apparatus, electronic device, and storage medium
WO2022237609A1 (en) Communication control method, electronic device and earphones
CN111090529B (en) Information sharing method and electronic equipment
WO2022089481A1 (en) Information processing method and apparatus, and electronic device
WO2022037261A1 (en) Method and device for audio play and device management
WO2023071932A1 (en) Message sending method and electronic device
WO2023131290A1 (en) Information interaction methods and apparatuses, electronic device and medium
WO2023011483A1 (en) Message sending method and apparatus, and electronic device

Legal Events

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

Ref document number: 22778833

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22778833

Country of ref document: EP

Kind code of ref document: A1