WO2017020711A1 - Communication processing method and electronic device - Google Patents

Communication processing method and electronic device Download PDF

Info

Publication number
WO2017020711A1
WO2017020711A1 PCT/CN2016/090811 CN2016090811W WO2017020711A1 WO 2017020711 A1 WO2017020711 A1 WO 2017020711A1 CN 2016090811 W CN2016090811 W CN 2016090811W WO 2017020711 A1 WO2017020711 A1 WO 2017020711A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
video frame
communication state
voice data
video
Prior art date
Application number
PCT/CN2016/090811
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 腾讯科技(深圳)有限公司
Priority to KR1020177034253A priority Critical patent/KR102110644B1/en
Priority to JP2017556135A priority patent/JP2018515979A/en
Publication of WO2017020711A1 publication Critical patent/WO2017020711A1/en

Links

Images

Classifications

    • 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
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23608Remultiplexing multiplex streams, e.g. involving modifying time stamps or remapping the packet identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4341Demultiplexing of audio and video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4344Remultiplexing of multiplex streams, e.g. by modifying time stamps or remapping the packet identifiers
    • 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
    • H04N7/142Constructional details of the terminal equipment, e.g. arrangements of the camera and the display

Definitions

  • the present invention relates to communication management technologies in the field of information processing, and in particular, to a communication processing method and an electronic device.
  • VOIP voice over Internet Protocol
  • the parties to the call either carry simple voice data, or simply video call, and basically turn off the video call. Also closed the entire call at the same time.
  • This video communication method has the following two drawbacks: First, you cannot unilaterally share video. For example, if one of the two parties initiates a video invitation, the other party will automatically open its own camera to capture the video frame if the answering video is received. Inconvenient to answer, generally will directly reject the invitation of the initiator, end the call, but in this case, the initiator may only want to share their video to the recipient, instead of seeing the recipient's video at the same time. Second, there is no control over whether the video is active in the call. For example, you can't control when to turn on or turn off your own video at any time. When you open the video yourself, the other party can see your video. Otherwise, when you turn it off, The other party can't see your video.
  • an object of the embodiments of the present invention is to provide a communication processing method and an electronic device, which can solve at least the above problems in the prior art.
  • the embodiment of the invention provides a communication processing method, which is applied to a first electronic device, and the method includes:
  • Controlling in response to the first operation, switching from the first communication state to the second communication state, maintaining voice data interaction with the at least one second electronic device in the second communication state, and sharing with the at least one second electronic device Video frame
  • control switches from the second communication state to the first communication state.
  • An embodiment of the present invention further provides an electronic device, including:
  • a first processing unit configured to control the first electronic device to be in a first communication state, in the first communication state, the first electronic device performs voice data interaction with the at least one second electronic device; Controlling switching from the second communication state to the first communication state;
  • a second processing unit configured to switch from the first communication state to the second communication state in response to the first operation, to maintain voice data interaction with the at least one second electronic device in the second communication state, and At least one second electronic device shares a video frame.
  • the communication processing method and the electronic device provided by the embodiments of the present invention can only exchange voice data when the user is in the first communication state, and control the electronic device to switch to the second communication state when responding to the first operation, and transmit the voice data. Sharing the currently collected video frame, in response to the second operation, the electronic device switches back to the first communication state. In this way, the user can flexibly control the interaction timing of the video frame during the voice communication interaction process, reduce the processing resources of the server occupied by the video frame and the voice data during the communication, and ensure the smoothness of both parties.
  • FIG. 1 is a schematic flowchart of a communication processing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a connection scenario according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an interface for transmitting a video frame according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a video frame sending and parsing process according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a video frame interaction process according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of ending a video frame interaction process according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an operation interface of a dual shared video frame according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of a process for sharing video frames by multiple people according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of an operation interface of a multi-person shared video frame according to an embodiment of the present invention.
  • FIG. 10 is a first schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 11 is a second schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 12 is a third schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • An embodiment of the present invention provides a communication processing method, which is applied to a first electronic device. As shown in FIG. 1, the method includes:
  • Step 11 Control the first electronic device to be in a first communication state, in the first communication state, the first electronic device performs voice data interaction with at least one second electronic device;
  • Step 12 In response to the first operation, controlling to switch from the first communication state to the second communication state, maintaining voice data interaction with the at least one second electronic device in the second communication state, and with at least one second The electronic device shares the video frame;
  • Step 13 In response to the second operation, controlling switching from the second communication state to the first communication state.
  • the first electronic device may be a device such as a smart phone, a tablet computer, a notebook computer or the like.
  • the second electronic device may be a device such as a smart phone, a tablet computer, or a notebook computer.
  • the first electronic device may be associated with at least one The two electronic devices establish a communication connection.
  • the first electronic device 21 establishes a communication connection with the second electronic device 221 and the second electronic device 222.
  • the manner in which the first electronic device establishes a communication connection with the second electronic device may establish a connection through the mobile cellular network, or may establish a connection through the IP network.
  • the first electronic device may further enable the voice collection unit to perform voice collection, and use the collected voice to perform voice data to obtain voice data.
  • the voice collection unit may be a microphone.
  • step 12 in response to the first operation, the control is switched from the first communication state to the second communication state, and the voice data interaction with the at least one second electronic device is maintained in the second communication state, and The at least one second electronic device shares the video frame, including:
  • Controlling in response to the first operation, switching from the first communication state to the second communication state, maintaining voice data interaction with the at least one second electronic device in the second communication state;
  • the at least one video frame may be obtained by combining at least one video information according to an acquisition time to obtain at least one video frame.
  • the acquiring at least one video frame may be to turn on the camera and periodically collect by the camera.
  • the period may be set according to the performance of the camera.
  • the image information may be set to be collected as a video frame every 2 ms.
  • the first operation or the second operation is detected before responding to the first operation or the second operation, specifically:
  • the method further includes: determining that the first operation is detected if a touch operation for the first touch operation area and the operation duration is greater than the first threshold is detected;
  • the method further includes determining to detect the second operation if it is detected that the touch operation for the first touch operation area is revoked.
  • the first touch operation area may be a contact for detecting a touch operation set according to an actual situation, or detecting a preset area of the touch operation;
  • the contact may include at least: an abscissa of the contact and an ordinate; the preset area includes at least a horizontal and vertical coordinate of a lower left corner of the area and a horizontal and vertical coordinate of the upper right corner.
  • the presentation form of the first touch operation area may be a virtual button 31 displayed in the first electronic device as shown in FIG. 3.
  • the operation duration may be a duration when the user clicks on the first touch operation area, that is, when the user clicks on the first touch operation area, the control turns on the camera, collects by the camera, and sends out to the at least one second electronic device. At least one video frame until it is detected that the user cancels the operation of clicking the first touch operation area.
  • An embodiment of the present invention provides a communication processing method, which is applied to a first electronic device. As shown in FIG. 1, the method includes:
  • Step 11 Control the first electronic device to be in a first communication state, in the first communication state, the first electronic device performs voice data interaction with at least one second electronic device;
  • Step 12 In response to the first operation, controlling to switch from the first communication state to the second communication state, Maintaining voice data interaction with the at least one second electronic device in the second communication state, and sharing a video frame with the at least one second electronic device;
  • Step 13 In response to the second operation, controlling switching from the second communication state to the first communication state.
  • the first electronic device may be a device such as a smart phone, a tablet computer, a notebook computer or the like.
  • the second electronic device may be a device such as a smart phone, a tablet computer, or a notebook computer.
  • the first electronic device can establish a communication connection with the at least one second electronic device.
  • the first electronic device 21 and the second electronic device 221 and the second electronic device 222 establishes a communication connection.
  • the manner in which the first electronic device establishes a communication connection with the second electronic device may establish a connection through the mobile cellular network, or may establish a connection through the IP network.
  • the first electronic device may further enable the voice collection unit to perform voice collection, and use the collected voice to perform voice data to obtain voice data.
  • the voice collection unit may be a microphone.
  • the first embodiment is different from the first embodiment in that, in the above step 12, the control is switched from the first communication state to the second communication state in response to the first operation, and is maintained in the second communication state with the at least one
  • the two electronic devices perform voice data interaction, and share video frames with the at least one second electronic device, including:
  • the parsing video frame may be that the first electronic device parses the video frame by using a video parsing function to obtain an image corresponding to one or more video frames.
  • An embodiment of the present invention provides a communication processing method, which is applied to a first electronic device. As shown in FIG. 1, the method includes:
  • Step 11 Control the first electronic device to be in a first communication state, in the first communication state, the first electronic device performs voice data interaction with at least one second electronic device;
  • Step 12 In response to the first operation, controlling to switch from the first communication state to the second communication state, maintaining voice data interaction with the at least one second electronic device in the second communication state, and with at least one second The electronic device shares the video frame;
  • Step 13 In response to the second operation, controlling switching from the second communication state to the first communication state.
  • the first electronic device may be a device such as a smart phone, a tablet computer, a notebook computer or the like.
  • the second electronic device may be a device such as a smart phone, a tablet computer, or a notebook computer.
  • the first electronic device can establish a communication connection with the at least one second electronic device.
  • the first electronic device 21 and the second electronic device 221 and the second electronic device 222 establishes a communication connection.
  • the manner in which the first electronic device establishes a communication connection with the second electronic device may establish a connection through the mobile cellular network, or may establish a connection through the IP network.
  • the first electronic device may further enable the voice collection unit to perform voice collection, and use the collected voice to perform voice data to obtain voice data.
  • the voice collection unit may be a microphone.
  • the present embodiment provides a scenario in which the first electronic device can not only collect and send video frames, but also receive and display video frames. Specifically,
  • step 12 in response to the first operation, the control is switched from the first communication state to the second communication state, and the voice data interaction with the at least one second electronic device is maintained in the second communication state, and The at least one second electronic device shares the video frame, including:
  • Controlling in response to the first operation, switching from the first communication state to the second communication state, maintaining voice data interaction with the at least one second electronic device in the second communication state; and collecting at least one video frame, transmitting The at least one video frame to the at least one second electronic device;
  • At least one video frame sent by the at least one second electronic device can be received; and at least one video frame sent by the second electronic device is parsed.
  • the video frame is also rendered and displayed after parsing the video frame sent by the second electronic device.
  • sending the video frame in this embodiment may include:
  • the signaling server may be a VOIP signaling server or a mobile cellular network signaling server;
  • the camera acquiring at least one image information, and encoding the image information to obtain a video frame;
  • the data server can be a VOIP data service Server, or may be a data server in a mobile cellular network;
  • a corresponding timestamp is added to the video frame and the voice data to ensure synchronization of the sent video frame and the voice data at the receiving end, which may be: when the voice data is collected. Add a timestamp to the voice data; add a timestamp to the voice data when the voice data is collected; and add a corresponding timestamp to the collected video frame when the video frame is collected.
  • the timestamp may be a time at which voice data or a video frame is collected.
  • the parsing the at least one video frame sent by the at least one second electronic device includes:
  • the output voice data and the video frame are controlled according to the timestamp obtained by the parsing.
  • the manner of controlling the output of the voice data and the video frame according to the timestamp obtained by the parsing may be simultaneous output of the voice data and the video frame having the same time stamp.
  • the first operation or the second operation is detected before responding to the first operation or the second operation, specifically:
  • the method further includes: determining that the first operation is detected if a touch operation for the first touch operation area and the operation duration is greater than the first threshold is detected;
  • the method further includes determining to detect the second operation if it is detected that the touch operation for the first touch operation area is revoked.
  • the first touch operation area may be a contact for detecting a touch operation set according to an actual situation, or a preset area for detecting a touch operation; wherein the contact may include at least: an abscissa of the contact and a vertical Coordinates; the preset area includes at least the horizontal and vertical coordinates of the lower left corner of the area and the horizontal and vertical coordinates of the upper right corner.
  • the presentation form of the first touch operation area may be a virtual button 31 displayed in the first electronic device as shown in FIG. 3.
  • the first touch can be clicked
  • the function triggered by the operation area is set to the "one-eye" operation.
  • the operation duration may be a duration when the user clicks on the first touch operation area, that is, when the user clicks on the first touch operation area, the control turns on the camera, and at least one video frame is collected by the camera until the user is detected. Undo the operation of clicking the first touch operation area.
  • sharing the video frame with the at least one second electronic device in the embodiment includes:
  • switching to the second communication state may select to send the collected image to all the second electronic devices, or may be multiple A target device is selected in the electronic device to send an image to the selected target device.
  • the signaling server and the data server are VOIP signaling servers and the VOIP data server as an example, and the operation of transmitting video frames is described:
  • the VOIP signaling server mainly controls and synchronizes the state during the call, and the data server is mainly If the video or voice data is forwarded (transparently transmitted), the following describes the process of performing real-time video between the two devices M1 and M2, where the device M1 is the first electronic device and the device M2 is the second electronic device:
  • M1 starts the camera device and collects video frames
  • the video codec engine encodes the video frame collected by the M1;
  • the M1 video frame is encoded and then network packet is sent to the VOIP data server by UDP;
  • the VOIP data server transparently transmits the video frame to the device M2;
  • the device M2 receives and unpacks the video frame
  • the video codec engine decodes the video frame
  • the device M2 performs frame rendering and display on the decoded video frame.
  • voice data between two electronic devices and an interaction operation example of the video frames are respectively provided, and an example of interaction between the voice data and the video frames of the electronic device between the plurality of electronic devices is performed:
  • Example 1 A single-eye interaction between two people is a form of gameplay based on real-time video technology.
  • the form here is to provide a button (not limited to a similar form), press and hold the button to start sending real-time video to the other party, and release the button to end
  • the other party sends a live video.
  • the aim between the two is based on real-time video technology.
  • the form here is to provide a button when the user A presses
  • the “one-eye” operation is triggered, that is, the video frame that starts to send the real-time captured to the user B, that is, the second electronic device, is triggered.
  • Operation; correspondingly, releasing the button ends the "one-eye” operation and stops sending real-time video to the other party.
  • the VOIP signaling server notifies the user B that the user A starts the video sharing request
  • user B After receiving the real-time video frame from user A, user B will first check whether 3) notification has been received, and if it has been received, then render and display the video frame.
  • user B On the basis of case 1, user B also starts to initiate a video sharing request to the VOIP signaling server, and starts the camera to start collecting video frames;
  • the VOIP signaling server notifies the user A that the user B has started to take a glance
  • User B sends the collected real-time video frame to the VOIP data server, and then the VOIP data server transparently transmits the video frame to the user A;
  • user A After receiving the real-time video frame from user B, user A will first check whether 9) notification has been received, and if it has been received, then render and display the video frame. This completes the process of simultaneous real-time video sharing between users A and B.
  • User A releases the button, sends an end video sharing request to the VOIP signaling server, and stops the collection of the camera video frame, and at the same time, the VOIP data server no longer receives the video frame of the user A;
  • the VOIP signaling server notifies the user B that the user A has ended the video sharing;
  • User B no longer receives the video frame from User A, and switches to one-way video sharing on the basis of receiving the 15) notification.
  • the VOIP signaling server notifies the user A, and the user B ends the video sharing;
  • FIG. 6-7 A schematic diagram of interaction between voice data and video frames is performed on the premise that voice data is exchanged between two electronic devices provided in this embodiment, as shown in FIG. 6-7:
  • the interface 61 of FIG. 6 is a scenario in which the user A performs voice data interaction with the second electronic device of the user B by using the first electronic device in the first communication state, and long presses the “shooting” button 611 as the “initiating video sharing request”.
  • the scenario in which the video frame is sent by the unilateral party is opened, and the operation interface of the first electronic device of the user A enters the interface 62, and the currently acquired video frame is displayed in the interface 62, and the duration of the current call is also displayed and “is being shared in real time.
  • the receiving user B When the receiving user B receives the frame video of the user A, there is a simple sound effect reminder, and the user B's display interface 63 displays the video frame picture sent by the opener in full screen, and simultaneously displays the duration of the current call and the other party. Text prompts are being shared in real time.
  • the recipient user B can use the preset button 631 as the touch operation area in this interface 63, and open the "video sharing" function of the second electronic device by clicking the button 631 to enter the two-way video sharing.
  • Video sharing between the two parties After entering the two-way video sharing, the interfaces of the two parties are respectively shown in interface 64 and interface 65 in FIG.
  • the camera framing content of the camera is displayed by the circular area 641 and the circular area 651, while the circular area moves following the movement of the finger on the screen, and the full-screen area displays the video frame picture of the other party.
  • the loosened one will return to interface 63, and the unreleased one will return to interface 62; if both parties are released, they will return to interface 61.
  • This embodiment also provides an eye-catching interaction between multiple people (3 persons and above) as shown in FIG. 8 is also a game form based on real-time video technology, but unlike the form between two people, there can only be one at a time. If the multiple users start the video sharing request at the same time, the VOIP signaling server will arbitrate to return the video sharing request to the user who first arrives at the VOIP signaling server for the video sharing request, and the other person returns to initiate the video sharing request. Failure; if someone else wants to successfully start video sharing, they must wait for the user who is currently sharing the video to finish successfully. (This can be understood as the process of “grabbing” video sharing by multiple people). Take the video sharing interaction process between multiple users A1 to An as an example, including two interaction scenarios:
  • the multi-person VOIP signaling server will arbitrate according to the order in which the video sharing request is received, and return the video sharing success to the user A1 who first received the request, and return the video sharing request to other users;
  • the multi-person VOIP signaling server notifies other users that the user A1 has started to take a glance;
  • User A1 sends the collected real-time video frame to the multi-person VOIP data server, and then the VOIP data server transparently transmits the video frame to other users;
  • the VOIP signaling server notifies other users that the user A1 has finished taking a glance
  • the multi-person video sharing portal the multi-person call interface 91, in the interface 91, long press the "photograph” 911 button as the operation of triggering the first touch operation area, that is, the video sharing function is turned on, and a simple sound effect can also be prompted. .
  • the interface 92 is entered. After entering the interface 92, there is a "grab” process. If the "grab" is successful, the interface 92 is retained, and if the interface is returned to the interface 91 or the display interface 93 is received by other people. Take a look at the data.
  • the open side displays its own camera framing content in full screen, displays the duration of the current call and the text prompt "is sharing in real time", wherein the button moves following the movement of the finger on the screen. If the opener releases the button, it returns to interface 91.
  • the interface 93 indicates that when the video frame sharing is performed by multiple parties, the device that does not perform image sharing has a simple sound effect reminder when the video frame sent by the initiator sends a video frame, and then displays the video frame image sent by the opener in full screen, and simultaneously displays the current video frame.
  • An embodiment of the present invention provides an electronic device, as shown in FIG. 10, including:
  • the first processing unit 1001 is configured to control the first electronic device to be in a first communication state, perform voice data interaction with the at least one second electronic device in the first communication state, and control the slave device from the second operation Switching the second communication state to the first communication state;
  • the second processing unit 1002 is configured to, in response to the first operation, control to switch from the first communication state to the second communication state, and maintain voice data interaction with the at least one second electronic device in the second communication state, and Sharing a video frame with at least one second electronic device.
  • the first electronic device may be a device such as a smart phone, a tablet computer, a notebook computer or the like.
  • the second electronic device may be a device such as a smart phone, a tablet computer, or a notebook computer.
  • the electronic device can establish a communication connection with at least one second electronic device.
  • the first electronic device 21 establishes a communication connection with the second electronic device 221 and the second electronic device 222.
  • the manner in which the electronic device establishes a communication connection with the second electronic device may establish a connection through the mobile cellular network, or may establish a connection through the IP network.
  • the first electronic device may further enable the voice collection unit to perform voice collection, and use the collected voice to perform voice data to obtain voice data.
  • the voice collection unit may be a microphone.
  • the electronic device further includes: an image acquisition unit 1003, configured to collect at least one image information;
  • the second processing unit 1002 is specifically configured to control the first operation in response to the first operation. Switching to a second communication state, maintaining a voice data interaction with the at least one second electronic device in the second communication state; generating a first video frame by using the collected at least one image information, and transmitting The first video frame to the at least one second electronic device.
  • the acquiring at least one image information may be to turn on the camera, and the image information is periodically collected by the camera to obtain at least one image information.
  • the period may be set according to the performance of the camera.
  • the image information may be set to be collected every 10 ms.
  • the acquiring at least one image information may be to open a camera for image capturing, and only one image is acquired, and the image is taken as a video frame.
  • the electronic device further includes: a touch detection unit 1004, configured to determine that the first operation is detected if a touch operation for the first touch operation area and the operation duration is greater than the first threshold value is detected; It is detected that the touch operation for the first touch operation area is revoked, and it is determined that the second operation is detected.
  • a touch detection unit 1004 configured to determine that the first operation is detected if a touch operation for the first touch operation area and the operation duration is greater than the first threshold value is detected; It is detected that the touch operation for the first touch operation area is revoked, and it is determined that the second operation is detected.
  • the first touch operation area may be a contact for detecting a touch operation set according to an actual situation, or a preset area for detecting a touch operation; wherein the contact may include at least: an abscissa of the contact and a vertical Coordinates; the preset area includes at least the horizontal and vertical coordinates of the lower left corner of the area and the horizontal and vertical coordinates of the upper right corner.
  • the presentation form of the first touch operation area may be a virtual button 31 displayed in the first electronic device as shown in FIG. 3.
  • the operation duration may be a duration when the user clicks on the first touch operation area, that is, when the user clicks on the first touch operation area, the control turns on the camera, and at least one image information is collected by the camera, and the at least One image information is used as a video frame until it is detected that the user cancels the operation of clicking the first touch operation area.
  • the VOIP signaling server mainly controls and synchronizes the state during the call.
  • the signaling server controls and synchronizes the call process by using TCP.
  • the data server mainly forwards (transparently transmits) video or voice data, and forwards data according to the UDP protocol.
  • the first electronic device starts the camera device to collect image information; the video encoding and decoding engine encodes the image information; and the encoded video frame is network-encapsulated and sent to the data server through UDP; the data server may be VOIP data server;
  • the VOIP data server is transparently transmitted to the second electronic device
  • the second electronic device receives and unpacks the video frame; the video codec engine decodes the video frame; and performs frame rendering and display on the decoded video frame.
  • An embodiment of the present invention provides an electronic device, as shown in FIG.
  • the first processing unit 1101 is configured to control the first electronic device to be in a first communication state, perform voice data interaction with the at least one second electronic device in the first communication state, and control the slave device from the second operation Switching the second communication state to the first communication state;
  • a second processing unit 1102 configured to switch from the first communication state to the second communication state in response to the first operation, to maintain voice data interaction with the at least one second electronic device in the second communication state, and Sharing a video frame with at least one second electronic device.
  • the first electronic device may be a device such as a smart phone, a tablet computer, a notebook computer or the like.
  • the second electronic device may be a device such as a smart phone, a tablet computer, or a notebook computer.
  • the manner in which the first electronic device establishes a communication connection with the second electronic device may establish a connection through the mobile cellular network, or may establish a connection through the IP network.
  • the first electronic device may further enable the voice collection unit to perform voice collection, and use the collected voice to perform voice data to obtain voice data.
  • the voice collection unit may be a microphone.
  • the embodiment is different from the first embodiment in that the electronic device further includes: a parsing unit 1103, configured to parse the second video frame to obtain at least one image information, and respectively display the at least one image information;
  • the second processing unit 1102 is further configured to receive a second video frame sent by the at least one second electronic device.
  • the parsing the second video frame may be that the first electronic device parses the video frame by the image parsing function to obtain one or more image information.
  • An embodiment of the present invention provides an electronic device, as shown in FIG. 12, including:
  • the first processing unit 1201 is configured to control the first electronic device to be in a first communication state, perform voice data interaction with the at least one second electronic device in the first communication state, and control the slave device from the second operation Switching the second communication state to the first communication state;
  • a second processing unit 1202 configured to switch from the first communication state to the second communication state in response to the first operation, to maintain voice data interaction with the at least one second electronic device in the second communication state, and Sharing a video frame with at least one second electronic device.
  • the first electronic device may be a device such as a smart phone, a tablet computer, a notebook computer or the like.
  • the second electronic device may be a device such as a smart phone, a tablet computer, or a notebook computer.
  • the manner of establishing a communication connection with the second electronic device in this embodiment may establish a connection through the mobile cellular network, or may establish a connection through the IP network.
  • the first electronic device may further enable the voice collection unit to perform voice collection, and use the collected voice to perform voice data to obtain voice data.
  • the voice collection unit may be a microphone.
  • the present embodiment provides a scenario in which the first electronic device can not only collect and transmit a video frame, but also receive and display a video frame.
  • the electronic device further includes: an image collecting unit 1203, configured to: Collecting at least one image information; correspondingly, the second processing unit 1202 is configured to, in response to the first operation, control to switch from the first communication state to the second communication state, and maintain the same in the second communication state
  • the at least one second electronic device performs voice data interaction; generates the first video frame by using the collected at least one image information, and sends the first video frame to the at least one second electronic device.
  • the electronic device further includes: a parsing unit 1205, configured to parse the second video frame to obtain at least one image information, and respectively display the at least one image information;
  • the second processing unit 1202 is further configured to receive the at least one second electronic device Second video frame.
  • the sending the video frame in this embodiment may include: the second processing unit 1202 sends a video frame sharing request to the signaling server; wherein the signaling server may be a VOIP signaling server, or may be a mobile a cellular network signaling server; sending the video frame sharing request to the at least one second electronic device by using the signaling server; turning on the camera, acquiring at least one image information, encoding the image information to obtain a video frame; and transmitting the video a frame to a data server; wherein the data server may be a VOIP data server, or may be a data server in a mobile cellular network;
  • the acquiring at least one image information may be to turn on the camera, and the image information is periodically collected by the camera to obtain at least one image information.
  • the period may be set according to the performance of the camera.
  • the image information may be set to be collected every 10 ms.
  • the acquiring at least one image information may be to open a camera for image capturing, and only one image is acquired, and the image is taken as a video frame.
  • the electronic device further includes: a touch detection unit 1204, configured to determine that the first operation is detected if a touch operation for the first touch operation area and the operation duration is greater than the first threshold is detected; For the touch operation of the first touch operation area, it is determined that the second operation is detected.
  • a touch detection unit 1204 configured to determine that the first operation is detected if a touch operation for the first touch operation area and the operation duration is greater than the first threshold is detected; For the touch operation of the first touch operation area, it is determined that the second operation is detected.
  • the first touch operation area may be a contact for detecting a touch operation set according to an actual situation, or a preset area for detecting a touch operation; wherein the contact may include at least: an abscissa of the contact and a vertical Coordinates; the preset area includes at least the horizontal and vertical coordinates of the lower left corner of the area and the horizontal and vertical coordinates of the upper right corner.
  • the presentation form of the first touch operation area may be a virtual button 31 displayed in the first electronic device as shown in FIG. 3.
  • the operation duration may be a duration when the user clicks on the first touch operation area, that is, when the user clicks on the first touch operation area, the control turns on the camera, and at least one image information is collected by the camera, and the at least One image information is used as a video frame until it is detected that the user cancels the operation of clicking the first touch operation area.
  • the second processing unit 1202 is specifically configured to send a video frame to all second electronic devices in the at least one second electronic device;
  • the second processing unit 1202 is specifically configured to select a target second electronic device from the at least one second electronic device, and send the video frame to the target second electronic device.
  • switching to the second communication state may select to send the collected image to all the second electronic devices, or may be multiple A target device is selected in the electronic device to send an image to the selected target device.
  • the electronic device further includes: a voice collecting unit 1206, configured to collect voice data, and add a time stamp in the voice data;
  • the image collection unit 1203 is specifically configured to add a corresponding timestamp to the collected video frame when the video frame is collected.
  • the first processing unit 1201 is configured to parse the voice and the timestamp in the voice data, and control the output voice data according to the parsed timestamp.
  • the parsing unit 1205 is specifically configured to parse the video frame and its corresponding timestamp. The output video frame is controlled according to the timestamp obtained by the parsing.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the above integration
  • the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing storage device includes the following steps: the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or an optical disk.
  • optical disk A medium that can store program code.
  • an electronic device includes at least: a processor, a memory, a microphone, and a camera;
  • the processor is configured to control the electronic device to be in a first communication state, where the first electronic device performs voice data interaction with at least one second electronic device in the first communication state; Controlling switching from the first communication state to the second communication state, maintaining voice data interaction with the at least one second electronic device in the second communication state, and sharing the video frame with the at least one second electronic device; In a second operation, the control is switched from the second communication state to the first communication state.

