Summary of the invention
Method and device that the embodiment of the invention provides the video calling parameter is set, reaches the transmitting capacity parameter can shorten the time that video calling is set up.
The embodiment of the invention provides a kind of method that the video calling parameter is set, and is applied to the first terminal that first user uses; The method comprises:
Receive the current listed state updating message of indication the second user; Wherein, described the second user is arranged in the communication tabulation of described first user, and described state updating message is carried the ability parameter of the second terminal of described the second user use;
According to the ability parameter of described the second terminal, the parameter that described first terminal and described the second terminal are carried out video calling is set.
Carried the ability parameter of the second terminal that current listed the second user uses in the first user communication tabulation in the state updating message of present embodiment.On the one hand, the state updating message is the message that server itself will push, the ability parameter of the second terminal is carried at does not increase execution in step in the state updating message, on the other hand, can after the second user login, namely set the parameter that first terminal and the second terminal are carried out video calling like this, when real needs carry out video calling, need not the video calling parameter is set in setting up the process of video calling, thereby shortened the time that video calling is set up.
More excellent, the method also comprises:
Detect the login trigger event of described first user;
Obtain the login authentication information of described first user and the ability parameter of described first terminal;
The logging request of the ability parameter of described login authentication information and described first terminal is carried in transmission.
In the more excellent execution mode here, the ability parameter of first terminal carries in the logging request of first user, if first user is arranged in other users' communication tabulation, then server is after receiving the logging request of first user, just can obtain the ability parameter of first terminal and by the state updating message ability parameter of first terminal be sent to other users.
More excellent, the method also comprises:
Detect the login trigger event of described first user;
Obtain the login authentication information of described first user and the sign of described first terminal;
The logging request of the sign of described login authentication information and described first terminal is carried in transmission.
In the more excellent execution mode here, the logging request of first user is carried the sign of the terminal of the current use of first user, server is after receiving the logging request of first user like this, directly searches the ability parameter of first terminal and by the state updating message ability parameter of first terminal is sent to other users in ability parameter corresponding to the terminal iidentification that sets in advance.
More excellent, the method also comprises:
Receive the current state updating message of having logged off of described the second user of indication;
Delete the ability parameter of described the second terminal and described first terminal and described the second terminal and carry out the parameter of video calling.
In the more excellent execution mode here, after the second user logs off, in time delete the ability parameter of the second terminal and the parameter of carrying out video calling that sets, save memory space.
More excellent, the method also comprises:
Detect the trigger event of logging off of described first user;
All ability parameters that deletion receives and all of setting are carried out the parameter of video calling.
In the more excellent execution mode here, after first user was logged off, all ability parameters that in time deletion receives and all that set were carried out the parameter of video calling, save memory space.
The embodiment of the invention provides a kind of method of transmitting capacity parameter, is applied to server; The method comprises:
Obtain the current listed state of the second user that is arranged in first user communication tabulation;
The first terminal that uses to described first user sends the current listed state updating message of described the second user of indication; Wherein, described state updating message is carried the ability parameter of the second terminal of described the second user use.
Present embodiment has carried the ability parameter of the second terminal that current listed the second user uses in the first user communication tabulation in sending to the state updating message of first terminal.On the one hand, the state updating message is the message that server itself will push, the ability parameter of the second terminal is carried at does not increase execution in step in the state updating message, on the other hand, like this so that first terminal can namely set the parameter that first terminal and the second terminal are carried out video calling after the second user login, when real needs carry out video calling, need not the video calling parameter is set in setting up the process of video calling, thereby shortened the time that video calling is set up.
More excellent, the method also comprises:
Receive the logging request that described first terminal sends, carry the login authentication information of described first user and the ability parameter of described first terminal in the described logging request.
In the more excellent execution mode here, the ability parameter of first terminal carries in the logging request of first user, if first user is arranged in other users' communication tabulation, then server is after receiving the logging request of first user, just can obtain the ability parameter of first terminal and by the state updating message ability parameter of first terminal be sent to other users.
More excellent, the method also comprises:
Receive the logging request that described first terminal sends, carry the login authentication information of described first user and the sign of described first terminal in the described logging request;
According to the sign of described first terminal, in ability parameter corresponding to pre-stored terminal iidentification, search the ability parameter of described first terminal.
In the more excellent execution mode here, the logging request of first user is carried the sign of the terminal of the current use of first user, server is after receiving the logging request of first user like this, directly searches the ability parameter of first terminal and by the state updating message ability parameter of first terminal is sent to other users in ability parameter corresponding to the terminal iidentification that sets in advance.
More excellent, the method also comprises:
Obtain the current state of having logged off of described the second user;
Send the current state updating message of having logged off of described the second user of indication to described first terminal.
In the more excellent execution mode here, after the second user logs off, in time send the state updating message to first terminal, so that first terminal is in time deleted the ability parameter of the second terminal and the parameter of carrying out video calling that sets, save memory space.
The embodiment of the invention provides a kind of device that the video calling parameter is set, and is applied to the first terminal that first user uses; This device comprises:
Receiving element is used for receiving the current listed state updating message of indication the second user; Wherein, described the second user is arranged in the communication tabulation of described first user, and described state updating message is carried the ability parameter of the second terminal of described the second user use;
Setting unit is used for the ability parameter according to described the second terminal, and the parameter that described first terminal and described the second terminal are carried out video calling is set.
More excellent, this device also comprises:
Request unit is for detection of the login trigger event of described first user; Obtain the login authentication information of described first user and the ability parameter of described first terminal; The logging request of the ability parameter of described login authentication information and described first terminal is carried in transmission.
More excellent, this device also comprises:
Request unit is for detection of the login trigger event of described first user; Obtain the login authentication information of described first user and the sign of described first terminal; The logging request of the sign of described login authentication information and described first terminal is carried in transmission.
More excellent, this device also comprises:
The first delete cells is used for receiving the current state updating message of having logged off of described the second user of indication; Delete the ability parameter of described the second terminal and described first terminal and described the second terminal and carry out the parameter of video calling.
More excellent, this device also comprises:
The second delete cells is for detection of the trigger event of logging off of described first user; All ability parameters that deletion receives and all of setting are carried out the parameter of video calling.
A kind of device of transmitting capacity parameter is applied to server; This device comprises:
The first acquiring unit is used for obtaining the current listed state of the second user of first user communication tabulation;
The first transmitting element is used for sending the current listed state updating message of described the second user of indication to the first terminal that described first user uses; Wherein, described state updating message is carried the ability parameter of the second terminal of described the second user use.
More excellent, this device also comprises:
Receiving element is used for receiving the logging request that described first terminal sends, and carries the login authentication information of described first user and the ability parameter of described first terminal in the described logging request.
More excellent, this device also comprises:
Receiving element is used for receiving the logging request that described first terminal sends, and carries the login authentication information of described first user and the sign of described first terminal in the described logging request;
Search the unit, be used for the sign according to described first terminal, in ability parameter corresponding to pre-stored terminal iidentification, search the ability parameter of described first terminal.
More excellent, this device also comprises:
Second acquisition unit is used for obtaining the current state of having logged off of described the second user;
The second transmitting element is used for sending the current state updating message of having logged off of described the second user of indication to described first terminal.
The further feature of the embodiment of the invention and advantage will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the embodiment of the invention.The purpose of the embodiment of the invention and other advantages can realize and obtain by specifically noted structure in the specification of writing, claims and accompanying drawing.
Below by drawings and Examples, the technical scheme of the embodiment of the invention is described in further detail.
Embodiment
Below in conjunction with accompanying drawing preferred embodiment is described, should be appreciated that preferred embodiment described herein only is used for the description and interpretation embodiment of the invention, is not intended to limit the present invention embodiment.
Embodiment one
The method of present embodiment one is applied to the first terminal that first user uses.
Fig. 1 is the method flow diagram that the video calling parameter is set that the embodiment of the invention one provides, and this flow process comprises:
Step 11: receive the current listed state updating message of indication the second user; Wherein, described the second user is arranged in the communication tabulation of described first user, and described state updating message is carried the ability parameter of the second terminal of described the second user use.
Step 12: according to the ability parameter of described the second terminal, the parameter that described first terminal and described the second terminal are carried out video calling is set.
As seen, in the state updating message of present embodiment one, carried the ability parameter of the second terminal that current listed the second user uses in the first user communication tabulation.On the one hand, the state updating message is the message that server itself will push, the ability parameter of the second terminal is carried at does not increase execution in step in the state updating message, on the other hand, can after the second user login, namely set the parameter that first terminal and the second terminal are carried out video calling like this, when real needs carry out video calling, need not the video calling parameter is set in setting up the process of video calling, thereby shortened the time that video calling is set up.
Embodiment two
The method of present embodiment two is applied to the first terminal that first user uses.
Fig. 2 is the method flow diagram that the video calling parameter is set that the embodiment of the invention two provides, and this flow process comprises:
Step 21: the login trigger event that detects first user.
In this step, the login trigger event can be the login shortcut of double-clicking IM application program on the user interface, can also be other implementations.
Step 22: obtain the login authentication information of described first user and the ability parameter of first terminal.
In this step, the login authentication information of first user is inputted by logged-on user interface by the user, comprises username and password.Ability parameter obtains from the first terminal storage inside has the memory cell of terminal parameters.
Step 23: the logging request that sends the ability parameter that carries login authentication information and first terminal.
By step 21 ~ step 23, the ability parameter of first terminal is carried in the logging request of first user and sends to server, if first user is arranged in other users' communication tabulation, then server is after receiving the logging request of first user, just can obtain the ability parameter of first terminal and by the state updating message ability parameter of first terminal be sent to other users.
As the optional execution mode of another kind, if in the logging request of first user, do not carry the ability parameter of first terminal, the sign of each terminal that also can in advance first user may be used and corresponding ability parameter upload onto the server, carry the sign of the terminal of the current use of first user in the logging request of first user, server is after receiving the logging request of first user like this, directly searches the ability parameter of corresponding terminal and by the state updating message ability parameter of first terminal sent to other users.
Step 24: receive the current listed state updating message of indication the second user; Wherein, described the second user is arranged in the communication tabulation of described first user, and described state updating message is carried the ability parameter of the second terminal of described the second user use.
Step 25: according to the ability parameter of described the second terminal, the parameter that described first terminal and described the second terminal are carried out video calling is set.
Step 24 ~ step 25 can be carried out several times after first user logins successfully, as long as the second user in the communication tabulation logins by not logining to be changed to, and just can execution in step 24 ~ step 25.Before first terminal and the second terminal are really set up video calling, namely set the parameter that first terminal and the second terminal are carried out video calling thus.
After step 25, as a kind of optional execution mode, after the second user logs off, first terminal can not be set up video calling with the second terminal again, can in time delete the ability parameter of the second terminal and the parameter of carrying out video calling that sets this moment, and then the saving memory space, for realizing this purpose, method shown in Figure 1 can also comprise the steps: to receive the current state updating message of having logged off of described the second user of indication; Delete the ability parameter of described the second terminal and described first terminal and described the second terminal and carry out the parameter of video calling.The step here can be carried out several times after first user logins successfully, as long as the second user in the communication tabulation is changed to not login by logining, just can carry out the step here.
After step 25, as a kind of optional execution mode, after first user is logged off, first terminal can not be set up video calling with the second terminal again, this moment can in time delete all ability parameters that receive and set all carry out the parameter of video calling, and then the saving memory space, for realizing this purpose, method shown in Figure 1 can also comprise the steps: to detect the trigger event of logging off of described first user; All ability parameters that deletion receives and all of setting are carried out the parameter of video calling.The trigger event of logging off here can be to click the soft-key button of logging off on the user interface, also can be other implementations.
Embodiment three
The method of present embodiment three is applied to server.
Fig. 3 is the method flow diagram of the transmitting capacity parameter that provides of the embodiment of the invention three, and this flow process comprises:
Step 31: obtain the current listed state of the second user that is arranged in first user communication tabulation.
Step 32: the first terminal that uses to described first user sends the current listed state updating message of described the second user of indication; Wherein, described state updating message is carried the ability parameter of the second terminal of described the second user use.
As seen, present embodiment three has carried the ability parameter of the second terminal that current listed the second user uses in the first user communication tabulation in sending to the state updating message of first terminal.On the one hand, the state updating message is the message that server itself will push, the ability parameter of the second terminal is carried at does not increase execution in step in the state updating message, on the other hand, like this so that first terminal can namely set the parameter that first terminal and the second terminal are carried out video calling after the second user login, when real needs carry out video calling, need not the video calling parameter is set in setting up the process of video calling, thereby shortened the time that video calling is set up.
Embodiment four
The method of present embodiment four is applied to server.What first user used is first terminal, and what the second user used is the second terminal.
Fig. 4 is the method flow diagram of the transmitting capacity parameter that provides of the embodiment of the invention four, and this flow process comprises:
Step 41: receive the logging request that first terminal sends, carry the login authentication information of described first user and the ability parameter of described first terminal in the described logging request.
In this step, the ability parameter of first terminal is carried in the logging request of first user and sends to server, if first user is arranged in other users' communication tabulation, then server is after receiving the logging request of first user, just can obtain the ability parameter of first terminal and by the state updating message ability parameter of first terminal be sent to other users.
As a kind of interchangeable execution mode, the sign of each terminal that can pre-stored first user in the server may use and corresponding ability parameter, server receives the logging request of the sign of the terminal carry the current use of first user, then directly finds out the ability parameter of corresponding terminal and by the state updating message ability parameter of first terminal is sent to other users.
Step 42: obtain the current listed state of the second user that is arranged in first user communication tabulation.
Step 43: send the current listed state updating message of described the second user of indication to first terminal, wherein, described state updating message is carried the ability parameter of the second terminal of described the second user use.
Step 42 ~ step 43 can be carried out several times after first user logins successfully, as long as the second user in the communication tabulation logins by not logining to be changed to, and just can execution in step 42 ~ step 43.So that first terminal and the second terminal are really set up before the video calling, namely set the parameter that first terminal and the second terminal are carried out video calling thus.
As a kind of optional execution mode, after the second user logs off, first terminal can not set up video calling with the second terminal, in order to make the first terminal in time ability parameter and the parameter of carrying out video calling that sets of deletion the second terminal, and then the saving memory space, method shown in Figure 4 can also comprise the steps: to obtain the current state of having logged off of described the second user; Send the current state updating message of having logged off of described the second user of indication to described first terminal.The step here can be carried out several times after first user logins successfully, as long as the second user in the communication tabulation is changed to not login by logining, just can carry out the step here.
Embodiment five
The first terminal that application of installation in the present embodiment five uses in first user.
Fig. 5 is the device that the video calling parameter is set that the embodiment of the invention five provides, and this device comprises:
Receiving element 51 is used for receiving the current listed state updating message of indication the second user; Wherein, described the second user is arranged in the communication tabulation of described first user, and described state updating message is carried the ability parameter of the second terminal of described the second user use.
Setting unit 52 is used for the ability parameter according to described the second terminal, and the parameter that described first terminal and described the second terminal are carried out video calling is set.
As seen, in the state updating message of present embodiment five, carried the ability parameter of the second terminal that current listed the second user uses in the first user communication tabulation.On the one hand, the state updating message is the message that server itself will push, the ability parameter of the second terminal is carried at not increase operation in the state updating message, on the other hand, can after the second user login, namely set the parameter that first terminal and the second terminal are carried out video calling like this, when real needs carry out video calling, need not the video calling parameter is set in setting up the process of video calling, thereby shortened the time that video calling is set up.
Embodiment six
The first terminal that application of installation in the present embodiment six uses in first user.
The device that the video calling parameter is set that Fig. 6 provides for the embodiment of the invention six, this device comprises: receiving element 61, setting unit 62, request unit 63, the first delete cells 64 and the second delete cells 65.
Receiving element 61 is used for receiving the current listed state updating message of indication the second user; Wherein, described the second user is arranged in the communication tabulation of described first user, and described state updating message is carried the ability parameter of the second terminal of described the second user use.
Setting unit 62 is used for the ability parameter according to described the second terminal, and the parameter that described first terminal and described the second terminal are carried out video calling is set.
Request unit 63 is for detection of the login trigger event of described first user; Obtain the login authentication information of described first user and the ability parameter of described first terminal; Send the logging request of the ability parameter that carries described login authentication information and described first terminal to server.
As the execution mode that can replace, request unit 63 is for detection of the login trigger event of described first user; Obtain the login authentication information of described first user and the sign of described first terminal; Send the logging request of the sign of carrying described login authentication information and described first terminal to server.In this embodiment, pre-stored sign and the corresponding ability parameter that each terminal of first user is arranged in the server, server according to the sign of the terminal of carrying in the logging request, can find corresponding ability parameter after receiving the logging request of first user.
The first delete cells 64 is used for receiving the current state updating message of having logged off of described the second user of indication; Delete the ability parameter of described the second terminal and described first terminal and described the second terminal and carry out the parameter of video calling.
After the second user logs off, first terminal can not be set up video calling with the second terminal again, can in time delete the ability parameter of the second terminal and the parameter of carrying out video calling that sets this moment, and then the saving memory space, the first delete cells 64 arranges with regard to being based on such purpose.
The second delete cells 65 is for detection of the trigger event of logging off of described first user; All ability parameters that deletion receives and all of setting are carried out the parameter of video calling.
After first user is logged off, first terminal can not be set up video calling with the second terminal again, this moment can in time delete all ability parameters that receive and set all carry out the parameter of video calling, and then the saving memory space, the second delete cells 65 arranges with regard to being based on such purpose.
Embodiment seven
Application of installation in the present embodiment seven is in server.
Fig. 7 is the apparatus structure schematic diagram of the transmitting capacity parameter that offers of the embodiment of the invention seven, and this device comprises: the first acquiring unit 71 and second acquisition unit 72.
The first acquiring unit 71 is used for obtaining the current listed state of the second user of first user communication tabulation.
The first transmitting element 72 is used for sending the current listed state updating message of described the second user of indication to the first terminal that described first user uses; Wherein, described state updating message is carried the ability parameter of the second terminal of described the second user use.
As seen, present embodiment seven has carried the ability parameter of the second terminal that current listed the second user uses in the first user communication tabulation in sending to the state updating message of first terminal.On the one hand, the state updating message is the message that server itself will push, the ability parameter of the second terminal is carried at not increase operation in the state updating message, on the other hand, can after the second user login, namely set the parameter that first terminal and the second terminal are carried out video calling like this, when real needs carry out video calling, need not the video calling parameter is set in setting up the process of video calling, thereby shortened the time that video calling is set up.
Embodiment eight
The application of installation that present embodiment eight provides is in server.
The apparatus structure schematic diagram of the first transmitting capacity parameter that Fig. 8 provides for the embodiment of the invention eight, this device comprises: the first acquiring unit 81, second acquisition unit 82, receiving element 83, second acquisition unit 84 and the second transmitting element 85.
The first acquiring unit 81 is used for obtaining the current listed state of the second user of first user communication tabulation.
The first transmitting element 82 is used for sending the current listed state updating message of described the second user of indication to the first terminal that described first user uses; Wherein, described state updating message is carried the ability parameter of the second terminal of described the second user use.
Receiving element 83 is used for receiving the logging request that described first terminal sends, and carries the login authentication information of described first user and the ability parameter of described first terminal in the described logging request.
Second acquisition unit 84 is used for obtaining the current state of having logged off of described the second user.
The second transmitting element 85 is used for sending the current state updating message of having logged off of described the second user of indication to described first terminal.
The apparatus structure schematic diagram of the second transmitting capacity parameter that Fig. 9 provides for the embodiment of the invention eight comprises: the first acquiring unit 91, second acquisition unit 92, receiving element 93, second acquisition unit 94, the second transmitting element 95 and search unit 96.Wherein, the function of the first acquiring unit 91, second acquisition unit 92, second acquisition unit 94 and the second transmitting element 95, respectively identical with shown in Fig. 8.
Receiving element 93 is used for receiving the logging request that described first terminal sends, and carries the login authentication information of described first user and the sign of described first terminal in the described logging request.
Search unit 96, be used for the sign according to described first terminal, in ability parameter corresponding to pre-stored terminal iidentification, search the ability parameter of described first terminal.
Those skilled in the art should understand that the embodiment of the invention can be provided as method, system or computer program.Therefore, the embodiment of the invention can adopt complete hardware implementation example, complete implement software example or in conjunction with the form of the embodiment of software and hardware aspect.And the embodiment of the invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) that wherein include computer usable program code.
The embodiment of the invention is that reference is described according to flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device producing a machine, so that the instruction of carrying out by the processor of computer or other programmable data processing device produces the device of the function that is used for being implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, so that the instruction that is stored in this computer-readable memory produces the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, so that carry out the sequence of operations step producing computer implemented processing at computer or other programmable devices, thereby be provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame in the instruction that computer or other programmable devices are carried out.
Obviously, those skilled in the art can carry out various changes and modification to the embodiment of the invention and not break away from the spirit and scope of the embodiment of the invention.Like this, if these of the embodiment of the invention are revised and modification belongs within the scope of claim and equivalent technologies thereof, then the embodiment of the invention also is intended to comprise these changes and modification interior.