WO2014086222A1 - 设置视频通话参数、和发送能力参数的方法及装置 - Google Patents

设置视频通话参数、和发送能力参数的方法及装置 Download PDF

Info

Publication number
WO2014086222A1
WO2014086222A1 PCT/CN2013/086645 CN2013086645W WO2014086222A1 WO 2014086222 A1 WO2014086222 A1 WO 2014086222A1 CN 2013086645 W CN2013086645 W CN 2013086645W WO 2014086222 A1 WO2014086222 A1 WO 2014086222A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
user
parameters
login
video call
Prior art date
Application number
PCT/CN2013/086645
Other languages
English (en)
French (fr)
Inventor
林形省
武小军
汪轩然
Original Assignee
小米科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Publication of WO2014086222A1 publication Critical patent/WO2014086222A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working

Definitions

  • the present disclosure relates to the field of instant messaging (IM), and more particularly to a method and apparatus for setting video call parameters based on IM, and a method and apparatus for transmitting capability parameters.
  • IM instant messaging
  • the capability parameter exchange is an important part in the process of establishing a video call.
  • the two terminals that want to establish a video call respectively obtain the capability parameters of the other party.
  • the capability parameters include the supported codec format, the screen size of the terminal, and the CPU frequency information of the terminal. Then, based on the obtained capability parameters, various parameters of the video call are set, for example, setting the frame rate and code rate of the image captured by the camera, and the resolution of image acquisition.
  • the communication list of the user 1 includes the user 2, the user 3, and the user 4, wherein the user 2 uses the terminal B to log in to the IM application.
  • the process of user 1 logging in to the IM application using terminal A includes:
  • Step 11 Terminal A detects a login trigger event.
  • Step 12 Terminal A obtains the login authentication information of user 1, and carries it in the login authentication message and sends it to the service.
  • Step 13 After verifying the login authentication information, the server returns a status update message to the terminal, where the status update message carries the login status of the user in the communication list of the user 1, for example, the user 2 and the user 3 are currently logged in, and the user 4 Currently not logged in.
  • the status update message in step 13 is not sent only after the user 1 has successfully logged in.
  • the server can send a status update message to the terminal A. For example, when user 1 logs in successfully, user 4 in the communication list is not logged in, but after a period of time, user 4 logs in. At this time, the server can send a status update message to terminal A again, notifying user 4 that the user is currently logged in.
  • the user 1 uses the terminal A to log in to the IM application, and can establish a video call with the currently logged-in user in the communication list, assuming that the user 1 wants to make a video call with the user 2, and the video call is established.
  • the process of parameter exchange includes:
  • Step 14 The terminal A sends a video call request carrying the capability parameter of the terminal A to the terminal B.
  • Step 15 The terminal B parses the capability parameter of the terminal A, and sets parameters of the video call.
  • Step 16 The terminal B sends a video call response carrying the capability parameter of the terminal B to the terminal A.
  • Step 17 The terminal A parses the capability parameter of the terminal B, and sets the parameters of the video call.
  • both the terminal A and the terminal B set the parameters for performing the video call based on the capability parameters of the other party, and then the video call can be established through subsequent steps.
  • the present disclosure provides a method and apparatus for setting video call parameters and transmission capability parameters, which can shorten the time for video call establishment.
  • an embodiment of the present disclosure provides a method for setting a video call parameter, which is applied to a first terminal used by a first user; the method includes:
  • Some of the beneficial effects of this embodiment may include: the status update message carries the capability parameter of the second terminal used by the second user currently logged in in the first user communication list, and on the other hand, the status update message is that the server itself is to be pushed. The message carrying the capability parameter of the second terminal in the status update message does not increase the execution step. On the other hand, the parameter of the video communication between the first terminal and the second terminal can be set after the second user logs in. When a video call is really needed, there is no need to set a video call parameter during the process of establishing a video call, thereby shortening the time for the video call to be established.
  • the method further includes:
  • the capability parameter of the first terminal is carried in the login request of the first user. If the first user is located in the communication list of the other user, the server may obtain the login request of the first user. The capability parameter of the first terminal, and the capability parameter of the first terminal is sent to other users by using a status update message.
  • the method further includes:
  • the login request of the first user carries the identifier of the terminal currently used by the first user, so that after receiving the login request of the first user, the server directly searches for the capability parameter corresponding to the preset terminal identifier.
  • the capability parameter of the first terminal, and the capability parameter of the first terminal is sent to other users by using a status update message.
  • the method further includes:
  • Deleting the capability parameter of the second terminal and the parameter that the first terminal performs a video call with the second terminal After the second user logs out, the capability parameter of the second terminal and the set parameters for performing the video call are deleted in time to save storage space.
  • the method further includes:
  • an embodiment of the present disclosure provides a method for sending a capability parameter, which is applied to a server.
  • the method includes: acquiring a state in which a second user located in a first user communication list is currently logged in;
  • Some of the beneficial effects of this embodiment may include: carrying, in the status update message sent to the first terminal, the capability parameter of the second terminal used by the second user currently logged in in the first user communication list, on the one hand, the status The update message is a message that the server itself is to push, and the capability parameter of the second terminal is carried in the status update message without adding an execution step.
  • the first terminal can set the second terminal after the second user logs in. The parameter of the video call between the terminal and the second terminal, when the video call is actually needed, the video call parameter does not need to be set in the process of establishing the video call, thereby shortening the time for establishing the video call.
  • the method further includes:
  • the login request carries the login authentication information of the first user and the capability parameter of the first terminal.
  • the capability parameter of the first terminal is carried in the login request of the first user. If the first user is located in the communication list of the other user, the server may obtain the login request of the first user. The capability parameter of the first terminal, and the capability parameter of the first terminal is sent to other users by using a status update message.
  • the method further includes:
  • the login request of the first user carries the identifier of the terminal currently used by the first user, so that after receiving the login request of the first user, the server directly searches for the capability parameter corresponding to the preset terminal identifier.
  • the capability parameter of a terminal, and the capability parameter of the first terminal is sent to other users through a status update message.
  • the method further includes:
  • the status update message is sent to the first terminal in time, so that the first terminal deletes the capability parameter of the second terminal and the set parameters of the video call in time, thereby saving storage space.
  • an embodiment of the present disclosure provides an apparatus for setting a video call parameter, which is applied to a first terminal used by a first user; the apparatus includes:
  • a receiving unit configured to receive a status update message indicating that the second user is currently logged in; wherein the second user is located in a communication list of the first user, and the status update message carries the second user The capability parameters of the second terminal;
  • a setting unit configured to set, according to the capability parameter of the second terminal, a parameter that the first terminal performs a video call with the second terminal.
  • the device further includes:
  • a requesting unit configured to detect a login triggering event of the first user, obtain login authentication information of the first user, and a capability parameter of the first terminal, and send the login authentication information and the first terminal Login request for capability parameters.
  • the device further includes:
  • a requesting unit configured to detect a login triggering event of the first user, obtain login authentication information of the first user, and an identifier of the first terminal, and send the login authentication information and an identifier of the first terminal Login request.
  • the device further includes:
  • a first deleting unit configured to receive a status update message indicating that the second user has logged out, and deleting a capability parameter of the second terminal and a parameter that the first terminal performs a video call with the second terminal.
  • the device further includes:
  • a second deleting unit configured to detect an exit login trigger event of the first user; delete all the received capability parameters and all parameters of the set video call.
  • the embodiment of the present disclosure provides a device for transmitting a capability parameter, which is applied to a server.
  • the device includes: a first acquiring unit, configured to acquire a state that a second user in the first user communication list is currently logged in; a sending unit, configured to send, to the first terminal used by the first user, a status update message indicating that the second user is currently logged in; wherein the status update message carries the second terminal used by the second user Capability parameters.
  • the device further includes:
  • the receiving unit is configured to receive the login request sent by the first terminal, where the login request carries the login authentication information of the first user and the capability parameter of the first terminal.
  • the device further includes: a receiving unit, configured to receive a login request sent by the first terminal, where the login request carries the login authentication information of the first user and the identifier of the first terminal;
  • the searching unit is configured to search for the capability parameter of the first terminal in the capability parameter corresponding to the pre-stored terminal identifier according to the identifier of the first terminal.
  • the device further includes:
  • a second acquiring unit configured to acquire a state that the second user is currently logged out
  • a second sending unit configured to send, to the first terminal, a status update message indicating that the second user has logged out.
  • FIG. 1 is an exemplary flowchart of a method for setting a video call parameter according to Embodiment 1 of the present disclosure
  • FIG. 2 is an exemplary flowchart of a method for setting a video call parameter according to Embodiment 2 of the present disclosure
  • Embodiment 3 is an exemplary flowchart of a method for transmitting capability parameters provided by Embodiment 3 of the present disclosure
  • Embodiment 4 is an exemplary flowchart of a method for transmitting capability parameters provided by Embodiment 4 of the present disclosure
  • FIG. 5 is a schematic structural diagram of an apparatus for setting a video call parameter according to Embodiment 5 of the present disclosure.
  • FIG. 6 is a schematic structural diagram of an apparatus for setting a video call parameter according to Embodiment 6 of the present disclosure.
  • FIG. 7 is a seventh embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of an apparatus for transmitting a first transmission capability parameter according to Embodiment 8 of the present disclosure.
  • FIG. 9 is a schematic structural diagram of an apparatus for transmitting a second transmission capability parameter according to Embodiment 8 of the present disclosure.
  • the method of the first embodiment is applied to the first terminal used by the first user.
  • 1 is an exemplary flowchart of a method for setting a video call parameter according to Embodiment 1 of the present disclosure.
  • the process includes: Step 11: Receive a status update message indicating that a second user is currently logged in; wherein, the second user is located at the location In the communication list of the first user, the status update message carries a capability parameter of the second terminal used by the second user.
  • Step 12 Set parameters of the video call performed by the first terminal and the second terminal according to the capability parameter of the second terminal.
  • the capability parameter of the second terminal used by the second user currently logged in in the first user communication list is carried.
  • the status update message is a message that the server itself is to push, and the capability parameter of the second terminal is carried in the status update message without increasing the execution step.
  • the second user can be set after the second user logs in. The parameter of the video call between the terminal and the second terminal, when the video call is actually needed, the video call parameter does not need to be set in the process of establishing the video call, thereby shortening the time for establishing the video call.
  • the method of the second embodiment is applied to the first terminal used by the first user.
  • Step 21 Detect a login trigger event of a first user.
  • the login trigger event may be a double-clicking login shortcut of the IM application on the user interface, and may be other implementation manners.
  • Step 22 Obtain login authentication information of the first user and capability parameters of the first terminal.
  • the login authentication information of the first user is input by the user through the login user interface, including the username and password.
  • the capability parameter is obtained from a storage unit in which the parameters of the terminal are stored in the first terminal.
  • Step 23 Send a login request that carries the login authentication information and the capability parameter of the first terminal.
  • Steps 21 to 23 are performed, and the capability parameter of the first terminal is carried in the login request of the first user and sent to the server. If the first user is located in the communication list of the other user, the server receives the login request of the first user. After that, the capability parameter of the first terminal can be obtained, and the capability parameter of the first terminal is sent to other users through the status update message.
  • the identifier of each terminal that may be used by the first user and the corresponding capability parameter may be uploaded to the server in advance.
  • the login request of the first user carries the identifier of the terminal currently used by the first user, so that after receiving the login request of the first user, the server directly searches for the capability parameter of the corresponding terminal, and uses the status update message to enable the capability of the first terminal. Parameters are sent to other users.
  • Step 24 Receive a status update message indicating that the second user is currently logged in.
  • the second user is located in the communication list of the first user, and the status update message carries the second terminal used by the second user. Capability parameters.
  • Step 25 Set the first terminal to perform video with the second terminal according to the capability parameter of the second terminal. The parameters of the call.
  • Steps 24 to 25 can be performed several times after the first user logs in successfully. Steps 24 to 25 can be performed as long as the second user in the communication list changes from not logged in to logged in. Therefore, before the first terminal and the second terminal actually establish a video call, the parameters of the video call of the first terminal and the second terminal are set.
  • the first terminal can no longer establish a video call with the second terminal, and the capability parameters and settings of the second terminal can be deleted in time.
  • the method for performing a video call is good, thereby saving storage space.
  • the method shown in FIG. 1 may further include the following steps: receiving a status update message indicating that the second user has logged out; a capability parameter of the second terminal and a parameter that the first terminal performs a video call with the second terminal.
  • the steps here can be performed several times after the first user login is successful, and the steps can be performed as long as the second user in the communication list changes from logged in to not logged in.
  • the first terminal is no longer able to establish a video call with the second terminal, and all the received capability parameters and settings can be deleted in time.
  • the method shown in FIG. 1 may further include the following steps: detecting an exit login trigger event of the first user; deleting all received capabilities. Parameters and settings for all parameters for making video calls.
  • the exit login trigger event here can be a soft button for clicking the login on the user interface, or other implementations.
  • the method of the third embodiment is applied to a server.
  • FIG. 3 is an exemplary flowchart of a method for sending a capability parameter according to Embodiment 3 of the present disclosure, where the process includes: Step 31: Acquire a state in which a second user located in a first user communication list is currently logged in.
  • Step 32 Send, to the first terminal used by the first user, a status update message indicating that the second user is currently logged in.
  • the status update message carries the capability parameter of the second terminal used by the second user. .
  • the third embodiment carries the capability parameter of the second terminal used by the second user currently logged in the first user communication list.
  • the status update message is a message that the server itself is to push, and carrying the capability parameter of the second terminal in the status update message does not increase the execution step.
  • the first terminal can enable the second terminal to log in after the second user logs in. That is, the parameters of the video call between the first terminal and the second terminal are set. When the video call is actually needed, the video call parameter does not need to be set in the process of establishing the video call, thereby shortening the time for establishing the video call.
  • the method of the fourth embodiment is applied to a server.
  • the first user uses the first terminal and the second user uses the second terminal.
  • Step 41 Receive a login request sent by a first terminal, where the login request carries the login authentication of the first user. Information and capability parameters of the first terminal.
  • the capability parameter of the first terminal is carried in the login request of the first user and sent to the server. If the first user is located in the communication list of another user, after receiving the login request of the first user, the server receives the login request of the first user.
  • the capability parameter of the first terminal may be obtained, and the capability parameter of the first terminal is sent to other users by using a status update message.
  • the identifier of each terminal that may be used by the first user and the corresponding capability parameter may be pre-stored in the server, and the server receives the login request that carries the identifier of the terminal currently used by the first user, and then directly searches for the login request.
  • the capability parameters of the corresponding terminal are sent to other users through the status update message.
  • Step 42 Obtain a state in which the second user located in the first user communication list is currently logged in.
  • Step 43 Send a status update message indicating that the second user is currently logged in to the first terminal, where the status update message carries a capability parameter of the second terminal used by the second user.
  • Steps 42 to 43 can be performed several times after the first user logs in successfully. Steps 42 to 43 can be performed as long as the second user in the communication list changes from not logged in to logged in. Therefore, before the first terminal and the second terminal actually establish a video call, the parameters of the first terminal and the second terminal to perform a video call are set.
  • the first terminal has been unable to establish a video call with the second terminal, in order to enable the first terminal to delete the capability parameters and settings of the second terminal in time.
  • the method of the video call, and the storage space is saved.
  • the method shown in FIG. 4 may further include the following steps: acquiring a state that the second user is currently logged out; sending, to the first terminal, that the second user is currently Exit the status update message for login.
  • the steps here can be performed several times after the first user logs in successfully, and the steps can be performed as long as the second user in the communication list changes from logged in to not logged in.
  • the device in the fifth embodiment is applied to the first terminal used by the first user.
  • FIG. 5 is a schematic structural diagram of an apparatus for setting video call parameters according to Embodiment 5 of the present disclosure, where the apparatus includes:
  • the receiving unit 51 is configured to receive a status update message indicating that the second user is currently logged in.
  • the second user is located in the communication list of the first user, and the status update message carries the second user.
  • the capability parameter of the second terminal is configured to receive a status update message indicating that the second user is currently logged in.
  • the setting unit 52 is configured to set, according to the capability parameter of the second terminal, a parameter that the first terminal performs a video call with the second terminal.
  • the capability parameter of the second terminal used by the second user currently logged in in the first user communication list is carried.
  • the status update message is a message that the server itself is to push, and the capability parameter of the second terminal is carried in the status update message without increasing the operation.
  • the first user can set the first time after logging in. The parameter of the video call between the terminal and the second terminal, when the video call is actually needed, the video call parameter does not need to be set in the process of establishing the video call, thereby shortening the time for establishing the video call.
  • FIG. 6 is a schematic structural diagram of an apparatus for setting video call parameters according to Embodiment 6 of the present disclosure.
  • the apparatus includes: a receiving unit 61, a setting unit 62, a requesting unit 63, a first deleting unit 64, and a second deleting unit 65.
  • the receiving unit 61 is configured to receive a status update message indicating that the second user is currently logged in.
  • the second user is located in the communication list of the first user, and the status update message carries the second user.
  • the capability parameter of the second terminal is configured to receive a status update message indicating that the second user is currently logged in.
  • the setting unit 62 is configured to set, according to the capability parameter of the second terminal, a parameter that the first terminal performs a video call with the second terminal.
  • the requesting unit 63 is configured to detect a login triggering event of the first user, acquire login authentication information of the first user, and capability parameters of the first terminal, and send the login authentication information and the first A login request for a capability parameter of a terminal.
  • the requesting unit 63 is configured to detect a login triggering event of the first user, obtain login authentication information of the first user, and an identifier of the first terminal, and send the login authentication to the server. Information and a login request for the identity of the first terminal.
  • the identifier of each terminal of the first user and the corresponding capability parameter are pre-stored in the server. After receiving the login request of the first user, the server may search according to the identifier of the terminal carried in the login request. Go to the corresponding capability parameters.
  • a first deleting unit 64 configured to receive a status update message indicating that the second user has logged out, and deleting a capability parameter of the second terminal and a parameter that the first terminal performs a video call with the second terminal .
  • the first terminal can no longer establish a video call with the second terminal.
  • the capability parameter of the second terminal and the set parameters of the video call can be deleted in time, thereby saving storage space.
  • a deletion unit 64 is provided for such a purpose.
  • the second deleting unit 65 is configured to detect an exit login trigger event of the first user, delete all the received capability parameters, and set all parameters for performing a video call.
  • the first terminal After the first user logs out, the first terminal is no longer able to establish a video call with the second terminal. In this case, all the received capability parameters and all the parameters for setting the video call can be deleted in time, thereby saving storage space.
  • the second deletion unit 65 is provided based on such a purpose.
  • the apparatus in the seventh embodiment is applied to a server.
  • FIG. 7 is a schematic structural diagram of an apparatus for transmitting capability parameters provided in Embodiment 7 of the present disclosure, where the apparatus includes: a first obtaining unit 71 and a second acquiring unit 72.
  • the first obtaining unit 71 is configured to acquire a state that the second user in the first user communication list is currently logged in.
  • the first sending unit 72 is configured to send, to the first terminal used by the first user, a status update message indicating that the second user is currently logged in; wherein the status update message carries the second user The capability parameters of the two terminals.
  • the seventh embodiment carries the capability parameter of the second terminal used by the second user currently logged in the first user communication list.
  • the status update message is the server itself.
  • the message to be pushed, carrying the capability parameter of the second terminal in the status update message does not increase the operation.
  • the first terminal can set the video communication between the first terminal and the second terminal after the second user logs in. Parameters, when a video call is really needed, there is no need to set video call parameters during the process of establishing a video call, thereby shortening the time for video call setup.
  • the apparatus provided in the eighth embodiment is applied to a server.
  • FIG. 8 is a schematic structural diagram of an apparatus for transmitting a first capability parameter according to Embodiment 8 of the present disclosure, where the apparatus includes: a first acquiring unit 81, a second obtaining unit 82, a receiving unit 83, a second acquiring unit 84, and a Two transmitting unit 85.
  • the first obtaining unit 81 is configured to acquire a state that the second user in the first user communication list is currently logged in.
  • a first sending unit 82 configured to send, to the first terminal used by the first user, a status update message indicating that the second user is currently logged in; wherein the status update message carries the second user The capability parameters of the two terminals.
  • the receiving unit 83 is configured to receive the login request sent by the first terminal, where the login request carries the login authentication information of the first user and the capability parameter of the first terminal.
  • the second obtaining unit 84 is configured to acquire a state that the second user has logged out.
  • the second sending unit 85 is configured to send, to the first terminal, a status update message indicating that the second user has logged out.
  • FIG. 9 is a schematic structural diagram of an apparatus for transmitting a second transmission capability parameter according to Embodiment 8 of the present disclosure, including: a first obtaining unit 91, a second obtaining unit 92, a receiving unit 93, a second obtaining unit 94, and a second sending.
  • Unit 95 and lookup unit 96 The functions of the first obtaining unit 91, the second obtaining unit 92, the second obtaining unit 94, and the second transmitting unit 95 are the same as those shown in FIG. 8, respectively.
  • the receiving unit 93 is configured to receive the login request sent by the first terminal, where the login request carries the login authentication information of the first user and the identifier of the first terminal.
  • the searching unit 96 is configured to search for the capability parameter of the first terminal in the capability parameter corresponding to the pre-stored terminal identifier according to the identifier of the first terminal.
  • embodiments of the present disclosure can be provided as a method, system, or computer program product.
  • embodiments of the present disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • embodiments of the present disclosure may take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
  • Embodiments of the present disclosure are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flow and/or blocks in the flowcharts and/or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a general purpose computer, a special purpose computer, an embedded processor, or other programmable data processing device The processor is operative to generate a machine such that instructions executed by a processor of a computer or other programmable data processing device are generated for implementation in a block or blocks of a flow or a flow and/or block diagram of the flowchart Functional device.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more flows of the flowchart or a block or blocks of the I or block diagram.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本公开提供设置视频通话参数、发送能力参数的方法及装置。向第一用户使用的第一终端发送指示第二用户当前已登录的状态更新消息,其中第二用户位于第一用户的通讯录列表中,状态更新消息携带第二用户使用的第二终端的能力参数,然后根据第二终端的能力参数设置第一终端与第二终端进行视频通话的参数。一方面,状态更新消息是服务器本身就要推送的消息,将第二终端的能力参数携带在状态更新消息中并没有增加执行步骤,另一方面,这样能够在第二用户登录后即设置好第一终端与第二终端进行视频通话的参数,当真正需要进行视频通话时,无需在建立视频通话的过程中设置视频通话参数,从而缩短了视频通话建立的时间。

