Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, the invention provides a live broadcast interaction method, which is characterized in that a user executes target operation on a target object in a live broadcast interface to generate a moving track of the target object, and the moving process of the target object along the moving track is displayed in the live broadcast interface, so that the live broadcast mode is more diversified, the enthusiasm of user participation is mobilized, the operable form of the user is increased, and the audience rating of live broadcast is improved.
The invention provides another live broadcast interaction method.
The invention provides a live broadcast interaction device.
The invention provides another live broadcast interaction device.
The invention provides a computer device.
The invention provides a computer readable storage medium.
An embodiment of a first aspect of the present invention provides a live broadcast interaction method, including:
displaying a target object to be moved on a live interface of a client;
detecting target operation in the live broadcast interface;
generating a moving track of the target object according to one or more combinations of the quality parameter corresponding to the target object, the mechanical parameter corresponding to the target operation and the friction coefficient corresponding to the target area where the target object is located;
and displaying the moving process of the target object along the moving track in the live interface.
Optionally, as a first possible implementation manner of the first aspect, after the generating the movement trajectory of the target object, the method further includes:
sending an indication message for indicating the movement track of the target object to a server; the indication message is used for the server to indicate other clients to display the moving process of the target object along the moving track according to the moving track of the target object, and/or used for the server to perform resource processing on the account bound by the client login user according to the moving track.
Optionally, as a second possible implementation manner of the first aspect, after the detecting a target operation in the live interface, the method further includes:
determining an initial position required to be occupied by the target object from preset candidate positions in the target area according to the initial position of the target operation;
and changing the position of the target object display to the starting position in the live interface.
Optionally, as a third possible implementation manner of the first aspect, the method further includes:
acquiring an indication message for displaying a movement track of a reference object from the server;
and displaying the moving process of the reference object along the moving track of the reference object by taking the idle candidate position as a starting point.
Optionally, as a fourth possible implementation manner of the first aspect, the displaying, with the idle candidate position as a starting point, a moving process of the reference object along a moving trajectory of the reference object includes:
adding each reference object to a wait queue; the wait queue corresponds to a free candidate location;
and taking the idle candidate position corresponding to each waiting queue as a starting point, and displaying the moving process of the reference object polled by the waiting queue along the moving track of the reference object.
Optionally, as a fifth possible implementation manner of the first aspect, the displaying a moving process of the reference object along a moving trajectory of the reference object includes:
if a collision point exists between the moving track of the reference object and the moving track of the target object, correcting the moving track of the reference object behind the collision point and the moving track of the target object behind the collision point according to the quality parameter of the target object and the quality parameter of the reference object;
and displaying the moving process of the reference object along the moving track of the corrected reference object, and displaying the moving process of the target object along the moving track of the corrected target object.
Optionally, as a sixth possible implementation manner of the first aspect, after the displaying the moving process of the reference object along the moving track of the reference object, the method further includes:
if the end point position of the movement track of the reference object is in the target area, displaying the static reference object at the end point position; when the number of the reference objects displayed in the target area is larger than a threshold value, removing the displayed part of the reference objects;
and if the end point position of the movement track of the reference object is outside the target area, removing the reference object after displaying the animation associated with the reference object.
Optionally, as a seventh possible implementation manner of the first aspect, the displaying, on a live interface of a client, a target object to be moved includes:
sending an acquisition request for acquiring the target object to the server within a preset time period; the acquisition request is used for indicating a server to transfer out the resource amount matched with the target object from an account bound by a login user, and sending an acquisition response when the server is successfully transferred out;
and if an acquisition response sent by the server is received, displaying the target object in a target area of the live broadcast interface.
Optionally, as an eighth possible implementation manner of the first aspect, the detecting a target operation in the live interface includes:
after the preset time period is finished, detecting target operation in the live broadcast interface; the target operation includes a slide operation.
Optionally, as a ninth possible implementation manner of the first aspect, after the sending, to the server, the indication message for indicating the movement trajectory of the target object, the method further includes:
receiving a resource processing message sent by the server; the resource processing message is used for indicating the resource amount of the account bound by the login user; and the resource amount to be transferred is determined by the server according to the end position of the movement track of the target object and the total resource amount transferred from each account by the server.
Optionally, as a tenth possible implementation manner of the first aspect, the live interface further includes a main broadcast display area, and the method further includes:
acquiring a video stream of a main broadcast;
and displaying the picture of the video stream in a main broadcasting display area of the live broadcasting interface.
In the live broadcast interaction method, a target object to be moved is displayed on a live broadcast interface of a client, target operation is detected in the live broadcast interface, a moving track of the target object is generated according to one or more combinations of quality parameters corresponding to the target object, mechanical parameters corresponding to the target operation and friction coefficients corresponding to a target area where the target object is located, and the moving process of the target object along the moving track is displayed in the live broadcast interface. In the live broadcast interface, a user executes target operation on a target object to generate a moving track of the target object, and the process that the target object moves along the moving track is displayed in the live broadcast interface, so that the live broadcast mode is more diversified, the enthusiasm of user participation is mobilized, the operable form of the user is increased, and the live broadcast audience rating is improved.
The embodiment of the second aspect of the present invention provides another live broadcast interaction method, including:
acquiring an indication message for indicating a movement track of a target object from a first client; after a target object to be moved is displayed on a live broadcast interface of the first client, detecting a target operation in the live broadcast interface, and generating a movement track of the target object according to one or more combinations of quality parameters corresponding to the target object, mechanical parameters corresponding to the target operation and friction coefficients corresponding to a target area where the target object is located;
and sending an indication message for displaying the movement track of the target object to a second client, so that the second client displays the movement process of the target object along the movement track according to the movement track of the target object.
Optionally, as a first possible implementation manner of the second aspect, before the obtaining, from the first client, the indication message for indicating the movement trajectory of the target object, the method further includes:
receiving an acquisition request sent by the first client; the obtaining request is sent by the first client within a preset time period and is used for obtaining the target object;
transferring out the resource amount matched with the target object from the account bound by the first client login user;
when the transfer-out is successful, sending an acquisition response to the first client; and the acquisition response is used for indicating the first client to display the target object in a target area of the live broadcast interface.
Optionally, as a second possible implementation manner of the second aspect, after the obtaining, from the first client, the indication message for indicating the movement trajectory of the target object, the method further includes:
determining the amount of resources to be transferred to the first client according to the end position of the moving track of the target object and the total amount of resources transferred from each account;
logging in an account bound by a user to the first client, and transferring into the resource amount required to be transferred to the first client;
and when the transfer is successful, sending a resource processing message to the first client, wherein the resource processing message is used for indicating the amount of the resources to be transferred to the first client.
Optionally, as a third possible implementation manner of the second aspect, after the obtaining, from the first client, the indication message for indicating the movement trajectory of the target object, the method further includes:
acquiring the corrected moving track of the target object from the second client; when a collision point exists between the movement track of the reference object generated by the second client and the movement track of the target object, the second client corrects the movement track of the target object behind the collision point according to the quality parameter of the target object and the quality parameter of the reference object.
Optionally, as a fourth possible implementation manner of the second aspect, the method further includes:
sending the video stream of the anchor to the first client and the second client; and the video stream of the anchor is used for displaying in an anchor display area of the live interface.
In the live broadcast interaction method, the indication message for indicating the movement track of the target object is obtained from the first client, and the indication message for displaying the movement track of the target object is sent to the second client, so that the second client displays the movement process of the target object along the movement track according to the movement track of the target object. In the live broadcast interface, a user executes target operation on a target object to generate a moving track of the target object, and the process that the target object moves along the moving track is displayed in the live broadcast interface, so that the live broadcast mode is more diversified, the enthusiasm of user participation is mobilized, the operable form of the user is increased, and the live broadcast audience rating is improved.
An embodiment of a third aspect of the present invention provides a live broadcast interaction apparatus, including:
the first display module is used for displaying a target object to be moved on a live interface of the client;
the detection module is used for detecting target operation in the live broadcast interface;
the generating module is used for generating a moving track of the target object according to one or more combinations of the quality parameter corresponding to the target object, the mechanical parameter corresponding to the target operation and the friction coefficient corresponding to the target area where the target object is located;
the first display module is further configured to display a moving process of the target object along the moving track in the live broadcast interface.
Optionally, as a first possible implementation manner of the third aspect, the apparatus further includes:
the first sending module is used for sending an indication message for indicating the movement track of the target object to a server; the indication message is used for the server to indicate other clients to display the moving process of the target object along the moving track according to the moving track of the target object, and/or used for the server to perform resource processing on the account bound by the client login user according to the moving track.
Optionally, as a second possible implementation manner of the third aspect, the apparatus further includes:
the first determining module is used for determining a starting position required to be occupied by the target object from candidate positions preset in the target area according to the starting position of the target operation; and changing the position of the target object display to the starting position in the live interface.
Optionally, as a third possible implementation manner of the third aspect, the apparatus further includes:
the first acquisition module is used for acquiring an indication message for displaying the movement track of the reference object from the server;
the second display module is further configured to display a moving process of the reference object along the moving track of the reference object, with the idle candidate position as a starting point.
Optionally, as a fourth possible implementation manner of the third aspect, the display module includes:
an adding unit for adding each reference object to a waiting queue; the wait queue corresponds to a free candidate location;
and the display unit is used for taking the idle candidate position corresponding to each waiting queue as a starting point and displaying the moving process of the reference object polled by each waiting queue along the moving track of the reference object.
Optionally, as a fifth possible implementation manner of the third aspect, the display module further includes:
a correction unit, configured to, if a collision point exists between a movement trajectory of the reference object and a movement trajectory of the target object, correct, according to the quality parameter of the target object and the quality parameter of the reference object, a movement trajectory of the reference object after the collision point and a movement trajectory of the target object after the collision point;
the display unit is further configured to display a moving process of the reference object along the modified moving trajectory of the reference object, and display a moving process of the target object along the modified moving trajectory of the target object.
Optionally, as a sixth possible implementation manner of the third aspect, the apparatus further includes:
the display clearing module is used for displaying the static reference object at the end position if the end position of the movement track of the reference object is in the target area; when the number of the reference objects displayed in the target area is larger than a threshold value, removing the displayed part of the reference objects; and if the end point position of the movement track of the reference object is outside the target area, removing the reference object after displaying the animation associated with the reference object.
Optionally, as a seventh possible implementation manner of the third aspect, the first display module is further specifically configured to:
sending an acquisition request for acquiring the target object to the server within a preset time period; the acquisition request is used for indicating a server to transfer out the resource amount matched with the target object from an account bound by a login user, and sending an acquisition response when the server is successfully transferred out;
and if an acquisition response sent by the server is received, displaying the target object in a target area of the live broadcast interface.
Optionally, as an eighth possible implementation manner of the third aspect, the detection module is specifically configured to:
after the preset time period is finished, detecting target operation in the live broadcast interface; the target operation includes a slide operation.
Optionally, as a ninth possible implementation manner of the third aspect, the apparatus further includes:
the receiving module is used for receiving the resource processing message sent by the server; the resource processing message is used for indicating the resource amount of the account bound by the login user; and the resource amount to be transferred is determined by the server according to the end position of the movement track of the target object and the total resource amount transferred from each account by the server.
Optionally, as a tenth possible implementation manner of the third aspect, the live interface further includes an anchor display area, and in the apparatus:
the first acquisition module is also used for acquiring the video stream of the anchor;
the first display module is further configured to display a picture of the video stream in a main broadcast display area of the live broadcast interface.
In the live broadcast interaction device of the embodiment of the invention, the first display module is used for displaying a target object to be moved on a live broadcast interface of a client, the detection module is used for detecting target operation in the live broadcast interface, the generation module is used for generating a moving track of the target object according to one or more combinations of quality parameters corresponding to the target object, mechanical parameters corresponding to the target operation and friction coefficients corresponding to a target area where the target object is located, and the first display module is also used for displaying the moving process of the target object along the moving track in the live broadcast interface. In the live broadcast interface, a user executes target operation on a target object to generate a moving track of the target object, and the process that the target object moves along the moving track is displayed in the live broadcast interface, so that the live broadcast mode is more diversified, the enthusiasm of user participation is mobilized, the operable form of the user is increased, and the live broadcast audience rating is improved.
In a fourth aspect, an embodiment of the present invention provides another live broadcast interaction apparatus, where the apparatus includes:
the second acquisition module is used for acquiring an indication message for indicating the movement track of the target object from the first client; after a target object to be moved is displayed on a live broadcast interface of the first client, detecting a target operation in the live broadcast interface, and generating a movement track of the target object according to one or more combinations of quality parameters corresponding to the target object, mechanical parameters corresponding to the target operation and friction coefficients corresponding to a target area where the target object is located;
and the second sending module is used for sending an indication message for displaying the movement track of the target object to a second client so that the second client displays the movement process of the target object along the movement track according to the movement track of the target object.
Optionally, as a first possible implementation manner of the fourth aspect, the apparatus further includes:
the receiving module is used for receiving an acquisition request sent by the first client; the obtaining request is sent by the first client within a preset time period and is used for obtaining the target object;
the transfer-out module is used for transferring out the resource amount matched with the target object from the account bound by the first client login user;
the second sending module is further configured to send an acquisition response to the first client when the roll-out is successful; and the acquisition response is used for indicating the first client to display the target object in a target area of the live broadcast interface.
Optionally, as a second possible implementation manner of the fourth aspect, the apparatus further includes:
the second determining module is used for determining the resource amount required to be transferred to the first client according to the end position of the moving track of the target object and the total resource amount transferred from each account;
the transfer module is used for logging in the account bound by the user to the first client and transferring the resource amount to be transferred to the first client;
the second sending module is further configured to send a resource processing message to the first client when the transfer is successful, where the resource processing message is the same as the resource amount indicating that the first client needs to transfer.
Optionally, as a third possible implementation manner of the fourth aspect, the second obtaining module is further configured to:
acquiring the corrected moving track of the target object from the second client; when a collision point exists between the movement track of the reference object generated by the second client and the movement track of the target object, the second client corrects the movement track of the target object behind the collision point according to the quality parameter of the target object and the quality parameter of the reference object.
Optionally, as a fourth possible implementation manner of the fourth aspect, the second sending module may be further configured to:
sending the video stream of the anchor to the first client and the second client; and the video stream of the anchor is used for displaying in an anchor display area of the live interface.
In the live broadcast interaction device of the embodiment of the present invention, the second obtaining module is configured to obtain, from the first client, an indication message for indicating a movement trajectory of the target object, and the second sending module is configured to send, to the second client, the indication message for displaying the movement trajectory of the target object, so that the second client displays a movement process of the target object along the movement trajectory according to the movement trajectory of the target object. In the live broadcast interface, a user executes target operation on a target object to generate a moving track of the target object, and the process that the target object moves along the moving track is displayed in the live broadcast interface, so that the live broadcast mode is more diversified, the enthusiasm of user participation is mobilized, the operable form of the user is increased, and the live broadcast audience rating is improved.
An embodiment of a fifth aspect of the present invention provides a computer device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the live interaction method according to the first aspect or the live interaction method according to the second aspect when executing the program.
A sixth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, wherein instructions of the storage medium, when executed by a processor, implement the live interaction method according to the first aspect, or the live interaction method according to the second aspect.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
In the related technology, the problem exists that in the live broadcasting process of the anchor, a user expects to interact with the anchor by sending a virtual gift to the anchor, the interaction mode is single, and interaction with each participating user cannot be realized.
Therefore, the invention provides a live broadcast interaction method, which comprises the steps of displaying a target object to be moved on a live broadcast interface of a client, detecting target operation in the live broadcast interface, generating a moving track of the target object, and displaying the moving process of the target object along the moving track in the live broadcast interface. The method and the system realize the communication and interaction between the anchor and the user in the process that the user executes the target operation in the live interface, realize the care of each user and improve the participation of the user.
The following describes a live interaction method and apparatus according to an embodiment of the present invention with reference to the drawings.
Fig. 1 is a schematic flow chart of a live broadcast interaction method according to an embodiment of the present invention, where an execution subject of the method is a client, and the client may be a client used by a user watching a live broadcast or a client used by a main broadcast, which is not limited in this embodiment. For convenience of explaining the operation process of the client, the client used by the user is only taken as an example in this embodiment, and those skilled in the art can know that the process of displaying the operation track by the client used by the anchor is the same as that by the client used by the user.
As shown in fig. 1, the method comprises the steps of:
step 101, displaying a target object to be moved on a live interface of a client.
Specifically, a user logs in a bound account at a client, enters a live interface, and displays a main broadcast video picture acquired from a server in real time in the live interface. The target objects can be selected by the user in the live broadcast interface, and as a possible implementation mode, the target objects and the resource amount matched with the target objects can be listed in the live broadcast interface in a drop-down list mode for the user to click and select. The method comprises the steps that in a preset time period, a client sends an obtaining request for obtaining a target object to a server, the obtaining request is used for indicating the server to transfer out a resource amount matched with the target object from an account bound by a login user, when the server transfers out the resource successfully, an obtaining response is sent to the client, and after the client receives the obtaining response sent by the server, the target object to be moved is displayed in a target area of a direct interface.
It should be noted that the resource amount matched by different target objects is different, wherein the resource amount refers to different resources in different application scenarios, for example, in a cup pushing game scenario, the resource amount is a token or a chip purchased by a user.
And 102, detecting target operation in a live interface.
Specifically, after a preset time period is over, a user performs a target operation on a selected target object, and a client detects the target operation performed on the target object by the user in a live broadcast interface, wherein the target operation includes a sliding operation.
It should be noted that, when a user at the client executes a target operation on a target object, the anchor can interact with the user through the live interface, so as to help the user to adjust the target operation, thereby improving the accuracy of the target operation of the user, and meanwhile, improving the participation sense of the user in the interaction process of the user and the anchor. For example: the user can input image and text information and the like through the live interface after watching the anchor video stream, and the anchor is responded.
And 103, generating a moving track of the target object according to one or more combinations of the quality parameter corresponding to the target object, the mechanical parameter corresponding to the target operation and the friction coefficient corresponding to the target area where the target object is located.
Specifically, when the user performs a sliding target operation on the target object, the movement trajectory of the target object is related to one or more combinations of a quality parameter of the target object itself, a mechanical parameter corresponding to the target operation applied to the target object by the user, and a friction coefficient corresponding to a target area where the target object is located.
And 104, displaying the moving process of the target object along the moving track in the live interface.
Specifically, according to the generated movement track of the target object, the movement process of the target object along the movement track is displayed in the live broadcast interface.
In the live broadcast interaction method, a target object to be moved is displayed on a live broadcast interface of a client, target operation is detected in the live broadcast interface, a moving track of the target object is generated according to one or more combinations of quality parameters corresponding to the target object, mechanical parameters corresponding to the target operation and friction coefficients corresponding to a target area where the target object is located, and the moving process of the target object along the moving track is displayed in the live broadcast interface. In the live broadcast interface, a user executes target operation on a target object to generate a moving track of the target object, and the process that the target object moves along the moving track is displayed in the live broadcast interface, so that the live broadcast mode is more diversified, the enthusiasm of user participation is mobilized, the operable form of the user is increased, and the live broadcast audience rating is improved.
Based on the foregoing embodiments, in order to clearly illustrate the previous embodiment, this embodiment provides another possible live broadcast interaction method, and fig. 2 is a second schematic flow chart of a live broadcast interaction method provided by the present invention.
As shown in fig. 2, based on the previous embodiment, after step 102, the method may further include the following steps:
step 201, in the live interface, determining a starting position occupied by the display target object.
Specifically, a plurality of starting positions are preset in the live broadcast interface and used as candidate starting positions, the starting position required to be occupied by the target object is determined from the preset candidate positions according to the starting position of the target operation, and the position displayed by the target object is changed into the starting position in the live broadcast interface.
It should be noted that, in the live interface corresponding to each client, the number of preset starting positions is the same, and each client may select any one starting position as the starting position for executing the target operation, but when selecting the starting position, the client may refer to the position and number of the existing stationary object on the path from the starting position to the target position, so as to determine the starting position that the client needs to select. The other free starting positions are used for playing the moving process of the reference object of the other client acquired from the server along the moving track, which will be described in the following embodiments.
In the live broadcast interaction method, a target object to be moved is displayed on a live broadcast interface of a client, target operation is detected in the live broadcast interface, a moving track of the target object is generated according to one or more combinations of quality parameters corresponding to the target object, mechanical parameters corresponding to the target operation and friction coefficients corresponding to a target area where the target object is located, and the moving process of the target object along the moving track is displayed in the live broadcast interface. In the live broadcast interface, a user executes target operation on a target object to generate a moving track of the target object, and the process that the target object moves along the moving track is displayed in the live broadcast interface, so that the live broadcast mode is more diversified, the enthusiasm of user participation is mobilized, the operable form of the user is increased, and the live broadcast audience rating is improved. . Meanwhile, by setting a plurality of candidate positions, the moving track of the target object of the current client can be displayed, the idle candidate positions can also be used as starting points to display the moving track of the reference object, and the enthusiasm of the client for participating in live broadcast is improved through a competition mechanism between the clients.
In the above embodiment, a method for executing a target operation on a target object at a client in a live broadcast interface is described, where multiple candidate positions are preset in the live broadcast interface corresponding to the client, and the client executes the target operation only occupying one candidate position as a start position, and other candidate positions, and may also display a movement trajectory of a reference object generated by other clients and acquired from a server for a user to refer to, so as to help the user to adjust the target operation next time, so that the target object may more accurately reach a target area, and further improve the enthusiasm of user participation.
To this end, an embodiment of the present invention provides another possible live broadcast interaction method, and fig. 3 is a third flowchart of the live broadcast interaction method provided in the embodiment of the present invention, further clearly explaining a process of displaying a movement track of a reference object at an idle initial position, as shown in fig. 3, on the basis of the embodiment corresponding to fig. 1, after step 104, the method may further include the following steps:
step 301, sending an indication message for indicating the movement track of the target object to the server.
Specifically, the indication message sent by the client to the server is used for indicating the movement track of the target object, and the indication message is used for indicating other clients to display the movement process of the target object along the movement track according to the movement track of the target object and/or used for performing resource processing on an account bound by a user logged in by the client according to the movement track.
It should be noted that the resource processing includes deducting resources and rewarding resources. And whether the resource is deducted or rewarded in the resource processing is determined according to the position corresponding to the end point of the movement track of the target object generated after the target operation is executed by the client.
Step 302, obtaining an indication message for showing the movement track of the reference object from the server.
Specifically, the reference object refers to an object selected by the other clients to perform an operation.
Step 303, taking the idle candidate position as a starting point, and showing the process that the reference object moves along the movement track of the reference object.
Specifically, each reference object is added into a waiting queue, the waiting queue corresponds to a free candidate position, and the moving process of the reference object polled by the waiting queue along the moving track of the reference object is shown by taking the free candidate position corresponding to each waiting queue as a starting point.
In the process that the reference object moves along the moving track, if a collision point exists between the moving track of the reference object and the moving track of the target object, the moving track of the target object and the moving track of the reference object after the reference object and the target object collide are corrected according to the mass parameters of the target object and the mass parameters of the reference object and the momentum conservation law. Meanwhile, the process that the target object moves along the corrected moving track is displayed according to the corrected moving track of the target object, and the process that the reference object moves along the corrected moving track is displayed according to the corrected moving track of the reference object.
And step 304, performing display and clearing operations according to the end position of the movement track of the reference object.
Specifically, if the end position of the movement track of the reference object is within the target area, a stationary reference object is displayed at the end position, and when the number of reference objects displayed within the target area is greater than a threshold value, a part of the displayed reference objects is cleared.
For the reference object to be removed, the selection can be made according to the end position of the reference object. In some cases, the user can only receive the corresponding reward when the end position of the reference object falls into a specific portion of the target area, whereas the user cannot receive the corresponding reward if the end position of the reference object does not fall into the specific portion, and therefore, as a possible implementation manner, the reference object which does not fall into the specific portion can be eliminated. It should be noted that, those skilled in the art may also think that a part of the reference object is selectively removed by a user through long-press operation or the like.
Similarly, if the end position of the movement track of the reference object is outside the target area, the end position of the reference object does not fall into a specific part of the target area, and the reference object is cleared after the animation associated with the reference object is displayed. For example: the target area can be displayed in a desktop form, when the end point position of the movement track of the reference object is outside the target area, the animation of the reference object falling from the desktop can be displayed, and after the animation is displayed, the reference object is removed and is not displayed any more.
By clearing the static target objects outside the target area, the live broadcast interface is not crowded due to too many static target objects, the interface cleanliness in the live broadcast interface is improved, and the enthusiasm of a user for executing target operation can be adjusted.
And 305, receiving a resource processing message sent by the server, and allocating the resource processing message to a resource corresponding to the client login user.
Where resources include virtual currency, credits, game opportunities, and the like.
Specifically, a resource processing message sent by the server is received, wherein the resource processing message is used for indicating the amount of the resource needing to be transferred to the account bound by the login user, and the amount of the resource needing to be transferred is determined by the server according to the end position of the movement track of the target object and the total amount of the resource transferred from each account by the server.
As a possible way, if the end position of the movement track of the target object is within the target area, the amount of resources acquired in the account bound by the user corresponding to the client is increased; if the end position of the movement track of the target object is outside the target area, the resource amount acquired from the account bound by the user corresponding to the client is reduced.
It should be noted that the amount of resources acquired by the client is increased or decreased, and is increased or decreased with respect to the amount of resources matched with the target object selected by the client.
In the live broadcast interaction method, the target object to be moved is displayed on the live broadcast interface of the client, the target operation is executed on the target object by the user in the live broadcast interface, the moving track of the target object is generated, and the process that the target object moves along the moving track is displayed in the live broadcast interface, so that the diversification of the live broadcast mode is realized, the operable form of the user is increased, the interaction with the anchor broadcast is improved, the participation of the user is improved, and the audience rating of the live broadcast is improved. Meanwhile, in the live broadcast interface, the idle candidate position of the client is taken as a starting point, the moving process of the reference object of other clients along the moving track can be played, the atmosphere of participation of multiple users is created, and the enthusiasm of participation of the users is improved through a competition mechanism.
Based on the foregoing embodiment, the present invention further provides a possible implementation manner of a live broadcast interaction method, and fig. 4 is a fourth flowchart of the live broadcast interaction method provided in the embodiment of the present invention, which illustrates that a live broadcast interface includes not only a user display area but also an anchor display area, and as shown in fig. 4, the method may further include the following steps:
step 401, a video stream of a main broadcast is obtained.
Specifically, when a user logs in a live interface through a client, the user can be divided into 2 types, one type is a participating user, and the other type is a director of the identity of an administrator, and the two types are distinguished according to an account number of the logged-in client. After the anchor logs in the client, the user can log in a live broadcast room corresponding to the anchor, and in the live broadcast process, the client corresponding to the anchor acquires the video stream of the anchor in real time and uploads the video stream to the server.
And 402, displaying the picture of the video stream in a main broadcasting display area of the live broadcasting interface.
Specifically, each client acquires a live video stream of the anchor from the server, and displays a picture of the video stream in a display area of a live interface, so that the video stream of the anchor and a video stream picture of a target object executed by a client in each client are simultaneously played in the live interface, and interaction between the user and the anchor is realized.
In the live broadcast interaction method, the target object to be moved is displayed on the live broadcast interface of the client, the target operation is executed on the target object by the user in the live broadcast interface to generate the moving track of the target object, the moving process of the target object along the moving track is displayed in the live broadcast interface, and meanwhile, the video stream of the main broadcast is displayed in the live broadcast interface, so that the interaction between the user and the main broadcast is realized by executing the target operation in the live broadcast interface, the interaction form is richer, the participation of the user is improved, and the live broadcast audience rating is improved.
In order to further clearly explain the above embodiment, the process of the user performing the target operation on the target object in the live broadcast interface of the client is now further explained in combination with the actual application scenario of playing the cup pushing game between the user and the anchor in the live broadcast process.
Fig. 5a and 5b are schematic diagrams of live interfaces, in the live interface of fig. 5a, a game has not yet started, a video stream of a main broadcast is displayed in the live interface, the main broadcast in the figure is replaced by a cartoon image, and the main broadcast can be a real character image in an actual live process. The anchor invites the user of the client to buy the token to participate in the wine cup pushing game in a broadcasting mode, and the user of the client clicks a button 'join us' to participate in the wine cup pushing game. After the game is started, a plurality of wines and corresponding wineglasses are preset in the live broadcast interface, and the required token coins are different due to different types and weights of the wines and the wineglasses. The user can buy wine and please the anchor to drink, and the user pushes the wineglass to the anchor after buying wine, has increased user's operable form, and the mode of living broadcast is more diversified. Specifically, as shown in fig. 5b, after the user with the anchor interface user number of sddfg01 selects the wine requested to be played, one of the preset initial positions in the live broadcast interface is selected according to the user operation, for example, the preset initial positions are 3, after the middle initial position is selected according to the operation performed by the user, the wine glass is placed at the middle initial position, the user performs the wine glass pushing operation, the user's hand is represented by the icon of the virtual hand, and the direction in which the user pushes the wine glass is indicated by the arrow.
As a possible implementation mode, the user can adjust the force for pushing the wine glass according to the time for clicking the wine glass, the direction for pushing the wine glass is adjusted through the sliding direction indicated by the arrow, and the user slides upwards in the live broadcast interface to push out the wine glass. In the process, the anchor can remind the user to adjust according to the position of the cup of the user and the direction of the cup to be drawn by the user so as to improve the probability of pushing the wine cup into the target area, and the interaction between the anchor and the user is increased, so that the anchor can care each user participating in the game.
And the client acquires corresponding mechanical parameters according to the time when the user clicks the wine glass and the pushing direction, and judges the initial speed of the wine glass and the moving track of the wine glass according to the weight parameter of the wine glass and the friction coefficient corresponding to the current desktop. And displaying the moving process of the wine cup along the moving track in the direct seeding interface according to the moving track of the wine cup until the wine cup stops at the end point of the track. In the process that the wine cup moves along the moving track, one possible situation is that when the end point of the wine cup moving track exceeds the edge of the table, the wine cup display falls, wine in the cup can spill, the spilled wine can fall onto the main broadcaster, and as a penalty, resources in a user account can be completely deducted. Another possible situation is that the end point of the wine glass moving track does not reach the preset target area, the wine glass which cannot be taken by the anchor is bought, and the resources in the user account are also deducted. It is also possible that the user is rewarded with the corresponding resources if the end of the trajectory of the wine glass is within the predetermined target area. Meanwhile, the anchor encourages and consolidates the client according to the position of the wine glass moving track end point after the client logs in the user and pushes out the wine glass, for example: if the movement track of the user wine glass is in the target area, the following steps are performed for the user: ' Wa, you good a wand, you succeeded! "; if the movement track of the user wine glass is outside the target area, the following steps are performed for the user: "don't care, the next time you adjust the force or angle you can do better, not discourage! "
After a login user of the client generates a movement track of the wine cup, the client uploads the movement track of the wine cup to the server, so that the server can play the movement track of the client which finishes the wine cup pushing game at the idle candidate positions of other clients for reference of other client users, and finally the track end point of the wine cup of the client and the track end point of the wine cup of the client which is referred to are adjusted.
And finally, when the prompt time in the game interface is up, after the game is finished, the wine cup pushing condition of the last participating user is displayed, the last participating user is divided into a winning user and a losing user, the successful user is rewarded with the corresponding resources, and the losing user is deducted with the corresponding resources. Wherein, the amount of the resources awarded by the successful users is related to the total amount of the resources, and the amount of the resources deducted by the failed users is related to the end position of the wine glass moving track of the users.
Based on the foregoing embodiment, the present invention further provides a possible implementation manner of another live broadcast interaction method, and fig. 6 is a schematic flow chart of another live broadcast interaction method provided in the embodiment of the present invention, where an execution main body of the method is a server, the server is respectively in mutual communication with each client, and the client may be a client used by a user or an anchor client, as shown in fig. 6, the method may include the following steps:
step 601, obtaining an indication message for indicating a movement track of a target object from a first client.
Specifically, the moving track of the target object is generated by detecting a target operation in a live interface after the target object to be moved is displayed on the live interface of the first client, and combining one or more of a quality parameter corresponding to the target object, a mechanical parameter corresponding to the target operation, and a friction coefficient corresponding to a target area where the target object is located.
And the indication message is used for indicating the second client side by the server to display the moving process of the target object along the moving track according to the moving track of the target object generated by the first client side.
It should be noted that there is more than one client, for convenience of description and understanding, the client for generating the movement trajectory of the target object may be referred to as a first client, and other clients may be distinguished according to the required sequence number, for example, a second client.
Step 602, sending an indication message for showing the movement track of the target object to the second client, so that the second client shows the movement process of the target object along the movement track according to the movement track of the target object.
Specifically, the server sends the moving track of the target object received from the first client to the second client according to the indication message, so that the second client can display the moving process of the target object along the moving track at the idle starting position of the second client according to the moving track of the target object obtained from the server.
In the live broadcast interaction method, the indication message for indicating the movement track of the target object is obtained from the first client, and the indication message for displaying the movement track of the target object is sent to the second client, so that the second client displays the movement process of the target object along the movement track according to the movement track of the target object. In the live broadcast interface, a user executes target operation on a target object to generate a moving track of the target object, and the process that the target object moves along the moving track is displayed in the live broadcast interface, so that the live broadcast mode is more diversified, the enthusiasm of user participation is mobilized, the operable form of the user is increased, and the live broadcast audience rating is improved.
Based on the foregoing embodiment, the present invention further provides a possible implementation manner of a live broadcast interaction method, fig. 7 is a second flowchart of another live broadcast interaction method provided in the embodiment of the present invention, and on the basis of the foregoing embodiment, as shown in fig. 7, the method may include the following steps:
step 701, sending the video stream of the anchor to the first client and the second client.
Specifically, the client receives the video stream of the anchor, sends the video stream of the anchor to the first client and the second client, and displays the video stream in the video interfaces of the first client and the second client.
It should be noted that live broadcasting shows real-time pictures, so that the server acquires the video stream of the anchor and sends the video stream of the anchor to the first client and the second client all the time in the live broadcasting process until the live broadcasting is finished.
Step 702, receiving an acquisition request of a target object sent by a first client, and sending an acquisition response to the first client after the matched resource amount is successfully transferred.
Specifically, the server receives an acquisition request of a target object sent by a first client, transfers a resource amount matched with the target object from an account bound by a user logged in by the first client according to a resource amount required by the target object, and sends an acquisition response to the first client after the transfer is successful, so as to indicate the first client to display the target object in a target area of a live broadcast interface.
Step 703, obtaining an indication message for indicating the movement trajectory of the target object from the first client.
Specifically, refer to step 601 in the previous embodiment, which is not described herein again.
Step 704, sending an indication message for showing the movement track of the target object to the second client, so that the second client shows the movement process of the target object along the movement track according to the movement track of the target object.
Specifically, refer to step 602 in the previous embodiment, which is not described herein again.
Step 705, obtaining the corrected moving track of the target object from the second client.
Specifically, when the second client displays the moving track of the target object, if a collision point exists between the moving track of the target object and the moving track of the reference object generated by the second client, the second client determines, according to the mass parameters of the target object and the mass parameters of the reference object, an end point position where the target object stays and an end point position where the reference object stays after the target object and the reference object generate a collision according to a momentum conservation law, and then corrects the moving track of the target object after the collision.
Step 706, sending a resource processing message to the first client according to the end position of the movement track of the target object and the total resource amount transferred from each account.
Specifically, after the client executes the target operation, the resource amount to be transferred to the first client is determined according to the end position of the moving track of each client target object and the total resource amount transferred from the account corresponding to each client, the account bound by the user is logged in the first client, the resource amount to be transferred to the first client is transferred, and when the transfer is successful, the resource processing message of the transferred resource amount is sent to the first client.
In the live broadcast interaction method, a server sends a video stream of a main broadcast to a live broadcast interface of a client, so that the client displays a video picture of the main broadcast on the live broadcast interface, receives an indication message used by a first client for indicating a moving track of a target object, and sends an indication message used for displaying the moving track of the target object to a second client, so that the second client displays a display process of the target object along the moving track at an idle initial position according to the moving track of the target object, acquires a modified moving track of the target object from the second client, determines a resource amount required to be transferred to the first client according to the movement estimation of the target object and the total resource amount finally, and transfers the resource amount to the first client. Through the video picture that shows the anchor on the live interface, the interactive interchange between user and the anchor is convenient for, carries out the target operation to the target object in the live interface through the user for can carry out interactive many times between user and the anchor, acquire corresponding resource quantity through the user simultaneously, realize punishing punishment to the reward of user, can arouse the enthusiasm of user participation activity.
In order to implement the above embodiment, the present invention further provides a live broadcast interaction apparatus.
Fig. 8 is a schematic structural diagram of a live broadcast interaction device according to an embodiment of the present invention, where the device is disposed at a client.
As shown in fig. 8, the apparatus includes: a first presentation module 81, a detection module 82 and a generation module 83.
The first display module 81 is configured to display a target object to be moved on a live interface of the client.
And the detection module 82 is used for detecting target operation in the live broadcast interface.
And the generating module 83 is configured to generate a moving trajectory of the target object according to one or more combinations of the quality parameter corresponding to the target object, the mechanical parameter corresponding to the target operation, and the friction coefficient corresponding to the target area where the target object is located.
The first display module 81 is further configured to display a moving process of the target object along the moving track in the live interface.
It should be noted that the foregoing explanation of each method embodiment of the method executed by the client is also applicable to the apparatus of this embodiment, and is not repeated herein.
In the live broadcast interaction device of the embodiment of the invention, the first display module is used for displaying a target object to be moved on a live broadcast interface of a client, the detection module is used for detecting target operation in the live broadcast interface, the generation module is used for generating a moving track of the target object according to one or more combinations of quality parameters corresponding to the target object, mechanical parameters corresponding to the target operation and friction coefficients corresponding to a target area where the target object is located, and the first display module is also used for displaying the moving process of the target object along the moving track in the live broadcast interface. In the live broadcast interface, a user executes target operation on a target object to generate a moving track of the target object, and the process that the target object moves along the moving track is displayed in the live broadcast interface, so that the live broadcast mode is more diversified, the enthusiasm of user participation is mobilized, the operable form of the user is increased, and the live broadcast audience rating is improved.
Based on the foregoing embodiment, the present invention further provides a possible implementation manner of a live broadcast interaction apparatus, and fig. 9 is a second schematic structural diagram of the live broadcast interaction apparatus provided in the embodiment of the present invention, where on the basis of the foregoing embodiment, the apparatus further includes: a first determination module 84, a first sending module 85, a first obtaining module 86, a second presentation module 87, a display clearing module 88, and a receiving module 89.
A first determining module 84, configured to determine, according to a starting position of the target operation, a starting position that the target object needs to occupy from candidate positions preset in the target area; and changing the position of the target object display to the starting position in the live interface.
The first sending module 85 is configured to send an indication message used for indicating a movement track of the target object to the server, where the indication message is used for the server to indicate other clients to display a movement process of the target object along the movement track according to the movement track of the target object, and/or used for the server to perform resource processing on an account bound by a client login user according to the movement track.
A first obtaining module 86, configured to obtain, from the server, an indication message for showing a movement trajectory of the reference object.
The second presentation module 87 is configured to present a moving process of the reference object along the moving track of the reference object by using the free candidate position as a starting point.
A display clearing module 88, configured to display a stationary reference object at an end position if the end position of the movement trajectory of the reference object is within the target area; when the number of the reference objects displayed in the target area is larger than a threshold value, removing the displayed part of the reference objects; and if the end position of the movement track of the test object is outside the target area, clearing the reference object after displaying the animation related to the reference object.
The receiving module 89 is configured to receive a resource processing message sent by the server, where the resource processing message is used to indicate a resource amount that needs to be transferred to an account bound by the login user, and the resource amount that needs to be transferred is determined by the server according to the end position of the movement trajectory of the target object and the total resource amount transferred by the server from each account.
As a possible implementation manner of the embodiment of the present application, the first display module 81 is further specifically configured to:
sending an acquisition request for acquiring a target object to a server within a preset time period, wherein the acquisition request is used for indicating the server to transfer a resource amount matched with the target object from an account bound by a login user, and sending an acquisition response when the server is successfully transferred;
and if an acquisition response sent by the server is received, displaying the target object in a target area of the live broadcast interface.
As a possible implementation manner of the embodiment of the present application, the detection module 82 is specifically configured to:
and after the preset time period is finished, detecting target operation in the live broadcast interface, wherein the target operation comprises sliding operation.
As a possible implementation manner of the embodiment of the present application, the first obtaining module 86 is further configured to obtain a video stream of a main broadcast.
The first display module 81 is further configured to display a picture of the video stream in a main broadcast display area of the live broadcast interface.
As a possible implementation manner of the embodiment of the present application, the second display module 87 further includes: an adding unit 871, a presentation unit 872 and a correcting unit 873.
An adding unit 871 configured to add each reference object to a waiting queue, wherein the waiting queue corresponds to a free candidate position.
The showing unit 872 is configured to show the moving process of the reference object polled by the waiting queues along the moving track of the reference object, with the free candidate position corresponding to each waiting queue as a starting point.
A correcting unit 873, configured to, if there is a collision point between the movement trajectory of the reference object and the movement trajectory of the target object, correct the movement trajectory of the reference object after the collision point and the movement trajectory of the target object after the collision point according to the quality parameter of the target object and the quality parameter of the reference object.
The displaying unit 872 is further configured to display the moving process of the reference object along the movement track of the modified reference object, and display the moving process of the target object along the movement track of the modified target object.
It should be noted that the foregoing explanation of the method embodiments of the method executed by the client is also applicable to the apparatus of this embodiment, and is not repeated herein.
In the live broadcast interaction device of the embodiment of the invention, the first display module is used for displaying a target object to be moved on a live broadcast interface of a client, the detection module is used for detecting target operation in the live broadcast interface, the generation module is used for generating a moving track of the target object according to one or more combinations of quality parameters corresponding to the target object, mechanical parameters corresponding to the target operation and friction coefficients corresponding to a target area where the target object is located, and the first display module is also used for displaying the moving process of the target object along the moving track in the live broadcast interface. In the live broadcast interface, a user executes target operation on a target object to generate a moving track of the target object, and the process that the target object moves along the moving track is displayed in the live broadcast interface, so that the live broadcast mode is more diversified, the enthusiasm of user participation is mobilized, the operable form of the user is increased, and the live broadcast audience rating is improved.
In order to implement the foregoing embodiment, the present invention further provides another possible implementation manner of a live broadcast interaction apparatus, and fig. 10 is a schematic structural diagram of another live broadcast interaction apparatus provided in an embodiment of the present invention, where the apparatus is disposed in a server.
As shown in fig. 10, the apparatus includes: a second obtaining module 91 and a second sending module 92.
The second obtaining module 91 is configured to obtain, from the first client, an indication message for indicating a movement trajectory of the target object, where the movement trajectory of the target object is generated by, after the target object to be moved is displayed on a live interface of the first client, detecting a target operation in the live interface, and combining one or more of a quality parameter corresponding to the target object, a mechanical parameter corresponding to the target operation, and a friction coefficient corresponding to a target area where the target object is located.
The second sending module 92 is configured to send an indication message for showing the movement trajectory of the target object to the second client, so that the second client shows the movement process of the target object along the movement trajectory according to the movement trajectory of the target object.
It should be noted that the foregoing explanation of each method embodiment of the method executed by the server is also applicable to the apparatus of this embodiment, and is not repeated herein.
In the live broadcast interaction device of the embodiment of the present invention, the second obtaining module is configured to obtain, from the first client, an indication message for indicating a movement trajectory of the target object, and the second sending module is configured to send, to the second client, the indication message for displaying the movement trajectory of the target object, so that the second client displays a movement process of the target object along the movement trajectory according to the movement trajectory of the target object. In the live broadcast interface, a user executes target operation on a target object to generate a moving track of the target object, and the process that the target object moves along the moving track is displayed in the live broadcast interface, so that the live broadcast mode is more diversified, the enthusiasm of user participation is mobilized, the operable form of the user is increased, and the live broadcast audience rating is improved.
In order to implement the foregoing embodiment, the present invention further provides another possible implementation manner of a live broadcast interaction apparatus, fig. 11 is a second schematic structural diagram of another live broadcast interaction apparatus provided in an embodiment of the present invention, and on the basis of an embodiment corresponding to fig. 10, as shown in fig. 11, the apparatus further includes: a receiving module 93, a roll-out module 94, a second determining module 95, and a roll-in module 96.
The receiving module 93 is configured to receive an obtaining request sent by a first client, where the obtaining request is a request sent by the first client within a preset time period and used for obtaining a target object.
And a transfer module 94, configured to transfer the resource amount matched with the target object from the account bound by the first client login user.
As a possible implementation manner, the second sending module 92 is further configured to send an obtaining response to the first client when the roll-out is successful, where the obtaining response is used to instruct the first client to display the target object in the target area of the live broadcast interface.
The second determining module 95 is configured to determine the amount of resources that the first client needs to transfer to according to the end position of the movement trajectory of the target object and the total resource amount transferred from each account.
And the transfer module 96 is used for logging in the account bound by the user to the first client and transferring the resource amount required to be transferred to the first client.
As a possible implementation manner, the second sending module 92 is further configured to send a resource processing message to the first client when the transfer is successful, where the resource processing message is used to indicate the amount of resources that the first client needs to transfer to.
As a possible implementation manner, the second obtaining module 91 is further configured to:
and acquiring the corrected moving track of the target object from the second client, wherein when a collision point exists between the moving track of the reference object generated by the second client and the moving track of the target object, the second client corrects the moving track of the target object after the collision point according to the quality parameters of the target object and the reference object.
As a possible implementation manner, the second sending module 92 may further be configured to:
and sending the video stream of the anchor to the first client and the second client, wherein the video stream of the anchor is used for displaying in an anchor display area of a live broadcast interface.
It should be noted that the foregoing explanation of each method embodiment of the method executed by the server is also applicable to the apparatus of this embodiment, and is not repeated herein.
In the live broadcast interaction device of the embodiment of the invention, a server sends a video stream of a main broadcast to a live broadcast interface of a client, so that the client displays a video picture of the main broadcast on the live broadcast interface, receives an indication message used by a first client for indicating a moving track of a target object, and sends an indication message used for displaying the moving track of the target object to a second client, so that the second client displays a display process of the target object along the moving track at an idle initial position according to the moving track of the target object, acquires a modified moving track of the target object from the second client, determines a resource amount of data to be transferred to the first client according to the movement estimation of the target object and the total resource amount, and allows the data to enter the first client. Through the video picture that shows the anchor on the live interface, the interactive interchange between user and the anchor is convenient for, carries out the target operation to the target object in the live interface through the user for can carry out interactive many times between user and the anchor, acquire corresponding resource quantity through the user simultaneously, realize punishing punishment to the reward of user, can arouse the enthusiasm of user participation activity.
In order to implement the foregoing embodiment, an embodiment of the present invention further provides a computer device, including: the system comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the program, the live broadcast interaction method of the embodiment of the method is realized.
In order to implement the foregoing embodiments, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when instructions in the storage medium are executed by a processor, the live broadcast interaction method according to the foregoing method embodiment is implemented.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.