Abstract

Disclosed are a communication processing method and an electronic device. The method comprises: controlling the first electronic device to be in a first communication status in which the first electronic device performs voice data interaction with at least one second electronic device; in response to a first operation, controlling the switching from the first communication status to a second communication status, and in the second communication status, maintaining voice data interaction with the at least one second electronic device, and sharing a video frame with at least one second electronic device; and in response to a second operation, controlling the switching from the second communication status to the first communication status.

Description

一种通信处理方法及电子设备Communication processing method and electronic device 技术领域Technical field
本发明涉及信息处理领域的通信管理技术,尤其涉及一种通信处理方法及电子设备。The present invention relates to communication management technologies in the field of information processing, and in particular, to a communication processing method and an electronic device.
背景技术Background technique
随着技术的发展,现有的基于网络电话(VOIP,Voice over Internet Protocol)的语音产品,通话的各方要么进行单纯的语音数据、要么进行单纯的视频通话,并且基本都是关闭视频通话时,也同时关闭了整个这次通话。这种视频沟通方式存在以下两个弊端:第一、不能单方主动分享视频,比如双方中有一方发起视频邀请,另一方只要接听视频,也会自动开启自己的摄像头采集视频帧,如果接听方当时不方便接听,一般就会直接拒绝发起方的邀请,结束这次通话,但这种情况下有可能发起方的意愿只是想分享一下自己的视频给接收方,而不用同时看到接收方的视频;第二、通话中没有控制是否视频的主动权,比如不能随时控制什么时候开启或关闭自己的视频,即自己开启视频的时候,通话其他方可以看到自己的视频,反之自己关闭的时候,通话其他方看不到自己的视频。With the development of technology, the existing voice over Internet Protocol (VOIP)-based voice products, the parties to the call either carry simple voice data, or simply video call, and basically turn off the video call. Also closed the entire call at the same time. This video communication method has the following two drawbacks: First, you cannot unilaterally share video. For example, if one of the two parties initiates a video invitation, the other party will automatically open its own camera to capture the video frame if the answering video is received. Inconvenient to answer, generally will directly reject the invitation of the initiator, end the call, but in this case, the initiator may only want to share their video to the recipient, instead of seeing the recipient's video at the same time. Second, there is no control over whether the video is active in the call. For example, you can't control when to turn on or turn off your own video at any time. When you open the video yourself, the other party can see your video. Otherwise, when you turn it off, The other party can't see your video.
可见,现有技术无法使得实现通话各方主动控制分享视频帧的时机,无法降低服务器的处理资源的使用,并且无法保证通话双方的流畅度。It can be seen that the prior art cannot enable the parties to actively control the timing of sharing video frames, and cannot reduce the use of processing resources of the server, and cannot guarantee the smoothness of both parties.
发明内容Summary of the invention
有鉴于此,本发明实施例的目的在于提供一种通信处理方法及电子设备,能至少解决现有技术存在的上述问题。In view of this, an object of the embodiments of the present invention is to provide a communication processing method and an electronic device, which can solve at least the above problems in the prior art.
本发明实施例提供了一种通信处理方法,应用于第一电子设备,所述方法包括: The embodiment of the invention provides a communication processing method, which is applied to a first electronic device, and the method includes:
控制所述第一电子设备处于第一通信状态,在所述第一通信状态中所述第一电子设备与至少一个第二电子设备进行语音数据交互;Controlling that the first electronic device is in a first communication state, and in the first communication state, the first electronic device performs voice data interaction with at least one second electronic device;
响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互,并且与至少一个第二电子设备分享视频帧;Controlling, in response to the first operation, switching from the first communication state to the second communication state, maintaining voice data interaction with the at least one second electronic device in the second communication state, and sharing with the at least one second electronic device Video frame
响应第二操作,控制从所述第二通信状态切换至第一通信状态。In response to the second operation, control switches from the second communication state to the first communication state.
本发明实施例还提供了一种电子设备,包括:An embodiment of the present invention further provides an electronic device, including:
第一处理单元,配置为控制所述第一电子设备处于第一通信状态,在所述第一通信状态中所述第一电子设备与至少一个第二电子设备进行语音数据交互;响应第二操作,控制从所述第二通信状态切换至第一通信状态;a first processing unit, configured to control the first electronic device to be in a first communication state, in the first communication state, the first electronic device performs voice data interaction with the at least one second electronic device; Controlling switching from the second communication state to the first communication state;
第二处理单元,配置为响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互,并且与至少一个第二电子设备分享视频帧。a second processing unit configured to switch from the first communication state to the second communication state in response to the first operation, to maintain voice data interaction with the at least one second electronic device in the second communication state, and At least one second electronic device shares a video frame.
本发明实施例所提供的通信处理方法及电子设备,能够在用户处于第一通信状态时仅交互语音数据,当响应第一操作时,控制电子设备切换至第二通信状态,既传输语音数据又分享当前采集到的视频帧,响应第二操作时,电子设备重新切换回第一通信状态。如此,就能使得用户在进行语音通信交互过程中灵活的控制视频帧的交互时机,减少在通信时一直传输视频帧以及语音数据所占用的服务器的处理资源,保证了通话双方的流畅度。The communication processing method and the electronic device provided by the embodiments of the present invention can only exchange voice data when the user is in the first communication state, and control the electronic device to switch to the second communication state when responding to the first operation, and transmit the voice data. Sharing the currently collected video frame, in response to the second operation, the electronic device switches back to the first communication state. In this way, the user can flexibly control the interaction timing of the video frame during the voice communication interaction process, reduce the processing resources of the server occupied by the video frame and the voice data during the communication, and ensure the smoothness of both parties.
附图说明DRAWINGS
图1为本发明实施例通信处理方法流程示意图;1 is a schematic flowchart of a communication processing method according to an embodiment of the present invention;
图2为本发明实施例连接场景示意图;2 is a schematic diagram of a connection scenario according to an embodiment of the present invention;
图3为本发明实施例进行视频帧发送的界面示意图;3 is a schematic diagram of an interface for transmitting a video frame according to an embodiment of the present invention;
图4为本发明实施例视频帧发送以及解析流程示意图; 4 is a schematic diagram of a video frame sending and parsing process according to an embodiment of the present invention;
图5为本发明实施例视频帧交互流程示意图;FIG. 5 is a schematic diagram of a video frame interaction process according to an embodiment of the present invention; FIG.
图6为本发明实施例结束视频帧交互流程示意图;FIG. 6 is a schematic diagram of ending a video frame interaction process according to an embodiment of the present invention;
图7为本发明实施例双人共享视频帧操作界面示意图;7 is a schematic diagram of an operation interface of a dual shared video frame according to an embodiment of the present invention;
图8为本发明实施例多人共享视频帧流程示意图;FIG. 8 is a schematic flowchart of a process for sharing video frames by multiple people according to an embodiment of the present invention; FIG.
图9为本发明实施例多人共享视频帧操作界面示意图;9 is a schematic diagram of an operation interface of a multi-person shared video frame according to an embodiment of the present invention;
图10为本发明实施例电子设备组成结构示意图一;FIG. 10 is a first schematic structural diagram of an electronic device according to an embodiment of the present invention; FIG.
图11为本发明实施例电子设备组成结构示意图二;11 is a second schematic structural diagram of an electronic device according to an embodiment of the present invention;
图12为本发明实施例电子设备组成结构示意图三。FIG. 12 is a third schematic structural diagram of an electronic device according to an embodiment of the present invention.
具体实施方式detailed description
下面结合附图及具体实施例对本发明实施例再作进一步详细的说明。The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
实施例一、Embodiment 1
本发明实施例提供了一种通信处理方法,应用于第一电子设备,如图1所示,所述方法包括:An embodiment of the present invention provides a communication processing method, which is applied to a first electronic device. As shown in FIG. 1, the method includes:
步骤11:控制所述第一电子设备处于第一通信状态,在所述第一通信状态中所述第一电子设备与至少一个第二电子设备进行语音数据交互;Step 11: Control the first electronic device to be in a first communication state, in the first communication state, the first electronic device performs voice data interaction with at least one second electronic device;
步骤12:响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互,并且与至少一个第二电子设备分享视频帧;Step 12: In response to the first operation, controlling to switch from the first communication state to the second communication state, maintaining voice data interaction with the at least one second electronic device in the second communication state, and with at least one second The electronic device shares the video frame;
步骤13:响应第二操作,控制从所述第二通信状态切换至第一通信状态。Step 13: In response to the second operation, controlling switching from the second communication state to the first communication state.
这里,所述第一电子设备可以为智能手机、平板电脑、笔记本电脑等设备。Here, the first electronic device may be a device such as a smart phone, a tablet computer, a notebook computer or the like.
所述第二电子设备可以为智能手机、平板电脑、笔记本电脑等设备。The second electronic device may be a device such as a smart phone, a tablet computer, or a notebook computer.
优选地,在执行步骤11之前,所述第一电子设备可以与至少一个第 二电子设备建立通信连接,比如,图2所示,第一电子设备21与第二电子设备221和第二电子设备222建立通信连接。Preferably, before performing step 11, the first electronic device may be associated with at least one The two electronic devices establish a communication connection. For example, as shown in FIG. 2, the first electronic device 21 establishes a communication connection with the second electronic device 221 and the second electronic device 222.
可以理解的是,本实施例中第一电子设备与第二电子设备建立通信连接的方式可以通过移动蜂窝网建立连接,也可以通过IP网络建立连接。It can be understood that, in this embodiment, the manner in which the first electronic device establishes a communication connection with the second electronic device may establish a connection through the mobile cellular network, or may establish a connection through the IP network.
本实施例中所述第一电子设备与至少一个第二电子设备进行语音数据交互之前,所述第一电子设备还可以开启语音采集单元进行语音采集,利用采集得到的语音进行编码得到语音数据。其中,所述语音采集单元可以为麦克风。Before the first electronic device and the at least one second electronic device perform the voice data interaction, the first electronic device may further enable the voice collection unit to perform voice collection, and use the collected voice to perform voice data to obtain voice data. The voice collection unit may be a microphone.
上述步骤12中,所述响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互,并且与至少一个第二电子设备分享视频帧,包括:In the above step 12, in response to the first operation, the control is switched from the first communication state to the second communication state, and the voice data interaction with the at least one second electronic device is maintained in the second communication state, and The at least one second electronic device shares the video frame, including:
响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互;Controlling, in response to the first operation, switching from the first communication state to the second communication state, maintaining voice data interaction with the at least one second electronic device in the second communication state;
并且采集得到至少一个视频帧,发送所述至少一个视频帧至所述至少一个第二电子设备。And acquiring at least one video frame, and transmitting the at least one video frame to the at least one second electronic device.
其中,所述至少一个视频帧可以为利用至少一个图像信息根据采集时间进行组合得到至少一个视频帧。The at least one video frame may be obtained by combining at least one video information according to an acquisition time to obtain at least one video frame.
其中,所述采集得到至少一个视频帧可以为开启摄像头,通过摄像头周期性的采集。其中,所述周期可以为根据摄像头的性能进行设置,比如,可以设置为每2ms采集一次图像信息作为一个视频帧。Wherein, the acquiring at least one video frame may be to turn on the camera and periodically collect by the camera. The period may be set according to the performance of the camera. For example, the image information may be set to be collected as a video frame every 2 ms.
优选地,本实施例中在响应第一操作或响应第二操作之前还会检测得到第一操作或检测到第二操作,具体为:Preferably, in this embodiment, the first operation or the second operation is detected before responding to the first operation or the second operation, specifically:
所述响应第一操作之前,所述方法还包括:若检测到针对第一触摸操作区域、且操作时长大于第一门限值的触摸操作,则确定检测到第一操作; Before the responding to the first operation, the method further includes: determining that the first operation is detected if a touch operation for the first touch operation area and the operation duration is greater than the first threshold is detected;
所述响应第二操作之前,所述方法还包括:若检测到撤销针对所述第一触摸操作区域的触摸操作,则确定检测到第二操作。Before the responding to the second operation, the method further includes determining to detect the second operation if it is detected that the touch operation for the first touch operation area is revoked.
其中,所述第一触摸操作区域可以为根据实际情况设置的检测触摸操作的触点,或者,检测触摸操作的预设区域;The first touch operation area may be a contact for detecting a touch operation set according to an actual situation, or detecting a preset area of the touch operation;
所述触点可以至少包括:触点的横坐标以及纵坐标;所述预设区域至少包括该区域的左下角的横纵坐标以及右上角的横纵坐标。The contact may include at least: an abscissa of the contact and an ordinate; the preset area includes at least a horizontal and vertical coordinate of a lower left corner of the area and a horizontal and vertical coordinate of the upper right corner.
另外,所述第一触摸操作区域的呈现形式可以为图3所示在第一电子设备中显示的一个虚拟按钮31。In addition, the presentation form of the first touch operation area may be a virtual button 31 displayed in the first electronic device as shown in FIG. 3.
所述操作时长可以为用户点击所述第一触摸操作区域的时长,也就是说,当用户点击到所述第一触摸操作区域,控制开启摄像头,通过摄像头采集并向至少一个第二电子设备发出至少一个视频帧,直至检测到用户撤销点击第一触摸操作区域的操作为止。The operation duration may be a duration when the user clicks on the first touch operation area, that is, when the user clicks on the first touch operation area, the control turns on the camera, collects by the camera, and sends out to the at least one second electronic device. At least one video frame until it is detected that the user cancels the operation of clicking the first touch operation area.
可见,通过采用上述方案,能够在用户处于第一通信状态时仅交互语音数据,当响应第一操作时,控制电子设备切换至第二通信状态,既传输语音数据又分享当前采集到的图像文件视频帧,响应第二操作时,电子设备重新切换回第一通信状态。如此,就能使得用户在进行语音通信的交互时灵活的控制图像文件视频帧的交互时机,从而减少在通信时一直传输图像文件视频帧以及语音数据所占用的服务器的处理资源,保证了通话双方的流畅度。It can be seen that, by adopting the foregoing solution, only the voice data can be exchanged when the user is in the first communication state, and when the first operation is performed, the control electronic device switches to the second communication state, and the voice data is shared and the currently collected image file is shared. The video frame, in response to the second operation, the electronic device switches back to the first communication state. In this way, the user can flexibly control the interaction timing of the image file video frame during the interaction of the voice communication, thereby reducing the processing resources of the server occupied by the image file video frame and the voice data during communication, and ensuring the two sides of the call. The fluency.
实施例二、Embodiment 2
本发明实施例提供了一种通信处理方法,应用于第一电子设备,如图1所示,所述方法包括:An embodiment of the present invention provides a communication processing method, which is applied to a first electronic device. As shown in FIG. 1, the method includes:
步骤11:控制所述第一电子设备处于第一通信状态,在所述第一通信状态中所述第一电子设备与至少一个第二电子设备进行语音数据交互;Step 11: Control the first electronic device to be in a first communication state, in the first communication state, the first electronic device performs voice data interaction with at least one second electronic device;
步骤12:响应第一操作,控制从第一通信状态切换至第二通信状态, 在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互,并且与至少一个第二电子设备分享视频帧;Step 12: In response to the first operation, controlling to switch from the first communication state to the second communication state, Maintaining voice data interaction with the at least one second electronic device in the second communication state, and sharing a video frame with the at least one second electronic device;
步骤13:响应第二操作,控制从所述第二通信状态切换至第一通信状态。Step 13: In response to the second operation, controlling switching from the second communication state to the first communication state.
这里,所述第一电子设备可以为智能手机、平板电脑、笔记本电脑等设备。Here, the first electronic device may be a device such as a smart phone, a tablet computer, a notebook computer or the like.
所述第二电子设备可以为智能手机、平板电脑、笔记本电脑等设备。The second electronic device may be a device such as a smart phone, a tablet computer, or a notebook computer.
优选地,在执行步骤11之前,所述第一电子设备可以与至少一个第二电子设备建立通信连接,比如,图2所示,第一电子设备21与第二电子设备221和第二电子设备222建立通信连接。Preferably, before the step 11 is performed, the first electronic device can establish a communication connection with the at least one second electronic device. For example, as shown in FIG. 2, the first electronic device 21 and the second electronic device 221 and the second electronic device 222 establishes a communication connection.
可以理解的是,本实施例中第一电子设备与第二电子设备建立通信连接的方式可以通过移动蜂窝网建立连接,也可以通过IP网络建立连接。It can be understood that, in this embodiment, the manner in which the first electronic device establishes a communication connection with the second electronic device may establish a connection through the mobile cellular network, or may establish a connection through the IP network.
本实施例中所述第一电子设备与至少一个第二电子设备进行语音数据交互之前,所述第一电子设备还可以开启语音采集单元进行语音采集,利用采集得到的语音进行编码得到语音数据。其中,所述语音采集单元可以为麦克风。Before the first electronic device and the at least one second electronic device perform the voice data interaction, the first electronic device may further enable the voice collection unit to perform voice collection, and use the collected voice to perform voice data to obtain voice data. The voice collection unit may be a microphone.
本实施例与实施例一不同在于,上述步骤12中,所述响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互,并且与至少一个第二电子设备分享视频帧,包括:The first embodiment is different from the first embodiment in that, in the above step 12, the control is switched from the first communication state to the second communication state in response to the first operation, and is maintained in the second communication state with the at least one The two electronic devices perform voice data interaction, and share video frames with the at least one second electronic device, including:
接收到至少一个第二电子设备发来的至少一个视频帧;Receiving at least one video frame sent by the at least one second electronic device;
解析至少一个第二电子设备发来的所述至少一个视频帧。Parsing the at least one video frame sent by the at least one second electronic device.
其中,所述解析视频帧可以为第一电子设备通过视频解析功能将视频帧解析得到一个或多个视频帧对应的图像。 The parsing video frame may be that the first electronic device parses the video frame by using a video parsing function to obtain an image corresponding to one or more video frames.
可见,通过采用上述方案,能够在用户处于第一通信状态时仅交互语音数据,当响应第一操作时,控制电子设备切换至第二通信状态,既传输语音数据又分享当前采集到的视频帧,响应第二操作时,电子设备重新切换回第一通信状态。如此,就能使得用户在进行语音通信的交互时灵活的控制视频帧的交互时机,从而减少在通信时一直传输视频帧以及语音数据所占用的服务器的处理资源,保证了通话双方的流畅度。It can be seen that, by adopting the foregoing solution, only voice data can be exchanged when the user is in the first communication state, and when the first operation is responded, the control electronic device switches to the second communication state, and both the voice data and the currently collected video frame are shared. In response to the second operation, the electronic device switches back to the first communication state. In this way, the user can flexibly control the interaction timing of the video frame during the interaction of the voice communication, thereby reducing the processing resources of the server occupied by the video frame and the voice data during the communication, and ensuring the smoothness of both parties.
实施例三、Embodiment 3
本发明实施例提供了一种通信处理方法,应用于第一电子设备,如图1所示,所述方法包括:An embodiment of the present invention provides a communication processing method, which is applied to a first electronic device. As shown in FIG. 1, the method includes:
步骤11:控制所述第一电子设备处于第一通信状态,在所述第一通信状态中所述第一电子设备与至少一个第二电子设备进行语音数据交互;Step 11: Control the first electronic device to be in a first communication state, in the first communication state, the first electronic device performs voice data interaction with at least one second electronic device;
步骤12:响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互,并且与至少一个第二电子设备分享视频帧;Step 12: In response to the first operation, controlling to switch from the first communication state to the second communication state, maintaining voice data interaction with the at least one second electronic device in the second communication state, and with at least one second The electronic device shares the video frame;
步骤13:响应第二操作,控制从所述第二通信状态切换至第一通信状态。Step 13: In response to the second operation, controlling switching from the second communication state to the first communication state.
这里,所述第一电子设备可以为智能手机、平板电脑、笔记本电脑等设备。Here, the first electronic device may be a device such as a smart phone, a tablet computer, a notebook computer or the like.
所述第二电子设备可以为智能手机、平板电脑、笔记本电脑等设备。The second electronic device may be a device such as a smart phone, a tablet computer, or a notebook computer.
优选地,在执行步骤11之前,所述第一电子设备可以与至少一个第二电子设备建立通信连接,比如,图2所示,第一电子设备21与第二电子设备221和第二电子设备222建立通信连接。Preferably, before the step 11 is performed, the first electronic device can establish a communication connection with the at least one second electronic device. For example, as shown in FIG. 2, the first electronic device 21 and the second electronic device 221 and the second electronic device 222 establishes a communication connection.
可以理解的是,本实施例中第一电子设备与第二电子设备建立通信连接的方式可以通过移动蜂窝网建立连接,也可以通过IP网络建立连接。 It can be understood that, in this embodiment, the manner in which the first electronic device establishes a communication connection with the second electronic device may establish a connection through the mobile cellular network, or may establish a connection through the IP network.
本实施例中所述第一电子设备与至少一个第二电子设备进行语音数据交互之前,所述第一电子设备还可以开启语音采集单元进行语音采集,利用采集得到的语音进行编码得到语音数据。其中,所述语音采集单元可以为麦克风。Before the first electronic device and the at least one second electronic device perform the voice data interaction, the first electronic device may further enable the voice collection unit to perform voice collection, and use the collected voice to perform voice data to obtain voice data. The voice collection unit may be a microphone.
与上述两个实施例不同在于,本实施例提供了一种场景,在本场景中第一电子设备不仅能够采集并且发送视频帧,还能够接收并显示视频帧,具体的,The difference from the above two embodiments is that the present embodiment provides a scenario in which the first electronic device can not only collect and send video frames, but also receive and display video frames. Specifically,
上述步骤12中,所述响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互,并且与至少一个第二电子设备分享视频帧,包括:In the above step 12, in response to the first operation, the control is switched from the first communication state to the second communication state, and the voice data interaction with the at least one second electronic device is maintained in the second communication state, and The at least one second electronic device shares the video frame, including:
响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互;并且采集得到至少一个视频帧,发送所述至少一个视频帧至所述至少一个第二电子设备;Controlling, in response to the first operation, switching from the first communication state to the second communication state, maintaining voice data interaction with the at least one second electronic device in the second communication state; and collecting at least one video frame, transmitting The at least one video frame to the at least one second electronic device;
另外,还能够接收到至少一个第二电子设备发来的至少一个视频帧;解析第二电子设备发来的至少一个视频帧。在解析所述第二电子设备发来的视频帧之后还会渲染并显示所述视频帧。In addition, at least one video frame sent by the at least one second electronic device can be received; and at least one video frame sent by the second electronic device is parsed. The video frame is also rendered and displayed after parsing the video frame sent by the second electronic device.
优选地,本实施例中发送所述视频帧可以包括:Preferably, sending the video frame in this embodiment may include:
发送视频帧分享请求至信令服务器;其中,所述信令服务器可以为VOIP信令服务器,也可以为移动蜂窝网信令服务器;Sending a video frame sharing request to the signaling server; wherein the signaling server may be a VOIP signaling server or a mobile cellular network signaling server;
通过所述信令服务器发送所述视频帧分享请求到至少一个第二电子设备;Transmitting, by the signaling server, the video frame sharing request to the at least one second electronic device;
开启摄像头,采集得到至少一个图像信息,将所述图像信息进行编码得到视频帧;Turning on the camera, acquiring at least one image information, and encoding the image information to obtain a video frame;
发送视频帧至数据服务器;其中,所述数据服务器可以为VOIP数据服 务器,或者可以为移动蜂窝网中的数据服务器;Sending a video frame to a data server; wherein the data server can be a VOIP data service Server, or may be a data server in a mobile cellular network;
由所述数据服务器转发所述视频帧至所述至少一个第二电子设备。Forwarding the video frame to the at least one second electronic device by the data server.
优选地,本实施例中还可以通过分别在视频帧中以及语音数据中添加对应的时间戳,用于保证发出的视频帧以及语音数据在接收端的同步问题,具体可以为:采集得到语音数据时,在语音数据中添加时间戳;采集得到语音数据时,在语音数据中添加时间戳;当采集视频帧时,在采集到的视频帧中添加对应的时间戳。其中,所述时间戳可以为采集得到语音数据或视频帧的时刻。Preferably, in this embodiment, a corresponding timestamp is added to the video frame and the voice data to ensure synchronization of the sent video frame and the voice data at the receiving end, which may be: when the voice data is collected. Add a timestamp to the voice data; add a timestamp to the voice data when the voice data is collected; and add a corresponding timestamp to the collected video frame when the video frame is collected. The timestamp may be a time at which voice data or a video frame is collected.
所述解析至少一个第二电子设备发来的所述至少一个视频帧,包括:The parsing the at least one video frame sent by the at least one second electronic device includes:
解析语音数据中的语音以及时间戳;解析视频帧及其对应的时间戳;Parsing voice and time stamp in the voice data; parsing the video frame and its corresponding time stamp;
根据解析得到的时间戳控制输出语音数据以及视频帧。The output voice data and the video frame are controlled according to the timestamp obtained by the parsing.
本实施例中所述根据解析得到的时间戳控制输出语音数据以及视频帧的方式可以为将具备相同时间戳的语音数据以及视频帧同时输出。In the embodiment, the manner of controlling the output of the voice data and the video frame according to the timestamp obtained by the parsing may be simultaneous output of the voice data and the video frame having the same time stamp.
优选地,本实施例中在响应第一操作或响应第二操作之前还会检测得到第一操作或检测到第二操作,具体为:Preferably, in this embodiment, the first operation or the second operation is detected before responding to the first operation or the second operation, specifically:
所述响应第一操作之前,所述方法还包括:若检测到针对第一触摸操作区域、且操作时长大于第一门限值的触摸操作,则确定检测到第一操作;Before the responding to the first operation, the method further includes: determining that the first operation is detected if a touch operation for the first touch operation area and the operation duration is greater than the first threshold is detected;
所述响应第二操作之前,所述方法还包括:若检测到撤销针对所述第一触摸操作区域的触摸操作,则确定检测到第二操作。Before the responding to the second operation, the method further includes determining to detect the second operation if it is detected that the touch operation for the first touch operation area is revoked.
其中,所述第一触摸操作区域可以为根据实际情况设置的检测触摸操作的触点,或者,检测触摸操作的预设区域;其中,所述触点可以至少包括:触点的横坐标以及纵坐标;所述预设区域至少包括该区域的左下角的横纵坐标以及右上角的横纵坐标。The first touch operation area may be a contact for detecting a touch operation set according to an actual situation, or a preset area for detecting a touch operation; wherein the contact may include at least: an abscissa of the contact and a vertical Coordinates; the preset area includes at least the horizontal and vertical coordinates of the lower left corner of the area and the horizontal and vertical coordinates of the upper right corner.
另外,所述第一触摸操作区域的呈现形式可以为图3所示在第一电子设备中显示的一个虚拟按钮31。本实施例中可以将点击所述第一触摸 操作区域触发的功能设置为“瞄一眼”操作。In addition, the presentation form of the first touch operation area may be a virtual button 31 displayed in the first electronic device as shown in FIG. 3. In this embodiment, the first touch can be clicked The function triggered by the operation area is set to the "one-eye" operation.
所述操作时长可以为用户点击所述第一触摸操作区域的时长,也就是说,当用户点击到所述第一触摸操作区域,控制开启摄像头,通过摄像头采集至少一个视频帧,直至检测到用户撤销点击第一触摸操作区域的操作为止。The operation duration may be a duration when the user clicks on the first touch operation area, that is, when the user clicks on the first touch operation area, the control turns on the camera, and at least one video frame is collected by the camera until the user is detected. Undo the operation of clicking the first touch operation area.
进一步地,本实施例所述与至少一个第二电子设备分享视频帧,包括:Further, sharing the video frame with the at least one second electronic device in the embodiment includes:
将视频帧发送至所述至少一个第二电子设备中的全部第二电子设备;Transmitting a video frame to all of the at least one second electronic device;
或者,or,
从所述至少一个第二电子设备中选取目标第二电子设备,将所述视频帧发送至所述目标第二电子设备。Selecting a target second electronic device from the at least one second electronic device, and transmitting the video frame to the target second electronic device.
也就是当第一电子设备与多个电子设备进行语音数据交互的第一通信状态之后,切换至第二通信状态可以选取将采集到的图像发送至全部的第二电子设备,也可以从多个电子设备中选取一个目标设备,将图像发送至选取的目标设备。That is, after the first communication state of the first electronic device and the plurality of electronic devices interacting with the voice data, switching to the second communication state may select to send the collected image to all the second electronic devices, or may be multiple A target device is selected in the electronic device to send an image to the selected target device.
可见,通过采用上述方案,能够在用户处于第一通信状态时仅交互语音数据,当响应第一操作时,控制电子设备切换至第二通信状态,既传输语音数据又分享当前采集到的视频帧,响应第二操作时,电子设备重新切换回第一通信状态。如此,就能使得用户在进行语音通信的交互时灵活的控制视频帧的交互时机,从而减少在通信时一直传输视频帧以及语音数据所占用的服务器的处理资源,保证了通话双方的流畅度。It can be seen that, by adopting the foregoing solution, only voice data can be exchanged when the user is in the first communication state, and when the first operation is responded, the control electronic device switches to the second communication state, and both the voice data and the currently collected video frame are shared. In response to the second operation, the electronic device switches back to the first communication state. In this way, the user can flexibly control the interaction timing of the video frame during the interaction of the voice communication, thereby reducing the processing resources of the server occupied by the video frame and the voice data during the communication, and ensuring the smoothness of both parties.
实施例四、Embodiment 4
本实施例以信令服务器以及数据服务器为VOIP信令服务器以及VOIP数据服务器为例,对传输视频帧的操作进行说明:In this embodiment, the signaling server and the data server are VOIP signaling servers and the VOIP data server as an example, and the operation of transmitting video frames is described:
如图4所示,给出了实时视频的一个简单实现流程图,其中VOIP信令服务器主要是对通话过程中的状态进行控制和同步,数据服务器主 要是对视频或语音数据进行转发(透传),下面以两个设备M1和M2之间进行实时视频的过程进行说明,其中设备M1即为第一电子设备,设备M2为第二电子设备:As shown in Figure 4, a simple implementation flow chart of real-time video is given. The VOIP signaling server mainly controls and synchronizes the state during the call, and the data server is mainly If the video or voice data is forwarded (transparently transmitted), the following describes the process of performing real-time video between the two devices M1 and M2, where the device M1 is the first electronic device and the device M2 is the second electronic device:
1、M1启动摄像头设备,采集视频帧;1. M1 starts the camera device and collects video frames;
2、视频编解码引擎对M1采集的视频帧进行编码处理;2. The video codec engine encodes the video frame collected by the M1;
3、M1视频帧编码后进行网络封包,通过UDP方式发送给VOIP数据服务器;3. The M1 video frame is encoded and then network packet is sent to the VOIP data server by UDP;
4、VOIP数据服务器透传视频帧给设备M2;4. The VOIP data server transparently transmits the video frame to the device M2;
5、设备M2接收并解包视频帧;5. The device M2 receives and unpacks the video frame;
6、视频编解码引擎对视频帧进行解码处理;6. The video codec engine decodes the video frame;
7、设备M2对解码后的视频帧进行帧渲染和显示。7. The device M2 performs frame rendering and display on the decoded video frame.
优选地,在本实施例中分别提供两个电子设备之间的语音数据以及视频帧的交互操作示例,以及一个电子设备对多个电子设备之间的语音数据以及视频帧的交互操作示例:Preferably, in the embodiment, voice data between two electronic devices and an interaction operation example of the video frames are respectively provided, and an example of interaction between the voice data and the video frames of the electronic device between the plurality of electronic devices is performed:
示例一、双人之间的瞄一眼互动是基于实时视频技术的一种玩法形式,这里的形式是提供一个按钮(不限于类似形式),按住按钮开始向对方发送实时视频,松开按钮结束向对方发送实时视频。以用户A和B之间瞄一眼互动流程为例,包括4种互动情形,如图5所示,双人之间的瞄一眼基于实时视频技术,这里的形式是提供一个按钮,当用户A按住设备提供的显示界面中提供的第一触摸操作区域即一个虚拟按钮时,触发了“瞄一眼”操作,也就是说,触发了开始向用户B也就是第二电子设备发送实时采集的视频帧的操作;相应的,松开按钮就结束“瞄一眼”操作,停止向对方发送实时视频。具体包括:Example 1. A single-eye interaction between two people is a form of gameplay based on real-time video technology. The form here is to provide a button (not limited to a similar form), press and hold the button to start sending real-time video to the other party, and release the button to end The other party sends a live video. Take the visual interaction process between users A and B as an example, including 4 interactive situations, as shown in Figure 5. The aim between the two is based on real-time video technology. The form here is to provide a button when the user A presses When the first touch operation area provided in the display interface provided by the device is a virtual button, the “one-eye” operation is triggered, that is, the video frame that starts to send the real-time captured to the user B, that is, the second electronic device, is triggered. Operation; correspondingly, releasing the button ends the "one-eye" operation and stops sending real-time video to the other party. Specifically include:
情形1:单向分享视频Scenario 1: One-way sharing video
1)~2)用户A按住按钮,发起视频分享请求给VOIP信令服务器, 并启动摄像头开始采集视频;其中,所述按钮可以为根据实际情况设置的按钮;1)~2) User A presses the button to initiate a video sharing request to the VOIP signaling server. And starting the camera to start collecting video; wherein the button can be a button set according to actual conditions;
3)VOIP信令服务器通知用户B,用户A开启视频分享请求;3) The VOIP signaling server notifies the user B that the user A starts the video sharing request;
4)~5)用户A将采集到的实时视频帧发送给VOIP数据服务器,然后VOIP数据服务器将视频帧透传给用户B;4) ~ 5) User A sends the collected real-time video frame to the VOIP data server, and then the VOIP data server transparently transmits the video frame to the user B;
6)用户B收到来自用户A的实时视频帧后,会先检查是否已收到3)的通知,如果已收到,则进行视频帧的渲染和显示。6) After receiving the real-time video frame from user A, user B will first check whether 3) notification has been received, and if it has been received, then render and display the video frame.
情形2:双向分享视频Scenario 2: Sharing videos in both directions
7)~8)在情形1的基础上,用户B也开始发起视频分享请求给VOIP信令服务器,并启动摄像头开始采集视频帧;7)~8) On the basis of case 1, user B also starts to initiate a video sharing request to the VOIP signaling server, and starts the camera to start collecting video frames;
9)VOIP信令服务器通知用户A,用户B开始了瞄一眼;9) The VOIP signaling server notifies the user A that the user B has started to take a glance;
10)~11)用户B将采集到的实时视频帧发送给VOIP数据服务器,然后VOIP数据服务器将视频帧透传给用户A;10) ~ 11) User B sends the collected real-time video frame to the VOIP data server, and then the VOIP data server transparently transmits the video frame to the user A;
12)用户A收到来自用户B的实时视频帧后,会先检查是否已收到9)的通知,如果已收到,则进行视频帧的渲染和显示。这样就完成了用户A和B之间同时进行实时视频分享的流程。12) After receiving the real-time video frame from user B, user A will first check whether 9) notification has been received, and if it has been received, then render and display the video frame. This completes the process of simultaneous real-time video sharing between users A and B.
情形3:一方结束视频分享Scenario 3: One party ends the video sharing
13)~14)用户A松开按钮,向VOIP信令服务器发送结束视频分享请求,并停止摄像头视频帧的采集,与之同时,VOIP数据服务器也不再会收到用户A的视频帧;13)~14) User A releases the button, sends an end video sharing request to the VOIP signaling server, and stops the collection of the camera video frame, and at the same time, the VOIP data server no longer receives the video frame of the user A;
15)VOIP信令服务器通知用户B,用户A结束了视频分享;15) The VOIP signaling server notifies the user B that the user A has ended the video sharing;
16)用户B不再收到来自用户A的视频帧,在收到15)通知的基础上,切换到单向视频分享。16) User B no longer receives the video frame from User A, and switches to one-way video sharing on the basis of receiving the 15) notification.
情形4:双方结束视频分享Scenario 4: Both parties end video sharing
17)~18)在情形3的基础上,用户B也松开按钮,向VOIP信令 服务器发送结束视频分享请求,并停止摄像头视频帧的采集,切换普通语音通话的交互形式,与之同时,VOIP数据服务器也不再会收到用户B的视频帧;17) ~ 18) On the basis of Case 3, User B also releases the button to signal VOIP The server sends the end video sharing request, stops the collection of the camera video frame, and switches the interaction mode of the ordinary voice call. At the same time, the VOIP data server no longer receives the video frame of the user B;
19)VOIP信令服务器通知用户A,用户B结束了视频分享;19) The VOIP signaling server notifies the user A, and the user B ends the video sharing;
20)用户A不再收到来自用户B的视频帧,在收到19)通知的基础上,切换普通语音通话的交互形式。20) User A no longer receives the video frame from User B, and on the basis of receiving the 19) notification, switches the interactive form of the ordinary voice call.
本实施例提供的两个电子设备之间进行语音数据的交互的前提下,进行语音数据以及视频帧的交互的示意图如图6-图7所示:A schematic diagram of interaction between voice data and video frames is performed on the premise that voice data is exchanged between two electronic devices provided in this embodiment, as shown in FIG. 6-7:
图6的界面61为也就是用户A通过第一电子设备处于第一通信状态与一个用户B的第二电子设备进行语音数据交互的场景,当长按“拍摄”按键611作为“发起视频分享请求”的虚拟按键;The interface 61 of FIG. 6 is a scenario in which the user A performs voice data interaction with the second electronic device of the user B by using the first electronic device in the first communication state, and long presses the “shooting” button 611 as the “initiating video sharing request”. Virtual button
然后开启单方发送视频帧的场景,用户A的第一电子设备的操作界面进入界面62,,在界面62中显示当前采集到得到的视频帧,并且还会显示当前通话的时长和“正在实时分享”的文字提示,其中虚拟按键611跟随手指在屏幕上的移动而移动;Then, the scenario in which the video frame is sent by the unilateral party is opened, and the operation interface of the first electronic device of the user A enters the interface 62, and the currently acquired video frame is displayed in the interface 62, and the duration of the current call is also displayed and “is being shared in real time. a text prompt in which the virtual button 611 moves following the movement of the finger on the screen;
在接收方用户B在收到用户A的帧视频时,会有一个简单的音效提醒,用户B的显示界面63中全屏显示开启方发送过来的视频帧画面,同时显示当前通话的时长和“对方正在实时分享”的文字提示。接收方用户B可以在这个界面63,将预设的按钮631作为触摸操作区域,通过点击按钮631开启第二电子设备的“视频分享”功能,进入双向视频分享。When the receiving user B receives the frame video of the user A, there is a simple sound effect reminder, and the user B's display interface 63 displays the video frame picture sent by the opener in full screen, and simultaneously displays the duration of the current call and the other party. Text prompts are being shared in real time. The recipient user B can use the preset button 631 as the touch operation area in this interface 63, and open the "video sharing" function of the second electronic device by clicking the button 631 to enter the two-way video sharing.
双方视频分享:进入双向视频分享后双方的界面分别如图7中的界面64和界面65所示。在界面64和界面65中,通过圆形区域641以及圆形区域651显示自身的摄像头取景内容,同时圆形区域跟随手指在屏幕上的移动而移动,全屏区域显示对方的视频帧画面。在这种场景下, 如果某一方主动松开按钮,松开的一方会回到界面63,未松开的一方回到界面62;如果双方都松开了,则都回到界面61。Video sharing between the two parties: After entering the two-way video sharing, the interfaces of the two parties are respectively shown in interface 64 and interface 65 in FIG. In the interface 64 and the interface 65, the camera framing content of the camera is displayed by the circular area 641 and the circular area 651, while the circular area moves following the movement of the finger on the screen, and the full-screen area displays the video frame picture of the other party. In this scenario, If one of the parties actively releases the button, the loosened one will return to interface 63, and the unreleased one will return to interface 62; if both parties are released, they will return to interface 61.
示例二、Example 2
本实施例还提供如图8所示的多人(3人及以上)之间的瞄一眼互动也是基于实时视频技术的一种玩法形式,但不同于双人之间的形式,同一时刻只能有一个人开启视频分享,如果是多个人同时发起视频分享请求,VOIP信令服务器会进行仲裁,给视频分享请求最先到达VOIP信令服务器的用户返回发起视频分享请求成功,其他人返回发起视频分享请求失败;其他人要成功发起视频分享,就必须等当前进行视频分享的用户结束后才可能成功发起(这里可以理解成多人“抢”视频分享的过程)。以多个用户A1到An之间的视频分享互动流程为例,包括两种互动情形:This embodiment also provides an eye-catching interaction between multiple people (3 persons and above) as shown in FIG. 8 is also a game form based on real-time video technology, but unlike the form between two people, there can only be one at a time. If the multiple users start the video sharing request at the same time, the VOIP signaling server will arbitrate to return the video sharing request to the user who first arrives at the VOIP signaling server for the video sharing request, and the other person returns to initiate the video sharing request. Failure; if someone else wants to successfully start video sharing, they must wait for the user who is currently sharing the video to finish successfully. (This can be understood as the process of “grabbing” video sharing by multiple people). Take the video sharing interaction process between multiple users A1 to An as an example, including two interaction scenarios:
情形1:开启视频分享Case 1: Turn on video sharing
1)用户A1到An中的几个用户同时发起视频分享请求给多人VOIP信令服务器;1) Several users in the user A1 to An simultaneously initiate a video sharing request to the multi-person VOIP signaling server;
2)多人VOIP信令服务器会根据收到视频分享请求的先后顺序进行仲裁,给最先收到请求的用户A1返回视频分享成功,给其他用户返回视频分享请求失败;2) The multi-person VOIP signaling server will arbitrate according to the order in which the video sharing request is received, and return the video sharing success to the user A1 who first received the request, and return the video sharing request to other users;
3)多人VOIP信令服务器通知其他用户,用户A1开始了瞄一眼;3) The multi-person VOIP signaling server notifies other users that the user A1 has started to take a glance;
4)用户A1启动摄像头开始采集视频帧;4) User A1 starts the camera to start collecting video frames;
5~6)用户A1将采集到的实时视频帧发送给多人VOIP数据服务器,然后VOIP数据服务器将视频帧透传给其他用户;5-6) User A1 sends the collected real-time video frame to the multi-person VOIP data server, and then the VOIP data server transparently transmits the video frame to other users;
7)其他用户收到来自用户A1的实时视频帧后,会先检查是否已收到3)的通知,如果已收到,则进行视频帧的渲染和显示。7) After receiving the real-time video frame from user A1, other users will first check whether 3) notification has been received, and if they have received, the video frame is rendered and displayed.
情形2:结束视频分享 Scenario 2: End video sharing
8~9)在情形1的基础上,用户A1松开按钮向多人VOIP信令服务器发送结束视频分享请求,同时摄像头停止采集视频帧,转为普通多人语音状态;与此同时,VOIP数据服务器也不再收到用户A1的视频帧;8~9) On the basis of Case 1, the user A1 releases the button to send the end video sharing request to the multi-person VOIP signaling server, and the camera stops collecting the video frame and converts to the normal multi-person voice state; at the same time, the VOIP data The server also no longer receives the video frame of user A1;
10)VOIP信令服务器通知其他用户,用户A1结束了瞄一眼;10) The VOIP signaling server notifies other users that the user A1 has finished taking a glance;
11)其他用户不再收到来自用户A1的视频帧,在收到10)通知的基础上,切换普通多人语音通话的交互形式。11) Other users no longer receive the video frame from the user A1, and switch the interactive form of the ordinary multi-person voice call on the basis of receiving the 10) notification.
如图9所示,每个效果图依次的说明如下:As shown in Figure 9, each effect diagram is described as follows:
多人视频分享入口:多人通话界面91,在界面91中长按“拍照”911按钮作为触发第一触控操作区域的操作,也就是开启视频分享功能,同时还可以提示一个简单的音效效果。通过开启视频分享功能,进入界面92,在进入界面92后会由于有一个“抢”的过程,如果“抢”成功则保留在界面92,反之退回到界面91或者显示界面93收到其他人的瞄一眼数据。The multi-person video sharing portal: the multi-person call interface 91, in the interface 91, long press the "photograph" 911 button as the operation of triggering the first touch operation area, that is, the video sharing function is turned on, and a simple sound effect can also be prompted. . By opening the video sharing function, the interface 92 is entered. After entering the interface 92, there is a "grab" process. If the "grab" is successful, the interface 92 is retained, and if the interface is returned to the interface 91 or the display interface 93 is received by other people. Take a look at the data.
在界面92中,也就是进入了视频分享功能之后,开启方全屏显示自己的摄像头取景内容,显示当前通话的时长和“正在实时分享”的文字提示,其中按钮跟随手指在屏幕上的移动而移动;如果开启方松开按钮,则退回到界面91。In the interface 92, that is, after entering the video sharing function, the open side displays its own camera framing content in full screen, displays the duration of the current call and the text prompt "is sharing in real time", wherein the button moves following the movement of the finger on the screen. If the opener releases the button, it returns to interface 91.
界面93表示在多方进行视频帧共享时,未进行图像共享的设备在发起方发来的视频帧时,会有一个简单的音效提醒,然后全屏显示开启方发送过来的视频帧画面,同时显示当前通话的时长和“某某正在实时分享”的文字提示。The interface 93 indicates that when the video frame sharing is performed by multiple parties, the device that does not perform image sharing has a simple sound effect reminder when the video frame sent by the initiator sends a video frame, and then displays the video frame image sent by the opener in full screen, and simultaneously displays the current video frame. The length of the call and the text prompt "Something is sharing in real time."
可见,通过采用上述方案,能够在用户处于第一通信状态时仅交互语音数据,当响应第一操作时,控制电子设备切换至第二通信状态,既传输语音数据又分享当前采集到的视频帧,响应第二操作时,电子设备重新切换回第一通信状态。如此,就能使得用户在进行语音通信的交互 时灵活的控制视频帧的交互时机,从而减少在通信时一直传输视频帧以及语音数据所占用的服务器的处理资源,提升用户的使用体验。It can be seen that, by adopting the foregoing solution, only voice data can be exchanged when the user is in the first communication state, and when the first operation is responded, the control electronic device switches to the second communication state, and both the voice data and the currently collected video frame are shared. In response to the second operation, the electronic device switches back to the first communication state. In this way, the user can interact with the voice communication. Flexible control of the interaction timing of video frames, thereby reducing the processing resources of the server occupied by video frames and voice data while communicating, and improving the user experience.
实施例四、Embodiment 4
本发明实施例提供了一种电子设备,如图10所示,包括:An embodiment of the present invention provides an electronic device, as shown in FIG. 10, including:
第一处理单元1001,用于控制所述第一电子设备处于第一通信状态,在所述第一通信状态中与至少一个第二电子设备进行语音数据交互;响应第二操作,控制从所述第二通信状态切换至第一通信状态;The first processing unit 1001 is configured to control the first electronic device to be in a first communication state, perform voice data interaction with the at least one second electronic device in the first communication state, and control the slave device from the second operation Switching the second communication state to the first communication state;
第二处理单元1002,用于响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互,并且与至少一个第二电子设备分享视频帧。The second processing unit 1002 is configured to, in response to the first operation, control to switch from the first communication state to the second communication state, and maintain voice data interaction with the at least one second electronic device in the second communication state, and Sharing a video frame with at least one second electronic device.
这里,所述第一电子设备可以为智能手机、平板电脑、笔记本电脑等设备。Here, the first electronic device may be a device such as a smart phone, a tablet computer, a notebook computer or the like.
所述第二电子设备可以为智能手机、平板电脑、笔记本电脑等设备。The second electronic device may be a device such as a smart phone, a tablet computer, or a notebook computer.
优选地,所述电子设备可以与至少一个第二电子设备建立通信连接,比如,图2所示,第一电子设备21与第二电子设备221和第二电子设备222建立通信连接。Preferably, the electronic device can establish a communication connection with at least one second electronic device. For example, as shown in FIG. 2, the first electronic device 21 establishes a communication connection with the second electronic device 221 and the second electronic device 222.
可以理解的是,本实施例中电子设备与第二电子设备建立通信连接的方式可以通过移动蜂窝网建立连接,也可以通过IP网络建立连接。It can be understood that, in this embodiment, the manner in which the electronic device establishes a communication connection with the second electronic device may establish a connection through the mobile cellular network, or may establish a connection through the IP network.
本实施例中所述第一电子设备与至少一个第二电子设备进行语音数据交互之前,所述第一电子设备还可以开启语音采集单元进行语音采集,利用采集得到的语音进行编码得到语音数据。其中,所述语音采集单元可以为麦克风。Before the first electronic device and the at least one second electronic device perform the voice data interaction, the first electronic device may further enable the voice collection unit to perform voice collection, and use the collected voice to perform voice data to obtain voice data. The voice collection unit may be a microphone.
所述电子设备还包括:图像采集单元1003,用于采集至少一个图像信息;The electronic device further includes: an image acquisition unit 1003, configured to collect at least one image information;
相应的,所述第二处理单元1002,具体用于响应第一操作,控制从第 一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互;利用采集得到的所述至少一个图像信息生成第一视频帧,发送所述第一视频帧至所述至少一个第二电子设备。Correspondingly, the second processing unit 1002 is specifically configured to control the first operation in response to the first operation. Switching to a second communication state, maintaining a voice data interaction with the at least one second electronic device in the second communication state; generating a first video frame by using the collected at least one image information, and transmitting The first video frame to the at least one second electronic device.
其中,所述采集得到至少一个图像信息可以为开启摄像头,通过摄像头周期性的采集图像信息,得到至少一个图像信息。其中,所述周期可以为根据摄像头的性能进行设置,比如,可以设置为每10ms采集一次图像信息。The acquiring at least one image information may be to turn on the camera, and the image information is periodically collected by the camera to obtain at least one image information. The period may be set according to the performance of the camera. For example, the image information may be set to be collected every 10 ms.
或者,所述采集得到至少一个图像信息可以为开启摄像头进行图片拍摄,仅采集得到一张图像,将所述图像作为视频帧。Alternatively, the acquiring at least one image information may be to open a camera for image capturing, and only one image is acquired, and the image is taken as a video frame.
优选地,所述电子设备还包括:触控检测单元1004,用于若检测到针对第一触摸操作区域、且操作时长大于第一门限值的触摸操作,则确定检测到第一操作;若检测到撤销针对所述第一触摸操作区域的触摸操作,则确定检测到第二操作。Preferably, the electronic device further includes: a touch detection unit 1004, configured to determine that the first operation is detected if a touch operation for the first touch operation area and the operation duration is greater than the first threshold value is detected; It is detected that the touch operation for the first touch operation area is revoked, and it is determined that the second operation is detected.
其中,所述第一触摸操作区域可以为根据实际情况设置的检测触摸操作的触点,或者,检测触摸操作的预设区域;其中,所述触点可以至少包括:触点的横坐标以及纵坐标;所述预设区域至少包括该区域的左下角的横纵坐标以及右上角的横纵坐标。The first touch operation area may be a contact for detecting a touch operation set according to an actual situation, or a preset area for detecting a touch operation; wherein the contact may include at least: an abscissa of the contact and a vertical Coordinates; the preset area includes at least the horizontal and vertical coordinates of the lower left corner of the area and the horizontal and vertical coordinates of the upper right corner.
另外,所述第一触摸操作区域的呈现形式可以为图3所示在第一电子设备中显示的一个虚拟按钮31。In addition, the presentation form of the first touch operation area may be a virtual button 31 displayed in the first electronic device as shown in FIG. 3.
所述操作时长可以为用户点击所述第一触摸操作区域的时长,也就是说,当用户点击到所述第一触摸操作区域,控制开启摄像头,通过摄像头采集至少一个图像信息,将所述至少一个图像信息作为视频帧,直至检测到用户撤销点击第一触摸操作区域的操作为止。The operation duration may be a duration when the user clicks on the first touch operation area, that is, when the user clicks on the first touch operation area, the control turns on the camera, and at least one image information is collected by the camera, and the at least One image information is used as a video frame until it is detected that the user cancels the operation of clicking the first touch operation area.
如图4所示,给出了本实施例传输视频帧的一个简单实现流程图,其中VOIP信令服务器主要是对通话过程中的状态进行控制和同步,在 信令服务器进行通话过程的控制和同步的交互方式为使用TCP,数据服务器主要是对视频或语音数据进行转发(透传),依照UDP协议转发数据。As shown in FIG. 4, a simple implementation flow chart of transmitting a video frame in this embodiment is given. The VOIP signaling server mainly controls and synchronizes the state during the call. The signaling server controls and synchronizes the call process by using TCP. The data server mainly forwards (transparently transmits) video or voice data, and forwards data according to the UDP protocol.
下面以两个设备第一电子设备和第二电子设备之间进行实时视频的过程进行说明:The following describes the process of real-time video between the first electronic device and the second electronic device of the two devices:
第一电子设备启动摄像头设备,采集图像信息;视频编解码引擎对图像信息进行编码处理;将编码后得到的视频帧进行网络封包,通过UDP方式发送给数据服务器;所述数据服务器可以为VOIP数据服务器;The first electronic device starts the camera device to collect image information; the video encoding and decoding engine encodes the image information; and the encoded video frame is network-encapsulated and sent to the data server through UDP; the data server may be VOIP data server;
VOIP数据服务器透传给第二电子设备;The VOIP data server is transparently transmitted to the second electronic device;
第二电子设备接收并解包视频帧;视频编解码引擎对视频帧进行解码处理;对解码后的视频帧进行帧渲染和显示。The second electronic device receives and unpacks the video frame; the video codec engine decodes the video frame; and performs frame rendering and display on the decoded video frame.
可见,通过采用上述方案,能够在用户处于第一通信状态时仅交互语音数据,当响应第一操作时,控制电子设备切换至第二通信状态,既传输语音数据又分享当前采集到的视频帧,响应第二操作时,电子设备重新切换回第一通信状态。如此,就能使得用户在进行语音通信的交互时灵活的控制视频帧的交互时机,从而减少在通信时一直传输视频帧以及语音数据所占用的服务器的处理资源,提升用户的使用体验。It can be seen that, by adopting the foregoing solution, only voice data can be exchanged when the user is in the first communication state, and when the first operation is responded, the control electronic device switches to the second communication state, and both the voice data and the currently collected video frame are shared. In response to the second operation, the electronic device switches back to the first communication state. In this way, the user can flexibly control the interaction timing of the video frame during the interaction of the voice communication, thereby reducing the processing resources of the server occupied by the video frame and the voice data during communication, thereby improving the user experience.
实施例五、Embodiment 5
本发明实施例提供了一种电子设备,如图11所示,包括:An embodiment of the present invention provides an electronic device, as shown in FIG.
第一处理单元1101,用于控制所述第一电子设备处于第一通信状态,在所述第一通信状态中与至少一个第二电子设备进行语音数据交互;响应第二操作,控制从所述第二通信状态切换至第一通信状态;The first processing unit 1101 is configured to control the first electronic device to be in a first communication state, perform voice data interaction with the at least one second electronic device in the first communication state, and control the slave device from the second operation Switching the second communication state to the first communication state;
第二处理单元1102,用于响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互,并且与至少一个第二电子设备分享视频帧。 a second processing unit 1102, configured to switch from the first communication state to the second communication state in response to the first operation, to maintain voice data interaction with the at least one second electronic device in the second communication state, and Sharing a video frame with at least one second electronic device.
这里,所述第一电子设备可以为智能手机、平板电脑、笔记本电脑等设备。Here, the first electronic device may be a device such as a smart phone, a tablet computer, a notebook computer or the like.
所述第二电子设备可以为智能手机、平板电脑、笔记本电脑等设备。The second electronic device may be a device such as a smart phone, a tablet computer, or a notebook computer.
可以理解的是,本实施例中第一电子设备与第二电子设备建立通信连接的方式可以通过移动蜂窝网建立连接,也可以通过IP网络建立连接。It can be understood that, in this embodiment, the manner in which the first electronic device establishes a communication connection with the second electronic device may establish a connection through the mobile cellular network, or may establish a connection through the IP network.
本实施例中所述第一电子设备与至少一个第二电子设备进行语音数据交互之前,所述第一电子设备还可以开启语音采集单元进行语音采集,利用采集得到的语音进行编码得到语音数据。其中,所述语音采集单元可以为麦克风。Before the first electronic device and the at least one second electronic device perform the voice data interaction, the first electronic device may further enable the voice collection unit to perform voice collection, and use the collected voice to perform voice data to obtain voice data. The voice collection unit may be a microphone.
本实施例与实施例一不同在于,所述电子设备还包括:解析单元1103,用于解析所述第二视频帧得到至少一个图像信息,分别显示所述至少一个图像信息;The embodiment is different from the first embodiment in that the electronic device further includes: a parsing unit 1103, configured to parse the second video frame to obtain at least one image information, and respectively display the at least one image information;
所述第二处理单元1102,还用于接收到至少一个第二电子设备发来的第二视频帧。The second processing unit 1102 is further configured to receive a second video frame sent by the at least one second electronic device.
其中,所述解析所述第二视频帧可以为第一电子设备通过图像解析功能将视频帧解析得到一个或多个图像信息。The parsing the second video frame may be that the first electronic device parses the video frame by the image parsing function to obtain one or more image information.
可见,通过采用上述方案,能够在用户处于第一通信状态时仅交互语音数据,当响应第一操作时,控制电子设备切换至第二通信状态,既传输语音数据又分享当前采集到的视频帧,响应第二操作时,电子设备重新切换回第一通信状态。如此,就能使得用户在进行语音通信的交互时灵活的控制视频帧的交互时机,从而减少在通信时一直传输视频帧以及语音数据所占用的服务器的处理资源,提升用户的使用体验。It can be seen that, by adopting the foregoing solution, only voice data can be exchanged when the user is in the first communication state, and when the first operation is responded, the control electronic device switches to the second communication state, and both the voice data and the currently collected video frame are shared. In response to the second operation, the electronic device switches back to the first communication state. In this way, the user can flexibly control the interaction timing of the video frame during the interaction of the voice communication, thereby reducing the processing resources of the server occupied by the video frame and the voice data during communication, thereby improving the user experience.
实施例六、Embodiment 6
本发明实施例提供了一种电子设备,如图12所示,包括: An embodiment of the present invention provides an electronic device, as shown in FIG. 12, including:
第一处理单元1201,用于控制所述第一电子设备处于第一通信状态,在所述第一通信状态中与至少一个第二电子设备进行语音数据交互;响应第二操作,控制从所述第二通信状态切换至第一通信状态;The first processing unit 1201 is configured to control the first electronic device to be in a first communication state, perform voice data interaction with the at least one second electronic device in the first communication state, and control the slave device from the second operation Switching the second communication state to the first communication state;
第二处理单元1202,用于响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互,并且与至少一个第二电子设备分享视频帧。a second processing unit 1202, configured to switch from the first communication state to the second communication state in response to the first operation, to maintain voice data interaction with the at least one second electronic device in the second communication state, and Sharing a video frame with at least one second electronic device.
这里,所述第一电子设备可以为智能手机、平板电脑、笔记本电脑等设备。Here, the first electronic device may be a device such as a smart phone, a tablet computer, a notebook computer or the like.
所述第二电子设备可以为智能手机、平板电脑、笔记本电脑等设备。The second electronic device may be a device such as a smart phone, a tablet computer, or a notebook computer.
可以理解的是,本实施例中与第二电子设备建立通信连接的方式可以通过移动蜂窝网建立连接,也可以通过IP网络建立连接。It can be understood that the manner of establishing a communication connection with the second electronic device in this embodiment may establish a connection through the mobile cellular network, or may establish a connection through the IP network.
本实施例中所述第一电子设备与至少一个第二电子设备进行语音数据交互之前,所述第一电子设备还可以开启语音采集单元进行语音采集,利用采集得到的语音进行编码得到语音数据。其中,所述语音采集单元可以为麦克风。Before the first electronic device and the at least one second electronic device perform the voice data interaction, the first electronic device may further enable the voice collection unit to perform voice collection, and use the collected voice to perform voice data to obtain voice data. The voice collection unit may be a microphone.
本实施例提供了一种场景,在本场景中第一电子设备不仅能够采集并且发送视频帧,还能够接收并显示视频帧,具体的,所述电子设备还包括:图像采集单元1203,用于采集至少一个图像信息;相应的,所述第二处理单元1202,具体用于响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互;利用采集得到的所述至少一个图像信息生成第一视频帧,发送所述第一视频帧至所述至少一个第二电子设备。The present embodiment provides a scenario in which the first electronic device can not only collect and transmit a video frame, but also receive and display a video frame. Specifically, the electronic device further includes: an image collecting unit 1203, configured to: Collecting at least one image information; correspondingly, the second processing unit 1202 is configured to, in response to the first operation, control to switch from the first communication state to the second communication state, and maintain the same in the second communication state The at least one second electronic device performs voice data interaction; generates the first video frame by using the collected at least one image information, and sends the first video frame to the at least one second electronic device.
另外,所述电子设备还包括:解析单元1205,用于解析所述第二视频帧得到至少一个图像信息,分别显示所述至少一个图像信息;In addition, the electronic device further includes: a parsing unit 1205, configured to parse the second video frame to obtain at least one image information, and respectively display the at least one image information;
所述第二处理单元1202,还用于接收到至少一个第二电子设备发来的 第二视频帧。The second processing unit 1202 is further configured to receive the at least one second electronic device Second video frame.
优选地,本实施例中发送所述视频帧可以包括:所述第二处理单元1202发送视频帧分享请求至信令服务器;其中,所述信令服务器可以为VOIP信令服务器,也可以为移动蜂窝网信令服务器;通过所述信令服务器发送所述视频帧分享请求至至少一个第二电子设备;开启摄像头,采集得到至少一个图像信息,将所述图像信息进行编码得到视频帧;发送视频帧至数据服务器;其中,所述数据服务器可以为VOIP数据服务器,或者可以为移动蜂窝网中的数据服务器;Preferably, the sending the video frame in this embodiment may include: the second processing unit 1202 sends a video frame sharing request to the signaling server; wherein the signaling server may be a VOIP signaling server, or may be a mobile a cellular network signaling server; sending the video frame sharing request to the at least one second electronic device by using the signaling server; turning on the camera, acquiring at least one image information, encoding the image information to obtain a video frame; and transmitting the video a frame to a data server; wherein the data server may be a VOIP data server, or may be a data server in a mobile cellular network;
由所述数据服务器转发所述视频帧至所述至少一个第二电子设备。Forwarding the video frame to the at least one second electronic device by the data server.
其中,所述采集得到至少一个图像信息可以为开启摄像头,通过摄像头周期性的采集图像信息,得到至少一个图像信息。其中,所述周期可以为根据摄像头的性能进行设置,比如,可以设置为每10ms采集一次图像信息。The acquiring at least one image information may be to turn on the camera, and the image information is periodically collected by the camera to obtain at least one image information. The period may be set according to the performance of the camera. For example, the image information may be set to be collected every 10 ms.
或者,所述采集得到至少一个图像信息可以为开启摄像头进行图片拍摄,仅采集得到一张图像,将所述图像作为视频帧。Alternatively, the acquiring at least one image information may be to open a camera for image capturing, and only one image is acquired, and the image is taken as a video frame.
所述电子设备还包括:触控检测单元1204,用于若检测到针对第一触摸操作区域、且操作时长大于第一门限值的触摸操作,则确定检测到第一操作;若检测到撤销针对所述第一触摸操作区域的触摸操作,则确定检测到第二操作。The electronic device further includes: a touch detection unit 1204, configured to determine that the first operation is detected if a touch operation for the first touch operation area and the operation duration is greater than the first threshold is detected; For the touch operation of the first touch operation area, it is determined that the second operation is detected.
其中,所述第一触摸操作区域可以为根据实际情况设置的检测触摸操作的触点,或者,检测触摸操作的预设区域;其中,所述触点可以至少包括:触点的横坐标以及纵坐标;所述预设区域至少包括该区域的左下角的横纵坐标以及右上角的横纵坐标。The first touch operation area may be a contact for detecting a touch operation set according to an actual situation, or a preset area for detecting a touch operation; wherein the contact may include at least: an abscissa of the contact and a vertical Coordinates; the preset area includes at least the horizontal and vertical coordinates of the lower left corner of the area and the horizontal and vertical coordinates of the upper right corner.
另外,所述第一触摸操作区域的呈现形式可以为图3所示在第一电子设备中显示的一个虚拟按钮31。 In addition, the presentation form of the first touch operation area may be a virtual button 31 displayed in the first electronic device as shown in FIG. 3.
所述操作时长可以为用户点击所述第一触摸操作区域的时长,也就是说,当用户点击到所述第一触摸操作区域,控制开启摄像头,通过摄像头采集至少一个图像信息,将所述至少一个图像信息作为视频帧,直至检测到用户撤销点击第一触摸操作区域的操作为止。The operation duration may be a duration when the user clicks on the first touch operation area, that is, when the user clicks on the first touch operation area, the control turns on the camera, and at least one image information is collected by the camera, and the at least One image information is used as a video frame until it is detected that the user cancels the operation of clicking the first touch operation area.
进一步地,所述第二处理单元1202,具体用于将视频帧发送至所述至少一个第二电子设备中的全部第二电子设备;Further, the second processing unit 1202 is specifically configured to send a video frame to all second electronic devices in the at least one second electronic device;
或者,or,
所述第二处理单元1202,具体用于从所述至少一个第二电子设备中选取目标第二电子设备,将所述视频帧发送至所述目标第二电子设备。The second processing unit 1202 is specifically configured to select a target second electronic device from the at least one second electronic device, and send the video frame to the target second electronic device.
也就是当第一电子设备与多个电子设备进行语音数据交互的第一通信状态之后,切换至第二通信状态可以选取将采集到的图像发送至全部的第二电子设备,也可以从多个电子设备中选取一个目标设备,将图像发送至选取的目标设备。That is, after the first communication state of the first electronic device and the plurality of electronic devices interacting with the voice data, switching to the second communication state may select to send the collected image to all the second electronic devices, or may be multiple A target device is selected in the electronic device to send an image to the selected target device.
所述电子设备还包括:语音采集单元1206,用于采集得到语音数据,在语音数据中添加时间戳;The electronic device further includes: a voice collecting unit 1206, configured to collect voice data, and add a time stamp in the voice data;
所述图像采集单元1203,具体用于当采集视频帧时,在采集到的视频帧中添加对应的时间戳。The image collection unit 1203 is specifically configured to add a corresponding timestamp to the collected video frame when the video frame is collected.
所述第一处理单元1201,具体用于解析语音数据中的语音以及时间戳,根据解析得到的时间戳控制输出语音数据;所述解析单元1205,具体用于解析视频帧及其对应的时间戳;根据解析得到的时间戳控制输出视频帧。The first processing unit 1201 is configured to parse the voice and the timestamp in the voice data, and control the output voice data according to the parsed timestamp. The parsing unit 1205 is specifically configured to parse the video frame and its corresponding timestamp. The output video frame is controlled according to the timestamp obtained by the parsing.
可见,通过采用上述方案,能够在用户处于第一通信状态时仅交互语音数据,当响应第一操作时,控制电子设备切换至第二通信状态,既传输语音数据又分享当前采集到的视频帧,响应第二操作时,电子设备重新切换回第一通信状态。如此,就能使得用户在进行语音通信的交互时灵活的控制视频帧的交互时机,从而减少在通信时一直传输视频帧以 及语音数据所占用的服务器的处理资源,提升用户的使用体验。It can be seen that, by adopting the foregoing solution, only voice data can be exchanged when the user is in the first communication state, and when the first operation is responded, the control electronic device switches to the second communication state, and both the voice data and the currently collected video frame are shared. In response to the second operation, the electronic device switches back to the first communication state. In this way, the user can flexibly control the interaction timing of the video frame when performing the interaction of the voice communication, thereby reducing the transmission of the video frame all the time during the communication. And the processing resources of the server occupied by the voice data to enhance the user experience.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理模块中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the above integration The unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage device includes the following steps: the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. A medium that can store program code.
本实施例基于上述设备实施例提供一个具体的硬件,一种电子设备,至少包括有:处理器、存储器、麦克风以及摄像头; The embodiment provides a specific hardware based on the foregoing device embodiment, and an electronic device includes at least: a processor, a memory, a microphone, and a camera;
其中,所述处理器,用于控制所述电子设备处于第一通信状态,在所述第一通信状态中所述第一电子设备与至少一个第二电子设备进行语音数据交互;响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互,并且与至少一个第二电子设备分享视频帧;响应第二操作,控制从所述第二通信状态切换至第一通信状态。The processor is configured to control the electronic device to be in a first communication state, where the first electronic device performs voice data interaction with at least one second electronic device in the first communication state; Controlling switching from the first communication state to the second communication state, maintaining voice data interaction with the at least one second electronic device in the second communication state, and sharing the video frame with the at least one second electronic device; In a second operation, the control is switched from the second communication state to the first communication state.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (15)

  1. 一种通信处理方法,应用于第一电子设备,所述方法包括:A communication processing method is applied to a first electronic device, the method comprising:
    控制所述第一电子设备处于第一通信状态,在所述第一通信状态中所述第一电子设备与至少一个第二电子设备进行语音数据交互;Controlling that the first electronic device is in a first communication state, and in the first communication state, the first electronic device performs voice data interaction with at least one second electronic device;
    响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互,并且与至少一个第二电子设备分享视频帧;Controlling, in response to the first operation, switching from the first communication state to the second communication state, maintaining voice data interaction with the at least one second electronic device in the second communication state, and sharing with the at least one second electronic device Video frame
    响应第二操作,控制从所述第二通信状态切换至第一通信状态。In response to the second operation, control switches from the second communication state to the first communication state.
  2. 根据权利要求1所述的方法,其中,所述响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互,并且与至少一个第二电子设备分享视频帧,包括:The method of claim 1, wherein said controlling switching from a first communication state to a second communication state in response to the first operation, and maintaining with said at least one second electronic device in said second communication state The voice data interacts and shares the video frame with the at least one second electronic device, including:
    响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互;Controlling, in response to the first operation, switching from the first communication state to the second communication state, maintaining voice data interaction with the at least one second electronic device in the second communication state;
    并且采集得到至少一个视频帧,发送所述至少一个视频帧至所述至少一个第二电子设备。And acquiring at least one video frame, and transmitting the at least one video frame to the at least one second electronic device.
  3. 根据权利要求2所述的方法,其中,The method of claim 2, wherein
    所述响应第一操作之前,所述方法还包括:若检测到针对第一触摸操作区域、且操作时长大于第一门限值的触摸操作,则确定检测到第一操作;Before the responding to the first operation, the method further includes: determining that the first operation is detected if a touch operation for the first touch operation area and the operation duration is greater than the first threshold is detected;
    所述响应第二操作之前,所述方法还包括:若检测到撤销针对所述第一触摸操作区域的触摸操作,则确定检测到第二操作。Before the responding to the second operation, the method further includes determining to detect the second operation if it is detected that the touch operation for the first touch operation area is revoked.
  4. 根据权利要求1或2所述的方法,其中,所述与至少一个第二电子设备分享视频帧,包括:The method of claim 1 or 2, wherein the sharing the video frame with the at least one second electronic device comprises:
    接收到至少一个第二电子设备发来的至少一个视频帧; Receiving at least one video frame sent by the at least one second electronic device;
    解析至少一个第二电子设备发来的所述至少一个视频帧。Parsing the at least one video frame sent by the at least one second electronic device.
  5. 根据权利要求1所述的方法,其中,所述与至少一个第二电子设备分享视频帧,包括:The method of claim 1, wherein the sharing the video frame with the at least one second electronic device comprises:
    将至少一个视频帧发送至所述至少一个第二电子设备中的全部第二电子设备;Transmitting at least one video frame to all of the at least one second electronic device;
    或者,or,
    从所述至少一个第二电子设备中选取目标第二电子设备,将所述至少一个视频帧发送至所述目标第二电子设备。Selecting a target second electronic device from the at least one second electronic device, and transmitting the at least one video frame to the target second electronic device.
  6. 根据权利要求4所述的方法,其中,所述方法还包括:采集得到语音数据时,在语音数据中添加时间戳;当采集视频帧时,在采集到的视频帧中添加对应的时间戳。The method according to claim 4, wherein the method further comprises: adding a time stamp to the voice data when the voice data is collected; and adding a corresponding time stamp to the collected video frame when the video frame is collected.
  7. 根据权利要求6所述的方法,其中,所述解析至少一个第二电子设备发来的所述至少一个视频帧,包括:The method of claim 6, wherein the parsing the at least one video frame sent by the at least one second electronic device comprises:
    解析语音数据中的语音以及时间戳;解析视频帧及其对应的时间戳;Parsing voice and time stamp in the voice data; parsing the video frame and its corresponding time stamp;
    根据解析得到的时间戳控制输出语音数据以及视频帧。The output voice data and the video frame are controlled according to the timestamp obtained by the parsing.
  8. 一种电子设备,包括:An electronic device comprising:
    第一处理单元,配置为控制所述第一电子设备处于第一通信状态,在所述第一通信状态中与至少一个第二电子设备进行语音数据交互;响应第二操作,控制从所述第二通信状态切换至第一通信状态;a first processing unit, configured to control the first electronic device to be in a first communication state, perform voice data interaction with the at least one second electronic device in the first communication state; and control the slave device in response to the second operation Switching the communication state to the first communication state;
    第二处理单元,配置为响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互,并且与至少一个第二电子设备分享视频帧。a second processing unit configured to switch from the first communication state to the second communication state in response to the first operation, to maintain voice data interaction with the at least one second electronic device in the second communication state, and At least one second electronic device shares a video frame.
  9. 根据权利要求8所述的电子设备,其中,所述电子设备还包括:The electronic device of claim 8, wherein the electronic device further comprises:
    图像采集单元,配置为采集至少一个视频帧;An image acquisition unit configured to acquire at least one video frame;
    相应的,所述第二处理单元,配置为响应第一操作,控制从第一通信 状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互;发送所述至少一个视频帧至所述至少一个第二电子设备。Correspondingly, the second processing unit is configured to control the first communication in response to the first operation Switching the state to a second communication state, maintaining voice data interaction with the at least one second electronic device in the second communication state; transmitting the at least one video frame to the at least one second electronic device.
  10. 根据权利要求9所述的电子设备,其中,所述电子设备还包括:触控检测单元,配置为若检测到针对第一触摸操作区域、且操作时长大于第一门限值的触摸操作,则确定检测到第一操作;若检测到撤销针对所述第一触摸操作区域的触摸操作,则确定检测到第二操作。The electronic device of claim 9, wherein the electronic device further comprises: a touch detection unit configured to detect a touch operation for the first touch operation area and the operation duration is greater than the first threshold value, Determining that the first operation is detected; if detecting a revocation of the touch operation for the first touch operation area, determining to detect the second operation.
  11. 根据权利要求9或10所述的电子设备,其中,所述电子设备还包括:解析单元,配置为解析至少一个第二电子设备发来的至少一个视频帧;The electronic device according to claim 9 or 10, wherein the electronic device further comprises: a parsing unit configured to parse at least one video frame sent by the at least one second electronic device;
    所述第二处理单元,配置为接收到至少一个第二电子设备发来的至少一个视频帧。The second processing unit is configured to receive at least one video frame sent by the at least one second electronic device.
  12. 根据权利要求9所述的电子设备,其中,The electronic device according to claim 9, wherein
    所述第二处理单元,配置为将至少一个视频帧发送至所述至少一个第二电子设备中的全部第二电子设备;The second processing unit is configured to send at least one video frame to all second electronic devices in the at least one second electronic device;
    或者,or,
    所述第二处理单元,配置为从所述至少一个第二电子设备中选取目标第二电子设备,将所述至少一个视频帧发送至所述目标第二电子设备。The second processing unit is configured to select a target second electronic device from the at least one second electronic device, and send the at least one video frame to the target second electronic device.
  13. 根据权利要求11所述的电子设备,其中,所述电子设备还包括:语音采集单元,配置为采集得到语音数据,在语音数据中添加时间戳;The electronic device according to claim 11, wherein the electronic device further comprises: a voice collecting unit configured to collect voice data, and add a time stamp in the voice data;
    相应的,所述图像采集单元,配置为当采集视频帧时,在采集到的视频帧中添加对应的时间戳。Correspondingly, the image collecting unit is configured to add a corresponding time stamp to the collected video frame when the video frame is collected.
  14. 根据权利要求13所述的电子设备,其中,The electronic device according to claim 13, wherein
    所述第一处理单元,配置为解析语音数据中的语音以及时间戳,根据解析得到的时间戳控制输出语音数据;The first processing unit is configured to parse the voice and the timestamp in the voice data, and control the output voice data according to the parsed timestamp;
    相应的,所述解析单元,配置为解析视频帧及其对应的时间戳;根据 解析得到的时间戳控制输出视频帧。Correspondingly, the parsing unit is configured to parse the video frame and its corresponding timestamp; The parsed timestamp controls the output video frame.
  15. 一种电子设备,所述电子设备包括:处理器、存储器、麦克风以及摄像头;其中,An electronic device comprising: a processor, a memory, a microphone, and a camera; wherein
    所述存储器,配置为保存一组指令,当执行所述指令时,引起至少一个处理器执行操作;The memory is configured to save a set of instructions that, when executed, cause at least one processor to perform an operation;
    所述处理器,配置为控制所述电子设备处于第一通信状态,在所述第一通信状态中所述第一电子设备与至少一个第二电子设备进行语音数据交互;响应第一操作,控制从第一通信状态切换至第二通信状态,在所述第二通信状态中保持与所述至少一个第二电子设备进行语音数据交互,并且与至少一个第二电子设备分享视频帧;响应第二操作,控制从所述第二通信状态切换至第一通信状态。 The processor is configured to control the electronic device to be in a first communication state, in the first communication state, the first electronic device performs voice data interaction with at least one second electronic device; in response to the first operation, controlling Switching from a first communication state to a second communication state, maintaining voice data interaction with the at least one second electronic device in the second communication state, and sharing a video frame with the at least one second electronic device; responding to the second Operating, controlling switching from the second communication state to the first communication state.