Description

设置视频通话参数、 和发送能力参数的方法及装置 本公开基于申请号为 201210517897.6、 申请日为 2012年 12月 5日的中国专利申请提 出, 并要求该中国专利申请的优先权, 该中国专利申请的全部内容在此引入本申请作为参 考。 技术领域
本公开涉及即时通讯 (IM, Instant Messager) 领域, 特别涉及基于 IM的设置视频通 话参数的方法及装置, 和发送能力参数的方法及装置。 背景技术
随着互联网技术和多媒体技术的发展,越来越多的人利用 IM应用程序进行视频通话。 能力参数交换是视频通话建立过程中的重要环节,欲建立视频通话的两个终端分别获 得对方的能力参数, 能力参数包括支持的编解码格式、 终端的屏幕尺寸和终端的 CPU主 频信息等, 然后分别基于获得的能力参数设置视频通话的各项参数, 例如设置摄像头捕获 图像的帧率和码率、 及图像采集的分辨率等。
假设用户 1使用终端 A登录 IM应用程序, 用户 1的通讯列表中包括用户 2、 用户 3 和用户 4, 其中用户 2使用终端 B登录 IM应用程序。
用户 1使用终端 A登录 IM应用程序的过程包括:
步骤 11: 终端 A检测到登录触发事件;
步骤 12: 终端 A获取用户 1的登录认证信息, 并携带在登录认证消息中发送给服务
TO
步骤 13: 服务器验证所述登录认证信息后, 向终端 Α返回状态更新消息, 该状态更 新消息中携带用户 1的通讯列表中的用户的登录状态, 例如用户 2和用户 3当前已登录, 用户 4当前未登录。
步骤 13中的状态更新消息并不只在用户 1登录成功之后才发送, 当用户 1的通讯列 表中用户的登录状态发生变化时, 服务器就可以向终端 A发送状态更新消息。例如, 用户 1登录成功时, 通讯列表中的用户 4并未登录, 但过了一段时间后用户 4登录, 此时服务 器就可以再次向终端 A发送状态更新消息, 通知用户 4当前已登录。
经过上述步骤 11〜13, 用户 1使用终端 A登录 IM应用程序, 此时可以与通讯列表中 当前已登录的用户建立视频通话, 假设用户 1当前想和用户 2进行视频通话, 视频通话建 立时能力参数交换的过程包括:
步骤 14: 终端 A向终端 B发送携带终端 A的能力参数的视频通话请求;
步骤 15: 终端 B解析终端 A的能力参数, 并设置视频通话的参数; 步骤 16: 终端 B向终端 A发送携带终端 B的能力参数的视频通话响应; 步骤 17: 终端 A解析终端 B的能力参数, 并设置视频通话的参数。
经过上述步骤 14〜17,终端 A和终端 B都基于对方的能力参数设置了进行视频通话的 参数, 再经过后续的若干步骤即可建立视频通话。
可见, 目前能力参数交换过程在视频通话建立中执行, 由于涉及通话双方根据能力参 数设置进行视频通话的参数, 使得视频通话建立的时间较长。 发明内容
本公开提供设置视频通话参数、及发送能力参数的方法及装置, 能够缩短视频通话建 立的时间。
一方面, 本公开实施例提供一种设置视频通话参数的方法, 应用于第一用户使用的第 一终端; 该方法包括:
接收指示第二用户当前已登录的状态更新消息; 其中, 所述第二用户位于所述第一用 户的通讯列表中, 所述状态更新消息携带所述第二用户使用的第二终端的能力参数; 根据所述第二终端的能力参数,设置所述第一终端与所述第二终端进行视频通话的参 数。
本实施例的一些有益效果可以包括:状态更新消息中携带了第一用户通讯列表中当前 已登录的第二用户使用的第二终端的能力参数, 一方面, 状态更新消息是服务器本身就要 推送的消息, 将第二终端的能力参数携带在状态更新消息中并没有增加执行步骤, 另一方 面, 这样能够在第二用户登录后即设置好第一终端与第二终端进行视频通话的参数, 当真 正需要进行视频通话时, 无需在建立视频通话的过程中设置视频通话参数, 从而缩短了视 频通话建立的时间。
在一种可选的实施方式中, 该方法还包括:
检测所述第一用户的登录触发事件;
获取所述第一用户的登录认证信息和所述第一终端的能力参数;
发送携带所述登录认证信息和所述第一终端的能力参数的登录请求。
这里的实施方式中, 第一终端的能力参数在第一用户的登录请求中携带, 如果第一用 户位于其他用户的通讯列表中, 则服务器在收到第一用户的登录请求后, 就可以获取第一 终端的能力参数、 并通过状态更新消息将第一终端的能力参数发送给其他用户。
在一种可选的实施方式中, 该方法还包括:
检测所述第一用户的登录触发事件;
获取所述第一用户的登录认证信息和所述第一终端的标识;
发送携带所述登录认证信息和所述第一终端的标识的登录请求。
这里的实施方式中, 第一用户的登录请求携带第一用户当前使用的终端的标识, 这样 服务器在收到第一用户的登录请求后,直接在预先设置的终端标识对应的能力参数中查找 第一终端的能力参数、 并通过状态更新消息将第一终端的能力参数发送给其他用户。 在一种可选的实施方式中, 该方法还包括:
接收指示所述第二用户当前已退出登录的状态更新消息;
删除所述第二终端的能力参数及所述第一终端与所述第二终端进行视频通话的参数。 这里的实施方式中, 第二用户退出登录后, 及时删除第二终端的能力参数和设置好的 进行视频通话的参数, 节省存储空间。
在一种可选的实施方式中, 该方法还包括:
检测所述第一用户的退出登录触发事件;
删除接收到的所有能力参数及设置的所有进行视频通话的参数。
这里的实施方式中, 第一用户退出登录后, 及时删除接收到的所有能力参数及设置好 的所有进行视频通话的参数, 节省存储空间。
另一方面,本公开实施例提供一种发送能力参数的方法,应用于服务器;该方法包括: 获取位于第一用户通讯列表中的第二用户当前已登录的状态;
向所述第一用户使用的第一终端发送指示所述第二用户当前已登录的状态更新消息; 其中, 所述状态更新消息携带所述第二用户使用的第二终端的能力参数。
本实施例的一些有益效果可以包括: 在发送给第一终端的状态更新消息中, 携带了第 一用户通讯列表中当前已登录的第二用户使用的第二终端的能力参数,一方面, 状态更新 消息是服务器本身就要推送的消息,将第二终端的能力参数携带在状态更新消息中并没有 增加执行步骤, 另一方面, 这样使得第一终端能够在第二用户登录后即设置好第一终端与 第二终端进行视频通话的参数, 当真正需要进行视频通话时, 无需在建立视频通话的过程 中设置视频通话参数, 从而缩短了视频通话建立的时间。
在一种可选的实施方式中, 该方法还包括:
接收所述第一终端发送的登录请求,所述登录请求中携带所述第一用户的登录认证信 息及所述第一终端的能力参数。
这里的实施方式中, 第一终端的能力参数在第一用户的登录请求中携带, 如果第一用 户位于其他用户的通讯列表中, 则服务器在收到第一用户的登录请求后, 就可以获取第一 终端的能力参数、 并通过状态更新消息将第一终端的能力参数发送给其他用户。
在一种可选的实施方式中, 该方法还包括:
接收所述第一终端发送的登录请求,所述登录请求中携带所述第一用户的登录认证信 息及所述第一终端的标识;
根据所述第一终端的标识, 在预先存储的终端标识对应的能力参数中, 查找所述第一 终端的能力参数。
这里的实施方式中, 第一用户的登录请求携带第一用户当前使用的终端的标识, 这样 服务器在收到第一用户的登录请求后,直接在预先设置的终端标识对应的能力参数中查找 第一终端的能力参数、 并通过状态更新消息将第一终端的能力参数发送给其他用户。 在一种可选的实施方式中, 该方法还包括:
获取所述第二用户当前已退出登录的状态;
向所述第一终端发送指示所述第二用户当前已退出登录的状态更新消息。
这里的实施方式中, 第二用户退出登录后, 及时向第一终端发送状态更新消息, 使得 第一终端及时删除第二终端的能力参数和设置好的进行视频通话的参数, 节省存储空间。
又一方面, 本公开实施例提供一种设置视频通话参数的装置, 应用于第一用户使用的 第一终端; 该装置包括:
接收单元, 用于接收指示第二用户当前已登录的状态更新消息; 其中, 所述第二用户 位于所述第一用户的通讯列表中,所述状态更新消息携带所述第二用户使用的第二终端的 能力参数;
设置单元, 用于根据所述第二终端的能力参数, 设置所述第一终端与所述第二终端进 行视频通话的参数。
在一种可选的实施方式中, 该装置还包括:
请求单元, 用于检测所述第一用户的登录触发事件; 获取所述第一用户的登录认证信 息和所述第一终端的能力参数;发送携带所述登录认证信息和所述第一终端的能力参数的 登录请求。
在一种可选的实施方式中, 该装置还包括:
请求单元, 用于检测所述第一用户的登录触发事件; 获取所述第一用户的登录认证信 息和所述第一终端的标识; 发送携带所述登录认证信息和所述第一终端的标识的登录请 求。
在一种可选的实施方式中, 该装置还包括:
第一删除单元, 用于接收指示所述第二用户当前已退出登录的状态更新消息; 删除所 述第二终端的能力参数及所述第一终端与所述第二终端进行视频通话的参数。
在一种可选的实施方式中, 该装置还包括:
第二删除单元, 用于检测所述第一用户的退出登录触发事件; 删除接收到的所有能力 参数及设置的所有进行视频通话的参数。
再一方面,本公开实施例提供一种发送能力参数的装置,应用于服务器;该装置包括: 第一获取单元, 用于获取第一用户通讯列表中的第二用户当前已登录的状态; 第一发送单元,用于向所述第一用户使用的第一终端发送指示所述第二用户当前已登 录的状态更新消息; 其中, 所述状态更新消息携带所述第二用户使用的第二终端的能力参 数。
在一种可选的实施方式中, 该装置还包括:
接收单元, 用于接收所述第一终端发送的登录请求, 所述登录请求中携带所述第一用 户的登录认证信息及所述第一终端的能力参数。
在一种可选的实施方式中, 该装置还包括: 接收单元, 用于接收所述第一终端发送的登录请求, 所述登录请求中携带所述第一用 户的登录认证信息及所述第一终端的标识;
查找单元,用于根据所述第一终端的标识,在预先存储的终端标识对应的能力参数中, 查找所述第一终端的能力参数。
在一种可选的实施方式中, 该装置还包括:
第二获取单元, 用于获取所述第二用户当前已退出登录的状态;
第二发送单元,用于向所述第一终端发送指示所述第二用户当前已退出登录的状态更 新消息。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。 本公开实施例的其它特征和优点将在随后的说明书中阐述, 并且, 部分地从说明书中 变得显而易见, 或者通过实施本公开实施例而了解。本公开实施例的目的和其他优点可通 过在所写的说明书、 权利要求书、 以及附图中所特别指出的结构来实现和获得。
下面通过附图和实施例, 对本公开实施例的技术方案做进一步的详细描述。 附图说明
附图用来提供对本公开实施例的进一步理解, 并且构成说明书的一部分, 并不构成对 本公开实施例的限制。 在附图中:
图 1是本公开实施例一提供的设置视频通话参数的方法示例性流程图;
图 2是本公开实施例二提供的设置视频通话参数的方法示例性流程图;
图 3是本公开实施例三提供的发送能力参数的方法示例性流程图;
图 4是本公开实施例四提供的发送能力参数的方法示例性流程图;
图 5是本公开实施例五提供的设置视频通话参数的装置示例性结构示意图; 图 6是本公开实施例六提供的设置视频通话参数的装置示例性结构示意图; 图 7是本公开实施例七提供的发送能力参数的装置示例性结构示意图;
图 8是本公开实施例八提供的第一种发送能力参数的装置示例性结构示意图; 图 9是本公开实施例八提供的第二种发送能力参数的装置示例性结构示意图。
通过上述附图, 已示出本公开明确的实施例, 后文中将有更详细的描述。 这些附图和 文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本 领域技术人员说明本公开的概念。 具体实施方式
以下结合附图对本公开的实施例进行说明, 应当理解, 此处所描述的实施例仅用于说 明和解释本公开, 并不用于限定本公开。
实施例一
本实施例一的方法应用于第一用户使用的第一终端。 图 1是本公开实施例一提供的设置视频通话参数的方法示例性流程图, 该流程包括: 步骤 11 : 接收指示第二用户当前已登录的状态更新消息; 其中, 所述第二用户位于所 述第一用户的通讯列表中,所述状态更新消息携带所述第二用户使用的第二终端的能力参 数。
步骤 12:根据所述第二终端的能力参数,设置所述第一终端与所述第二终端进行视频 通话的参数。
可见, 本实施例一的状态更新消息中, 携带了第一用户通讯列表中当前已登录的第二 用户使用的第二终端的能力参数。 一方面, 状态更新消息是服务器本身就要推送的消息, 将第二终端的能力参数携带在状态更新消息中并没有增加执行步骤, 另一方面, 这样能够 在第二用户登录后即设置好第一终端与第二终端进行视频通话的参数, 当真正需要进行视 频通话时, 无需在建立视频通话的过程中设置视频通话参数, 从而缩短了视频通话建立的 时间。
实施例二
本实施例二的方法应用于第一用户使用的第一终端。
图 2是本公开实施例二提供的设置视频通话参数的方法示例性流程图, 该流程包括: 步骤 21 : 检测第一用户的登录触发事件。
本步骤中, 登录触发事件可以是双击用户界面上 IM应用程序的登录快捷方式, 还可 以是其他实现方式。
步骤 22: 获取所述第一用户的登录认证信息和第一终端的能力参数。
本步骤中, 第一用户的登录认证信息由用户通过登录用户界面输入, 包括用户名和密 码。 能力参数从第一终端内部存储有终端各项参数的存储单元中获取。
步骤 23: 发送携带登录认证信息和第一终端的能力参数的登录请求。
通过步骤 21〜步骤 23,将第一终端的能力参数携带在第一用户的登录请求中发送给服 务器,如果第一用户位于其他用户的通讯列表中,则服务器在收到第一用户的登录请求后, 就可以获取第一终端的能力参数、并通过状态更新消息将第一终端的能力参数发送给其他 用户。
作为另一种可选的实施方式,如果不在第一用户的登录请求中携带第一终端的能力参 数, 也可以预先将第一用户可能使用的各个终端的标识及对应的能力参数上传至服务器, 第一用户的登录请求中携带第一用户当前使用的终端的标识,这样服务器在收到第一用户 的登录请求后, 直接查找相应终端的能力参数、 并通过状态更新消息将第一终端的能力参 数发送给其他用户。
步骤 24: 接收指示第二用户当前已登录的状态更新消息; 其中, 所述第二用户位于所 述第一用户的通讯列表中,所述状态更新消息携带所述第二用户使用的第二终端的能力参 数。
步骤 25:根据所述第二终端的能力参数,设置所述第一终端与所述第二终端进行视频 通话的参数。
步骤 24〜步骤 25在第一用户登录成功后可以执行若干次, 只要通讯列表中的第二用 户由未登录变化为已登录, 就可以执行步骤 24〜步骤 25。 由此在第一终端与第二终端真正 建立视频通话之前, 即设置好了第一终端和第二终端进行视频通话的参数。
在步骤 25之后, 作为一种可选的实施方式, 在第二用户退出登录后, 第一终端已不 可能再与第二终端建立视频通话,此时可以及时删除第二终端的能力参数和设置好的进行 视频通话的参数, 进而节省存储空间, 为实现这一目的, 图 1所示的方法还可以包括如下 步骤: 接收指示所述第二用户当前已退出登录的状态更新消息; 删除所述第二终端的能力 参数及所述第一终端与所述第二终端进行视频通话的参数。这里的步骤在第一用户登录成 功后可以执行若干次, 只要通讯列表中的第二用户由已登录变化为未登录, 就可以执行这 里的步骤。
在步骤 25之后, 作为一种可选的实施方式, 在第一用户退出登录后, 第一终端已不 可能再与第二终端建立视频通话,此时可以及时删除接收到的所有能力参数及设置好的所 有进行视频通话的参数, 进而节省存储空间, 为实现这一目的, 图 1所示的方法还可以包 括如下步骤: 检测所述第一用户的退出登录触发事件; 删除接收到的所有能力参数及设置 的所有进行视频通话的参数。这里的退出登录触发事件, 可以是点击用户界面上退出登录 的软按键, 也可以是其他实现方式。
实施例三
本实施例三的方法应用于服务器。
图 3是本公开实施例三提供的发送能力参数的方法示例性流程图, 该流程包括: 步骤 31 : 获取位于第一用户通讯列表中的第二用户当前已登录的状态。
步骤 32:向所述第一用户使用的第一终端发送指示所述第二用户当前已登录的状态更 新消息; 其中, 所述状态更新消息携带所述第二用户使用的第二终端的能力参数。
可见, 本实施例三在发送给第一终端的状态更新消息中, 携带了第一用户通讯列表中 当前已登录的第二用户使用的第二终端的能力参数。一方面, 状态更新消息是服务器本身 就要推送的消息, 将第二终端的能力参数携带在状态更新消息中并没有增加执行步骤, 另 一方面,这样使得第一终端能够在第二用户登录后即设置好第一终端与第二终端进行视频 通话的参数, 当真正需要进行视频通话时, 无需在建立视频通话的过程中设置视频通话参 数, 从而缩短了视频通话建立的时间。
实施例四
本实施例四的方法应用于服务器。第一用户使用的是第一终端, 第二用户使用的是第 二终端。
图 4是本公开实施例四提供的发送能力参数的方法示例性流程图, 该流程包括: 步骤 41 :接收第一终端发送的登录请求,所述登录请求中携带所述第一用户的登录认 证信息及所述第一终端的能力参数。 本步骤中, 将第一终端的能力参数携带在第一用户的登录请求中发送给服务器, 如果 第一用户位于其他用户的通讯列表中, 则服务器在收到第一用户的登录请求后, 就可以获 取第一终端的能力参数、 并通过状态更新消息将第一终端的能力参数发送给其他用户。
作为一种可替换的实施方式,服务器中可以预先存储第一用户可能使用的各个终端的 标识及对应的能力参数, 服务器接收携带第一用户当前使用的终端的标识的登录请求, 然 后直接查找出相应终端的能力参数、并通过状态更新消息将第一终端的能力参数发送给其 他用户。
步骤 42: 获取位于第一用户通讯列表中的第二用户当前已登录的状态。
步骤 43 : 向第一终端发送指示所述第二用户当前已登录的状态更新消息, 其中, 所述 状态更新消息携带所述第二用户使用的第二终端的能力参数。
步骤 42〜步骤 43在第一用户登录成功后可以执行若干次, 只要通讯列表中的第二用 户由未登录变化为已登录, 就可以执行步骤 42〜步骤 43。 由此使得第一终端与第二终端真 正建立视频通话之前, 即设置好了第一终端和第二终端进行视频通话的参数。
作为一种可选的实施方式, 在第二用户退出登录后, 第一终端已不可能在与第二终端 建立视频通话,为了使第一终端及时删除第二终端的能力参数和设置好的进行视频通话的 参数, 进而节省存储空间, 图 4所示的方法还可以包括如下步骤: 获取所述第二用户当前 已退出登录的状态; 向所述第一终端发送指示所述第二用户当前已退出登录的状态更新消 息。这里的步骤在第一用户登录成功后可以执行若干次, 只要通讯列表中的第二用户由已 登录变化为未登录, 就可以执行这里的步骤。
实施例五
本实施例五中的装置应用于第一用户使用的第一终端。
图 5是本公开实施例五提供的设置视频通话参数的装置示例性结构示意图,该装置包 括:
接收单元 51, 用于接收指示第二用户当前已登录的状态更新消息; 其中, 所述第二用 户位于所述第一用户的通讯列表中,所述状态更新消息携带所述第二用户使用的第二终端 的能力参数。
设置单元 52,用于根据所述第二终端的能力参数,设置所述第一终端与所述第二终端 进行视频通话的参数。
可见, 本实施例五的状态更新消息中, 携带了第一用户通讯列表中当前已登录的第二 用户使用的第二终端的能力参数。 一方面, 状态更新消息是服务器本身就要推送的消息, 将第二终端的能力参数携带在状态更新消息中并没有增加操作, 另一方面, 这样能够在第 二用户登录后即设置好第一终端与第二终端进行视频通话的参数, 当真正需要进行视频通 话时,无需在建立视频通话的过程中设置视频通话参数,从而缩短了视频通话建立的时间。
实施例六
本实施例六中的装置应用于第一用户使用的第一终端。 图 6为本公开实施例六提供的设置视频通话参数的装置示例性结构示意图,该装置包 括: 接收单元 61、 设置单元 62、 请求单元 63、 第一删除单元 64和第二删除单元 65。
接收单元 61, 用于接收指示第二用户当前已登录的状态更新消息; 其中, 所述第二用 户位于所述第一用户的通讯列表中,所述状态更新消息携带所述第二用户使用的第二终端 的能力参数。
设置单元 62,用于根据所述第二终端的能力参数,设置所述第一终端与所述第二终端 进行视频通话的参数。
请求单元 63,用于检测所述第一用户的登录触发事件;获取所述第一用户的登录认证 信息和所述第一终端的能力参数; 向服务器发送携带所述登录认证信息和所述第一终端的 能力参数的登录请求。
作为可以替换的实施方式, 请求单元 63用于检测所述第一用户的登录触发事件; 获 取所述第一用户的登录认证信息和所述第一终端的标识; 向服务器发送携带所述登录认证 信息和所述第一终端的标识的登录请求。在这种实施方式中, 服务器中预先存储有第一用 户的各个终端的标识及对应的能力参数, 服务器在接收到第一用户的登录请求后, 根据登 录请求中携带的终端的标识, 可以查找到相应的能力参数。
第一删除单元 64,用于接收指示所述第二用户当前已退出登录的状态更新消息;删除 所述第二终端的能力参数及所述第一终端与所述第二终端进行视频通话的参数。
在第二用户退出登录后, 第一终端已不可能再与第二终端建立视频通话, 此时可以及 时删除第二终端的能力参数和设置好的进行视频通话的参数, 进而节省存储空间, 第一删 除单元 64就是基于这样的目的而设置的。
第二删除单元 65,用于检测所述第一用户的退出登录触发事件;删除接收到的所有能 力参数及设置的所有进行视频通话的参数。
在第一用户退出登录后, 第一终端已不可能再与第二终端建立视频通话, 此时可以及 时删除接收到的所有能力参数及设置好的所有进行视频通话的参数, 进而节省存储空间, 第二删除单元 65就是基于这样的目的而设置的。
实施例七
本实施例七中的装置应用于服务器。
图 7 为本公开实施例七提供给的发送能力参数的装置示例性结构示意图, 该装置包 括: 第一获取单元 71和第二获取单元 72。
第一获取单元 71, 用于获取第一用户通讯列表中的第二用户当前已登录的状态。 第一发送单元 72,用于向所述第一用户使用的第一终端发送指示所述第二用户当前已 登录的状态更新消息; 其中, 所述状态更新消息携带所述第二用户使用的第二终端的能力 参数。
可见, 本实施例七在发送给第一终端的状态更新消息中, 携带了第一用户通讯列表中 当前已登录的第二用户使用的第二终端的能力参数。一方面, 状态更新消息是服务器本身 就要推送的消息, 将第二终端的能力参数携带在状态更新消息中并没有增加操作, 另一方 面, 这样能够在第二用户登录后即设置好第一终端与第二终端进行视频通话的参数, 当真 正需要进行视频通话时, 无需在建立视频通话的过程中设置视频通话参数, 从而缩短了视 频通话建立的时间。
实施例八
本实施例八提供的装置应用于服务器。
图 8为本公开实施例八提供的第一种发送能力参数的装置示例性结构示意图,该装置 包括: 第一获取单元 81、 第二获取单元 82、 接收单元 83、 第二获取单元 84和第二发送单 元 85。
第一获取单元 81, 用于获取第一用户通讯列表中的第二用户当前已登录的状态。 第一发送单元 82,用于向所述第一用户使用的第一终端发送指示所述第二用户当前已 登录的状态更新消息; 其中, 所述状态更新消息携带所述第二用户使用的第二终端的能力 参数。
接收单元 83,用于接收所述第一终端发送的登录请求,所述登录请求中携带所述第一 用户的登录认证信息及所述第一终端的能力参数。
第二获取单元 84, 用于获取所述第二用户当前已退出登录的状态。
第二发送单元 85,用于向所述第一终端发送指示所述第二用户当前已退出登录的状态 更新消息。
图 9为本公开实施例八提供的第二种发送能力参数的装置示例性结构示意图, 包括: 第一获取单元 91、 第二获取单元 92、 接收单元 93、 第二获取单元 94、 第二发送单元 95 和查找单元 96。其中, 第一获取单元 91、 第二获取单元 92、 第二获取单元 94和第二发送 单元 95的功能, 分别与图 8中示出的相同。
接收单元 93用于接收所述第一终端发送的登录请求, 所述登录请求中携带所述第一 用户的登录认证信息及所述第一终端的标识。
查找单元 96,用于根据所述第一终端的标识,在预先存储的终端标识对应的能力参数 中, 查找所述第一终端的能力参数。
本领域内的技术人员应明白,本公开实施例可提供为方法、系统、或计算机程序产品。 因此, 本公开实施例可采用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的 实施例的形式。而且, 本公开实施例可采用在一个或多个其中包含有计算机可用程序代码 的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序 产品的形式。
本公开实施例是参照根据本公开实施例的方法、 设备 (系统) 、 和计算机程序产品的 流程图和 I或方框图来描述的。应理解可由计算机程序指令实现流程图和 I或方框图中的 每一流程和 /或方框、 以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些 计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的 处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令 产生用于实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的 功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方 式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装 置的制造品,该指令装置实现在流程图一个流程或多个流程和 I或方框图一个方框或多个 方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机 或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他 可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和 /或方框图一个 方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和 范围。 这样, 倘若这些修改和变型属于本公开的权利要求及其等同技术的范围之内, 则本 公开也意图包含这些改动和变型在内。

