WO2018040813A1 - 音视频通信方法、终端、服务器及存储介质 - Google Patents
音视频通信方法、终端、服务器及存储介质 Download PDFInfo
- Publication number
- WO2018040813A1 WO2018040813A1 PCT/CN2017/094831 CN2017094831W WO2018040813A1 WO 2018040813 A1 WO2018040813 A1 WO 2018040813A1 CN 2017094831 W CN2017094831 W CN 2017094831W WO 2018040813 A1 WO2018040813 A1 WO 2018040813A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user
- terminal
- status information
- audio
- server
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/043—Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1096—Supplementary features, e.g. call forwarding or call holding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
- H04N7/147—Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals
Definitions
- the present application relates to the field of Internet technologies, and in particular, to an audio and video communication method, a terminal, a server, and a storage medium.
- the application example provides an audio and video communication method, a terminal, and a server.
- the technical solution is as follows:
- an audio and video communication method comprising:
- the audio and video call request carries at least a first user identifier and a second user identifier; wherein the first user identifier is a first user corresponding to the first terminal The identifier of the second user that is the second user corresponding to the second terminal;
- an audio and video communication method comprising:
- the audio and video call request carrying at least a first user identifier and a second user identifier, so that the server sends the audio and video call request to the second terminal, and returns to the second user
- the current user information wherein the first user identifier is an identifier of the first user corresponding to the first terminal, and the second user identifier is an identifier of the second user corresponding to the second terminal;
- the current status information of the second user is displayed on the call interface.
- an audio and video communication method comprising:
- the audio and video call request carries at least a first user identifier and a second user identifier, where the first user identifier is an identifier of the first user corresponding to the first terminal, The second user identifier is an identifier of the second user corresponding to the second terminal;
- a server comprising:
- One or more memories are One or more memories
- One or more processors among them,
- the one or more memories storing one or more instruction modules configured to be executed by the one or more processors;
- the one or more instruction modules include:
- a first receiving module configured to receive an audio and video call request sent by the first terminal, where the tone
- the video call request carries at least a first user identifier and a second user identifier; wherein the first user identifier is an identifier of the first user corresponding to the first terminal, and the second user identifier is a second terminal identifier Corresponding identifier of the second user;
- a first sending module configured to send the audio and video call request to the second terminal
- An obtaining module configured to acquire current state information of the second user
- a second sending module configured to send current status information of the second user to the first terminal, where the first terminal displays on the call interface.
- a fifth aspect provides a terminal, where the terminal includes:
- One or more memories are One or more memories
- One or more processors among them,
- the one or more memories storing one or more instruction modules configured to be executed by the one or more processors;
- the one or more instruction modules include:
- a first sending module configured to send an audio and video call request to the server, where the audio and video call request carries at least a first user identifier and a second user identifier, so that the server sends the audio and video call request to the second
- the terminal returns the current status information of the second user, where the first user identifier is the identifier of the first user corresponding to the first terminal, and the second user identifier is the second user corresponding to the second terminal.
- a first receiving module configured to receive current status information of the second user that is sent by the server
- the first display module is configured to display current state information of the second user on the call interface.
- a terminal where the terminal includes:
- One or more memories are One or more memories
- One or more processors among them,
- the one or more memories storing one or more instruction modules configured to be executed by the one or more processors;
- the one or more instruction modules include:
- a first receiving module configured to receive an audio and video call request sent by the server, where the audio and video call request carries at least a first user identifier and a second user identifier, where the first user identifier is a first terminal corresponding to the first terminal An identifier of a user, where the second user identifier is an identifier of the second user corresponding to the second terminal;
- a second receiving module configured to receive a terminal status information acquiring request sent by the server
- the first sending module is configured to send current terminal status information to the server, so that the server sends the terminal status information to the first terminal for display.
- a non-transitory computer readable storage medium having stored thereon a computer program for causing at least one processor to perform the above method.
- FIG. 1 is a schematic diagram of an implementation environment involved in an audio and video communication method provided by an example of the present application
- FIG. 2 is a flow chart of an audio and video communication method provided by another example of the present application.
- FIG. 3 is a schematic diagram of a terminal display interface provided by another example of the present application.
- FIG. 4 is a schematic diagram of a terminal display interface provided by another example of the present application.
- FIG. 5 is a schematic diagram of a terminal display interface provided by another example of the present application.
- FIG. 6 is a schematic structural diagram of a server provided by another example of the present application.
- FIG. 7 is a schematic structural diagram of a terminal provided by another example of the present application.
- FIG. 8 is a schematic structural diagram of a terminal provided by another example of the present application.
- FIG. 9 is a schematic structural diagram of an audio-video communication terminal according to an example of the present application.
- FIG. 10 is a server for audio and video communication, according to an illustrative example.
- the first type of application cannot display the status of each contact in the contact list, such as WeChat, etc.
- the second type can display each contact in the contact list.
- the state of the person such as QQ.
- the first type of application in the audio and video communication scenario, when the first user initiates audio and video communication with the second user in the contact list, the second user is not online because the current state of the second user cannot be displayed. In the state, the first user still waits for the second user to respond, which not only wastes the unnecessary call waiting time of the first user, but also wastes a lot of network resources; for the second type of application, the android push exists due to the Android phone and the Apple phone.
- the status of the second user in the contact list may not be accurate, when the second user is offline, the audio and video call request sent by the first user cannot be accepted, and the first user cannot know In this case, the audio and video call to the second user may be initiated all the time, and the waiting time and network resources of the first user are also wasted.
- the application example provides an audio and video communication method, which acquires a current state of a second user as a called party, and sends the current state to the first user, so that the first user can The current state of the second user selects an appropriate waiting time, thereby improving the connection rate when communicating with the second user while saving network resources.
- FIG. 1 illustrates an implementation environment involved in an audio and video communication method provided by an example of the present application.
- the implementation environment includes: a first terminal 101 , a server 102 , and a second terminal 103 .
- the first terminal 101 is a terminal where the first user is located
- the second terminal 103 is a terminal where the second user is located.
- the first terminal 101 and the second terminal 102 may be smart phones, tablets, notebook computers, etc., and the present example does not specifically define the product types of the first terminal 101 and the second terminal 102.
- a plurality of applications including a WeChat application, a QQ application, and the like, are installed in the first terminal 101 and the second terminal 103.
- the server 102 is an application server, and the server 102 includes a state synchronization module 1021, an audio and video policy service module 1022, and a status notification module 1023.
- the state synchronization module 1021 maintains a state information database, and can receive user state information reported by different users in real time, and update to the state information database, so that the state notification module 1023 can query the state information of the user.
- the state synchronization module 1021 can be a computing device, and can also be a cluster formed by multiple computing devices, which is determined according to the computing capability of the computing device in practical applications.
- the audio and video policy service module 1022 can receive the audio and video call request sent by the first terminal 101, allocate communication resources for the first user and the second user, send the audio and video call request to the second terminal 102, and send the message to the status notification module 1023.
- the status query message acquires the current status information of the second user and the terminal status information of the second terminal 103 by the trigger status notification module 1023.
- the audio and video policy service module 1022 can be a computing device, and can also be a cluster formed by multiple computing devices, which is determined according to the computing power of the computing device in practical applications.
- the status notification module 1023 can obtain the current status information of the second user from the status synchronization module 1021, and acquire the terminal status information of the second terminal from the second terminal 103, and summarize the processed status information, and then send the status information to the first terminal 101.
- the status notification module 1023 can be a computing device, and can also be a cluster formed by multiple computing devices, and is calculated according to actual applications. The computing power of the device is determined.
- the terminal 101 and the server 102 can communicate with each other through a wired network or a wireless network, and the server 102 and the terminal 103 can communicate with each other through a wired network or a wireless network.
- the example of the present application provides an audio and video communication method.
- the method flow provided by this example includes:
- the first terminal sends an audio and video call request to the server.
- a plurality of applications having audio and video communication functions are installed in the first terminal and the second terminal, and the first user on the first terminal side wants to perform the second user on the second terminal side through any application.
- the first user may trigger the first terminal to display a communication interface with the second user, and the communication interface displays an audio and video call option, an expression option, a text input dialog box, and the like, when the audio and video call option is detected.
- the first terminal generates an audio and video call request, and sends an audio and video call request to the audio and video policy service module in the server through the network, where the audio and video call request carries at least the first user identifier and the second user identifier, etc.
- the first user identifier may be a registered account of the first user in the application
- the second user identifier may be a registered account of the second user in the application.
- the first user identifier is an identifier of the first user corresponding to the first terminal, that is, an identifier of the calling user
- the second user identifier is a second user corresponding to the second terminal. Identification, that is, the identity of the called user.
- the server allocates communication resources for the first user and the second user.
- the communication resources include a data stream interface machine and the like.
- the audio and video policy service module in the server When receiving the audio and video call request sent by the first terminal where the first user is located, the audio and video policy service module in the server establishes a call channel, and allocates the current tone to the first user and the second user according to the usage of the communication resource. Communication resources used by video communication.
- the server allocates communication resources for the first user and the second user, and the purpose thereof is to allocate resources for the call that the first user and the second user are likely to establish, in fact, the step can be audio and video on the server.
- the call request is sent to the second user for execution, or may be performed when the second user selects the answer, and the step of allocating communication resources is not for the purpose of presenting the current state of the second user to the first user. Must be executed.
- the server sends an audio and video call request to the second user, that is, the server sends the audio and video call request to the second terminal.
- the audio and video policy service module in the server After allocating communication resources for the first user and the second user, the audio and video policy service module in the server sends the received audio and video call request to the second user through the network based on the established call channel and the second user identifier.
- the server acquires current status information of the second user.
- the status information includes the status of the user in the application, such as the online status (including online, stealth, busy, leaving, etc.), the offline status (including offline, offline, etc.), and the status of the notification function (including the notification function and the shutdown notification). Function, etc.).
- the state synchronization module in the server maintains a state information database, where the state information database stores a correspondence between one or more user identifiers and state information.
- the server When receiving an audio and video call request, the server The audio and video policy service module further sends a status acquisition request to the status notification module, where the status acquisition request carries at least the second user identifier.
- the status notification module sends the status acquisition request to the status synchronization module.
- the status information database In the status information database, the current status information of the second user is obtained.
- the built-in state synchronization protocol acquires the state information of the user application, and sends the state information to the state synchronization module in the server, when receiving the first user and the second user.
- the state synchronization module may update the state information database to ensure the state information of each user in the state information database. For the latest status information.
- the server sends current status information of the second user to the first user. That is, the current status information of the second user is sent to the first terminal, and the first terminal displays on the call interface.
- the status notification module in the server may also send the current status information of the second user to the first user through the network.
- the first terminal When receiving current status information of the second user, the first terminal displays current status information of the second user on the call interface.
- the call interface is an interface where the first user initiates a call to the second user.
- the first terminal may display the current status information of the second user on the call interface, so that the first user can set the audio and video communication according to the current status of the second user.
- Reasonable call waiting time so as to maximize the connection rate while avoiding wasting network resources. For example, when the call interface displays “the second user is online”, the first user may appropriately extend the call waiting duration for the second user to implement audio and video communication with the second user; when the call interface displays “No. When the second user is in the offline state, the first user can immediately end the audio and video call with the second user to avoid wasting unnecessary call waiting time and network resources.
- the first user may also optimize the audio and video communication according to other content of the current state of the second user displayed on the call interface.
- the first user initiates audio and video communication with the second user.
- the server acquires the current state information of the second user, and the second user is in the online state and the second The user's QQ notification function is turned off, indicating that the second terminal on the second user side does not remind the second user by playing an audio file or a jitter window when receiving the audio and video access request, when receiving the second
- the current status information of the user the first terminal displays the status information of the second user, “the other party is online and the QQ notification function is turned off”.
- the second user may take a long time to discover the audio and video call request, and therefore, based on the acquired current state information of the second user, the first user extends the pair. The call waiting time of the second user to increase the connection rate.
- the status notification module when receiving the status acquisition request sent by the audio and video policy service module, the status notification module further sends a terminal status acquisition request to the second user, if the second terminal where the second user is located has a connection with the server.
- the second terminal may receive the terminal status acquisition request, and obtain the terminal status information that cannot be reported to the status synchronization module due to the limitation or defect of the second terminal system, and then send the acquired terminal status information according to the terminal status acquisition request.
- the status notification module when receiving the terminal status information sent by the second terminal, the status notification module sends the terminal status information to the first user, where the first terminal where the first user is located is displayed on the call interface; if the second user The second terminal is disconnected from the server, and the second terminal does not receive the terminal status acquisition request, and cannot return the terminal status information to the status notification module.
- the terminal status information is used to indicate the reminding mode of the terminal, including the terminal type, the multi-terminal online status, the network status, and the like.
- the terminal reminding manner includes vibration, mute, and the like, and the terminal type includes Android, IOS, Windows, and the like. Since the terminal status information may relate to the user's private information, after receiving the terminal status information sent by the second terminal, the status notification module will process the terminal status information of the second terminal, and the information that does not involve the user's privacy. Send to the first user.
- the first user initiates audio and video communication with the second user.
- the server acquires the current state information of the second user, and the second user is in the online state, and obtains The terminal status information to the second terminal is that the network status is good, indicating that the second terminal on the second user side can provide a good audio and video communication service for the second user when receiving the audio and video access request, when receiving the second
- the current status information of the user and the status information of the terminal the first terminal will state the status information of the terminal, "the other party is online and the network status is good.” Good" is displayed on the call interface, because in this case, the second user can quickly respond to the audio and video call request, so the first user can achieve the call waiting time with the second user. Audio and video communication.
- the first user initiates audio and video communication with the second user.
- the server acquires the current state information of the second user, and the second user is in the online state, and obtains
- the terminal status information to the second terminal is the mobile phone online, indicating that the second user on the second user side responds to the mobile phone when receiving the audio and video access request, and receives the current status information of the second user.
- the terminal status information the first terminal displays the status information of the terminal, “the other party is online, and is transferring the other party's mobile phone” on the call interface, because in this case, the audio and video call request needs to be transferred to the second user.
- the process may take a certain time. Therefore, based on the acquired current state information of the second user and the terminal state information, the first user may extend the call waiting time for the second user to improve the connection rate. .
- the second terminal When detecting a response operation to the audio and video call request, the second terminal establishes audio and video communication between the second user and the first user.
- the second terminal When receiving the audio and video call request, the second terminal displays a communication processing interface, and the communication processing interface displays multiple options such as an answering option and a rejecting option. If the second user wants to perform audio and video communication with the first user, The second user selects an answering option, and when the second terminal detects the response operation of the audio and video call request, establishing an audio-video communication between the second user and the first user to implement communication between the second user and the first user .
- the first user may trigger the first terminal to send an audio and video call request to the audio and video policy service module in the server, when Receive audio and video call request, audio and video policy service module Allocating communication resources to the first user and the second user, and sending the audio and video call request to the second terminal, and the audio and video policy service module sends a status acquisition request to the status notification module, and the status notification module sends the status acquisition request to the status
- the synchronization module is configured to obtain the current state information of the second user.
- the state notification module further sends a terminal state acquisition request to the second terminal to obtain the terminal state information of the second terminal.
- the status information and the terminal status information of the second terminal, the status notification module sends the current status of the second user and the terminal status information of the second terminal to the first user.
- the above-mentioned two-person audio and video communication between the first user and the second user is taken as an example for description.
- the method provided by the present example also supports multi-person audio and video communication, and the process for multi-person audio and video communication, and the above The process of the two-person audio and video communication is the same.
- the above process and details are not described herein again.
- the first user is the calling user
- the second user is the called user as an example.
- the first user may also be the called user
- the second user may also be the calling party. user.
- the method provided by the example of the present application when the first user initiates audio and video communication with the second user, obtains the current state information of the second user, and synchronizes the current state information of the second user to the first user, so that the first The user can timely sense the current state information of the second user, and set a reasonable call waiting time according to the current state of the second user, thereby maximizing the connection rate while saving network resources.
- an example of the present application provides a server, where the server includes:
- One or more memories are One or more memories
- One or more processors are One or more processors;
- the one or more memories store one or more instruction modules configured to be executed by the one or more processors;
- the one or more instruction modules include:
- the first receiving module 601 is configured to receive an audio and video call request sent by the first user, where the audio and video call request carries at least the first user identifier and the second user identifier; that is, the audio and video call request sent by the first terminal is received.
- the audio and video call request carries at least a first user identifier and a second user identifier, where the first user identifier is an identifier of the first user corresponding to the first terminal, and the second user identifier is The identifier of the second user corresponding to the second terminal;
- the first sending module 603 is configured to send an audio and video call request to the second user, that is, send the audio and video call request to the second terminal;
- the obtaining module 604 is configured to acquire current state information of the second user.
- the second sending module 605 is configured to send the current status information of the second user to the first user, and the first user displays the status information on the calling interface. That is, the current status information of the second user is sent to the first terminal, and the first terminal displays on the call interface.
- the obtaining module 604 is configured to obtain current state information of the second user from the state information database according to the second user identifier, where the state information database stores one or more user identifiers and states. The correspondence between the information.
- the server further includes:
- a second receiving module configured to receive status information reported by one or more users in real time; that is, receive status information reported by one or more user terminals;
- An update module is configured to update the status information database according to status information reported by one or more users. That is, the status information database is updated according to the status information reported by the one or more user terminals.
- the server further includes:
- a third sending module configured to send a terminal status acquisition request to the second user, the terminal status The obtaining request is used to trigger the terminal of the second user to return the terminal status information, that is, to send the terminal status obtaining request to the second terminal, so that the second terminal returns the terminal status information of the second terminal;
- the fourth sending module is configured to: when receiving the terminal status information sent by the second user, send the terminal status information to the first user, where the first user displays on the calling page. That is, when receiving the terminal status information sent by the second terminal, the terminal status information is sent to the first terminal, and the first terminal displays on the call page.
- the server provided by the example of the present application, when the first user initiates audio and video communication with the second user, obtains the current state information of the second user, and synchronizes the current state information of the second user to the first user, so that the first The user can timely sense the current state information of the second user, and set a reasonable call waiting time according to the current state of the second user, thereby maximizing the connection rate while saving network resources.
- the example of the present application provides a terminal, where the terminal is a terminal where the first user is located, and the terminal includes:
- One or more memories are One or more memories
- One or more processors are One or more processors;
- the one or more memories store one or more instruction modules configured to be executed by the one or more processors;
- the one or more instruction modules include:
- the first sending module 701 is configured to send an audio and video call request to the server, where the audio and video call request carries at least the first user identifier and the second user identifier, and the server sends the audio and video call request to the second user, and returns to the second user.
- Current state information that is, an audio and video call request is sent to the server, the audio and video call request carrying at least a first user identifier and a second user identifier, so that the server sends the audio and video call request to the second End End and return the current status information of the second user;
- the first receiving module 702 is configured to receive current status information of the second user sent by the server.
- the first display module 703 is configured to display current state information of the second user on the call interface.
- the terminal further includes:
- the second sending module is configured to send the status information of the first user to the server in real time, the status information of the first user is used by the server to update the status information database, and the status information database is used by the server to obtain current status information of the second user. That is, the current state information of the first user is sent to the server, so that the server updates the state information database, and the state information database stores a correspondence between one or more user identifiers and state information.
- the terminal further includes:
- a second receiving module configured to receive terminal status information of a terminal where the second user is located, which is sent by the server; that is, receive terminal status information of the second terminal that is sent by the server;
- the second display module is configured to display terminal status information on the call interface.
- the terminal when the first user initiates audio and video communication with the second user, receives the current state information of the second user sent by the server, and displays the information on the call interface, so that the first user can timely sense The current state information of the second user, and setting a reasonable call waiting duration according to the current state of the second user, thereby maximizing the connection rate while saving network resources.
- an example of the present application provides a terminal, where the terminal is a terminal where the second user is located, and the terminal includes:
- One or more memories are One or more memories
- One or more processors are One or more processors;
- the one or more memories store one or more instruction modules configured to be executed by the one or more processors;
- the one or more instruction modules include:
- the first receiving module 801 is configured to receive an audio and video call request sent by the server, where the audio and video call request carries at least a first user identifier and a second user identifier, where the first user identifier is corresponding to the first terminal An identifier of the first user, where the second user identifier is an identifier of the second user corresponding to the second terminal;
- the second receiving module 802 is configured to receive a terminal status information acquiring request sent by the server.
- the first sending module 803 is configured to send current terminal status information to the server, so that the server sends the terminal status information to the first terminal for display;
- the establishing module 804 is configured to establish an audio-video communication between the second user and the first user when the response operation of the audio-video call request is detected.
- the terminal further includes:
- a second sending module configured to send status information of the second user to the server in real time, the status information of the second user is used by the server to update the status information database, and the status information database is used by the server to obtain current status information of the second user, and Send to the first user for display. That is, the state information of the second user is sent to the server, so that the server updates the state information database, and the state information database stores a correspondence between one or more user identifiers and state information.
- the terminal when the first user initiates audio and video communication with the second user, sends the terminal status information to the server, and is sent by the server to the first user, so that the first user can perceive the second user in time.
- the terminal status information of the terminal is located, and a reasonable call waiting duration is set according to the current state of the second user, thereby maximizing the connection rate while saving network resources.
- FIG. 9 a schematic structural diagram of an audio-video communication terminal according to an example of the present application is shown, and the terminal can be used to implement the audio-video communication method provided in the above example. Specifically:
- the terminal 900 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WiFi (Wireless Fidelity, wireless).
- the fidelity module 170 includes a processor 180 having one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the terminal structure shown in FIG. 9 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or combine some components, or different component arrangements. among them:
- the RF circuit 110 can be used for transmitting and receiving information or during a call, and receiving and transmitting signals. Specifically, after receiving downlink information of the base station, the downlink information is processed by one or more processors 180. In addition, the data related to the uplink is sent to the base station. .
- the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
- RF circuitry 110 can also communicate with the network and other devices via wireless communication.
- the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
- GSM Global System of Mobile communication
- GPRS General Packet Radio Service
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- LTE Long Term Evolution
- e-mail Short Messaging Service
- the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data by running software programs and modules stored in the memory 120. deal with.
- the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 900 (such as audio data, phone book, etc.) and the like.
- memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
- the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
- input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
- Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
- touch-sensitive surface 131 can include both portions of a touch detection device and a touch controller.
- the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
- the processor 180 is provided and can receive commands from the processor 180 and execute them.
- the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the input unit 130 can also include other input devices 132.
- other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
- the display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal 900, which can be graphical, textual, An icon, a video, and any combination thereof.
- the display unit 140 may include a display panel 141.
- the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
- the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
- the touch-sensitive surface 131 and the display panel 141 are implemented as two separate components to implement input and input functions, in some examples, the touch-sensitive surface 131 may be integrated with the display panel 141 to implement input and Output function.
- Terminal 900 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the terminal 900 moves to the ear. / or backlight.
- the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
- the terminal 900 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
- the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the terminal 900.
- the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, sent to the other terminal via the RF circuit 110, or output the audio data to the memory 120 for further processing.
- the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 900.
- WiFi is a short-range wireless transmission technology
- the terminal 900 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides wireless broadband Internet access for users.
- FIG. 9 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the terminal 900, and may be omitted as needed within the scope of not changing the essence of the invention.
- the processor 180 is a control center of the terminal 900 that connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120, The various functions and processing data of the terminal 900 are performed to perform overall monitoring of the mobile phone.
- processor 180 may include one or more processing cores; in some examples, processor 180 may integrate an application processor and a modem processor, where the application processor primarily processes an operating system, a user interface, and For applications, etc., the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
- the terminal 900 also includes a power source 190 (such as a battery) that supplies power to the various components.
- the power source can be logically coupled to the processor 180 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
- Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
- the terminal 900 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
- the display unit of terminal 900 is a touch screen display
- terminal 900 further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be comprised of one or more The processor executes.
- the one or more programs include a terminal for performing an audio-video communication method The function of the line.
- the terminal when the first user initiates audio and video communication with the second user, receives the current state information of the second user sent by the server, and displays the information on the call interface, so that the first user can timely sense The current state information of the second user, and setting a reasonable call waiting duration according to the current state of the second user, thereby maximizing the connection rate while saving network resources.
- the application example further provides a computer readable storage medium, which may be a computer readable storage medium included in the memory in the above example; or may exist separately, not assembled into a terminal or a server Computer readable storage medium.
- the computer readable storage medium stores one or more programs that are used by one or more processors to perform functions performed by a terminal or server in an audiovisual communication method.
- the computer-readable storage medium provided by the example of the present application, when the first user initiates audio-video communication with the second user, receives the current state information of the second user sent by the server, and displays on the call interface, so that the first The user can timely sense the current state information of the second user, and set a reasonable call waiting time according to the current state of the second user, thereby maximizing the connection rate while saving network resources.
- a graphical user interface is provided in an example of the present application for use in an audiovisual communication terminal including a touch screen display, a memory, and one or more programs for executing one or more programs
- the processor is configured to perform the functions performed by the terminal in the above audio and video communication method.
- the graphical user interface provided by the example of the present application, when the first user initiates audio and video communication with the second user, receives the current state information of the second user sent by the server, and is in the call
- the display is displayed on the interface, so that the first user can timely sense the current state information of the second user, and set a reasonable call waiting duration according to the current state of the second user, thereby maximizing the connection while saving network resources. rate.
- FIG. 10 is a server for audio and video communication, according to an illustrative example.
- server 1000 includes a processing component 1022 that further includes one or more processors, and memory resources represented by memory 1032 for storing instructions executable by processing component 1022, such as an application.
- An application stored in memory 1032 can include one or more modules each corresponding to a set of instructions.
- the processing component 1022 is configured to execute instructions to perform the functions performed by the server in the audio-video communication described above.
- Server 1000 may also include a power component 1026 configured to perform power management of server 1000, a wired or wireless network interface 1050 configured to connect server 1000 to the network, and an input/output (I/O) interface 1058.
- Server 1000 can operate based on the operating system stored in memory 1032, for example, Windows Server TM, Mac OS X TM , Unix TM, Linux TM, FreeBSD TM or similar.
- the server provided by the example of the present application, when the first user initiates audio and video communication with the second user, obtains the current state information of the second user, and synchronizes the current state information of the second user to the first user, so that the first The user can timely sense the current state information of the second user, and set a reasonable call waiting time according to the current state of the second user, thereby maximizing the connection rate while saving network resources.
- server and the terminal provided by the above example are only illustrated by the division of the above functional modules when performing audio and video communication. In actual applications, the function allocation may be completed by different functional modules as needed.
- the internal junction of the server and terminal The structure is divided into different functional modules to complete all or part of the functions described above.
- server, the terminal instance and the example of the audio and video communication method provided by the foregoing examples belong to the same concept, and the specific implementation process is described in the method example, and details are not described herein again.
- a person skilled in the art may understand that all or part of the steps of implementing the above examples may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
- the storage medium to which it is obtained may be a read only memory, a magnetic disk or an optical disk or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Computing Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
本申请公开了一种音视频通信方法、终端、服务器及存储介质,属于互联网技术领域。该方法包括:接收第一终端发送的音视频呼叫请求,所述音视频呼叫请求至少携带有第一用户标识和第二用户标识;其中,所述第一用户标识为所述第一终端所对应的第一用户的标识,所述第二用户标识为第二终端所对应的第二用户的标识;将所述音视频呼叫请求发送至所述第二终端;获取所述第二用户的当前状态信息;将所述第二用户的当前状态信息发送至所述第一终端,由所述第一终端在呼叫界面上进行显示。
Description
本申请要求于2016年8月31日提交中国专利局、申请号为201610794524.1、发明名称为“音视频通信方法、终端及服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及互联网技术领域,特别涉及一种音视频通信方法、终端、服务器和存储介质。
在现代社会,音视频通信已广泛应用到日常交流、商务会谈、智能家居、远程教育和医疗服务等方面,成为人们生活中不可或缺的组成部分。为了满足用户的通信需求,终端中安装了多种音视频通信功能的应用,基于这些应用,用户可随时随地获取到的音视频通信服务。
发明内容
本申请实例提供了一种音视频通信方法、终端及服务器。所述技术方案如下:
第一方面,提供了一种音视频通信方法,所述方法包括:
接收第一终端发送的音视频呼叫请求,所述音视频呼叫请求至少携带有第一用户标识和第二用户标识;其中,所述第一用户标识为所述第一终端所对应的第一用户的标识,所述第二用户标识为第二终端所对应的第二用户的标识;
将所述音视频呼叫请求发送至所述第二终端;
获取所述第二用户的当前状态信息;
将所述第二用户的当前状态信息发送至所述第一终端,由所述第一终端在呼叫界面上进行显示。
第二方面,提供了一种音视频通信方法,所述方法包括:
向服务器发送音视频呼叫请求,所述音视频呼叫请求至少携带有第一用户标识和第二用户标识,以使所述服务器将所述音视频呼叫请求发送至第二终端,并返回第二用户的当前状态信息;其中,所述第一用户标识为第一终端所对应第一用户的标识,所述第二用户标识为所述第二终端所对应第二用户的标识;
接收所述服务器发送的所述第二用户的当前状态信息;
在呼叫界面上显示所述第二用户的当前状态信息。
第三方面,提供了一种音视频通信方法,所述方法包括:
接收服务器发送的音视频呼叫请求,所述音视频呼叫请求至少携带有第一用户标识和第二用户标识;其中,所述第一用户标识为第一终端所对应第一用户的标识,所述第二用户标识为所述第二终端所对应第二用户的标识;
接收所述服务器发送的终端状态信息获取请求;
将当前的终端状态信息发送至所述服务器,以使所述服务器将所述终端状态信息发送至第一终端进行显示。
第四方面,提供了一种服务器,所述服务器包括:
一个或一个以上存储器;
一个或一个以上处理器;其中,
所述一个或一个以上存储器存储有一个或者一个以上指令模块,经配置由所述一个或者一个以上处理器执行;其中,
所述一个或者一个以上指令模块包括:
第一接收模块,用于接收第一终端发送的音视频呼叫请求,所述音
视频呼叫请求至少携带有第一用户标识和第二用户标识;其中,所述第一用户标识为所述第一终端所对应的第一用户的标识,所述第二用户标识为第二终端所对应的第二用户的标识;
第一发送模块,用于将所述音视频呼叫请求发送至所述第二终端;
获取模块,用于获取所述第二用户的当前状态信息;
第二发送模块,用于将所述第二用户的当前状态信息发送至所述第一终端,由所述第一终端在呼叫界面上进行显示。
第五方面,提供了一种终端,所述终端包括:
一个或一个以上存储器;
一个或一个以上处理器;其中,
所述一个或一个以上存储器存储有一个或者一个以上指令模块,经配置由所述一个或者一个以上处理器执行;其中,
所述一个或者一个以上指令模块包括:
第一发送模块,用于向服务器发送音视频呼叫请求,所述音视频呼叫请求至少携带有第一用户标识和第二用户标识,以使所述服务器将所述音视频呼叫请求发送至第二终端,并返回第二用户的当前状态信息;其中,所述第一用户标识为第一终端所对应第一用户的标识,所述第二用户标识为所述第二终端所对应第二用户的标识;
第一接收模块,用于接收所述服务器发送的所述第二用户的当前状态信息;
第一显示模块,用于在呼叫界面上显示所述第二用户的当前状态信息。
第六方面,提供了一种终端,所述终端包括:
一个或一个以上存储器;
一个或一个以上处理器;其中,
所述一个或一个以上存储器存储有一个或者一个以上指令模块,经配置由所述一个或者一个以上处理器执行;其中,
所述一个或者一个以上指令模块包括:
第一接收模块,用于接收服务器发送的音视频呼叫请求,所述音视频呼叫请求至少携带有第一用户标识和第二用户标识;其中,所述第一用户标识为第一终端所对应第一用户的标识,所述第二用户标识为所述第二终端所对应第二用户的标识;
第二接收模块,用于接收所述服务器发送的终端状态信息获取请求;
第一发送模块,用于将当前的终端状态信息发送至所述服务器,以使所述服务器将所述终端状态信息发送至第一终端进行显示。
第六方面,提供了一种非易失性计算机可读存储介质,其上存储有计算机程序,可以使至少一个处理器执行上述方法。
为了更清楚地说明本申请实例中的技术方案,下面将对实例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请一个实例提供的一种音视频通信方法所涉及的实施环境的示意图;
图2是本申请另一个实例提供的一种音视频通信方法流程图;
图3是本申请另一个实例提供的一种终端显示界面的示意图;
图4是本申请另一个实例提供的一种终端显示界面的示意图;
图5是本申请另一个实例提供的一种终端显示界面的示意图;
图6是本申请另一个实例提供的一种服务器的结构示意图;
图7是本申请另一个实例提供的一种终端的结构示意图;
图8是本申请另一个实例提供的一种终端的结构示意图;
图9是本申请实例所涉及的音视频通信终端的结构示意图;
图10是根据一示例性实例示出的一种用于音视频通信的服务器。
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
用户使用的具有音视频通信功能的应用主要有两种类型,第一类应用不能够显示联系人列表中每个联系人的状态,例如微信等,第二类可以显示联系人列表中每个联系人的状态,例如QQ等。针对第一类应用,在音视频通信场景下,当第一用户发起与联系人列表中的第二用户的音视频通信时,因无法显示第二用户的当前状态,在第二用户处于不在线状态时,第一用户依然会等待第二用户响应,不仅会浪费第一用户不必要的呼叫等待时间,而且浪费大量的网络资源;针对第二类应用,因安卓手机、苹果手机存在android push、apple push等问题,联系人列表中第二用户的状态可能并不准确,在第二用户处于不在线状态时,第一用户所发送的音视频呼叫请求无法被接受,而第一用户因无法获知这一情况,可能会一直发起对第二用户的音视频呼叫,同样会浪费第一用户的等待呼叫时间及网络资源。
本申请实例提供了一种音视频通信方法,该方法通过获取作为被叫方的第二用户的当前状态,并发送至第一用户,使得第一用户能够根据
第二用户的当前状态选取合适的等待时长,从而在节省网络资源的同时,提高了与第二用户通信时的接通率。请参考图1,其示出了本申请实例提供的音视频通信方法所涉及的实施环境,参见图1,该实施环境包括:第一终端101、服务器102及第二终端103。
其中,第一终端101为第一用户所在的终端,第二终端103为第二用户所在的终端。第一终端101和第二终端102可以为智能手机、平板电脑、笔记本电脑等等,本实例不对第一终端101和第二终端102的产品类型作具体的限定。为了满足用户的音视频通信需求,第一终端101和第二终端103中安装了多种应用,包括微信应用、QQ应用等。
服务器102为一种应用服务器,该服务器102包括状态同步模块1021、音视频策略服务模块1022及状态通知模块1023。状态同步模块1021维护一个状态信息数据库,可实时接收不同用户上报的用户状态信息,并更新到状态信息数据库中,以供状态通知模块1023查询用户的状态信息。该状态同步模块1021可以为一台计算设备,还可以为多个台计算设备构成的集群,在实际应用中根据计算设备的计算能力确定。音视频策略服务模块1022可接收第一终端101发送的音视频呼叫请求,为第一用户和第二用户分配通信资源,将音视频呼叫请求发送至第二终端102,并向状态通知模块1023发送状态查询消息,以触发状态通知模块1023获取第二用户的当前状态信息及第二终端103的终端状态信息。该音视频策略服务模块1022可以为一台计算设备,还可以为多个台计算设备构成的集群,在实际应用中根据计算设备的计算能力确定。状态通知模块1023可从状态同步模块1021获取第二用户的当前状态信息,并从第二终端103获取第二终端的终端状态信息,对获取到的状态信息汇总处理后,发送给第一终端101。该状态通知模块1023可以为一台计算设备,还可以为多个台计算设备构成的集群,在实际应用中根据计算
设备的计算能力确定。
上述终端101与服务器102之间可通过有线网络或无线网络进行通信,服务器102与终端103之间可通过有线网络或无线网络进行通信。
基于图1所示的音视频通信的实施环境,本申请实例提供了一种音视频通信方法,参见图2,本实例提供的方法流程包括:
201、第一终端向服务器发送音视频呼叫请求。
在本实例中,第一终端和第二终端中安装有多种具有音视频通信功能的应用,当第一终端侧的第一用户想要通过任一应用与第二终端侧的第二用户进行音视频通信时,第一用户可触发第一终端显示与第二用户的通信界面,该通信界面上显示有音视频呼叫选项、表情选项、文字输入对话框等等,当检测到音视频呼叫选项被选中,第一终端生成音视频呼叫请求,并通过网络向服务器中的音视频策略服务模块发送音视频呼叫请求,该音视频呼叫请求中至少携带第一用户标识和第二用户标识等,该第一用户标识可以为第一用户在该应用程序中的注册账号,第二用户标识可以为第二用户在该应用程序中的注册账号。
可以理解的是,所述第一用户标识为所述第一终端所对应的第一用户的标识,即主叫用户的标识;所述第二用户标识为第二终端所对应的第二用户的标识,即被叫用户的标识。
202、当接收到音视频呼叫请求时,服务器为第一用户和第二用户分配通信资源。
其中,通信资源包括数据流接口机等。当接收到第一用户所在的第一终端发送的音视频呼叫请求,服务器中的音视频策略服务模块建立呼叫通道,并根据通信资源的使用情况,为第一用户和第二用户分配本次音视频通信所使用的通信资源。
可理解的是,服务器为第一用户和第二用户分配通信资源的步骤,其目的是为第一用户和第二用户即将有可能建立的通话分配资源,实际上该步骤可以在服务器将音视频呼叫请求发送至第二用户之后执行,也可以在第二用户选择接听时执行,而且,分配通信资源这一步骤对于将第二用户的当前状态展示给第一用户这一目的而言,并不是必须要执行的。
203、服务器将音视频呼叫请求发送至第二用户,也就是说,服务器将所述音视频呼叫请求发送至所述第二终端。
在为第一用户和第二用户分配通信资源后,服务器中的音视频策略服务模块基于所建立的呼叫通道及第二用户标识,通过网络将接收到的音视频呼叫请求发送至第二用户。
204、服务器获取第二用户的当前状态信息。
其中,状态信息包括用户在应用中的状态,如在线状态(包括在线、隐身、忙碌、离开等)、离线状态(包括下线、离线等)、通知功能的状态(包括开启通知功能和关闭通知功能等)。在本实例中,服务器中的状态同步模块维护一个状态信息数据库,该状态信息数据库中存储有一个或多个用户标识与状态信息之间的对应关系,当接收到音视频呼叫请求时,服务器中的音视频策略服务模块还将向状态通知模块发送状态获取请求,该状态获取请求中至少携带第二用户标识,当接收到状态获取请求时,状态通知模块将状态获取请求发送至状态同步模块从状态信息数据库中,获取第二用户的当前状态信息。当用户在各种终端上使用应用时,应用内置的状态同步协议会获取用户应用程序的状态信息,并将状态信息发送至服务器中的状态同步模块,当接收到包括第一用户和第二用户在内的一个或多个用户上报的状态信息,状态同步模块可对状态信息数据库进行更新,以确保状态信息数据库中每个用户的状态信息均
为最新状态信息。
205、服务器将第二用户的当前状态信息发送至第一用户。也就是说,将所述第二用户的当前状态信息发送至所述第一终端,由所述第一终端在呼叫界面上进行显示。
当获取到第二用户的当前状态信息,服务器中的状态通知模块还可通过网络将第二用户的当前状态信息发送至第一用户。
206、当接收到第二用户的当前状态信息时,第一终端在呼叫界面上显示第二用户的当前状态信息。
其中,呼叫界面为第一用户向第二用户发起呼叫的界面。当接收到第二用户的当前状态信息,第一终端可在呼叫界面上显示第二用户的当前状态信息,以使第一用户可根据第二用户的当前状态,为本次音视频通信设定合理的呼叫等待时长,从而在避免浪费网络资源的前提下,最大限度地提高接通率。例如,当呼叫界面显示“第二用户处于在线状态”时,第一用户可适当延长对第二用户的呼叫等待时长,以实现与第二用户间的音视频通信;当呼叫界面上显示“第二用户处于不在线状态”时,第一用户可立即结束发起与第二用户的音视频呼叫,以避免浪费不必要的呼叫等待时长及网络资源。
在第二用户处于在线状态的场景下,第一用户还可根据呼叫界面上所显示的第二用户的当前状态的其他内容,对本次音视频通信作为优化。参见图3,以QQ应用为例,第一用户发起与第二用户的音视频通信,在音视频接入过程中,服务器获取第二用户的当前状态信息为第二用户处于在线状态且第二用户的QQ通知功能已关闭,说明第二用户侧的第二终端在接收到音视频接入请求时,不会通过播放音频文件、抖动窗口等方式对第二用户进行提醒,当接收到第二用户的当前状态信息,第一终端将第二用户的状态信息“对方在线且QQ通知功能已关闭”显示
在呼叫界面上,由于在该种情况下,第二用户可能会耗费较长的时间才能发现音视频呼叫请求,因此,基于所获取到的第二用户的当前状态信息,第一用户通过延长对第二用户的呼叫等待时间,以提高接通率。
在音视频接入过程中,当接收到音视频策略服务模块发送的状态获取请求,状态通知模块还将向第二用户发送终端状态获取请求,如果第二用户所在的第二终端与服务器具有连接关系,第二终端可接收到终端状态获取请求,并根据终端状态获取请求,获取因第二终端系统限制或缺陷无法向状态同步模块上报的终端状态信息,进而将所获取到的终端状态信息发送至状态通知模块,当接收到第二终端发送的终端状态信息,状态通知模块将终端状态信息发送至第一用户,由第一用户所在的第一终端在呼叫界面上进行显示;如果第二用户所在的第二终端与服务器断连接等,第二终端不会接收到终端状态获取请求,也无法向状态通知模块返回终端状态信息。
其中,终端状态信息用于指示终端的提醒方式,包括终端类型、多终端在线情况、网络状况等等,终端的提醒方式包括震动、静音等,该终端类型包括安卓、IOS、Windows等。由于终端状态信息可以会涉及到用户的隐私信息,因此,在接收到第二终端发送的终端状态信息,状态通知模块将会对第二终端的终端状态信息进行处理,将不涉及用户隐私的信息发送给第一用户。
参见图4,以QQ应用为例,第一用户发起与第二用户的音视频通信,在音视频接入过程中,服务器获取第二用户的当前状态信息为第二用户处于在线状态,并获取到第二终端的终端状态信息为网络状态良好,说明第二用户侧的第二终端在接收到音视频接入请求时,能够为第二用户提供良好的音视频通信服务,当接收到第二用户的当前状态信息及终端状态信息,第一终端将终端的状态信息“对方在线且网络状态良
好”显示在呼叫界面上,由于在该种情况下,第二用户能够可快速对音视频呼叫请求进行响应,因此,第一用户采用正常的呼叫等待时间,即可实现与第二用户之间的音视频通信。
参见图5,以QQ应用为例,第一用户发起与第二用户的音视频通信,在音视频接入过程中,服务器获取第二用户的当前状态信息为第二用户处于在线状态,并获取到第二终端的终端状态信息为手机在线,说明第二用户侧的第二终端在接收到音视频接入请求时,第二用户在手机上进行响应,当接收到第二用户的当前状态信息及终端状态信息,第一终端将终端的状态信息“对方在线,正在转接对方手机”显示在呼叫界面上,由于在该种情况下,由于需要将音视频呼叫请求转接到第二用户的手机上,该过程可能会耗费一定的时间,因此,基于所获取到的第二用户的当前状态信息及终端状态信息,第一用户会延长对第二用户的呼叫等待时间,以提高接通率。
207、当检测到对音视频呼叫请求的响应操作时,第二终端建立第二用户与第一用户之间的音视频通信。
当接收到音视频呼叫请求时,第二终端上显示通信处理界面,该通信处理界面上显示有接听选项、拒接选项等多个选项,如果第二用户想与第一用户进行音视频通信,第二用户可选中接听选项,第二终端检测到音视频呼叫请求的响应操作时,建立第二用户与第一用户之间的音视频通信,以实现第二用户和第一用户之间的通信。
对于上述音视频通信的整个过程,为了便于理解,下面将结合图1进行详细地说明。
当第一终端侧的第一用户想要与第二终端侧的第二用户进行音视频通信时,第一用户可触发第一终端向服务器中的音视频策略服务模块发送音视频呼叫请求,当接收到音视频呼叫请求,音视频策略服务模块
为第一用户和第二用户分配通信资源,并将音视频呼叫请求发送至第二终端,同时音视频策略服务模块向状态通知模块发送状态获取请求,由状态通知模块将状态获取请求发送至状态同步模块,以获取第二用户的当前状态信息,在该过程中,状态通知模块还向第二终端发送终端状态获取请求,以获取第二终端的终端状态信息,当获取到第二用户的当前状态信息和第二终端的终端状态信息,状态通知模块将第二用户的当前状态和第二终端的终端状态信息发送至第一用户。
上述以第一用户与第二用户之间的双人音视频通信为例进行说明,在实际应用中,本实例提供的方法还支持多人音视频通信,对于多人音视频通信的过程,与上述双人音视频通信过程相同,具体参见上述过程,此处不再赘述。
需要说明的是,上述以第一用户为主叫用户,第二用户为被叫用户为例进行说明的是,实际上,第一用户也可以为被叫用户,第二用户也可以为主叫用户。
本申请实例提供的方法,在第一用户发起与第二用户的音视频通信时,通过获取第二用户的当前状态信息,并将第二用户的当前状态信息同步给第一用户,使得第一用户能够及时感知第二用户的当前状态信息,并根据第二用户的当前状态设定合理的呼叫等待时长,从而在节省网络资源的同时,最大限度提高接通率。
参见图6,本申请实例提供了一种服务器,该服务器包括:
一个或一个以上存储器;
一个或一个以上处理器;
其中,所述一个或一个以上存储器存储有一个或者一个以上指令模块,经配置由所述一个或者一个以上处理器执行;
其中,所述一个或者一个以上指令模块包括:
第一接收模块601,用于接收第一用户发送的音视频呼叫请求,该音视频呼叫请求至少携带第一用户标识和第二用户标识;即,用于接收第一终端发送的音视频呼叫请求,所述音视频呼叫请求至少携带有第一用户标识和第二用户标识;其中,所述第一用户标识为所述第一终端所对应的第一用户的标识,所述第二用户标识为第二终端所对应的第二用户的标识;
分配模块602,用于为第一用户和第二用户分配通信资源;
第一发送模块603,用于将音视频呼叫请求发送至第二用户,即将所述音视频呼叫请求发送至所述第二终端;
获取模块604,用于获取第二用户的当前状态信息;
第二发送模块605,用于将第二用户当前的状态信息发送至第一用户,由第一用户在呼叫界面上进行显示。即,将所述第二用户的当前状态信息发送至所述第一终端,由所述第一终端在呼叫界面上进行显示。
在本申请的另一个实例中,获取模块604,用于根据第二用户标识,从状态信息数据库中,获取第二用户的当前状态信息,状态信息数据库中存储有一个或多个用户标识与状态信息之间的对应关系。
在本申请的另一个实例中,服务器还包括:
第二接收模块,用于实时接收一个或多个用户上报的状态信息;即,接收一个或多个用户终端上报的状态信息;
更新模块,用于根据一个或多个用户上报的状态信息,对状态信息数据库进行更新。即,根据所述一个或多个用户终端上报的状态信息,对所述状态信息数据库进行更新。
在本申请的另一个实例中,服务器还包括:
第三发送模块,用于向第二用户发送终端状态获取请求,终端状态
获取请求用于触发第二用户所在终端返回终端状态信息,即,向第二终端发送终端状态获取请求,以使所述第二终端返回所述第二终端的终端状态信息;
第四发送模块,用于当接收到第二用户发送的终端状态信息,将终端状态信息发送至第一用户,由第一用户在呼叫页面上进行显示。即,当接收到所述第二终端发送的终端状态信息时,将所述终端状态信息发送至所述第一终端,由所述第一终端在所述呼叫页面上进行显示。
本申请实例提供的服务器,在第一用户发起与第二用户的音视频通信时,通过获取第二用户的当前状态信息,并将第二用户的当前状态信息同步给第一用户,使得第一用户能够及时感知第二用户的当前状态信息,并根据第二用户的当前状态设定合理的呼叫等待时长,从而在节省网络资源的同时,最大限度提高接通率。
参见图7,本申请实例提供了一种终端,该终端为第一用户所在的终端,该终端包括:
一个或一个以上存储器;
一个或一个以上处理器;
其中,所述一个或一个以上存储器存储有一个或者一个以上指令模块,经配置由所述一个或者一个以上处理器执行;
其中,所述一个或者一个以上指令模块包括:
第一发送模块701,用于向服务器发送音视频呼叫请求,音视频呼叫请求至少携带第一用户标识和第二用户标识,由服务器将音视频呼叫请求发送至第二用户,并返回第二用户的当前状态信息;即,向服务器发送音视频呼叫请求,所述音视频呼叫请求至少携带有第一用户标识和第二用户标识,以使所述服务器将所述音视频呼叫请求发送至第二终
端,并返回第二用户的当前状态信息;
第一接收模块702,用于接收服务器发送的第二用户的当前状态信息;
第一显示模块703,用于在呼叫界面上显示第二用户的当前状态信息。
在本申请的另一个实例中,该终端还包括:
第二发送模块,用于实时向服务器发送第一用户的状态信息,第一用户的状态信息用于服务器对状态信息数据库进行更新,状态信息数据库用于服务器获取第二用户的当前状态信息。即,向所述服务器发送第一用户的当前状态信息,以使所述服务器对状态信息数据库进行更新,所述状态信息数据库中存储有一个或多个用户标识与状态信息之间的对应关系。
在本申请的另一个实例中,该终端还包括:
第二接收模块,用于接收服务器发送的第二用户所在终端的终端状态信息;即,接收所述服务器发送的所述第二终端的终端状态信息;
第二显示模块,用于在呼叫界面上显示终端状态信息。
本申请实例提供的终端,在第一用户发起与第二用户的音视频通信时,通过接收服务器发送的第二用户的当前状态信息,并在呼叫界面上进行显示,使得第一用户能够及时感知第二用户的当前状态信息,并根据第二用户的当前状态设定合理的呼叫等待时长,从而在节省网络资源的同时,最大限度提高接通率。
参见图8,本申请实例提供了一种终端,该终端为第二用户所在终端,该终端包括:
一个或一个以上存储器;
一个或一个以上处理器;
其中,所述一个或一个以上存储器存储有一个或者一个以上指令模块,经配置由所述一个或者一个以上处理器执行;
其中,所述一个或者一个以上指令模块包括:
第一接收模块801,用于接收服务器发送的音视频呼叫请求,所述音视频呼叫请求至少携带有第一用户标识和第二用户标识;其中,所述第一用户标识为第一终端所对应第一用户的标识,所述第二用户标识为所述第二终端所对应第二用户的标识;
第二接收模块802,用于接收服务器发送的终端状态信息获取请求;
第一发送模块803,用于将当前的终端状态信息发送至所述服务器,以使所述服务器将所述终端状态信息发送至第一终端进行显示;
建立模块804,用于当检测到音视频呼叫请求的响应操作时,建立第二用户与第一用户之间的音视频通信。
在本申请的另一个实例中,终端还包括:
第二发送模块,用于实时向服务器发送第二用户的状态信息,第二用户的状态信息用于服务器对状态信息数据库进行更新,状态信息数据库用于服务器获取第二用户的当前状态信息,并发送至第一用户进行显示。即,向所述服务器发送第二用户的状态信息,以使所述服务器对状态信息数据库进行更新,所述状态信息数据库中存储有一个或多个用户标识与状态信息之间的对应关系。
本申请实例提供的终端,在第一用户发起与第二用户的音视频通信时,通过将终端状态信息发送给服务器,并由服务器发送至第一用户,使得第一用户能够及时感知第二用户所在终端的终端状态信息,并根据第二用户的当前状态设定合理的呼叫等待时长,从而在节省网络资源的同时,最大限度提高接通率。
参见图9,其示出了本申请实例所涉及的音视频通信终端的结构示意图,该终端可以用于实施上述实例中提供的音视频通信方法。具体来讲:
终端900可以包括RF(Radio Frequency,射频)电路110、包括有一个或一个以上计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、WiFi(Wireless Fidelity,无线保真)模块170、包括有一个或者一个以上处理核心的处理器180、以及电源190等部件。本领域技术人员可以理解,图9中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器180处理;另外,将涉及上行的数据发送给基站。通常,RF电路110包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行各种功能应用以及数据
处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端900的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器120还可以包括存储器控制器,以提供处理器180和输入单元130对存储器120的访问。
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。在一些实例中,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及终端900的各种图形用户接口,这些图形用户接口可以由图形、文本、
图标、视频和其任意组合来构成。显示单元140可包括显示面板141,在一些实例中,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图9中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。
终端900还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在终端900移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端900还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路160、扬声器161,传声器162可提供用户与终端900之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处
理。音频电路160还可能包括耳塞插孔,以提供外设耳机与终端900的通信。
WiFi属于短距离无线传输技术,终端900通过WiFi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图9示出了WiFi模块170,但是可以理解的是,其并不属于终端900的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器180是终端900的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行终端900的各种功能和处理数据,从而对手机进行整体监控。在一些实例中,处理器180可包括一个或多个处理核心;在一些实例中,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。
终端900还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,终端900还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实例中,终端900的显示单元是触摸屏显示器,终端900还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行。所述一个或者一个以上程序包含用于执行音视频通信方法中终端所执
行的功能。
本申请实例提供的终端,在第一用户发起与第二用户的音视频通信时,通过接收服务器发送的第二用户的当前状态信息,并在呼叫界面上进行显示,使得第一用户能够及时感知第二用户的当前状态信息,并根据第二用户的当前状态设定合理的呼叫等待时长,从而在节省网络资源的同时,最大限度提高接通率。
本申请实例还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实例中的存储器中所包含的计算机可读存储介质;也可以是单独存在,未装配入终端或服务器中的计算机可读存储介质。该计算机可读存储介质存储有一个或者一个以上程序,该一个或者一个以上程序被一个或者一个以上的处理器用来执行音视频通信方法中终端或服务器所执行的功能。
本申请实例提供的计算机可读存储介质,在第一用户发起与第二用户的音视频通信时,通过接收服务器发送的第二用户的当前状态信息,并在呼叫界面上进行显示,使得第一用户能够及时感知第二用户的当前状态信息,并根据第二用户的当前状态设定合理的呼叫等待时长,从而在节省网络资源的同时,最大限度提高接通率。
本申请实例中提供了一种图形用户接口,该图形用户接口用在音视频通信终端上,该执行音视频通信终端包括触摸屏显示器、存储器和用于执行一个或者一个以上的程序的一个或者一个以上的处理器;该图形用户接口用于执行上述音视频通信方法中终端所执行的功能。
本申请实例提供的图形用户接口,在第一用户发起与第二用户的音视频通信时,通过接收服务器发送的第二用户的当前状态信息,并在呼
叫界面上进行显示,使得第一用户能够及时感知第二用户的当前状态信息,并根据第二用户的当前状态设定合理的呼叫等待时长,从而在节省网络资源的同时,最大限度提高接通率。
图10是根据一示例性实例示出的一种用于音视频通信的服务器。参照图10,服务器1000包括处理组件1022,其进一步包括一个或多个处理器,以及由存储器1032所代表的存储器资源,用于存储可由处理组件1022的执行的指令,例如应用程序。存储器1032中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1022被配置为执行指令,以执行上述音视频通信中服务器所执行的功能
服务器1000还可以包括一个电源组件1026被配置为执行服务器1000的电源管理,一个有线或无线网络接口1050被配置为将服务器1000连接到网络,和一个输入输出(I/O)接口1058。服务器1000可以操作基于存储在存储器1032的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。
本申请实例提供的服务器,在第一用户发起与第二用户的音视频通信时,通过获取第二用户的当前状态信息,并将第二用户的当前状态信息同步给第一用户,使得第一用户能够及时感知第二用户的当前状态信息,并根据第二用户的当前状态设定合理的呼叫等待时长,从而在节省网络资源的同时,最大限度提高接通率。
需要说明的是:上述实例提供的服务器、终端在进行音视频通信时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将服务器、终端的内部结
构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实例提供的服务器、终端实例与音视频通信方法实例属于同一构思,其具体实现过程详见方法实例,这里不再赘述。
本领域普通技术人员可以理解实现上述实例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本申请的较佳实例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。
Claims (23)
- 一种音视频通信方法,所述方法包括:接收第一终端发送的音视频呼叫请求,所述音视频呼叫请求至少携带有第一用户标识和第二用户标识;其中,所述第一用户标识为所述第一终端所对应的第一用户的标识,所述第二用户标识为第二终端所对应的第二用户的标识;将所述音视频呼叫请求发送至所述第二终端;获取所述第二用户的当前状态信息;将所述第二用户的当前状态信息发送至所述第一终端,由所述第一终端在呼叫界面上进行显示。
- 根据权利要求1所述的方法,还包括:为所述第一用户和所述第二用户分配通信资源。
- 根据权利要求1或2所述的方法,其中,所述获取所述第二用户的当前状态信息,包括:根据所述第二用户标识,从状态信息数据库中,获取所述第二用户的当前状态信息;其中,所述状态信息数据库中存储有一个或多个用户标识与状态信息之间的对应关系。
- 根据权利要求3所述的方法,其中,所述方法还包括:接收一个或多个用户终端上报的状态信息;根据所述一个或多个用户终端上报的状态信息,对所述状态信息数据库进行更新。
- 根据权利要求1或2所述的方法,其中,所述方法还包括:向所述第二终端发送终端状态获取请求,以使所述第二终端返回所述第二终端的终端状态信息;当接收到所述第二终端发送的终端状态信息时,将所述终端状态信息发送至所述第一终端,由所述第一终端在所述呼叫页面上进行显示。
- 一种音视频通信方法,所述方法包括:向服务器发送音视频呼叫请求,所述音视频呼叫请求至少携带有第一用户标识和第二用户标识,以使所述服务器将所述音视频呼叫请求发送至第二终端,并返回第二用户的当前状态信息;其中,所述第一用户标识为第一终端所对应第一用户的标识,所述第二用户标识为所述第二终端对应的所述第二用户的标识;接收所述服务器发送的所述第二用户的当前状态信息;在呼叫界面上显示所述第二用户的当前状态信息。
- 根据权利要求6所述的方法,其中,所述方法还包括:向所述服务器发送第一用户的当前状态信息,以使所述服务器对状态信息数据库进行更新,所述状态信息数据库中存储有一个或多个用户标识与状态信息之间的对应关系。
- 根据权利要求6所述的方法,其中,所述方法还包括:接收所述服务器发送的所述第二终端的终端状态信息;在所述呼叫界面上显示所述终端状态信息。
- 一种音视频通信方法,所述方法包括:接收服务器发送的音视频呼叫请求,所述音视频呼叫请求至少携带有第一用户标识和第二用户标识;其中,所述第一用户标识为第一终端所对应第一用户的标识,所述第二用户标识为第二终端所对应第二用户的标识;接收所述服务器发送的终端状态信息获取请求;将当前的终端状态信息发送至所述服务器,以使所述服务器将所述终端状态信息发送至第一终端进行显示。
- 根据权利要求9所述的方法,其中,所述方法还包括:当检测到对所述音视频呼叫请求的响应操作时,建立第二用户与所述第一用户之间的音视频通信。
- 根据权利要求9所述的方法,其中,所述方法还包括:向所述服务器发送第二用户的状态信息,以使所述服务器对状态信息数据库进行更新,所述状态信息数据库中存储有一个或多个用户标识与状态信息之间的对应关系。
- 一种服务器,所述服务器包括:一个或一个以上存储器;一个或一个以上处理器;其中,所述一个或一个以上存储器存储有一个或者一个以上指令模块,经配置由所述一个或者一个以上处理器执行;其中,所述一个或者一个以上指令模块包括:第一接收模块,用于接收第一终端发送的音视频呼叫请求,所述音 视频呼叫请求至少携带有第一用户标识和第二用户标识;其中,所述第一用户标识为所述第一终端所对应的第一用户的标识,所述第二用户标识为第二终端所对应的第二用户的标识;第一发送模块,用于将所述音视频呼叫请求发送至所述第二终端;获取模块,用于获取所述第二用户的当前状态信息;第二发送模块,用于将所述第二用户的当前状态信息发送至所述第一终端,由所述第一终端在呼叫界面上进行显示。
- 根据权利要求12所述的服务器,其中,还包括:分配模块,用于为所述第一用户和所述第二用户分配通信资源。
- 根据权利要求12或13所述的服务器,其中,所述获取模块,用于根据所述第二用户标识,从状态信息数据库中,获取所述第二用户的当前状态信息;其中,所述状态信息数据库中存储有一个或多个用户标识与状态信息之间的对应关系。
- 根据权利要求14所述的服务器,其中,所述服务器还包括:第二接收模块,用于接收一个或多个用户终端上报的状态信息;更新模块,用于根据所述一个或多个用户终端上报的状态信息,对所述状态信息数据库进行更新。
- 根据权利要求12或13所述的服务器,其中,所述服务器还包括:第三发送模块,用于向所述第二终端发送终端状态获取请求,以使所述第二终端返回所述第二终端的终端状态信息;第四发送模块,用于当接收到所述第二终端发送的终端状态信息时,将所述终端状态信息发送至所述第一终端,由所述第一终端在所述呼叫页面上进行显示。
- 一种终端,所述终端包括:一个或一个以上存储器;一个或一个以上处理器;其中,所述一个或一个以上存储器存储有一个或者一个以上指令模块,经配置由所述一个或者一个以上处理器执行;其中,所述一个或者一个以上指令模块包括:第一发送模块,用于向服务器发送音视频呼叫请求,所述音视频呼叫请求至少携带有第一用户标识和第二用户标识,以使所述服务器将所述音视频呼叫请求发送至第二终端,并返回第二用户的当前状态信息;其中,所述第一用户标识为第一终端所对应第一用户的标识,所述第二用户标识为所述第二终端所对应的所述第二用户的标识;第一接收模块,用于接收所述服务器发送的所述第二用户的当前状态信息;第一显示模块,用于在呼叫界面上显示所述第二用户的当前状态信息。
- 根据权利要求17所述的终端,其中,所述终端还包括:第二发送模块,用于向所述服务器发送第一用户的当前状态信息,以使所述服务器对状态信息数据库进行更新,所述状态信息数据库中存储有一个或多个用户标识与状态信息之间的对应关系。
- 根据权利要求17所述的终端,其中,所述终端还包括:第二接收模块,用于接收所述服务器发送的所述第二终端的终端状态信息;第二显示模块,用于在所述呼叫界面上显示所述终端状态信息。
- 一种终端,所述终端包括:一个或一个以上存储器;一个或一个以上处理器;其中,所述一个或一个以上存储器存储有一个或者一个以上指令模块,经配置由所述一个或者一个以上处理器执行;其中,所述一个或者一个以上指令模块包括:第一接收模块,用于接收服务器发送的音视频呼叫请求,所述音视频呼叫请求至少携带有第一用户标识和第二用户标识;其中,所述第一用户标识为第一终端所对应第一用户的标识,所述第二用户标识为第二终端所对应第二用户的标识;第二接收模块,用于接收所述服务器发送的终端状态信息获取请求;第一发送模块,用于将当前的终端状态信息发送至所述服务器,以使所述服务器将所述终端状态信息发送至第一终端进行显示。
- 根据权利要求20所述的终端,其中,还包括:建立模块,用于当检测到对所述音视频呼叫请求的响应操作时,建立第二用户与所述第一用户之间的音视频通信。
- 根据权利要求20所述的终端,其中,所述终端还包括:第二发送模块,用于向所述服务器发送第二用户的状态信息,以使所述服务器对状态信息数据库进行更新;其中,所述状态信息数据库中存储有一个或多个用户标识与状态信息之间的对应关系。
- 一种非易失性计算机可读存储介质,其上存储有计算机程序,其特征在于,可以使至少一个处理器执行如权利要求1~10任一所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610794524.1 | 2016-08-31 | ||
CN201610794524.1A CN107786424B (zh) | 2016-08-31 | 2016-08-31 | 音视频通信方法、终端及服务器 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018040813A1 true WO2018040813A1 (zh) | 2018-03-08 |
Family
ID=61299982
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/094831 WO2018040813A1 (zh) | 2016-08-31 | 2017-07-28 | 音视频通信方法、终端、服务器及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107786424B (zh) |
WO (1) | WO2018040813A1 (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111078275A (zh) * | 2019-12-17 | 2020-04-28 | 捷开通讯(深圳)有限公司 | 资源配置方法、装置、存储介质及服务器 |
CN111372132A (zh) * | 2020-02-25 | 2020-07-03 | 广州华多网络科技有限公司 | 进行音视频传输的方法、装置、设备及存储介质 |
CN112562639A (zh) * | 2020-11-30 | 2021-03-26 | 努比亚技术有限公司 | 音频处理方法、终端及计算机可读存储介质 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110300052B (zh) * | 2019-06-26 | 2022-07-26 | 北京神州慧安科技有限公司 | 一种即时通信状态识别方法、设备及计算机可读存储介质 |
CN111669468B (zh) * | 2020-06-05 | 2021-10-29 | 平安科技(深圳)有限公司 | 通话过程中网络状态显示方法、装置、计算机设备和介质 |
CN112333411A (zh) * | 2020-07-28 | 2021-02-05 | 深圳Tcl新技术有限公司 | 通话方法、服务器及计算机可读存储介质 |
CN113141298B (zh) * | 2021-05-14 | 2023-05-12 | 网易(杭州)网络有限公司 | 消息处理方法、消息处理装置、存储介质及电子设备 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101616368A (zh) * | 2008-06-27 | 2009-12-30 | 中国移动通信集团公司 | 被叫用户状态显示方法、移动终端及被叫用户状态显示系统 |
CN101931614A (zh) * | 2009-06-19 | 2010-12-29 | 中兴通讯股份有限公司 | 一种呼叫过程中呈现用户状态信息的方法及系统 |
CN103002419A (zh) * | 2011-09-15 | 2013-03-27 | 中兴通讯股份有限公司 | 一种反馈和显示情景状态的方法及移动终端 |
CN103379449A (zh) * | 2012-04-23 | 2013-10-30 | 中兴通讯股份有限公司 | 呼叫过程中向主叫显示被叫状态的方法和装置 |
WO2014208782A1 (ko) * | 2013-06-24 | 2014-12-31 | 주식회사 닉신디케이트 | 디지털 라이브 맵 환경에서 아바타 기반의 실시간 커뮤니케이션 방법 및 그 시스템 |
CN105281923A (zh) * | 2014-06-27 | 2016-01-27 | 中兴通讯股份有限公司 | 基于用户标识的视频会议呼叫的实现方法及装置 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102857410B (zh) * | 2012-09-12 | 2016-03-02 | 腾讯科技(深圳)有限公司 | 一种即时通讯信息通知方法和装置 |
CN105262881A (zh) * | 2015-08-28 | 2016-01-20 | 北京搜狗科技发展有限公司 | 一种通信控制方法及电子设备 |
CN105872437A (zh) * | 2015-12-15 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | 一种视频通话控制方法、装置及终端 |
-
2016
- 2016-08-31 CN CN201610794524.1A patent/CN107786424B/zh active Active
-
2017
- 2017-07-28 WO PCT/CN2017/094831 patent/WO2018040813A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101616368A (zh) * | 2008-06-27 | 2009-12-30 | 中国移动通信集团公司 | 被叫用户状态显示方法、移动终端及被叫用户状态显示系统 |
CN101931614A (zh) * | 2009-06-19 | 2010-12-29 | 中兴通讯股份有限公司 | 一种呼叫过程中呈现用户状态信息的方法及系统 |
CN103002419A (zh) * | 2011-09-15 | 2013-03-27 | 中兴通讯股份有限公司 | 一种反馈和显示情景状态的方法及移动终端 |
CN103379449A (zh) * | 2012-04-23 | 2013-10-30 | 中兴通讯股份有限公司 | 呼叫过程中向主叫显示被叫状态的方法和装置 |
WO2014208782A1 (ko) * | 2013-06-24 | 2014-12-31 | 주식회사 닉신디케이트 | 디지털 라이브 맵 환경에서 아바타 기반의 실시간 커뮤니케이션 방법 및 그 시스템 |
CN105281923A (zh) * | 2014-06-27 | 2016-01-27 | 中兴通讯股份有限公司 | 基于用户标识的视频会议呼叫的实现方法及装置 |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111078275A (zh) * | 2019-12-17 | 2020-04-28 | 捷开通讯(深圳)有限公司 | 资源配置方法、装置、存储介质及服务器 |
CN111078275B (zh) * | 2019-12-17 | 2023-11-14 | 捷开通讯(深圳)有限公司 | 资源配置方法、装置、存储介质及服务器 |
CN111372132A (zh) * | 2020-02-25 | 2020-07-03 | 广州华多网络科技有限公司 | 进行音视频传输的方法、装置、设备及存储介质 |
CN111372132B (zh) * | 2020-02-25 | 2022-03-08 | 广州华多网络科技有限公司 | 进行音视频传输的方法、装置、设备及存储介质 |
CN112562639A (zh) * | 2020-11-30 | 2021-03-26 | 努比亚技术有限公司 | 音频处理方法、终端及计算机可读存储介质 |
CN112562639B (zh) * | 2020-11-30 | 2023-09-19 | 努比亚技术有限公司 | 音频处理方法、终端及计算机可读存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN107786424B (zh) | 2020-04-21 |
CN107786424A (zh) | 2018-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10831161B2 (en) | Method and device for sending communication message | |
US10834237B2 (en) | Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform | |
US10635449B2 (en) | Method and apparatus for running game client | |
CN110622123B (zh) | 一种显示方法及装置 | |
WO2018040813A1 (zh) | 音视频通信方法、终端、服务器及存储介质 | |
US10304461B2 (en) | Remote electronic service requesting and processing method, server, and terminal | |
CN104518953B (zh) | 删除消息的方法、即时通信终端及系统 | |
WO2017206916A1 (zh) | 处理器中内核运行配置的确定方法以及相关产品 | |
US11579946B2 (en) | Method for managing multiple operating systems in a terminal | |
WO2016150270A1 (zh) | 群组会话消息处理方法和装置 | |
WO2017008569A1 (zh) | 消息更新方法、装置及终端 | |
CN104954149B (zh) | 网络会议中进行数据共享的方法、装置及系统 | |
CN108039963B (zh) | 一种容器配置方法、装置及存储介质 | |
WO2017096909A1 (zh) | 建立数据连接的方法及装置 | |
WO2014206138A1 (zh) | 一种更新网页数据的方法、装置和终端设备 | |
WO2015024372A1 (zh) | 发起通信的方法、装置及移动终端 | |
CN104660769B (zh) | 一种添加联系人信息的方法、装置和系统 | |
WO2015081880A1 (zh) | 集群业务属性处理的方法、装置和系统 | |
TW201541337A (zh) | 移動終端中訊息的顯示方法、裝置和系統 | |
CN109495769B (zh) | 视频通信方法、终端、智能电视、服务器及存储介质 | |
CN104917905B (zh) | 陌生来电的处理方法、终端及服务器 | |
WO2014166307A1 (en) | Method for determining performance of process of application and computer system | |
WO2015024393A1 (zh) | 发送短信的方法、装置及终端 | |
CN109728918B (zh) | 虚拟物品发送方法、虚拟物品接收方法、装置及存储介质 | |
CN105577712B (zh) | 一种文件上传方法、装置和系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17845115 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17845115 Country of ref document: EP Kind code of ref document: A1 |