PCT/CN2016/090811 2015-08-05 2016-07-21 Communication processing method and electronic device WO2017020711A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020177034253A KR102110644B1 (en) 2015-08-05 2016-07-21 Communication processing method and electronic device
JP2017556135A JP2018515979A (en) 2015-08-05 2016-07-21 Communication processing method and electronic apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510474631.1A CN105187758B (en) 2015-08-05 2015-08-05 A kind of communication processing method and electronic equipment
CN201510474631.1 2015-08-05

Publications (1)

Publication Number Publication Date
WO2017020711A1 true WO2017020711A1 (en) 2017-02-09

Family

ID=54909581

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/090811 WO2017020711A1 (en) 2015-08-05 2016-07-21 Communication processing method and electronic device

Country Status (4)

Country Link
JP (1) JP2018515979A (en)
KR (1) KR102110644B1 (en)
CN (1) CN105187758B (en)
WO (1) WO2017020711A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111726561A (en) * 2020-06-17 2020-09-29 千脉文化传媒(上海)有限公司 Conference method, system, equipment and storage medium for different terminals and same account
CN113301289A (en) * 2020-02-21 2021-08-24 深圳市万普拉斯科技有限公司 Communication processing method, communication processing device, electronic equipment and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187758B (en) * 2015-08-05 2019-01-29 腾讯科技(深圳)有限公司 A kind of communication processing method and electronic equipment
CN108712577B (en) * 2018-08-28 2021-03-12 维沃移动通信有限公司 Call mode switching method and terminal equipment
CN111212452B (en) * 2020-01-13 2022-05-17 海能达通信股份有限公司 Handover method for voice communication, communication system, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489309A (en) * 2008-01-18 2009-07-22 希姆通信息技术(上海)有限公司 Method and double mode double standby terminal for implementing video sharing service
CN102026162A (en) * 2009-09-15 2011-04-20 中兴通讯股份有限公司 Method and system for initiating video auxiliary voice call
CN103312804A (en) * 2013-06-17 2013-09-18 华为技术有限公司 Screen sharing method, associated equipment and communication system
CN105187758A (en) * 2015-08-05 2015-12-23 腾讯科技(深圳)有限公司 Communication processing method and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0964777A (en) * 1995-08-24 1997-03-07 Hitachi Ltd Radio video signal transmitter-receiver
JP2007318283A (en) * 2006-05-24 2007-12-06 Konica Minolta Holdings Inc Packet communication system, data receiver
KR20080103813A (en) * 2007-05-25 2008-11-28 삼성전자주식회사 Mobile communication terminal and method for video call thereof
KR101351037B1 (en) * 2007-08-01 2014-01-10 엘지전자 주식회사 A mobile telecommunication device and a method of visual communication using the same
CN101426246A (en) * 2008-12-04 2009-05-06 中兴通讯股份有限公司 Method and device for switching between visible telephone and speech telephone
KR101960306B1 (en) * 2012-07-13 2019-03-20 엘지전자 주식회사 Mobile terminal and controlling method thereof
KR20140070134A (en) * 2012-11-30 2014-06-10 엘지전자 주식회사 Mobile terminal and operation method thereof
WO2014168030A1 (en) * 2013-04-11 2014-10-16 Necカシオモバイルコミュニケーションズ株式会社 Communication terminal and communication method
CN104539871B (en) * 2014-12-22 2019-03-15 小米科技有限责任公司 Multimedia session method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489309A (en) * 2008-01-18 2009-07-22 希姆通信息技术(上海)有限公司 Method and double mode double standby terminal for implementing video sharing service
CN102026162A (en) * 2009-09-15 2011-04-20 中兴通讯股份有限公司 Method and system for initiating video auxiliary voice call
CN103312804A (en) * 2013-06-17 2013-09-18 华为技术有限公司 Screen sharing method, associated equipment and communication system
CN105187758A (en) * 2015-08-05 2015-12-23 腾讯科技(深圳)有限公司 Communication processing method and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301289A (en) * 2020-02-21 2021-08-24 深圳市万普拉斯科技有限公司 Communication processing method, communication processing device, electronic equipment and storage medium
CN113301289B (en) * 2020-02-21 2023-04-11 深圳市万普拉斯科技有限公司 Communication processing method, communication processing device, electronic equipment and storage medium
CN111726561A (en) * 2020-06-17 2020-09-29 千脉文化传媒(上海)有限公司 Conference method, system, equipment and storage medium for different terminals and same account