Claims

权利要求
1、 一种设置视频通话参数的方法, 应用于第一用户使用的第一终端; 其特征在于, 该方法包括:
接收指示第二用户当前已登录的状态更新消息;其中,所述第二用户位于所述第一用 户的通讯列表中, 所述状态更新消息携带所述第二用户使用的第二终端的能力参数; 根据所述第二终端的能力参数,设置所述第一终端与所述第二终端进行视频通话的参 数。
2、 如权利要求 1所述的方法, 其特征在于, 该方法还包括:
检测所述第一用户的登录触发事件;
获取所述第一用户的登录认证信息和所述第一终端的能力参数;
发送携带所述登录认证信息和所述第一终端的能力参数的登录请求。
3、 如权利要求 1所述的方法, 其特征在于, 该方法还包括:
检测所述第一用户的登录触发事件;
获取所述第一用户的登录认证信息和所述第一终端的标识;
发送携带所述登录认证信息和所述第一终端的标识的登录请求。
4、 如权利要求 1所述的方法, 其特征在于, 该方法还包括:
接收指示所述第二用户当前已退出登录的状态更新消息;
删除所述第二终端的能力参数及所述第一终端与所述第二终端进行视频通话的参数。
5、 如权利要求 1至 4任一项所述的方法, 其特征在于, 该方法还包括:
检测所述第一用户的退出登录触发事件;
删除接收到的所有能力参数及设置的所有进行视频通话的参数。
6、 一种发送能力参数的方法, 应用于服务器; 其特征在于, 该方法包括: 获取位于第一用户通讯列表中的第二用户当前已登录的状态;
向所述第一用户使用的第一终端发送指示所述第二用户当前已登录的状态更新消息; 其中, 所述状态更新消息携带所述第二用户使用的第二终端的能力参数。
7、 如权利要求 6所述的方法, 其特征在于, 该方法还包括:
接收所述第一终端发送的登录请求,所述登录请求中携带所述第一用户的登录认证信 息及所述第一终端的能力参数。
8、 如权利要求 6所述的方法, 其特征在于, 该方法还包括:
接收所述第一终端发送的登录请求,所述登录请求中携带所述第一用户的登录认证信 息及所述第一终端的标识;
根据所述第一终端的标识,在预先存储的终端标识对应的能力参数中,查找所述第一 终端的能力参数。
9、 如权利要求 6所述的方法, 其特征在于, 该方法还包括:
获取所述第二用户当前已退出登录的状态; 向所述第一终端发送指示所述第二用户当前已退出登录的状态更新消息。
10、 一种设置视频通话参数的装置, 应用于第一用户使用的第一终端; 其特征在于, 该装置包括:
接收单元, 用于接收指示第二用户当前已登录的状态更新消息; 其中, 所述第二用户 位于所述第一用户的通讯列表中,所述状态更新消息携带所述第二用户使用的第二终端的 能力参数;
设置单元,用于根据所述第二终端的能力参数,设置所述第一终端与所述第二终端进 行视频通话的参数。
11、 如权利要求 10所述的装置, 其特征在于, 该装置还包括:
请求单元,用于检测所述第一用户的登录触发事件;获取所述第一用户的登录认证信 息和所述第一终端的能力参数;发送携带所述登录认证信息和所述第一终端的能力参数的 登录请求。
12、 如权利要求 10所述的装置, 其特征在于, 该装置还包括:
请求单元,用于检测所述第一用户的登录触发事件;获取所述第一用户的登录认证信 息和所述第一终端的标识; 发送携带所述登录认证信息和所述第一终端的标识的登录请 求。
13、 如权利要求 10所述的装置, 其特征在于, 该装置还包括:
第一删除单元,用于接收指示所述第二用户当前已退出登录的状态更新消息;删除所 述第二终端的能力参数及所述第一终端与所述第二终端进行视频通话的参数。
14、 如权利要求 10至 13任一项所述的装置, 其特征在于, 该装置还包括: 第二删除单元,用于检测所述第一用户的退出登录触发事件;删除接收到的所有能力 参数及设置的所有进行视频通话的参数。
15、 一种发送能力参数的装置, 应用于服务器; 其特征在于, 该装置包括: 第一获取单元, 用于获取第一用户通讯列表中的第二用户当前已登录的状态; 第一发送单元,用于向所述第一用户使用的第一终端发送指示所述第二用户当前已登 录的状态更新消息;其中,所述状态更新消息携带所述第二用户使用的第二终端的能力参 数。
16、 如权利要求 15所述的装置, 其特征在于, 该装置还包括:
接收单元,用于接收所述第一终端发送的登录请求,所述登录请求中携带所述第一用 户的登录认证信息及所述第一终端的能力参数。
17、 如权利要求 15所述的装置, 其特征在于, 该装置还包括:
接收单元,用于接收所述第一终端发送的登录请求,所述登录请求中携带所述第一用 户的登录认证信息及所述第一终端的标识;
查找单元,用于根据所述第一终端的标识,在预先存储的终端标识对应的能力参数中, 查找所述第一终端的能力参数。
18、 如权利要求 15所述的装置, 其特征在于, 该装置还包括:
第二获取单元, 用于获取所述第二用户当前已退出登录的状态;
第二发送单元,用于向所述第一终端发送指示所述第二用户当前已退出登录的状态更 新消息。
PCT/CN2013/086645 2012-12-05 2013-11-06 设置视频通话参数、和发送能力参数的方法及装置 WO2014086222A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210517897.6 2012-12-05
CN2012105178976A CN103037195A (zh) 2012-12-05 2012-12-05 设置视频通话参数、和发送能力参数的方法及装置

Publications (1)

Publication Number Publication Date
WO2014086222A1 true WO2014086222A1 (zh) 2014-06-12

Family

ID=48023621

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/086645 WO2014086222A1 (zh) 2012-12-05 2013-11-06 设置视频通话参数、和发送能力参数的方法及装置

Country Status (2)

Country Link
CN (1) CN103037195A (zh)
WO (1) WO2014086222A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112954255A (zh) * 2021-01-29 2021-06-11 深圳市捷视飞通科技股份有限公司 视频会议码流的传输方法、装置、计算机设备和存储介质

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037195A (zh) * 2012-12-05 2013-04-10 北京小米科技有限责任公司 设置视频通话参数、和发送能力参数的方法及装置
CN104348697B (zh) 2013-07-25 2019-08-13 腾讯科技(深圳)有限公司 视频通讯信息的处理方法、装置及系统
CN104683734A (zh) * 2013-11-26 2015-06-03 中兴通讯股份有限公司 一种视频监控的内容适配方法、系统及中心服务器、装置
CN103747414B (zh) 2013-12-30 2018-07-03 华为技术有限公司 更新状态信息的方法及移动终端
CN105791361A (zh) * 2014-12-25 2016-07-20 中兴通讯股份有限公司 远程协助设置的方法、服务器、终端及系统
CN106254810A (zh) * 2016-08-23 2016-12-21 乐视控股(北京)有限公司 一种视频通话方法和装置
CN106331570A (zh) * 2016-08-24 2017-01-11 乐视控股(北京)有限公司 一种根据终端类型发送不同视频流的方法及装置
CN108347580B (zh) * 2018-03-27 2020-09-25 聚好看科技股份有限公司 一种处理视频帧数据的方法及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047722A (zh) * 2006-03-30 2007-10-03 腾讯科技(深圳)有限公司 媒体文件推送系统及方法
CN101355797A (zh) * 2007-07-25 2009-01-28 华为技术有限公司 获得用户终端设备信息的方法和通信业务功能实体
CN101778429A (zh) * 2009-12-29 2010-07-14 中兴通讯股份有限公司 加速可视电话协商的方法及其可视电话
CN102790753A (zh) * 2011-05-20 2012-11-21 腾讯科技(深圳)有限公司 一种查询即时通讯客户端能力信息的方法及装置
CN103037195A (zh) * 2012-12-05 2013-04-10 北京小米科技有限责任公司 设置视频通话参数、和发送能力参数的方法及装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7512652B1 (en) * 2001-09-28 2009-03-31 Aol Llc, A Delaware Limited Liability Company Passive personalization of buddy lists
CN101150542B (zh) * 2007-11-12 2010-06-23 腾讯科技(深圳)有限公司 即时通信系统中用户状态显示的实现方法
CN101640601B (zh) * 2008-07-30 2012-05-23 Tcl集团股份有限公司 一种智能设备的管理方法
CN101677301B (zh) * 2008-09-16 2012-07-04 联想(北京)有限公司 即时通信中间服务器及其实现即时通信的方法
CN102195894B (zh) * 2010-03-12 2015-11-25 腾讯科技(深圳)有限公司 即时通信中实现立体视频通信的系统及方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047722A (zh) * 2006-03-30 2007-10-03 腾讯科技(深圳)有限公司 媒体文件推送系统及方法
CN101355797A (zh) * 2007-07-25 2009-01-28 华为技术有限公司 获得用户终端设备信息的方法和通信业务功能实体
CN101778429A (zh) * 2009-12-29 2010-07-14 中兴通讯股份有限公司 加速可视电话协商的方法及其可视电话
CN102790753A (zh) * 2011-05-20 2012-11-21 腾讯科技(深圳)有限公司 一种查询即时通讯客户端能力信息的方法及装置
CN103037195A (zh) * 2012-12-05 2013-04-10 北京小米科技有限责任公司 设置视频通话参数、和发送能力参数的方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112954255A (zh) * 2021-01-29 2021-06-11 深圳市捷视飞通科技股份有限公司 视频会议码流的传输方法、装置、计算机设备和存储介质
CN112954255B (zh) * 2021-01-29 2024-04-16 深圳市捷视飞通科技股份有限公司 视频会议码流的传输方法、装置、计算机设备和存储介质