Also Published As

Publication number Publication date
KR20170140369A (en) 2017-12-20
JP2018515979A (en) 2018-06-14
CN105187758A (en) 2015-12-23
CN105187758B (en) 2019-01-29
KR102110644B1 (en) 2020-06-26

Similar Documents

Publication Publication Date Title
WO2017020711A1 (en) Communication processing method and electronic device
CN105144673B (en) Reduced latency server-intervention audio-video communication
US9100200B2 (en) Video augmented text chatting
US11115227B2 (en) Terminal and method for bidirectional live sharing and smart monitoring
US8860771B2 (en) Method and system for making video calls
TWI477108B (en) Method for building video conference
US20130086615A1 (en) Concurrent real-time communication with media contextualized activity sharing
WO2016062170A1 (en) Emergency processing method and apparatus
WO2022135005A1 (en) Call-based screen sharing method, apparatus, device, and storage medium
US20160173820A1 (en) Video Communication Method and Device
CN105635845B (en) Session content transmission method and device
US20220038513A1 (en) Method and Apparatus for Communication Processing
CN105163300B (en) Image sending method and device, image method of reseptance and device
US9277174B2 (en) Information processing apparatus, information processing method and information processing program
JP5228551B2 (en) Cooperation method between door intercom device and IP mobile phone
CN107211171A (en) Shared scene grid data syn-chronization
US11509695B1 (en) Management of controlled-environment facility resident image and/or background during video visitation
CN110603813A (en) System and method for realizing video call and security monitoring through smart television
CN109068096B (en) Remote visual express delivery system and method
WO2022267640A1 (en) Video sharing method, and electronic device and storage medium
KR101360950B1 (en) Method and apparatus for verifying a visitor using SIP sever
CN101888522A (en) Network video conference device and method for carrying out network video conference
TW201112755A (en) Video call system, master-side terminal, slave-side terminal, and program
CN115361365B (en) Video stream-based processing method and related device
CN117880253A (en) Method and device for processing call captions, electronic equipment and storage medium

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: 16832199

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017556135

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20177034253

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04/07/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16832199

Country of ref document: EP

Kind code of ref document: A1