Also Published As

Publication number Publication date
CN103037195A (zh) 2013-04-10

Similar Documents

Publication Publication Date Title
WO2014086222A1 (zh) 设置视频通话参数、和发送能力参数的方法及装置
JP6101861B2 (ja) グループ作成方法、グループ脱退方法、装置、プログラム、及び記録媒体
US8826398B2 (en) Password changing
EP3013086B1 (en) Method, apparatus and electronic device for connection management
US10021098B2 (en) Account login method, device, and system
US10530716B2 (en) Voice chat mode self-adapting method and apparatus
EP2883340B1 (en) Authorization method, apparatus, and system
US10148650B2 (en) Method, device and system for user authentication
US10034057B2 (en) Message processing method, device, gateway, STB and IPTV
WO2017000476A1 (zh) 语音验证方法、装置以及系统
WO2017088634A1 (zh) 第三方应用认证方法、认证服务器、终端及管理服务器
WO2013056558A1 (zh) 一种显示链接摘要信息的方法及装置
CN103237034A (zh) 登录方法及装置
CN109391476B (zh) 网络通话方法、装置及系统
EP2605460A1 (en) Method, apparatus, and system for transferring file to user of instant message system
WO2016004768A1 (zh) 一种社交关系管理的方法、设备及系统
CN111316624A (zh) 用于电话呼叫的个性化音频/视频邀请
WO2022257851A1 (zh) 语音通话方法和语音通话装置
WO2015184924A1 (zh) 实现终端之间远程协助的方法、业务协助服务器和装置
WO2017088548A1 (zh) 基于社交身份的通信方法及服务器
EP2974159B1 (en) Method, device and system for voice communication
US20130288661A1 (en) Remote operation system, relay apparatus, mobile communication apparatus, in-terminal server control method, and relay processing method
EP4111711A1 (en) Location reporting for service enabler architecture layer (seal)
WO2015043211A1 (zh) 一种评论信息的显示方法及设备
WO2016141797A1 (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: 13861462

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

Country of ref document: EP

Kind code of ref document: A1