WO2022199023A1 - Livestreaming room interaction method and interaction apparatus - Google Patents

Livestreaming room interaction method and interaction apparatus Download PDF

Info

Publication number
WO2022199023A1
WO2022199023A1 PCT/CN2021/127288 CN2021127288W WO2022199023A1 WO 2022199023 A1 WO2022199023 A1 WO 2022199023A1 CN 2021127288 W CN2021127288 W CN 2021127288W WO 2022199023 A1 WO2022199023 A1 WO 2022199023A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
target terminal
interactive
motion
interactive interface
Prior art date
Application number
PCT/CN2021/127288
Other languages
French (fr)
Chinese (zh)
Inventor
王微
Original Assignee
北京达佳互联信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京达佳互联信息技术有限公司 filed Critical 北京达佳互联信息技术有限公司
Publication of WO2022199023A1 publication Critical patent/WO2022199023A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4431OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB characterized by the use of Application Program Interface [API] libraries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Definitions

  • the present disclosure relates to the field of Internet technologies, and in particular, to an interaction method and an interaction device for a live broadcast room.
  • live streaming platforms have attracted more and more attention.
  • the audience watches the live broadcast in the live broadcast room they interact with the host in the live broadcast room by following, giving gifts, likes, etc., and the host interacts with the audience through voice or text.
  • the content of the live broadcast room is too monotonous and lacks a certain interest.
  • an interaction method in a live broadcast room is applied to a first terminal device, including:
  • a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used to communicate with The third terminal device corresponding to the second interactive element on the interactive interface interacts.
  • the pose change of the first terminal device has a forward acceleration change
  • the method further includes:
  • the selecting a target terminal device in the first terminal device and at least one of the second terminal devices according to at least the first motion track and the second motion track includes:
  • the target terminal device is selected.
  • the selecting the target terminal device based on the sorting result includes:
  • the target terminal device is selected, wherein the track distance corresponding to the target terminal device is second only to the track distance corresponding to the third terminal device.
  • the above method further includes:
  • the above-mentioned interaction method in the live room further includes:
  • the target terminal device rejects the request of the third terminal device, and displays the resource request sent by the target terminal device to the target terminal device on the interactive interface.
  • the change of the pose of the first terminal device has a downward acceleration change
  • selecting a target terminal device includes:
  • the target terminal device is selected, wherein the target terminal device is the terminal device corresponding to the track distance at the top of the ranking result.
  • the above method further includes:
  • the above method further includes:
  • the resources respectively set by the first terminal device, at least one of the second terminal device and the third terminal device are displayed on the interactive interface.
  • the above method further includes:
  • an interaction apparatus for a live broadcast room the apparatus is applied to a first terminal device, and includes:
  • a response module configured to display the first motion trajectory of the first interactive element on the interactive interface in response to the pose change of the first terminal device
  • a receiving module configured to receive a second motion trajectory of the first interactive element from at least one second terminal device
  • a selection module configured to select a target terminal device from among the first terminal device and at least one of the second terminal devices according to at least the first movement trajectory and at least one of the second movement trajectory, wherein the The target terminal device is configured to interact with the third terminal device corresponding to the second interaction element on the interaction interface.
  • the pose change of the first terminal device has a forward acceleration change
  • the receiving module is further configured to receive a third motion trajectory of the first interaction element from a third terminal device
  • the selection module includes:
  • a first acquiring unit configured to acquire the start point and the end point of the first motion trajectory, at least one of the second motion trajectory and the third motion trajectory;
  • the first determining unit is configured to determine multiple track distances based on the starting point and the ending point, and obtain a sorting result of the multiple track distances, wherein the multiple track distances are respectively associated with each terminal device correspond;
  • the first selection unit is configured to select the target terminal device based on the sorting result.
  • the selection unit is configured to select the target terminal device from the sorting result, wherein the track distance corresponding to the target terminal device is second only to the third The track distance corresponding to the terminal device.
  • the above-mentioned apparatus further includes:
  • an accumulation module configured to display the target terminal device victory on the interactive interface in response to the distance of the sixth movement trajectory of the third terminal device being less than the distance of the seventh movement trajectory of the target terminal device;
  • a first display module configured to display the victory of the target terminal device on the interactive interface in response to the number of times of the fifth movement trajectory of the target terminal device being greater than the number of times of the fourth movement trajectory of the third terminal device ;
  • the second display module is configured to display the third terminal device on the interactive interface in response to the number of times of the fifth movement trajectory of the target terminal device being less than the number of times of the fourth movement trajectory of the third terminal device victory.
  • the above-mentioned apparatus further includes:
  • the third display module is configured to, in response to the victory of the third terminal device and the target terminal device rejecting the request of the third terminal device, display on the interactive interface that the target terminal device sends to the The resource request of the target end device.
  • the posture change of the first terminal device has a downward acceleration change
  • the selection module includes:
  • a second acquiring unit configured to acquire the start point and the end point of the first motion track and at least one of the second motion tracks
  • the second determining unit is configured to determine multiple track distances based on the starting point and the ending point, and obtain a sorting result of the multiple track distances, wherein the multiple track distances are respectively associated with each terminal device correspond;
  • the second selection unit is configured to select the target terminal device from the sorting result, wherein the target terminal device is the terminal device corresponding to the track distance at the top of the ranking result.
  • the above-mentioned device further includes:
  • an obtaining module configured to obtain the distance of the sixth motion track of the third terminal device and the distance of the seventh motion track of the target terminal device respectively;
  • a fourth display module configured to display the third terminal device on the interactive interface in response to the distance of the sixth movement trajectory of the third terminal device being greater than the distance of the seventh movement trajectory of the target terminal device victory;
  • a fifth display module configured to display the victory of the target terminal device on the interactive interface in response to the distance of the sixth movement trajectory of the third terminal device being less than the distance of the seventh movement trajectory of the target terminal device .
  • the above-mentioned device further includes:
  • the sixth display module is configured to display the resources respectively set by the first terminal device, at least one of the second terminal device and the third terminal device on the interactive interface.
  • the above-mentioned device further includes:
  • a seventh presentation module configured to, in response to the victory of the third terminal device, display on the interactive interface the resource request for setting resources of the target terminal sent by the third terminal device to the target terminal device; or,
  • an eighth presentation module configured to, in response to the victory of the target terminal device, display on the interactive interface the resource of the preset multiple of the resource set by the third terminal device sent by the target terminal device to the third terminal device request, wherein the preset multiple is greater than 1.
  • an electronic device comprising:
  • a memory for storing the processor-executable instructions
  • processor configured to execute the instructions to implement the following steps:
  • a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used to communicate with The third terminal device corresponding to the second interactive element on the interactive interface interacts.
  • a computer-readable storage medium when instructions in the storage medium are executed by a processor of an electronic device, the electronic device can perform the following steps:
  • a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used to communicate with The third terminal device corresponding to the second interactive element on the interactive interface interacts.
  • a computer program product comprising: a computer program that, when executed by a processor, implements the following steps:
  • a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used to communicate with The third terminal device corresponding to the second interactive element on the interactive interface interacts.
  • the content of the live broadcast room can be made fuller and more humanized, and the interest of the interaction in the live broadcast room can be enhanced.
  • Fig. 1 is a flow chart of an interaction method in a live broadcast room according to an exemplary embodiment.
  • Fig. 2 is a flow chart of another method for interacting between live broadcasts according to an exemplary embodiment.
  • FIG. 3 is an interaction effect diagram of another method for interaction between live broadcasts according to an exemplary embodiment.
  • Fig. 4 is a flow chart of yet another method for interacting in a live broadcast room according to an exemplary embodiment.
  • Fig. 5 is an interaction effect diagram showing yet another method for interaction between live broadcasts according to an exemplary embodiment.
  • Fig. 6 is a block diagram of an interaction device in a live room according to an exemplary embodiment.
  • Fig. 7 is a block diagram of an electronic device according to an exemplary embodiment.
  • FIG. 1 is a flow chart of an interaction method in a live room according to an exemplary embodiment. As shown in FIG. 1 , the interaction method in a live room is applied to a first terminal device (the first terminal device is a terminal equipment), including the following steps.
  • step S101 in response to the pose change of the first terminal device, the first motion trajectory of the first interactive element is displayed on the interactive interface.
  • the pose change includes, but is not limited to, the position change and the pose change of the first terminal device in various directions.
  • the user of the first terminal device is a member of the audience
  • the audience holding the first terminal device opens the application program on the first terminal device, and enters the interactive interface from the application program, the interactive interface A button that includes at least one game avatar.
  • play the corresponding game by clicking the button of the game avatar or inputting the game name by voice. For example, click the button of the fishing avatar to enter the fishing game, or enter the voice information of "fishing" to enter the fishing game; another example, click the button of the yo-yo avatar to enter the yo-yo game, or enter the voice information of "yo-yo" to enter the yo-yo game .
  • the first terminal device holding the audience of the first terminal device after entering the game, judges in real time whether its own posture has changed through the gravity sensor of the first terminal device. If the first terminal device moves from one position to another , then it is judged that the pose has changed. At this time, the first terminal device responds to the change in pose and displays the first motion trajectory of the first interactive element on the interactive interface of the first terminal device through the screen of the first terminal device. . For example, when the first terminal device enters a fishing game and the pose of the first terminal device changes, the hook line on the interactive interface of the first terminal device (the first interactive element in the fishing game is the hook line) is forwarded by the hook line.
  • the motion trajectory thrown out (the first motion trajectory in the fishing game is the motion trajectory thrown forward); for another example, when the terminal device enters the yo-yo game, and the posture of the first terminal device changes, the first terminal On the interactive interface of the device, the yo-yo line (the first interactive element in the yo-yo game is the yo-yo line) is the trajectory that is thrown downward (the first motion trajectory in the yo-yo game is the trajectory that is thrown downward).
  • step S102 a second motion trajectory of the first interactive element from at least one second terminal device is received.
  • the users of at least one second terminal device are other viewers except viewers holding the first terminal device.
  • the audience holding the second terminal device also opens the application program on the second terminal device, enters the interactive interface from the application program, and enters the corresponding game by clicking the button of the game avatar or inputting the game name in the language.
  • the gravity sensor of the second terminal device determines in real time whether its own posture has changed. If the second terminal device moves from one position to another , then it is judged that the pose has changed. At this time, the second terminal device responds to the change in pose and displays the second motion trajectory of the first interactive element on the interactive interface of the second terminal device through the screen of the second terminal device. . Then, the second motion trajectory is sent to the first terminal device. In this way, the first terminal device can receive the second motion trajectory of the first element sent from the at least one second terminal device.
  • step S103 at least according to the first movement trajectory and the at least one second movement trajectory, a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used to communicate with the second terminal device on the interactive interface.
  • the third terminal device corresponding to the interaction element interacts.
  • the user of the third terminal device is the broadcaster.
  • the first terminal device sorts according to the first movement track and at least one second movement track of the first interactive element, and selects one terminal from the first terminal device and the at least one second terminal device according to the sorting result
  • the device is used as a target terminal device, and the target terminal device is used to interact with a third terminal device corresponding to the second interaction element on the interaction interface.
  • the first terminal device sorts according to the distance of the trajectory of the fishhook line thrown forward on the interactive interface, and sorts it according to the The sorting result selects the target terminal device, and interacts with the interactive terminal device corresponding to the anchor displayed on the interactive interface (the second interactive element under the fishing game is the anchor); when the first terminal device and at least one second terminal device enter the yo-yo game , the first terminal device sorts according to the distance of the trajectory of the yo-yo line thrown downward on the interactive interface, and selects the target terminal device according to the sorting result, and the anchor displayed on the interactive interface (the second under the yo-yo game) is sorted.
  • the interaction element interacts with the third terminal device corresponding to the host).
  • the first terminal device displays the first motion trajectory of the first interactive element on the interactive interface in response to the pose change of the first terminal device, and receives data from at least one second terminal
  • the second movement trajectory of the first interactive element of the device according to at least the first movement trajectory and the at least one second movement trajectory, among the first terminal device and the at least one second terminal device, select a target terminal device, and the target terminal device uses the interact with the third terminal device corresponding to the second interactive element on the interactive interface. Therefore, through the interaction method of the present disclosure, the content of the live broadcast room can be made fuller and more humanized, and the interest of the interaction in the live broadcast room can be enhanced.
  • FIG. 2 is a flowchart of a method for interacting with a fishing game in a live broadcast room according to an exemplary embodiment
  • FIG. 3 is an interaction effect diagram of a method for interacting with a fishing game in a live broadcast room according to an exemplary embodiment.
  • the method for interacting with the fishing game in the live broadcast room includes the following steps.
  • step S201 in response to the pose change of the first terminal device, the first motion trajectory of the first interactive element is displayed on the interactive interface.
  • the pose change of the first terminal device has a forward acceleration change.
  • step S202 a second movement trajectory of the first interactive element from at least one second terminal device is received, and a third movement trajectory of the first interactive element from a third terminal device is received.
  • the holder of the first terminal device (a viewer), the holder of at least one second terminal device (other viewers) and the holder of the third terminal (the host) open the applications of the respective terminal devices
  • the program enters the interactive interface from the application program, and the interactive interface includes at least one button of the game avatar. Then, click the button of the fishing avatar to enter the fishing game, or enter the voice information of "fishing" to enter the fishing game.
  • the anchor and the audience including one audience and other audiences enter the fishing interface, and there will be fishing special effects and admission prompts on the fishing interface.
  • the anchor and the audience can enter the venue in different directions by shaking their respective terminal devices at will, such as shaking their respective terminal devices to the left, right, up or down. You can also enter by manually clicking the fishing start button, which means the fishing game starts.
  • both the anchor and the audience participated in the fishing game and vigorously threw their respective terminal devices forward.
  • the gravity sensors of the terminal devices of the anchor and the audience determine whether their own posture has changed, and when the posture changes, the interactive interface of the respective terminal devices held by the audience and the anchor will display that the hook line is thrown forward.
  • the displayed motion track can be accompanied by a progress bar.
  • step S203 the start point and the end point of the first motion trajectory, the at least one second motion trajectory, and the third motion trajectory are acquired.
  • the coordinate points when the hook lines of the audience and the host are thrown out and the coordinate points when they stop being thrown out are obtained as the starting point and the ending point, respectively.
  • step S204 multiple track distances are determined based on the starting point and the ending point, and a sorting result of the multiple track distances is obtained, wherein the multiple track distances correspond to each terminal device respectively.
  • the coordinates corresponding to the end point are subtracted from the coordinates corresponding to the start point, and the obtained trajectory distance between the two coordinate points is used as the trajectory distance between the start point and the end point, so that each terminal device can be obtained.
  • the corresponding track distances are sorted, and the multiple track distances are sorted in ascending or descending manner to obtain the sorting result.
  • step S205 a target terminal device is selected based on the sorting result.
  • a terminal device of the viewer is selected from the terminal devices of the viewer as the target terminal device, that is, the terminal device that recommends Lianmairen, so as to select the terminal device of the viewer to carry out the communication with the host.
  • the interactive object of the interaction is, a terminal device of the viewer is selected from the terminal devices of the viewer as the target terminal device, that is, the terminal device that recommends Lianmairen, so as to select the terminal device of the viewer to carry out the communication with the host.
  • a target terminal device is selected from the sorting result, wherein the track distance corresponding to the target terminal device is second only to the track distance corresponding to the third terminal device. That is to say, from the sorting result, the terminal device of the viewer next to the terminal device of the anchor is selected as the target terminal device, so as to ensure that the fish represented by the anchor can catch the fish represented by the viewer.
  • step S206 the number of times of the fourth motion track of the third terminal device and the number of times of the fifth motion track of the target terminal device are respectively accumulated within the first preset time.
  • the first preset time can be set according to the needs of the fishing game.
  • the host can send a reminder message to the audience by shaking his own terminal device or manually clicking the fishing button on his own terminal device, such as sending a message "XX is selected"
  • the pop-up window for recommending Lianmai people” is used to remind XX viewers that they have been selected to recommend Lianmai people.
  • the recommender can select the hook by clicking the receive button on the hook pop-up window, that is, choose to agree to connect with the host, or choose not to bite the hook by clicking the reject button on the hook pop-up window, that is, choose to give up and
  • the anchor Lianmai can also operate the terminal device through other agreed gestures, indicating whether to bite the hook or not. For example, it is recommended to shake the terminal device of Lianmai people to indicate that they choose to bite the hook, which means that they agree to connect with the anchor. Mai, shake it twice, indicating that you choose not to bite the hook, which means that you do not agree to Lianmai with the anchor. At this time, it is recommended that Lianmai people need to have a tug-of-war with the anchor.
  • the anchor wants to trap the fish represented by the recommended Lianmai person through the props on the interactive interface of his terminal device, such as a fishing net, and then the two sides shake left and right (during fishing Under the game, shaking left and right is the fourth movement posture) of their respective terminal devices, among which, it is recommended that Lianmai people shake left and right (in the fishing game Aixia, the terminal equipment of fast shaking left and right is the fifth movement posture) to indicate that they are trying to escape.
  • a preset time more than who shakes the terminal. There will be a countdown of several seconds in the tug of war. After the countdown, whoever shakes the terminal more times will win.
  • step S207 in response to the number of times of the fifth movement trajectory of the target terminal device being greater than the number of times of the fourth movement trajectory of the third terminal device, the target terminal device is displayed as a victory on the interactive interface.
  • a prompt can be displayed on the interactive interface of the terminal equipment of the host and all viewers that the fishing is successful, which means that the recommended connection Mai was caught.
  • step S208 in response to the number of times of the fifth movement trajectory of the target terminal device being less than the number of times of the fourth movement trajectory of the third terminal device, the third terminal device is displayed as a victory on the interactive interface.
  • the method can determine whether the anchor wins or recommends the Lianmai victory according to the number of times the host and the recommended Lianmai people shake their respective terminal devices within the first preset time, and the interactive interface between the host and all the viewers' terminal devices can be determined. Prompt the anchor and recommend Lianmai who wins and who loses. This can further make the content of the live broadcast room fuller and more humane, and further enhance the fun of the interaction in the live broadcast room.
  • step S209 in response to the victory of the third terminal device and the target terminal device rejecting the request of the third terminal device, the resource request sent by the third terminal device to the target terminal device is displayed on the interactive interface.
  • the host shakes his own terminal equipment more times than recommended Lianmai people shake his own terminal equipment, a message is displayed on the interactive interface of the terminal equipment of the host and all viewers that the fishing is successful.
  • the host can send a request to the host who recommends Lianmai, and the person who recommends Lianmai can still choose to accept or reject it.
  • the host sends a resource request through its own terminal device. For example, it is recommended that Lianmai people need to pay resources to the host, such as a ransom payment request.
  • the Lianmai request will be automatically closed; if the host does not receive the resources such as ransom paid by the recommended Lianmai people within the predetermined time, the recommended Lianmai will be blocked. people.
  • the resources paid by Lianmai to the anchor can be the resources set by Lianmai before the start of the fishing game, or the resources set for the fishing game, which are not limited here.
  • the method can retain the host by paying the ransom, and can further make the content of the live broadcast room fuller and more user-friendly, and further enhance the interestingness of the interaction in the live broadcast room.
  • the fishing game is over.
  • the fishing game interaction method in the live broadcast room increases the interaction between the audience and the host through the fishing game, and can retain the host, so that the content of the live broadcast room is fuller and more humanized, and the fun of Lianmai gameplay is enhanced. sex.
  • Fig. 4 is a flow chart of a method for interacting a yo-yo game in a live room according to an exemplary embodiment
  • Fig. 5 is an interaction effect diagram of a method for interacting with a yo-yo game in a live room according to an exemplary embodiment
  • the yo-yo game interaction method in the live broadcast room includes the following steps:
  • step S401 the resources respectively set by the first terminal device, the at least one second terminal device and the third terminal device are displayed on the interactive interface.
  • the host and all the audience open the application program, and enter the interactive interface from the application program, and the interactive interface includes at least one button of the game avatar. Then, enter the yo-yo game by clicking the button of the yo-yo avatar, or enter the voice message of "yo-yo" to enter the yo-yo game.
  • the yo-yo interface will have yo-yo special effects and entry prompts, etc.
  • the anchor Before the yo-yo game starts, the anchor will set the number of matches in the live broadcast and the interval time of each match through their own terminal. Wait.
  • the anchor and all viewers set resources such as betting amount through their respective terminal devices, and the yo-yo game will set minimum and maximum resource limits such as betting amount limits.
  • step S402 in response to the pose change of the first terminal device, the first motion trajectory of the first interactive element is displayed on the interactive interface.
  • the posture change of the first terminal device has a downward acceleration change.
  • step S403 a second motion trajectory of the first interactive element from at least one second terminal device is received.
  • the host and all the audience can enter the venue in different directions by shaking their respective terminal devices at will, such as shaking the terminal device to the left, right, up or down.
  • the gravity sensor of the audience's terminal device determines whether its own posture changes, and when the posture changes, the interactive interface of the terminal device displays the movement trajectory of the yo-yo line shaking downward (representing the yo-yo pop-up) and can be accompanied by There is a progress bar, as shown in Figure 5.
  • step S404 the start point and the end point of the first motion track and the second motion track are acquired.
  • the coordinate point when the yo-yo line is not thrown and the coordinate point when the yo-yo line stops being thrown are obtained as the starting point and the ending point, respectively.
  • step S405 multiple track distances are determined based on the start point and the end point, and a sorting result of the multiple track distances is obtained, wherein the multiple track distances correspond to each terminal device respectively.
  • the coordinates corresponding to the starting point are subtracted from the coordinates corresponding to the end point to obtain multiple track distances between the two coordinate points of the first motion track and the second motion track, respectively, and the multiple track distances are calculated from Sort from big to small to get the leaderboard, and display the leaderboard on the interactive interface of all viewers, so that all viewers can understand their own performance.
  • a second preset time can be set.
  • the audience can participate in the yo-yo game for many times. up), and shake the yo-yo down again to refresh the score in this way until the second preset time is reached, and intercept the audiences who are in the preset ranking in front of the current leaderboard as the sorting result.
  • step S406 a target terminal device is selected from the ranking result, where the target terminal device is the terminal device corresponding to the track distance at the top of the ranking result.
  • the terminal device corresponding to the top of the list is selected from the sorting result as the target terminal device, so that the terminal device interacting with the host is selected. That is to say, the audience who has thrown the yo-yo farthest is selected as the interactive object to interact with the anchor, which can mobilize the enthusiasm of the audience to participate in the game.
  • step S407 the distance of the sixth motion track of the third terminal device and the distance of the seventh motion track of the target terminal device are obtained respectively.
  • the host can send a reminder message to the audience by shaking its own terminal device or manually clicking the yo-yo button on the interactive interface of its own terminal device, such as sending a "XX" Selected as a challenger” pop-up window, at this time, this pop-up window appears on the interactive interface of all viewers’ terminal devices to remind all viewers that XX viewers are selected as challengers.
  • the challenger and the host enter the game, and throw down their respective terminal devices, and the respective terminal devices respectively obtain the distances of the trajectory of the terminal devices thrown downward, and send them to the first terminal device.
  • step S408 in response to the distance of the sixth movement track of the third terminal device being greater than the distance of the seventh movement track of the target terminal device, the third terminal device victory is displayed on the interactive interface.
  • step S409 in response to the victory of the third terminal device, a resource request for setting resources of the target terminal sent by the third terminal device to the target terminal device is displayed on the interactive interface.
  • the resource request sent by the host to the challenger is displayed on the interactive interface between the host and the audience (the resource request is the amount bet by the challenger before the game). That is to say, after the challenge station fails the yo-yo game, it needs to hand over the resources (betting amount) set by the challenger before the game to the host.
  • step S410 in response to the distance of the sixth movement trajectory of the third terminal device being smaller than the distance of the seventh movement trajectory of the target terminal device, the target terminal device is displayed as a victory on the interactive interface.
  • step S411 in response to the victory of the target terminal device, a resource request of the target terminal device to set a preset multiple of resources to the third terminal device sent to the third terminal device by the target terminal device is displayed on the interactive interface, wherein the preset multiple is greater than 1.
  • the resource request sent by the challenger to the host is displayed on the interactive interface between the host and the audience (the resource request is the amount bet by the challenger before the game). That is to say, after the host fails the yo-yo game, he needs to hand over to the challenger a preset multiple of the resources (betting amount) set by the host before the game (for example, it can be 2 times), which can further attract the audience to participate in the yo-yo. game.
  • the yo-yo game interaction method in the live broadcast room increases the interaction between the audience and the host through the yo-yo game, can retain the host and more attract the audience to participate in the yo-yo game, so that the content of the live broadcast room is fuller and better. It is more humanized and enhances the fun of Lianmai gameplay.
  • Fig. 6 is a block diagram of an interaction device in a live room according to an exemplary embodiment.
  • the interactive device 60 in the live room includes: a response module 61 , a receiving module 62 and a selection module 63 .
  • the response module 61 is configured to display the first motion trajectory of the first interactive element on the interactive interface in response to the pose change of the first terminal device;
  • a receiving module 62 configured to receive a second movement trajectory of the first interactive element from at least one second terminal device
  • the selection module 63 is configured to select a target terminal device from the first terminal device and the at least one second terminal device according to at least the first movement trajectory and the at least one second movement trajectory, wherein the target terminal device is used to interact with the interactive interface.
  • the third terminal device corresponding to the second interaction element interacts.
  • the pose change of the first terminal device has a forward acceleration change
  • the receiving module 62 is further configured to receive a third motion trajectory of the first interaction element from the third terminal device ;
  • the selection module 63 includes:
  • a first acquiring unit configured to acquire the start point and the end point of the first motion trajectory, at least one second motion trajectory and the third motion trajectory;
  • a first determining unit configured to determine a plurality of trajectory distances based on the starting point and the end point, and obtain a sorting result of the plurality of trajectory distances, wherein the plurality of trajectory distances correspond to each terminal device respectively;
  • the first selection unit is configured to select the target terminal device based on the sorting result.
  • the first selection unit is configured to select a target terminal device from the sorting result, where the track distance corresponding to the target terminal device is second only to the track distance corresponding to the third terminal device track distance.
  • the above-mentioned interactive device in the live broadcast room further includes:
  • the accumulation module is configured to display the victory of the target terminal device on the interactive interface in response to the distance of the sixth movement trajectory of the third terminal device being less than the distance of the seventh movement trajectory of the target terminal device;
  • the first display module is configured to display the victory of the target terminal device on the interactive interface in response to the number of times of the fifth movement trajectory of the target terminal device being greater than the number of times of the fourth movement trajectory of the third terminal device; or,
  • the second display module is configured to display the victory of the third terminal device on the interactive interface in response to the number of times of the fifth movement trajectory of the target terminal device being less than the number of times of the fourth movement trajectory of the third terminal device.
  • the above-mentioned interactive device in the live broadcast room further includes:
  • the third display module is configured to, in response to displaying the victory of the third terminal device on the interactive interface, the target terminal device rejects the request of the third terminal device, and displays the resource request sent by the target terminal device to the target terminal device on the interactive interface.
  • the pose change of the first terminal device has a downward acceleration change
  • the selection module 63 includes:
  • a second acquisition unit configured to acquire the start point and the end point of the first motion trajectory and the at least one second motion trajectory
  • the second determination unit is configured to determine a plurality of trajectory distances based on the starting point and the end point, and obtain a sorting result of the plurality of trajectory distances, wherein the plurality of trajectory distances correspond to each terminal device respectively;
  • the second selection unit is configured to select a target terminal device from the ranking result, where the target terminal device is the terminal device corresponding to the track distance at the top of the ranking result.
  • the above-mentioned interactive device in the live broadcast room further includes:
  • an obtaining module configured to obtain the distance of the sixth motion track of the third terminal device and the distance of the seventh motion track of the target terminal device respectively;
  • the fourth display module is configured to display the victory of the third terminal device on the interactive interface in response to the distance of the sixth movement trajectory of the third terminal device being greater than the distance of the seventh movement trajectory of the target terminal device; or,
  • the fifth display module is configured to display the victory of the target terminal device on the interactive interface in response to the distance of the sixth movement trajectory of the third terminal device being smaller than the distance of the seventh movement trajectory of the target terminal device.
  • the above-mentioned interactive device in the live broadcast room further includes:
  • the sixth display module is configured to display the resources respectively set by the first terminal device, the at least one second terminal device and the third terminal device on the interactive interface.
  • the above-mentioned interactive device in the live broadcast room further includes:
  • a seventh display module configured to display, on the interactive interface, a resource request for setting resources of the target terminal sent by the third terminal device to the target terminal device in response to the victory of the third terminal device;
  • the eighth display module is configured to, in response to the victory of the target terminal device, display on the interactive interface the resource request of the preset multiple of the resource set by the third terminal device sent by the target terminal device to the third terminal device, wherein the preset multiple is greater than 1.
  • the interaction apparatus in the live room provided by the embodiment of the present disclosure may be configured in an electronic device to execute the aforementioned interaction method in the live room of the video. Therefore, with regard to the apparatus in the above-mentioned embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments of the method, and will not be described in detail here.
  • the response module responds to the pose change of the first terminal device, displays the first motion trajectory of the first interactive element on the interactive interface, and receives the information from at least one first interactive element through the receiving module.
  • the selection module selects the target terminal device from the first terminal device and the at least one second terminal device according to at least the first movement trajectory and the at least one second movement trajectory, The target terminal device is used for interacting with the third terminal device corresponding to the second interaction element on the interaction interface. Therefore, through the interaction device of the present disclosure, the content of the live broadcast room can be made fuller and more humanized, and the interestingness of the interaction in the live broadcast room can be enhanced.
  • the interaction between the audience and the anchor is increased, the anchor can be retained, the content of the live broadcast room is fuller and more humanized, and the fun of Lianmai gameplay is enhanced; through the yo-yo game, the audience and the anchor are increased.
  • the interaction can retain the anchor and attract more audiences to participate in the yo-yo game, making the content of the live broadcast room fuller and more humane, and enhancing the fun of Lianmai gameplay.
  • the present disclosure also proposes an electronic device.
  • the electronic device includes a processor and a memory for storing instructions executable by the processor; wherein, the processor is configured to execute the instructions to implement the following steps:
  • a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used for the first terminal device corresponding to the second interactive element on the interactive interface.
  • Three terminal devices interact.
  • the present disclosure also proposes a computer-readable storage medium.
  • the electronic device when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can perform the following steps:
  • a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used for the first terminal device corresponding to the second interactive element on the interactive interface.
  • Three terminal devices interact.
  • the present disclosure also provides a computer program product.
  • the electronic device when the computer program is executed by the processor of the electronic device, the electronic device can perform the following steps:
  • a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used for the first terminal device corresponding to the second interactive element on the interactive interface.
  • Three terminal devices interact.
  • Fig. 7 is a block diagram of an electronic device according to an exemplary embodiment.
  • the electronic device shown in FIG. 7 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
  • the electronic device 70 includes a processor 71 which can be loaded into a random access memory (RAM, Random Access Memory) 73 according to a program stored in a read only memory (ROM, Read Only Memory) 72 or from a memory 76 to execute various appropriate actions and processes.
  • RAM random access memory
  • ROM Read Only Memory
  • various programs and data necessary for the operation of the electronic device 70 are also stored.
  • the processor 71, the ROM 72, and the RAM 73 are connected to each other through a bus 74.
  • An input/output (I/O, Input/Output) interface 75 is also connected to the bus 74 .
  • the following components are connected to the I/O interface 75: a memory 76 including a hard disk and the like; and a communication section 77 including a network interface card such as a LAN (Local Area Network) card, a modem, etc., which is executed via a network such as the Internet Communication processing; a driver 78 is also connected to the I/O interface 75 as required.
  • a memory 76 including a hard disk and the like
  • a communication section 77 including a network interface card such as a LAN (Local Area Network) card, a modem, etc., which is executed via a network such as the Internet Communication processing; a driver 78 is also connected to the I/O interface 75 as required.
  • a network interface card such as a LAN (Local Area Network) card, a modem, etc.
  • embodiments of the present disclosure include a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods illustrated in the flowcharts.
  • the computer program can be downloaded and installed from the network through the communication section 77 .
  • this computer program is executed by the processor 71, the above-described functions defined in the method of the present disclosure are performed.
  • a storage medium including instructions such as a memory including instructions, is also provided, and the above-mentioned instructions can be executed by the processor 71 of the electronic device 70 to complete the above-mentioned method.
  • the storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage equipment, etc.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Library & Information Science (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure belongs to the field of internet technology and relates to a livestreaming room interaction method, an interaction apparatus, an electronic device, and a storage medium. The livestreaming room interaction method comprises: in response to a pose change of a first terminal device, displaying a first movement trajectory of a first interactive element on an interactive interface; receiving a second movement trajectory of the first interactive element from at least one second terminal device; and selecting a target terminal device among the first terminal device and at least one second terminal device at least according to the first movement trajectory and at least one second movement trajectory, wherein the target terminal device is used for interacting with a third terminal device corresponding to a second interactive element on the interactive interface.

Description

直播间的交互方法和交互装置Interactive method and interactive device for live broadcast room
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本公开要求于2021年03月22日提交的申请号为202110304021.2的中国专利申请的优先权,其全部内容通过引用结合在本公开中。The present disclosure claims priority to Chinese Patent Application No. 202110304021.2 filed on March 22, 2021, the entire contents of which are incorporated in the present disclosure by reference.
技术领域technical field
本公开涉及互联网技术领域,尤其涉及一种直播间的交互方法和交互装置。The present disclosure relates to the field of Internet technologies, and in particular, to an interaction method and an interaction device for a live broadcast room.
背景技术Background technique
近年来,随着互联网技术的发展以及智能手机的普及,直播平台越来越受到人们的关注。在现有技术中,观众在直播间中观看直播时,通过关注、送礼、点赞等方式与直播间中的主播进行互动,主播通过语音或文字等方式与观众互动,这种互动的方式使得直播间的内容太单调,缺少一定的趣味性。In recent years, with the development of Internet technology and the popularization of smartphones, live streaming platforms have attracted more and more attention. In the prior art, when the audience watches the live broadcast in the live broadcast room, they interact with the host in the live broadcast room by following, giving gifts, likes, etc., and the host interacts with the audience through voice or text. The content of the live broadcast room is too monotonous and lacks a certain interest.
发明内容SUMMARY OF THE INVENTION
本公开的技术方案如下:The technical solutions of the present disclosure are as follows:
根据本公开的一些实施例,提供一种直播间的交互方法,该方法应用于第一终端设备,包括:According to some embodiments of the present disclosure, there is provided an interaction method in a live broadcast room. The method is applied to a first terminal device, including:
响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹;In response to the pose change of the first terminal device, displaying the first motion trajectory of the first interactive element on the interactive interface;
接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹;receiving a second motion trajectory of the first interactive element from at least one second terminal device;
至少根据所述第一运动轨迹和至少一个所述第二运动轨迹,在所述第一终端设备和至少一个所述第二终端设备中,选择目标终端设备,其中所述目标终端设备用于与所述交互界面上第二交互元素对应的第三终端设备进行交互。According to at least the first motion track and at least one of the second motion tracks, a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used to communicate with The third terminal device corresponding to the second interactive element on the interactive interface interacts.
在本公开的一些实施例中,所述第一终端设备的位姿变化具有前向加速度变化,所述方法进一步,包括:In some embodiments of the present disclosure, the pose change of the first terminal device has a forward acceleration change, and the method further includes:
接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹,以及接收来自第三终端设备的第一交互元素的第三运动轨迹;receiving a second movement trajectory of the first interactive element from at least one second terminal device, and receiving a third movement trajectory of the first interactive element from a third terminal device;
其中,所述至少根据所述第一运动轨迹和所述第二运动轨迹,在所述第一终端设备和至少一个所述第二终端设备中,选择目标终端设备,包括:Wherein, the selecting a target terminal device in the first terminal device and at least one of the second terminal devices according to at least the first motion track and the second motion track includes:
获取所述第一运动轨迹、至少一个所述第二运动轨迹和所述第三运动轨迹的起始点和终止点;acquiring the start point and the end point of the first motion trajectory, at least one of the second motion trajectory and the third motion trajectory;
基于所述起始点和所述终止点,确定多个轨迹距离,并得到所述多个轨迹距离的排序结果,其中所述多个轨迹距离分别与每一个终端设备对应;Based on the start point and the end point, determine multiple track distances, and obtain a sorting result of the multiple track distances, wherein the multiple track distances correspond to each terminal device respectively;
基于所述排序结果,选择所述目标终端设备。Based on the sorting result, the target terminal device is selected.
在本公开的一些实施例中,所述基于所述排序结果,选择所述目标终端设备,包括:In some embodiments of the present disclosure, the selecting the target terminal device based on the sorting result includes:
从所述排序结果中,选取所述目标终端设备,其中与所述目标终端设备对应的轨迹距离仅次于与所述第三终端设备对应的轨迹距离。From the sorting result, the target terminal device is selected, wherein the track distance corresponding to the target terminal device is second only to the track distance corresponding to the third terminal device.
在本公开的一些实施例中,上述方法还包括:In some embodiments of the present disclosure, the above method further includes:
分别累计第一预设时间内所述第三终端设备的第四运动轨迹的次数和所述目标终端设备的第五运动轨迹的次数;respectively accumulating the number of times of the fourth motion track of the third terminal device and the number of times of the fifth motion track of the target terminal device within the first preset time;
响应于所述目标终端设备的第五运动轨迹的次数大于所述第三终端设备的第四运动轨迹的次数,在所述交互界面上展示所述目标终端设备胜利;或者,In response to the number of times of the fifth motion trajectory of the target terminal device being greater than the number of times of the fourth motion trajectory of the third terminal device, displaying the victory of the target terminal device on the interactive interface; or,
响应于所述目标终端设备的第五运动轨迹的次数小于所述第三终端设备的第四运动轨迹的次数,在所述交互界面上展示所述第三终端设备胜利。In response to the number of times of the fifth motion trajectory of the target terminal device being less than the number of times of the fourth motion trajectory of the third terminal device, displaying the victory of the third terminal device on the interactive interface.
在本公开的一些实施例中,上述的直播间的交互方法,还包括:In some embodiments of the present disclosure, the above-mentioned interaction method in the live room further includes:
响应于所述第三终端设备胜利,所述目标终端设备拒绝所述第三终端设备的请求,在所述交互界面上展示所述目标终端设备发送给所述目标终端设备的资源请求。In response to the victory of the third terminal device, the target terminal device rejects the request of the third terminal device, and displays the resource request sent by the target terminal device to the target terminal device on the interactive interface.
在本公开的一些实施例中,所述第一终端设备的位姿变化具有向下加速度变化,所述至少根据所述第一运动轨迹和至少一个所述第二运动轨迹,在所述第一终端设备和至少一个所述第二终端设备中,选择目标终端设备,包括:In some embodiments of the present disclosure, the change of the pose of the first terminal device has a downward acceleration change, and the change in the first In the terminal device and at least one of the second terminal devices, selecting a target terminal device includes:
获取所述第一运动轨迹和至少一个所述第二运动轨迹的起始点和终止点;obtaining the start point and the end point of the first motion trajectory and at least one of the second motion trajectory;
基于所述起始点和所述终止点,确定多个轨迹距离,并得到所述多个轨迹距离的排序结果,其中所述多个轨迹距离分别与每一个终端设备对应;Based on the start point and the end point, determine multiple track distances, and obtain a sorting result of the multiple track distances, wherein the multiple track distances correspond to each terminal device respectively;
从所述排序结果中,选择所述目标终端设备,其中所述目标终端设备为所述排序结果中位于榜首的轨迹距离所对应的终端设备。From the sorting result, the target terminal device is selected, wherein the target terminal device is the terminal device corresponding to the track distance at the top of the ranking result.
在本公开的一些实施例中,上述方法还包括:In some embodiments of the present disclosure, the above method further includes:
分别获取所述第三终端设备的第六运动轨迹的距离和所述目标终端设备的第七运动轨迹的距离;respectively acquiring the distance of the sixth motion track of the third terminal device and the distance of the seventh motion track of the target terminal device;
响应于所述第三终端设备的第六运动轨迹的距离大于所述目标终端设备的第七运动轨迹的距离,在所述交互界面上展示所述第三终端设备胜利;或者,In response to the distance of the sixth movement trajectory of the third terminal device being greater than the distance of the seventh movement trajectory of the target terminal device, displaying the victory of the third terminal device on the interactive interface; or,
响应于所述第三终端设备的第六运动轨迹的距离小于所述目标终端设备的第七运动轨迹的距离,在所述交互界面上展示所述目标终端设备胜利。In response to the distance of the sixth motion trajectory of the third terminal device being smaller than the distance of the seventh motion trajectory of the target terminal device, displaying the victory of the target terminal device on the interactive interface.
在本公开的一些实施例中,上述方法还包括:In some embodiments of the present disclosure, the above method further includes:
在交互界面上展示所述第一终端设备、至少一个所述第二终端设备和所述第三终端设备分别设置的资源。The resources respectively set by the first terminal device, at least one of the second terminal device and the third terminal device are displayed on the interactive interface.
在本公开的一些实施例中,上述方法还包括:In some embodiments of the present disclosure, the above method further includes:
响应于所述第三终端设备胜利,在所述交互界面上展示所述第三终端设备向所述目标终端设备发送的目标终端设置资源的资源请求;或者,In response to the victory of the third terminal device, displaying on the interactive interface the resource request for setting resources of the target terminal sent by the third terminal device to the target terminal device; or,
响应于所述目标终端设备胜利,在所述交互界面上展示所述目标终端设备向所述第三终端设备发送的第三终端设备设置资源的预设倍数的资源请求,其中,所述预设倍数大于1。In response to the victory of the target terminal device, displaying on the interactive interface a resource request sent by the target terminal device to the third terminal device for a preset multiple of the resource set by the third terminal device, wherein the preset The multiple is greater than 1.
根据本公开的一些实施例,提供了一种直播间的交互装置,该装置应用于第一终端设备,包括:According to some embodiments of the present disclosure, there is provided an interaction apparatus for a live broadcast room, the apparatus is applied to a first terminal device, and includes:
响应模块,被配置为响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹;a response module, configured to display the first motion trajectory of the first interactive element on the interactive interface in response to the pose change of the first terminal device;
接收模块,被配置为接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹;a receiving module configured to receive a second motion trajectory of the first interactive element from at least one second terminal device;
选择模块,被配置为至少根据所述第一运动轨迹和至少一个所述第二运动轨迹,在所述第一终端设备和至少一个所述第二终端设备中,选择目标终端设备,其中所述目标终端设备用于与所述交互界面上第二交互元素对应的第三终端设备进行交互。a selection module, configured to select a target terminal device from among the first terminal device and at least one of the second terminal devices according to at least the first movement trajectory and at least one of the second movement trajectory, wherein the The target terminal device is configured to interact with the third terminal device corresponding to the second interaction element on the interaction interface.
在本公开的一些实施例中,所述第一终端设备的位姿变化具有前向加速度变化,所述接收模块进一步被配置为接收来自第三终端设备的第一交互元素的第三运动轨迹;In some embodiments of the present disclosure, the pose change of the first terminal device has a forward acceleration change, and the receiving module is further configured to receive a third motion trajectory of the first interaction element from a third terminal device;
其中,所述选择模块,包括:Wherein, the selection module includes:
第一获取单元,被配置为获取所述第一运动轨迹、至少一个所述第二运动轨迹和所述第三运动轨迹的起始点和终止点;a first acquiring unit, configured to acquire the start point and the end point of the first motion trajectory, at least one of the second motion trajectory and the third motion trajectory;
第一确定单元,被配置为基于所述起始点和所述终止点,确定多个轨迹距离,并得到所述多个轨迹距离的排序结果,其中所述多个轨迹距离分别与每一个终端设备对应;The first determining unit is configured to determine multiple track distances based on the starting point and the ending point, and obtain a sorting result of the multiple track distances, wherein the multiple track distances are respectively associated with each terminal device correspond;
第一选择单元,被配置为基于所述排序结果,选择所述目标终端设备。The first selection unit is configured to select the target terminal device based on the sorting result.
在本公开的一些实施例中,所述选择单元,被配置为从所述排序结果中,选取所述目 标终端设备,其中与所述目标终端设备对应的轨迹距离仅次于与所述第三终端设备对应的轨迹距离。In some embodiments of the present disclosure, the selection unit is configured to select the target terminal device from the sorting result, wherein the track distance corresponding to the target terminal device is second only to the third The track distance corresponding to the terminal device.
在本公开的一些实施例中,上述装置,还包括:In some embodiments of the present disclosure, the above-mentioned apparatus further includes:
累计模块,被配置为响应于所述第三终端设备的第六运动轨迹的距离小于所述目标终端设备的第七运动轨迹的距离,在所述交互界面上展示所述目标终端设备胜利;an accumulation module, configured to display the target terminal device victory on the interactive interface in response to the distance of the sixth movement trajectory of the third terminal device being less than the distance of the seventh movement trajectory of the target terminal device;
第一展示模块,被配置为响应于所述目标终端设备的第五运动轨迹的次数大于所述第三终端设备的第四运动轨迹的次数,在所述交互界面上展示所述目标终端设备胜利;或者,a first display module, configured to display the victory of the target terminal device on the interactive interface in response to the number of times of the fifth movement trajectory of the target terminal device being greater than the number of times of the fourth movement trajectory of the third terminal device ;or,
第二展示模块,被配置为响应于所述目标终端设备的第五运动轨迹的次数小于所述第三终端设备的第四运动轨迹的次数,在所述交互界面上展示所述第三终端设备胜利。The second display module is configured to display the third terminal device on the interactive interface in response to the number of times of the fifth movement trajectory of the target terminal device being less than the number of times of the fourth movement trajectory of the third terminal device victory.
在本公开的一些实施例中,上述装置还包括:In some embodiments of the present disclosure, the above-mentioned apparatus further includes:
第三展示模块,被配置为响应于所述第三终端设备胜利,且所述目标终端设备拒绝所述第三终端设备的请求,在所述交互界面上展示所述目标终端设备发送给所述目标终端设备的资源请求。The third display module is configured to, in response to the victory of the third terminal device and the target terminal device rejecting the request of the third terminal device, display on the interactive interface that the target terminal device sends to the The resource request of the target end device.
在本公开实施例一种可能的实现方式中,所述第一终端设备的位姿变化具有向下加速度变化,所述选择模块,包括:In a possible implementation manner of the embodiment of the present disclosure, the posture change of the first terminal device has a downward acceleration change, and the selection module includes:
第二获取单元,被配置为获取所述第一运动轨迹和至少一个所述第二运动轨迹的起始点和终止点;a second acquiring unit, configured to acquire the start point and the end point of the first motion track and at least one of the second motion tracks;
第二确定单元,被配置为基于所述起始点和所述终止点,确定多个轨迹距离,并得到所述多个轨迹距离的排序结果,其中所述多个轨迹距离分别与每一个终端设备对应;The second determining unit is configured to determine multiple track distances based on the starting point and the ending point, and obtain a sorting result of the multiple track distances, wherein the multiple track distances are respectively associated with each terminal device correspond;
第二选择单元,被配置为从所述排序结果中,选择所述目标终端设备,其中所述目标终端设备为所述排序结果中位于榜首的轨迹距离所对应的终端设备。The second selection unit is configured to select the target terminal device from the sorting result, wherein the target terminal device is the terminal device corresponding to the track distance at the top of the ranking result.
在本公开的一些实施例中,上述的装置,还包括:In some embodiments of the present disclosure, the above-mentioned device further includes:
获取模块,被配置为分别获取所述第三终端设备的第六运动轨迹的距离和所述目标终端设备的第七运动轨迹的距离;an obtaining module, configured to obtain the distance of the sixth motion track of the third terminal device and the distance of the seventh motion track of the target terminal device respectively;
第四展示模块,被配置为响应于所述第三终端设备的第六运动轨迹的距离大于所述目标终端设备的第七运动轨迹的距离,在所述交互界面上展示所述第三终端设备胜利;或者,a fourth display module, configured to display the third terminal device on the interactive interface in response to the distance of the sixth movement trajectory of the third terminal device being greater than the distance of the seventh movement trajectory of the target terminal device victory; or,
第五展示模块,被配置为响应于所述第三终端设备的第六运动轨迹的距离小于所述目标终端设备的第七运动轨迹的距离,在所述交互界面上展示所述目标终端设备胜利。a fifth display module, configured to display the victory of the target terminal device on the interactive interface in response to the distance of the sixth movement trajectory of the third terminal device being less than the distance of the seventh movement trajectory of the target terminal device .
在本公开的一些实施例中,上述的装置,还包括:In some embodiments of the present disclosure, the above-mentioned device further includes:
第六展示模块,被配置为在交互界面上展示所述第一终端设备、至少一个所述第二终端设备和所述第三终端设备分别设置的资源。The sixth display module is configured to display the resources respectively set by the first terminal device, at least one of the second terminal device and the third terminal device on the interactive interface.
在本公开的一些实施例中,上述的装置,还包括:In some embodiments of the present disclosure, the above-mentioned device further includes:
第七展示模块,被配置为响应于所述第三终端设备胜利,在所述交互界面上展示所述第三终端设备向所述目标终端设备发送的目标终端设置资源的资源请求;或者,a seventh presentation module, configured to, in response to the victory of the third terminal device, display on the interactive interface the resource request for setting resources of the target terminal sent by the third terminal device to the target terminal device; or,
第八展示模块,被配置为响应于所述目标终端设备胜利,在所述交互界面上展示所述目标终端设备向所述第三终端设备发送的第三终端设备设置资源的预设倍数的资源请求,其中,所述预设倍数大于1。an eighth presentation module, configured to, in response to the victory of the target terminal device, display on the interactive interface the resource of the preset multiple of the resource set by the third terminal device sent by the target terminal device to the third terminal device request, wherein the preset multiple is greater than 1.
根据本公开的一些实施例,提供一种电子设备,包括:According to some embodiments of the present disclosure, there is provided an electronic device, comprising:
处理器;processor;
用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;
其中,所述处理器被配置为执行所述指令,以实现以下步骤:wherein the processor is configured to execute the instructions to implement the following steps:
响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹;In response to the pose change of the first terminal device, displaying the first motion trajectory of the first interactive element on the interactive interface;
接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹;receiving a second motion trajectory of the first interactive element from at least one second terminal device;
至少根据所述第一运动轨迹和至少一个所述第二运动轨迹,在所述第一终端设备和至少一个所述第二终端设备中,选择目标终端设备,其中所述目标终端设备用于与所述交互界面上第二交互元素对应的第三终端设备进行交互。According to at least the first motion track and at least one of the second motion tracks, a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used to communicate with The third terminal device corresponding to the second interactive element on the interactive interface interacts.
根据本公开的一些实施例,提供一种计算机可读存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行以下步骤:According to some embodiments of the present disclosure, a computer-readable storage medium is provided, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device can perform the following steps:
响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹;In response to the pose change of the first terminal device, displaying the first motion trajectory of the first interactive element on the interactive interface;
接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹;receiving a second motion trajectory of the first interactive element from at least one second terminal device;
至少根据所述第一运动轨迹和至少一个所述第二运动轨迹,在所述第一终端设备和至少一个所述第二终端设备中,选择目标终端设备,其中所述目标终端设备用于与所述交互界面上第二交互元素对应的第三终端设备进行交互。According to at least the first motion track and at least one of the second motion tracks, a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used to communicate with The third terminal device corresponding to the second interactive element on the interactive interface interacts.
根据本公开的一些实施例,提供一种计算机程序产品,包括:计算机程序,所述计算机程序被处理器执行时实现以下步骤:According to some embodiments of the present disclosure, there is provided a computer program product, comprising: a computer program that, when executed by a processor, implements the following steps:
响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹;In response to the pose change of the first terminal device, displaying the first motion trajectory of the first interactive element on the interactive interface;
接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹;receiving a second motion trajectory of the first interactive element from at least one second terminal device;
至少根据所述第一运动轨迹和至少一个所述第二运动轨迹,在所述第一终端设备和至少一个所述第二终端设备中,选择目标终端设备,其中所述目标终端设备用于与所述交互界面上第二交互元素对应的第三终端设备进行交互。According to at least the first motion track and at least one of the second motion tracks, a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used to communicate with The third terminal device corresponding to the second interactive element on the interactive interface interacts.
本公开的实施例提供的技术方案至少带来以下有益效果:The technical solutions provided by the embodiments of the present disclosure bring at least the following beneficial effects:
响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹;接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹;至少根据第一运动轨迹和至少一个第二运动轨迹,在第一终端设备和至少一个第二终端设备中,选择目标终端设备,其中目标终端设备用于与交互界面上第二交互元素对应的第三终端设备进行交互。由此,通过本公开的交互方法,能够使得直播间的内容更饱满、更人性化,增强直播间互动的趣味性。In response to the pose change of the first terminal device, displaying the first movement trajectory of the first interactive element on the interactive interface; receiving the second movement trajectory of the first interactive element from at least one second terminal device; at least according to the first movement track and at least one second motion track, in the first terminal device and the at least one second terminal device, select a target terminal device, where the target terminal device is used to interact with the third terminal device corresponding to the second interactive element on the interactive interface . Therefore, through the interaction method of the present disclosure, the content of the live broadcast room can be made fuller and more humanized, and the interest of the interaction in the live broadcast room can be enhanced.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理,并不构成对本公开的不当限定。The accompanying drawings, which are incorporated into and constitute a part of this specification, illustrate embodiments consistent with the present disclosure, and together with the description, serve to explain the principles of the present disclosure and do not unduly limit the present disclosure.
图1是根据一示例性实施例示出的一种直播间的交互方法的流程图。Fig. 1 is a flow chart of an interaction method in a live broadcast room according to an exemplary embodiment.
图2是根据一示例性实施例示出的另一种直播间的交互方法的流程图。Fig. 2 is a flow chart of another method for interacting between live broadcasts according to an exemplary embodiment.
图3是根据一示例性实施例示出的另一种直播间交互方法的交互效果图。FIG. 3 is an interaction effect diagram of another method for interaction between live broadcasts according to an exemplary embodiment.
图4是根据一示例性实施例示出的又一种直播间的交互方法的流程图。Fig. 4 is a flow chart of yet another method for interacting in a live broadcast room according to an exemplary embodiment.
图5是根据一示例性实施例示出的又一种直播间交互方法的交互效果图。Fig. 5 is an interaction effect diagram showing yet another method for interaction between live broadcasts according to an exemplary embodiment.
图6是根据一示例性实施例示出的一种直播间的交互装置框图。Fig. 6 is a block diagram of an interaction device in a live room according to an exemplary embodiment.
图7是根据一示例性实施例示出的一种电子设备框图。Fig. 7 is a block diagram of an electronic device according to an exemplary embodiment.
具体实施方式Detailed ways
为了使本领域普通人员更好地理解本公开的技术方案,下面将结合附图,对本公开实施例中的技术方案进行清楚、完整地描述。In order to make those skilled in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。It should be noted that the terms "first", "second" and the like in the description and claims of the present disclosure and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
图1是根据一示例性实施例示出的一种直播间的交互方法的流程图,如图1所示,该 直播间的交互方法应用于第一终端设备(该第一终端设备为观众端的一终端设备)中,包括以下步骤。FIG. 1 is a flow chart of an interaction method in a live room according to an exemplary embodiment. As shown in FIG. 1 , the interaction method in a live room is applied to a first terminal device (the first terminal device is a terminal equipment), including the following steps.
在步骤S101中,响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹。In step S101, in response to the pose change of the first terminal device, the first motion trajectory of the first interactive element is displayed on the interactive interface.
其中,位姿变化包括但不限于第一终端设备在各个方向上位置变化和姿态变化。Wherein, the pose change includes, but is not limited to, the position change and the pose change of the first terminal device in various directions.
在该步骤中,第一终端设备的使用者为观众中的一员,该持有第一终端设备的观众打开该第一终端设备上的应用程序,从应用程序内进入交互界面,该交互界面上包括至少一个游戏头像的按键。然后,通过点击游戏头像的按键或语音输入游戏名称的方式,进行相应的游戏。例如,点击钓鱼头像的按键进入钓鱼游戏,或输入“钓鱼”的语音信息进入钓鱼游戏;又如,点击溜溜球头像的按键进入溜溜球游戏,或输入“溜溜球”的语音信息进入溜溜球游戏。In this step, the user of the first terminal device is a member of the audience, the audience holding the first terminal device opens the application program on the first terminal device, and enters the interactive interface from the application program, the interactive interface A button that includes at least one game avatar. Then, play the corresponding game by clicking the button of the game avatar or inputting the game name by voice. For example, click the button of the fishing avatar to enter the fishing game, or enter the voice information of "fishing" to enter the fishing game; another example, click the button of the yo-yo avatar to enter the yo-yo game, or enter the voice information of "yo-yo" to enter the yo-yo game .
该持有第一终端设备观众的第一终端设备在进入游戏之后,通过第一终端设备的重力感应器实时判断自身的位姿是否发生变化,如果第一终端设备从一个位置移动到另一个位置,则判断位姿发生了变化,此时第一终端设备响应于该位姿变化,并通过第一终端设备的屏幕在第一终端设备的交互界面上展示出第一交互元素的第一运动轨迹。例如,当第一终端设备进入钓鱼游戏,且第一终端设备的位姿发生变化时,第一终端设备的交互界面上鱼钩线(钓鱼游戏下第一交互元素为鱼钩线)向前被甩出的运动轨迹(钓鱼游戏下第一运动轨迹为向前被甩出的运动轨迹);又如,当终端设备进入溜溜球游戏,且第一终端设备的位姿发生变化时,第一终端设备的交互界面上溜溜球线(溜溜球游戏下第一交互元素为溜溜球线)向下被甩出的运动轨迹(溜溜球游戏下第一运动轨迹为向下被甩出的运动轨迹)。The first terminal device holding the audience of the first terminal device, after entering the game, judges in real time whether its own posture has changed through the gravity sensor of the first terminal device. If the first terminal device moves from one position to another , then it is judged that the pose has changed. At this time, the first terminal device responds to the change in pose and displays the first motion trajectory of the first interactive element on the interactive interface of the first terminal device through the screen of the first terminal device. . For example, when the first terminal device enters a fishing game and the pose of the first terminal device changes, the hook line on the interactive interface of the first terminal device (the first interactive element in the fishing game is the hook line) is forwarded by the hook line. The motion trajectory thrown out (the first motion trajectory in the fishing game is the motion trajectory thrown forward); for another example, when the terminal device enters the yo-yo game, and the posture of the first terminal device changes, the first terminal On the interactive interface of the device, the yo-yo line (the first interactive element in the yo-yo game is the yo-yo line) is the trajectory that is thrown downward (the first motion trajectory in the yo-yo game is the trajectory that is thrown downward).
在步骤S102中,接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹。In step S102, a second motion trajectory of the first interactive element from at least one second terminal device is received.
在该步骤中,至少一个第二终端设备的使用者为除了持有第一终端设备观众之外的其他观众。持有第二终端设备的观众也是通过打开第二终端设备上的应用程序,从应用程序内进入交互界面,并通过点击游戏头像的按键或语言输入游戏名称的方式,进入相应的游戏。In this step, the users of at least one second terminal device are other viewers except viewers holding the first terminal device. The audience holding the second terminal device also opens the application program on the second terminal device, enters the interactive interface from the application program, and enters the corresponding game by clicking the button of the game avatar or inputting the game name in the language.
持有第二终端设备的观众的第二终端设备在进入游戏之后,通过第二终端设备的重力感应器实时判断自身的位姿是否发生变化,如果第二终端设备从一个位置移动到另一个位置,则判断位姿发生了变化,此时第二终端设备响应于该位姿变化,并通过第二终端设备的屏幕在第二终端设备的交互界面上展示出第一交互元素的第二运动轨迹。然后,将第二运动轨迹发送给第一终端设备。这样,第一终端设备便可以接收来自至少一个第二终端设备发送的第一元素的第二运动轨迹。After the second terminal device of the audience holding the second terminal device enters the game, the gravity sensor of the second terminal device determines in real time whether its own posture has changed. If the second terminal device moves from one position to another , then it is judged that the pose has changed. At this time, the second terminal device responds to the change in pose and displays the second motion trajectory of the first interactive element on the interactive interface of the second terminal device through the screen of the second terminal device. . Then, the second motion trajectory is sent to the first terminal device. In this way, the first terminal device can receive the second motion trajectory of the first element sent from the at least one second terminal device.
在步骤S103中,至少根据第一运动轨迹和至少一个第二运动轨迹,在第一终端设备和至少一个第二终端设备中,选择目标终端设备,其中目标终端设备用于与交互界面上第二交互元素对应的第三终端设备进行交互。In step S103, at least according to the first movement trajectory and the at least one second movement trajectory, a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used to communicate with the second terminal device on the interactive interface. The third terminal device corresponding to the interaction element interacts.
其中,第三终端设备的使用者为主播。The user of the third terminal device is the broadcaster.
在该步骤中,第一终端设备根据第一交互元素的第一运动轨迹和至少一个第二运动轨迹进行排序,并根据排序结果从第一终端设备和至少一个第二终端设备中选出一个终端设备作为目标终端设备,该目标终端设备用于与交互界面上第二交互元素对应的第三终端设备进行交互。例如,当第一终端设备、至少一个第二终端设备和第三终端设备进入钓鱼游戏时,第一终端设备根据交互界面上鱼钩线向前被甩出的运动轨迹的距离进行排序,并根据排序结果选出目标终端设备,与交互界面上显示的主播(钓鱼游戏下第二交互元素为主播)对应的交互终端设备进行交互;当第一终端设备和至少一个第二终端设备进入溜溜球游戏时,第一终端设备根据交互界面上溜溜球线向下被甩出的运动轨迹的距离进行排序,并根据排序结果选出目标终端设备,与交互界面上显示的主播(溜溜球游戏下第二交互元素为主播)对应的第三终端设备进行交互。In this step, the first terminal device sorts according to the first movement track and at least one second movement track of the first interactive element, and selects one terminal from the first terminal device and the at least one second terminal device according to the sorting result The device is used as a target terminal device, and the target terminal device is used to interact with a third terminal device corresponding to the second interaction element on the interaction interface. For example, when the first terminal device, the at least one second terminal device, and the third terminal device enter the fishing game, the first terminal device sorts according to the distance of the trajectory of the fishhook line thrown forward on the interactive interface, and sorts it according to the The sorting result selects the target terminal device, and interacts with the interactive terminal device corresponding to the anchor displayed on the interactive interface (the second interactive element under the fishing game is the anchor); when the first terminal device and at least one second terminal device enter the yo-yo game , the first terminal device sorts according to the distance of the trajectory of the yo-yo line thrown downward on the interactive interface, and selects the target terminal device according to the sorting result, and the anchor displayed on the interactive interface (the second under the yo-yo game) is sorted. The interaction element interacts with the third terminal device corresponding to the host).
本公开实施例提供的直播间的交互方法,第一终端设备响应于第一终端设备的位姿变 化,在交互界面上展示第一交互元素的第一运动轨迹,并接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹,至少根据第一运动轨迹和至少一个第二运动轨迹,在第一终端设备和至少一个第二终端设备中,选择目标终端设备,该目标终端设备用于与交互界面上第二交互元素对应的第三终端设备进行交互。由此,通过本公开的交互方法,能够使得直播间的内容更饱满、更人性化,增强直播间互动的趣味性。In the interactive method for a live broadcast room provided by the embodiment of the present disclosure, the first terminal device displays the first motion trajectory of the first interactive element on the interactive interface in response to the pose change of the first terminal device, and receives data from at least one second terminal The second movement trajectory of the first interactive element of the device, according to at least the first movement trajectory and the at least one second movement trajectory, among the first terminal device and the at least one second terminal device, select a target terminal device, and the target terminal device uses the interact with the third terminal device corresponding to the second interactive element on the interactive interface. Therefore, through the interaction method of the present disclosure, the content of the live broadcast room can be made fuller and more humanized, and the interest of the interaction in the live broadcast room can be enhanced.
图2是根据一示例性实施例示出的一种直播间的钓鱼游戏交互方法的流程图,图3是根据一示例性实施例示出的一种直播间的钓鱼游戏交互方法的交互效果图。结合图2和图3,该直播间的钓鱼游戏交互方法,包括以下步骤。FIG. 2 is a flowchart of a method for interacting with a fishing game in a live broadcast room according to an exemplary embodiment, and FIG. 3 is an interaction effect diagram of a method for interacting with a fishing game in a live broadcast room according to an exemplary embodiment. With reference to Fig. 2 and Fig. 3, the method for interacting with the fishing game in the live broadcast room includes the following steps.
在步骤S201中,响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹。其中,第一终端设备的位姿变化具有前向加速度变化。In step S201, in response to the pose change of the first terminal device, the first motion trajectory of the first interactive element is displayed on the interactive interface. Wherein, the pose change of the first terminal device has a forward acceleration change.
在步骤S202中,接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹,以及接收来自第三终端设备的第一交互元素的第三运动轨迹。In step S202, a second movement trajectory of the first interactive element from at least one second terminal device is received, and a third movement trajectory of the first interactive element from a third terminal device is received.
在该实施例中,第一终端设备的持有者(一观众)、至少一个第二终端设备的持有者(其他观众)和第三终端的持有者(主播)打开各自终端设备的应用程序,从应用程序内进入交互界面,该交互界面上包括至少一个游戏头像的按键。然后,通过点击钓鱼头像的按键进入钓鱼游戏,或输入“钓鱼”的语音信息进入钓鱼游戏。结合图3,主播和观众(包括一观众和其他观众)进入钓鱼界面,在该钓鱼界面会有钓鱼特效和入场提示等。钓鱼游戏(活动)未开始时,主播和观众可以通过任意晃动一下各自的终端设备,便可通过不同方向入场,如向左晃动、向右晃动、向上晃动或向下晃动各自的终端设备,也可以通过手动点击钓鱼开始按钮入场,即代表钓鱼游戏开始。In this embodiment, the holder of the first terminal device (a viewer), the holder of at least one second terminal device (other viewers) and the holder of the third terminal (the host) open the applications of the respective terminal devices The program enters the interactive interface from the application program, and the interactive interface includes at least one button of the game avatar. Then, click the button of the fishing avatar to enter the fishing game, or enter the voice information of "fishing" to enter the fishing game. Referring to Fig. 3, the anchor and the audience (including one audience and other audiences) enter the fishing interface, and there will be fishing special effects and admission prompts on the fishing interface. When the fishing game (event) has not started, the anchor and the audience can enter the venue in different directions by shaking their respective terminal devices at will, such as shaking their respective terminal devices to the left, right, up or down. You can also enter by manually clicking the fishing start button, which means the fishing game starts.
在钓鱼游戏开始之后,主播和观众均参与钓鱼游戏,并大力将各自的终端设备向前甩出。主播和观众的终端设备的重力感应器判断自身的位姿是否发生变化,并在位姿发生变化时,观众和主播持有的各自的终端设备的交互界面上会显示鱼钩线向前被甩出的运动轨迹且可伴有进度条。After the fishing game started, both the anchor and the audience participated in the fishing game and vigorously threw their respective terminal devices forward. The gravity sensors of the terminal devices of the anchor and the audience determine whether their own posture has changed, and when the posture changes, the interactive interface of the respective terminal devices held by the audience and the anchor will display that the hook line is thrown forward. The displayed motion track can be accompanied by a progress bar.
在步骤S203中,获取第一运动轨迹、至少一个第二运动轨迹和第三运动轨迹的起始点和终止点。In step S203, the start point and the end point of the first motion trajectory, the at least one second motion trajectory, and the third motion trajectory are acquired.
在该步骤中,获取观众和主播的鱼钩线被甩出时的坐标点和停止甩出时的坐标点,分别作为起始点和终止点。In this step, the coordinate points when the hook lines of the audience and the host are thrown out and the coordinate points when they stop being thrown out are obtained as the starting point and the ending point, respectively.
在步骤S204中,基于起始点和终止点,确定多个轨迹距离,并得到多个轨迹距离的排序结果,其中多个轨迹距离分别于每一个终端设备对应。In step S204, multiple track distances are determined based on the starting point and the ending point, and a sorting result of the multiple track distances is obtained, wherein the multiple track distances correspond to each terminal device respectively.
在该步骤中,利用终止点对应的坐标减去起始点对应的坐标,得到的两坐标点之间的轨迹距离,作为起始点和终止点之间的轨迹距离,这样便可以得到每一个终端设备对应的轨迹距离,并将多个轨迹距离按照从大到小或从小到大的方式进行排序,以得到排序结果。In this step, the coordinates corresponding to the end point are subtracted from the coordinates corresponding to the start point, and the obtained trajectory distance between the two coordinate points is used as the trajectory distance between the start point and the end point, so that each terminal device can be obtained. The corresponding track distances are sorted, and the multiple track distances are sorted in ascending or descending manner to obtain the sorting result.
在步骤S205中,基于排序结果,选择目标终端设备。In step S205, a target terminal device is selected based on the sorting result.
在该步骤中,在得到排序结果之后,根据排序结果,从观众的终端设备中选取一个观众的终端设备,作为目标终端设备,即推荐连麦人的终端设备,这样便选取出了与主播进行交互的交互对象。In this step, after the sorting result is obtained, according to the sorting result, a terminal device of the viewer is selected from the terminal devices of the viewer as the target terminal device, that is, the terminal device that recommends Lianmairen, so as to select the terminal device of the viewer to carry out the communication with the host. The interactive object of the interaction.
作为一种可选的实现方式,从排序结果中,选取目标终端设备,其中与目标终端设备对应的轨迹距离仅次于与第三终端设备对应的轨迹距离。即言,从排序结果中,选出仅次于主播的终端设备的观众的终端设备,作为目标终端设备,这样可确保主播代表的鱼钩线可以钓到观众代表的鱼。As an optional implementation manner, a target terminal device is selected from the sorting result, wherein the track distance corresponding to the target terminal device is second only to the track distance corresponding to the third terminal device. That is to say, from the sorting result, the terminal device of the viewer next to the terminal device of the anchor is selected as the target terminal device, so as to ensure that the fish represented by the anchor can catch the fish represented by the viewer.
在步骤S206中,分别累计第一预设时间内第三终端设备的第四运动轨迹的次数和目标终端设备的第五运动轨迹的次数。其中,第一预设时间可根据钓鱼游戏的需要进行设置。In step S206, the number of times of the fourth motion track of the third terminal device and the number of times of the fifth motion track of the target terminal device are respectively accumulated within the first preset time. The first preset time can be set according to the needs of the fishing game.
在该步骤中,在得到选取的目标终端设备之后,主播可通过播晃一下自身的终端设备或手动点击自己终端设备上的钓鱼按键的方式,向观众发送提醒信息,如发送一个“XX被 选为推荐连麦人”的咬钩弹窗,用于提醒XX观众被选为了推荐连麦人。In this step, after obtaining the selected target terminal device, the host can send a reminder message to the audience by shaking his own terminal device or manually clicking the fishing button on his own terminal device, such as sending a message "XX is selected" The pop-up window for recommending Lianmai people” is used to remind XX viewers that they have been selected to recommend Lianmai people.
该推荐连麦人可以通过点击咬钩弹窗上的接收按键选择咬钩,即选择同意与主播连麦,也可以通过点击咬钩弹窗上的拒接按键选择不咬钩,即选择放弃与主播连麦。当然,推荐连麦人也可以通过其它约定好的姿态来操作终端设备,指示咬钩或不咬钩,例如,推荐连麦人的终端设备晃一下,表示选择咬钩,即表示同意与主播连麦,晃两下,表示选择不咬钩,即表示不同意与主播连麦,此时推荐连麦人需要与主播进行拉锯战。The recommender can select the hook by clicking the receive button on the hook pop-up window, that is, choose to agree to connect with the host, or choose not to bite the hook by clicking the reject button on the hook pop-up window, that is, choose to give up and The anchor Lianmai. Of course, it is recommended that Lianmai people can also operate the terminal device through other agreed gestures, indicating whether to bite the hook or not. For example, it is recommended to shake the terminal device of Lianmai people to indicate that they choose to bite the hook, which means that they agree to connect with the anchor. Mai, shake it twice, indicating that you choose not to bite the hook, which means that you do not agree to Lianmai with the anchor. At this time, it is recommended that Lianmai people need to have a tug-of-war with the anchor.
具体结合图3,推荐连麦人与主播进入拉锯战界面后,主播通过自身的终端设备的交互界面上的道具如渔网想要套住推荐连麦人代表的鱼,之后双方左右晃动(在钓鱼游戏下,左右晃动为第四运动姿态)各自的终端设备,其中,推荐连麦人左右晃动(在钓鱼游戏爱霞,快速左右晃动为第五运动姿态)自身的终端设备表示尝试逃跑,在第一预设时间内,比谁晃动终端的次数多。拉锯战会有几秒的倒计时,倒计时结束后谁晃动终端的次数多谁胜利。Specifically referring to Figure 3, after the recommended Lianmai person and the anchor enter the tug-of-war interface, the anchor wants to trap the fish represented by the recommended Lianmai person through the props on the interactive interface of his terminal device, such as a fishing net, and then the two sides shake left and right (during fishing Under the game, shaking left and right is the fourth movement posture) of their respective terminal devices, among which, it is recommended that Lianmai people shake left and right (in the fishing game Aixia, the terminal equipment of fast shaking left and right is the fifth movement posture) to indicate that they are trying to escape. In a preset time, more than who shakes the terminal. There will be a countdown of several seconds in the tug of war. After the countdown, whoever shakes the terminal more times will win.
在步骤S207中,响应于目标终端设备的第五运动轨迹的次数大于第三终端设备的第四运动轨迹的次数,在交互界面上展示目标终端设备胜利。In step S207, in response to the number of times of the fifth movement trajectory of the target terminal device being greater than the number of times of the fourth movement trajectory of the third terminal device, the target terminal device is displayed as a victory on the interactive interface.
在该步骤中,如果主播晃动自身的终端设备的次数多于推荐连麦人晃动自身的终端设备的次数,则可以在主播和所有观众的终端设备的交互界面上提示钓鱼成功,即表示推荐连麦人被捉住了。In this step, if the number of times that the host shakes his own terminal equipment is more than the number of times that the recommended Lianmai person shakes his own terminal equipment, a prompt can be displayed on the interactive interface of the terminal equipment of the host and all viewers that the fishing is successful, which means that the recommended connection Mai was caught.
在步骤S208中,响应于目标终端设备的第五运动轨迹的次数小于第三终端设备的第四运动轨迹的次数,在交互界面上展示第三终端设备胜利。In step S208, in response to the number of times of the fifth movement trajectory of the target terminal device being less than the number of times of the fourth movement trajectory of the third terminal device, the third terminal device is displayed as a victory on the interactive interface.
在该步骤中,如果推荐连麦人晃动自身的终端设备的次数多于主播晃动自身的终端塞设备的次数,则表示推荐连麦人逃脱成功,在主播和所有观众的终端设备的交互界面上提示鱼跑了,其中,如果推荐连麦人逃脱成功,则推荐连麦人具有申请自动关闭连麦的资格。In this step, if the number of times that the recommended Lianmai person shakes his own terminal device is more than the number of times that the host shakes his own terminal plug device, it means that the recommended Lianmai person escapes successfully. Prompt the fish to run away. If the recommended Lianmai person escapes successfully, the recommended Lianmai person is qualified to apply for automatic shutdown of Lianmai.
由此,该方法可根据第一预设时间内主播和推荐连麦人晃动各自的终端设备的次数,来决定主播胜利还是推荐连麦人胜利,并在主播和所有观众的终端设备的交互界面上提示主播和推荐连麦人谁是胜利,谁是失败。这样能够进一步使得直播间的内容更饱满、更人性化,进一步增强直播间互动的趣味性。Therefore, the method can determine whether the anchor wins or recommends the Lianmai victory according to the number of times the host and the recommended Lianmai people shake their respective terminal devices within the first preset time, and the interactive interface between the host and all the viewers' terminal devices can be determined. Prompt the anchor and recommend Lianmai who wins and who loses. This can further make the content of the live broadcast room fuller and more humane, and further enhance the fun of the interaction in the live broadcast room.
在步骤S209中,响应于第三终端设备胜利,且目标终端设备拒绝第三终端设备的请求,在交互界面上展示第三终端设备发送给目标终端设备的资源请求。In step S209, in response to the victory of the third terminal device and the target terminal device rejecting the request of the third terminal device, the resource request sent by the third terminal device to the target terminal device is displayed on the interactive interface.
在该步骤中,如果主播晃动自身的终端设备的次数多于推荐连麦人晃动自身的终端设备的次数,则在主播和所有观众的终端设备的交互界面上提示钓鱼成功。此时,主播可向推荐连麦人发送连麦请求,推荐连麦人依然是可以选择接受或拒绝,其中,如果推荐连麦人通过自身的终端设备向主播的终端设备发送拒绝连麦请求,则主播通过自身的终端设备发送资源请求,如推荐连麦人需要向主播交纳资源如交纳赎金的请求。如果主播在预定时间内接收到了推荐连麦人交纳的资源如赎金,则自动关闭连麦请求;如果主播在预定时间内未接收到推荐连麦人交纳的资源如赎金,则屏蔽该推荐连麦人。需要说明的是,连麦人向主播交纳的资源可以是在钓鱼游戏开始前,由连麦人设置的资源,也可以为该钓鱼游戏设置的资源,具体这里不进行限制。In this step, if the host shakes his own terminal equipment more times than recommended Lianmai people shake his own terminal equipment, a message is displayed on the interactive interface of the terminal equipment of the host and all viewers that the fishing is successful. At this time, the host can send a request to the host who recommends Lianmai, and the person who recommends Lianmai can still choose to accept or reject it. Then the host sends a resource request through its own terminal device. For example, it is recommended that Lianmai people need to pay resources to the host, such as a ransom payment request. If the host receives the resources such as ransom paid by the recommended Lianmai people within the predetermined time, the Lianmai request will be automatically closed; if the host does not receive the resources such as ransom paid by the recommended Lianmai people within the predetermined time, the recommended Lianmai will be blocked. people. It should be noted that the resources paid by Lianmai to the anchor can be the resources set by Lianmai before the start of the fishing game, or the resources set for the fishing game, which are not limited here.
由此,该方法通过交纳赎金的方式,能够留存主播,还能更进一步地使得直播间的内容更饱满、更人性化,更进一步增强直播间互动的趣味性。Therefore, the method can retain the host by paying the ransom, and can further make the content of the live broadcast room fuller and more user-friendly, and further enhance the interestingness of the interaction in the live broadcast room.
至此钓鱼游戏结束。The fishing game is over.
本公开实施例提供的直播间的钓鱼游戏交互方法,通过钓鱼游戏,增加了观众与主播的互动,能够留存住主播,使得直播间的内容更饱满、更人性化,增强了连麦玩法的趣味性。The fishing game interaction method in the live broadcast room provided by the embodiment of the present disclosure increases the interaction between the audience and the host through the fishing game, and can retain the host, so that the content of the live broadcast room is fuller and more humanized, and the fun of Lianmai gameplay is enhanced. sex.
图4是根据一示例性实施例示出的一种直播间的溜溜球游戏交互方法的流程图,图5是根据一示例性实施例示出的一种直播间的溜溜球游戏交互方法的交互效果图。结合图4 和图5,该直播间的溜溜球游戏交互方法,包括以下步骤:Fig. 4 is a flow chart of a method for interacting a yo-yo game in a live room according to an exemplary embodiment, and Fig. 5 is an interaction effect diagram of a method for interacting with a yo-yo game in a live room according to an exemplary embodiment . With reference to Figure 4 and Figure 5, the yo-yo game interaction method in the live broadcast room includes the following steps:
在步骤S401中,在交互界面上展示第一终端设备、至少一个第二终端设备和第三终端设备分别设置的资源。In step S401, the resources respectively set by the first terminal device, the at least one second terminal device and the third terminal device are displayed on the interactive interface.
在该游戏中,主播和所有观众打开应用程序,从应用程序内进入交互界面,该交互界面上包括至少一个游戏头像的按键。然后,通过点击溜溜球头像的按键进入溜溜球游戏,或输入“溜溜球”的语音信息进入溜溜球游戏。主播和所有观众进入溜溜球界面之后,溜溜球界面会有溜溜球特效和入场提示等,在溜溜球游戏开始之前,主播通过自身的终端设置直播中对决的场次数量、每场对决的间隔时间等。主播和所有观众通过各自的终端设备进行设置资源如投注金额,该溜溜球游戏会设置最低和最高的资源限制如投注金额限制。In this game, the host and all the audience open the application program, and enter the interactive interface from the application program, and the interactive interface includes at least one button of the game avatar. Then, enter the yo-yo game by clicking the button of the yo-yo avatar, or enter the voice message of "yo-yo" to enter the yo-yo game. After the anchor and all the audience enter the yo-yo interface, the yo-yo interface will have yo-yo special effects and entry prompts, etc. Before the yo-yo game starts, the anchor will set the number of matches in the live broadcast and the interval time of each match through their own terminal. Wait. The anchor and all viewers set resources such as betting amount through their respective terminal devices, and the yo-yo game will set minimum and maximum resource limits such as betting amount limits.
在步骤S402中,响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹。其中,其中,第一终端设备的位姿变化具有向下加速度变化。In step S402, in response to the pose change of the first terminal device, the first motion trajectory of the first interactive element is displayed on the interactive interface. Wherein, the posture change of the first terminal device has a downward acceleration change.
在步骤S403中,接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹。In step S403, a second motion trajectory of the first interactive element from at least one second terminal device is received.
溜溜球游戏(活动)未开始时,主播和所有观众可以通过任意晃动一下各自的终端设备便可通过不同方向入场,如向左晃动、向右晃动、向上晃动或向下晃动终端设备,也可以通过手动点击溜溜球开始按钮入场,即代表溜溜球游戏开始。在溜溜球游戏开始之后,所有观众均参与溜溜球游戏,并大力将各自的终端设备向下甩出。观众的终端设备的重力感应器判断自身的位姿是否发生变化,并在位姿发生变化时,终端设备的交互界面上显示溜溜球线向下晃动(代表溜溜球弹出)的运动轨迹且可伴有进度条,如图5所示。When the yo-yo game (activity) has not started, the host and all the audience can enter the venue in different directions by shaking their respective terminal devices at will, such as shaking the terminal device to the left, right, up or down. You can enter the field by manually clicking the yo-yo start button, which means the yo-yo game starts. After the yo-yo game started, all the spectators participated in the yo-yo game and vigorously threw their terminal devices down. The gravity sensor of the audience's terminal device determines whether its own posture changes, and when the posture changes, the interactive interface of the terminal device displays the movement trajectory of the yo-yo line shaking downward (representing the yo-yo pop-up) and can be accompanied by There is a progress bar, as shown in Figure 5.
在步骤S404中,获取第一运动轨迹和第二运动轨迹的起始点和终止点。In step S404, the start point and the end point of the first motion track and the second motion track are acquired.
在该步骤中,获取溜溜球线未被甩出时的坐标点和停止甩出时的坐标点,分别作为起始点和终止点。In this step, the coordinate point when the yo-yo line is not thrown and the coordinate point when the yo-yo line stops being thrown are obtained as the starting point and the ending point, respectively.
在步骤S405中,基于起始点和终止点,确定多个轨迹距离,并得到多个轨迹距离的排序结果,其中多个轨迹距离分别与每一个终端设备对应。In step S405, multiple track distances are determined based on the start point and the end point, and a sorting result of the multiple track distances is obtained, wherein the multiple track distances correspond to each terminal device respectively.
在该步骤中,利用终止点对应的坐标减去起始点对应的坐标,分别得到第一运动轨迹和第二运动轨迹的两坐标点之间的多个轨迹距离,并将多个轨迹距离按照从大到小的方式进行排序,以得到排行榜,并在所有观众的交互界面上展示排行榜,以便所有观众了解自己的成绩。In this step, the coordinates corresponding to the starting point are subtracted from the coordinates corresponding to the end point to obtain multiple track distances between the two coordinate points of the first motion track and the second motion track, respectively, and the multiple track distances are calculated from Sort from big to small to get the leaderboard, and display the leaderboard on the interactive interface of all viewers, so that all viewers can understand their own performance.
需要说明的是,可以设置一个第二预设时间,在第二预设时间内,观众可以多次参与溜溜球游戏,例如,结合图5,在溜溜球弹出后,再向上晃动溜溜球(表示向上收起),并再次向下晃动溜溜球,以这样的方式刷新成绩,直至达到第二预设时间,截取当前排行榜前预设名次的观众,作为排序结果。It should be noted that a second preset time can be set. During the second preset time, the audience can participate in the yo-yo game for many times. up), and shake the yo-yo down again to refresh the score in this way until the second preset time is reached, and intercept the audiences who are in the preset ranking in front of the current leaderboard as the sorting result.
在步骤S406中,从排序结果中,选取目标终端设备,其中目标终端设备为排序结果中位于榜首的轨迹距离所对应的终端设备。In step S406, a target terminal device is selected from the ranking result, where the target terminal device is the terminal device corresponding to the track distance at the top of the ranking result.
在该步骤中,在得到排序结果之后,根据排序结果,从排序结果中选取位于榜首对应的终端设备,作为目标终端设备,这样便选取出了与主播进行交互的终端设备。也就是说,选取溜溜球扔的最远的观众作为与主播进行交互的交互对象,这样能够调动观众参与游戏的积极性。In this step, after the sorting result is obtained, according to the sorting result, the terminal device corresponding to the top of the list is selected from the sorting result as the target terminal device, so that the terminal device interacting with the host is selected. That is to say, the audience who has thrown the yo-yo farthest is selected as the interactive object to interact with the anchor, which can mobilize the enthusiasm of the audience to participate in the game.
在步骤S407中,分别获取第三终端设备的第六运动轨迹的距离和目标终端设备的第七运动轨迹的距离。In step S407, the distance of the sixth motion track of the third terminal device and the distance of the seventh motion track of the target terminal device are obtained respectively.
在该步骤中,在选取目标终端设备之后,主播可通过播晃一下自身的终端设备或手动点击一下自身终端设备的交互界面上溜溜球按键的方式,向观众发送提醒信息,如发送一个“XX被选为挑战者”的弹窗,此时,所有观众的终端设备的交互界面上出现该弹窗,用于提醒所有观众XX观众被选为了挑战者。In this step, after selecting the target terminal device, the host can send a reminder message to the audience by shaking its own terminal device or manually clicking the yo-yo button on the interactive interface of its own terminal device, such as sending a "XX" Selected as a challenger” pop-up window, at this time, this pop-up window appears on the interactive interface of all viewers’ terminal devices to remind all viewers that XX viewers are selected as challengers.
然后,挑战者和主播进入游戏,并向下甩出各自的终端设备,各自的终端设备分别获取向下甩出终端设备轨迹的距离,并发送给第一终端设备。Then, the challenger and the host enter the game, and throw down their respective terminal devices, and the respective terminal devices respectively obtain the distances of the trajectory of the terminal devices thrown downward, and send them to the first terminal device.
在步骤S408中,响应于第三终端设备的第六运动轨迹的距离大于目标终端设备的第七 运动轨迹的距离,在交互界面上展示第三终端设备胜利。In step S408, in response to the distance of the sixth movement track of the third terminal device being greater than the distance of the seventh movement track of the target terminal device, the third terminal device victory is displayed on the interactive interface.
在该步骤中,如果主播向下甩出自身的终端设备的第六运动轨迹的距离大于挑战者向下甩出自身的终端设备的第七运动轨迹的距离,则说明主播胜利,此时可主播和所有观众的终端设备的交互界面上展示主播胜利。In this step, if the distance of the sixth motion trajectory of the host's own terminal equipment thrown downward is greater than the distance of the seventh motion trajectory of the challenger's own terminal equipment, it means that the host wins, and the host can now Show the victory of the anchor on the interactive interface of the terminal devices of all viewers.
在步骤S409中,响应于第三终端设备胜利,在交互界面上展示第三终端设备向目标终端设备发送的目标终端设置资源的资源请求。In step S409, in response to the victory of the third terminal device, a resource request for setting resources of the target terminal sent by the third terminal device to the target terminal device is displayed on the interactive interface.
在该步骤中,如果主播胜利,则在主播和观众的交互界面上展示主播向挑战者发送的资源请求(该资源请求为挑战者在游戏前投注的金额)。也就是说,挑战站在溜溜球游戏失败后,需要向主播上缴挑战者在游戏前设置的资源(投注金额)。In this step, if the host wins, the resource request sent by the host to the challenger is displayed on the interactive interface between the host and the audience (the resource request is the amount bet by the challenger before the game). That is to say, after the challenge station fails the yo-yo game, it needs to hand over the resources (betting amount) set by the challenger before the game to the host.
在步骤S410中,响应于第三终端设备的第六运动轨迹的距离小于目标终端设备的第七运动轨迹的距离,在交互界面上展示目标终端设备胜利。In step S410, in response to the distance of the sixth movement trajectory of the third terminal device being smaller than the distance of the seventh movement trajectory of the target terminal device, the target terminal device is displayed as a victory on the interactive interface.
在该步骤中,如果主播向下甩出自身的终端设备的第六运动轨迹的距离小于挑战者向下甩出自身的终端设备的第七运动轨迹的距离,则说明挑战者胜利,此时可在主播和所有观众的交互界面上展示挑战者胜利。In this step, if the distance of the sixth motion trajectory of the host's own terminal equipment thrown downward is smaller than the distance of the seventh motion trajectory of the challenger's own terminal equipment thrown downward, it means that the challenger wins, and at this time, it is possible to Show Challenger wins on the interface between the streamer and all viewers.
在步骤S411中,响应于目标终端设备胜利,在交互界面上展示目标终端设备向向第三终端设备发送的第三终端设备设置资源的预设倍数的资源请求,其中,预设倍数大于1。In step S411, in response to the victory of the target terminal device, a resource request of the target terminal device to set a preset multiple of resources to the third terminal device sent to the third terminal device by the target terminal device is displayed on the interactive interface, wherein the preset multiple is greater than 1.
在该步骤中,如果挑战者胜利,则在主播和观众的交互界面上展示挑战者向主播发送的资源请求(该资源请求为挑战者在游戏前投注的金额)。也就是说,主播在溜溜球游戏失败后,需要向挑战者上缴主播在游戏前设置的资源(投注金额)的预设倍数(如可以为2倍),这样能够进一步地吸引观众参与该溜溜球游戏。In this step, if the challenger wins, the resource request sent by the challenger to the host is displayed on the interactive interface between the host and the audience (the resource request is the amount bet by the challenger before the game). That is to say, after the host fails the yo-yo game, he needs to hand over to the challenger a preset multiple of the resources (betting amount) set by the host before the game (for example, it can be 2 times), which can further attract the audience to participate in the yo-yo. game.
至此溜溜球游戏结束。在每场比赛结束后排行榜清零,主播和所有观众需重新投注,重新开始溜溜球游戏。This is the end of the yo-yo game. The leaderboard is cleared after each game, and the streamer and all spectators need to re-bet and start the yo-yo game again.
本公开实施例提供的直播间的溜溜球游戏交互方法,通过溜溜球游戏,增加了观众与主播的互动,能够留存住主播以及更吸引观众参与该溜溜球游戏,使得直播间的内容更饱满、更人性化,增强了连麦玩法的趣味性。The yo-yo game interaction method in the live broadcast room provided by the embodiment of the present disclosure increases the interaction between the audience and the host through the yo-yo game, can retain the host and more attract the audience to participate in the yo-yo game, so that the content of the live broadcast room is fuller and better. It is more humanized and enhances the fun of Lianmai gameplay.
图6是根据一示例性实施例示出的一种直播间的交互装置框图。参照图6,该直播间的交互装置60包括:响应模块61、接收模块62和选择模块63。Fig. 6 is a block diagram of an interaction device in a live room according to an exemplary embodiment. Referring to FIG. 6 , the interactive device 60 in the live room includes: a response module 61 , a receiving module 62 and a selection module 63 .
其中,响应模块61,被配置为响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹;Wherein, the response module 61 is configured to display the first motion trajectory of the first interactive element on the interactive interface in response to the pose change of the first terminal device;
接收模块62,被配置为接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹;a receiving module 62, configured to receive a second movement trajectory of the first interactive element from at least one second terminal device;
选择模块63,被配置为至少根据第一运动轨迹和至少一个第二运动轨迹,在第一终端设备和至少一个第二终端设备中,选择目标终端设备,其中目标终端设备用于与交互界面上第二交互元素对应的第三终端设备进行交互。The selection module 63 is configured to select a target terminal device from the first terminal device and the at least one second terminal device according to at least the first movement trajectory and the at least one second movement trajectory, wherein the target terminal device is used to interact with the interactive interface. The third terminal device corresponding to the second interaction element interacts.
在本公开实施例一种可能的实现方式中,第一终端设备的位姿变化具有前向加速度变化,接收模块62进一步被配置为接收来自第三终端设备的第一交互元素的第三运动轨迹;In a possible implementation manner of the embodiment of the present disclosure, the pose change of the first terminal device has a forward acceleration change, and the receiving module 62 is further configured to receive a third motion trajectory of the first interaction element from the third terminal device ;
其中,选择模块63,包括:Wherein, the selection module 63 includes:
第一获取单元,被配置为获取第一运动轨迹、至少一个第二运动轨迹和第三运动轨迹的起始点和终止点;a first acquiring unit, configured to acquire the start point and the end point of the first motion trajectory, at least one second motion trajectory and the third motion trajectory;
第一确定单元,被配置为基于起始点和终止点,确定多个轨迹距离,并得到多个轨迹距离的排序结果,其中多个轨迹距离分别与每一个终端设备对应;a first determining unit, configured to determine a plurality of trajectory distances based on the starting point and the end point, and obtain a sorting result of the plurality of trajectory distances, wherein the plurality of trajectory distances correspond to each terminal device respectively;
第一选择单元,被配置为基于排序结果,选择目标终端设备。The first selection unit is configured to select the target terminal device based on the sorting result.
在本公开实施例一种可能的实现方式中,第一选择单元,被配置为从排序结果中,选取目标终端设备,其中与目标终端设备对应的轨迹距离仅次于与第三终端设备对应的轨迹距离。In a possible implementation manner of the embodiment of the present disclosure, the first selection unit is configured to select a target terminal device from the sorting result, where the track distance corresponding to the target terminal device is second only to the track distance corresponding to the third terminal device track distance.
在本公开实施例一种可能的实现方式中,上述的直播间的交互装置,还包括:In a possible implementation manner of the embodiment of the present disclosure, the above-mentioned interactive device in the live broadcast room further includes:
累计模块,被配置为响应于第三终端设备的第六运动轨迹的距离小于目标终端设备的第七运动轨迹的距离,在交互界面上展示目标终端设备胜利;The accumulation module is configured to display the victory of the target terminal device on the interactive interface in response to the distance of the sixth movement trajectory of the third terminal device being less than the distance of the seventh movement trajectory of the target terminal device;
第一展示模块,被配置为响应于目标终端设备的第五运动轨迹的次数大于第三终端设备的第四运动轨迹的次数,在交互界面上展示目标终端设备胜利;或者,The first display module is configured to display the victory of the target terminal device on the interactive interface in response to the number of times of the fifth movement trajectory of the target terminal device being greater than the number of times of the fourth movement trajectory of the third terminal device; or,
第二展示模块,被配置为响应于目标终端设备的第五运动轨迹的次数小于第三终端设备的第四运动轨迹的次数,在交互界面上展示第三终端设备胜利。The second display module is configured to display the victory of the third terminal device on the interactive interface in response to the number of times of the fifth movement trajectory of the target terminal device being less than the number of times of the fourth movement trajectory of the third terminal device.
在本公开实施例一种可能的实现方式中,上述的直播间的交互装置,还包括:In a possible implementation manner of the embodiment of the present disclosure, the above-mentioned interactive device in the live broadcast room further includes:
第三展示模块,被配置为响应于交互界面上展示第三终端设备胜利,目标终端设备拒绝第三终端设备的请求,在交互界面上展示目标终端设备发送给目标终端设备的资源请求。The third display module is configured to, in response to displaying the victory of the third terminal device on the interactive interface, the target terminal device rejects the request of the third terminal device, and displays the resource request sent by the target terminal device to the target terminal device on the interactive interface.
在本公开实施例一种可能的实现方式中,第一终端设备的位姿变化具有向下加速度变化,选择模块63,包括:In a possible implementation manner of the embodiment of the present disclosure, the pose change of the first terminal device has a downward acceleration change, and the selection module 63 includes:
第二获取单元,被配置为获取第一运动轨迹和至少一个第二运动轨迹的起始点和终止点;a second acquisition unit, configured to acquire the start point and the end point of the first motion trajectory and the at least one second motion trajectory;
第二确定单元,被配置为基于起始点和终止点,确定多个轨迹距离,并得到多个轨迹距离的排序结果,其中多个轨迹距离分别与每一个终端设备对应;The second determination unit is configured to determine a plurality of trajectory distances based on the starting point and the end point, and obtain a sorting result of the plurality of trajectory distances, wherein the plurality of trajectory distances correspond to each terminal device respectively;
第二选择单元,被配置为从排序结果中,选择目标终端设备,其中目标终端设备为排序结果中位于榜首的轨迹距离所对应的终端设备。The second selection unit is configured to select a target terminal device from the ranking result, where the target terminal device is the terminal device corresponding to the track distance at the top of the ranking result.
在本公开实施例一种可能的实现方式中,上述的直播间的交互装置,还包括:In a possible implementation manner of the embodiment of the present disclosure, the above-mentioned interactive device in the live broadcast room further includes:
获取模块,被配置为分别获取第三终端设备的第六运动轨迹的距离和目标终端设备的第七运动轨迹的距离;an obtaining module, configured to obtain the distance of the sixth motion track of the third terminal device and the distance of the seventh motion track of the target terminal device respectively;
第四展示模块,被配置为响应于第三终端设备的第六运动轨迹的距离大于目标终端设备的第七运动轨迹的距离,在交互界面上展示第三终端设备胜利;或者,The fourth display module is configured to display the victory of the third terminal device on the interactive interface in response to the distance of the sixth movement trajectory of the third terminal device being greater than the distance of the seventh movement trajectory of the target terminal device; or,
第五展示模块,被配置为响应于第三终端设备的第六运动轨迹的距离小于目标终端设备的第七运动轨迹的距离,在交互界面上展示目标终端设备胜利。The fifth display module is configured to display the victory of the target terminal device on the interactive interface in response to the distance of the sixth movement trajectory of the third terminal device being smaller than the distance of the seventh movement trajectory of the target terminal device.
在本公开实施例一种可能的实现方式中,上述的直播间的交互装置,还包括:In a possible implementation manner of the embodiment of the present disclosure, the above-mentioned interactive device in the live broadcast room further includes:
第六展示模块,被配置为在交互界面上展示第一终端设备、至少一个第二终端设备和第三终端设备分别设置的资源。The sixth display module is configured to display the resources respectively set by the first terminal device, the at least one second terminal device and the third terminal device on the interactive interface.
在本公开实施例一种可能的实现方式中,上述的直播间的交互装置,还包括:In a possible implementation manner of the embodiment of the present disclosure, the above-mentioned interactive device in the live broadcast room further includes:
第七展示模块,被配置为响应于第三终端设备胜利,在交互界面上展示第三终端设备向目标终端设备发送的目标终端设置资源的资源请求;或者,A seventh display module, configured to display, on the interactive interface, a resource request for setting resources of the target terminal sent by the third terminal device to the target terminal device in response to the victory of the third terminal device; or,
第八展示模块,被配置为响应于目标终端设备胜利,在交互界面上展示目标终端设备向第三终端设备发送的第三终端设备设置资源的预设倍数的资源请求,其中,预设倍数大于1。The eighth display module is configured to, in response to the victory of the target terminal device, display on the interactive interface the resource request of the preset multiple of the resource set by the third terminal device sent by the target terminal device to the third terminal device, wherein the preset multiple is greater than 1.
在实际使用时,本公开实施例提供的直播间的交互装置,可以被配置在电子设备中,以执行前述视频的直播间的交互方法。因此,关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。In actual use, the interaction apparatus in the live room provided by the embodiment of the present disclosure may be configured in an electronic device to execute the aforementioned interaction method in the live room of the video. Therefore, with regard to the apparatus in the above-mentioned embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments of the method, and will not be described in detail here.
本公开的实施例提供的直播间的交互装置,通过响应模块响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹,通过接收模块接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹,通过选择模块至少根据第一运动轨迹和至少一个第二运动轨迹,在第一终端设备和至少一个第二终端设备中,选择目标终端设备,其中目标终端设备用于与交互界面上第二交互元素对应的第三终端设备进行交互。由此,通过本公开的交互装置,能够使得直播间的内容更饱满、更人性化,增强直播间互动的趣味性。其中,通过钓鱼游戏,增加了观众与主播的互动,能够留存住主播,使得直播间的内容更饱满、更人性化,增强了连麦玩法的趣味性;通过溜溜球游戏,增加了观众与主播 的互动,能够留存住主播以及更吸引观众参与该溜溜球游戏,使得直播间的内容更饱满、更人性化,增强了连麦玩法的趣味性。In the interactive device of the live broadcast room provided by the embodiment of the present disclosure, the response module responds to the pose change of the first terminal device, displays the first motion trajectory of the first interactive element on the interactive interface, and receives the information from at least one first interactive element through the receiving module. For the second movement trajectory of the first interaction element of the two terminal devices, the selection module selects the target terminal device from the first terminal device and the at least one second terminal device according to at least the first movement trajectory and the at least one second movement trajectory, The target terminal device is used for interacting with the third terminal device corresponding to the second interaction element on the interaction interface. Therefore, through the interaction device of the present disclosure, the content of the live broadcast room can be made fuller and more humanized, and the interestingness of the interaction in the live broadcast room can be enhanced. Among them, through the fishing game, the interaction between the audience and the anchor is increased, the anchor can be retained, the content of the live broadcast room is fuller and more humanized, and the fun of Lianmai gameplay is enhanced; through the yo-yo game, the audience and the anchor are increased. The interaction can retain the anchor and attract more audiences to participate in the yo-yo game, making the content of the live broadcast room fuller and more humane, and enhancing the fun of Lianmai gameplay.
为了实现上述实施例,本公开还提出了一种电子设备。In order to realize the above embodiments, the present disclosure also proposes an electronic device.
其中,该电子设备包括处理器和用于存储处理器可执行指令的存储器;其中,处理器被配置为执行指令,以实现以下步骤:Wherein, the electronic device includes a processor and a memory for storing instructions executable by the processor; wherein, the processor is configured to execute the instructions to implement the following steps:
响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹;In response to the pose change of the first terminal device, displaying the first motion trajectory of the first interactive element on the interactive interface;
接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹;receiving a second motion trajectory of the first interactive element from at least one second terminal device;
至少根据第一运动轨迹和至少一个第二运动轨迹,在第一终端设备和至少一个第二终端设备中,选择目标终端设备,其中目标终端设备用于与交互界面上第二交互元素对应的第三终端设备进行交互。According to at least the first motion trajectory and the at least one second motion trajectory, a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used for the first terminal device corresponding to the second interactive element on the interactive interface. Three terminal devices interact.
为了实现上述实施例,本公开还提出了一种计算机可读存储介质。In order to implement the above embodiments, the present disclosure also proposes a computer-readable storage medium.
其中,当存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行以下步骤:Wherein, when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can perform the following steps:
响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹;In response to the pose change of the first terminal device, displaying the first motion trajectory of the first interactive element on the interactive interface;
接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹;receiving a second motion trajectory of the first interactive element from at least one second terminal device;
至少根据第一运动轨迹和至少一个第二运动轨迹,在第一终端设备和至少一个第二终端设备中,选择目标终端设备,其中目标终端设备用于与交互界面上第二交互元素对应的第三终端设备进行交互。According to at least the first motion trajectory and the at least one second motion trajectory, a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used for the first terminal device corresponding to the second interactive element on the interactive interface. Three terminal devices interact.
为了实现上述实施例,本公开还提供一种计算机程序产品。In order to implement the above embodiments, the present disclosure also provides a computer program product.
其中,该计算机程序由电子设备的处理器执行时,使得电子设备能够执行以下步骤:Wherein, when the computer program is executed by the processor of the electronic device, the electronic device can perform the following steps:
响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹;In response to the pose change of the first terminal device, displaying the first motion trajectory of the first interactive element on the interactive interface;
接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹;receiving a second motion trajectory of the first interactive element from at least one second terminal device;
至少根据第一运动轨迹和至少一个第二运动轨迹,在第一终端设备和至少一个第二终端设备中,选择目标终端设备,其中目标终端设备用于与交互界面上第二交互元素对应的第三终端设备进行交互。According to at least the first motion trajectory and the at least one second motion trajectory, a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used for the first terminal device corresponding to the second interactive element on the interactive interface. Three terminal devices interact.
本公开所有实施例均可以单独被执行,也可以与其他实施例相结合被执行,均视为本公开要求的保护范围。All the embodiments of the present disclosure can be implemented independently or in combination with other embodiments, which are all regarded as the protection scope required by the present disclosure.
图7是根据一示例性实施例示出的一种电子设备框图。图7示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Fig. 7 is a block diagram of an electronic device according to an exemplary embodiment. The electronic device shown in FIG. 7 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
如图7所示,电子设备70包括处理器71,其可以根据存储在只读存储器(ROM,Read Only Memory)72中的程序或者从存储器76加载到随机访问存储器(RAM,Random Access Memory)73中的程序而执行各种适当的动作和处理。在RAM 73中,还存储有电子设备70操作所需的各种程序和数据。处理器71、ROM 72以及RAM 73通过总线74彼此相连。输入/输出(I/O,Input/Output)接口75也连接至总线74。As shown in FIG. 7 , the electronic device 70 includes a processor 71 which can be loaded into a random access memory (RAM, Random Access Memory) 73 according to a program stored in a read only memory (ROM, Read Only Memory) 72 or from a memory 76 to execute various appropriate actions and processes. In the RAM 73, various programs and data necessary for the operation of the electronic device 70 are also stored. The processor 71, the ROM 72, and the RAM 73 are connected to each other through a bus 74. An input/output (I/O, Input/Output) interface 75 is also connected to the bus 74 .
以下部件连接至I/O接口75:包括硬盘等的存储器76;以及包括诸如LAN(局域网,Local Area Network)卡、调制解调器等的网络接口卡的通信部分77,通信部分77经由诸如因特网的网络执行通信处理;驱动器78也根据需要连接至I/O接口75。The following components are connected to the I/O interface 75: a memory 76 including a hard disk and the like; and a communication section 77 including a network interface card such as a LAN (Local Area Network) card, a modem, etc., which is executed via a network such as the Internet Communication processing; a driver 78 is also connected to the I/O interface 75 as required.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分77从网络上被下载和安装。在该计算机程序被处理器71执行时,执行本公开的方法中限定的上述功能。In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods illustrated in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from the network through the communication section 77 . When this computer program is executed by the processor 71, the above-described functions defined in the method of the present disclosure are performed.
在示例性实施例中,还提供了一种包括指令的存储介质,例如包括指令的存储器,上述指令可由电子设备70的处理器71执行以完成上述方法。可选地,存储介质可以是非临时性计算机可读存储介质,例如,所述非临时性计算机可读存储介质可以是ROM、随机存 取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a storage medium including instructions, such as a memory including instructions, is also provided, and the above-mentioned instructions can be executed by the processor 71 of the electronic device 70 to complete the above-mentioned method. Alternatively, the storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage equipment, etc.
在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common general knowledge or techniques in the technical field not disclosed by this disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (20)

  1. 一种直播间的交互方法,应用于第一终端设备,其特征在于,包括:An interaction method in a live broadcast room, applied to a first terminal device, is characterized in that, comprising:
    响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹;In response to the pose change of the first terminal device, displaying the first motion trajectory of the first interactive element on the interactive interface;
    接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹;receiving a second motion trajectory of the first interactive element from at least one second terminal device;
    至少根据所述第一运动轨迹和至少一个所述第二运动轨迹,在所述第一终端设备和至少一个所述第二终端设备中,选择目标终端设备,其中所述目标终端设备用于与所述交互界面上第二交互元素对应的第三终端设备进行交互。According to at least the first motion track and at least one of the second motion tracks, a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used to communicate with The third terminal device corresponding to the second interactive element on the interactive interface interacts.
  2. 根据权利要求1所述的直播间的交互方法,其特征在于,所述第一终端设备的位姿变化具有前向加速度变化,所述方法进一步包括:The interactive method of the live broadcast room according to claim 1, wherein the change of the pose of the first terminal device has a forward acceleration change, and the method further comprises:
    接收来自所述第三终端设备的第一交互元素的第三运动轨迹;receiving a third motion trajectory of the first interactive element from the third terminal device;
    其中,所述至少根据所述第一运动轨迹和至少一个所述第二运动轨迹,在所述第一终端设备和至少一个所述第二终端设备中,选择目标终端设备,包括:Wherein, selecting a target terminal device from the first terminal device and at least one of the second terminal devices according to at least the first motion trajectory and at least one of the second motion trajectories includes:
    获取所述第一运动轨迹、至少一个所述第二运动轨迹和所述第三运动轨迹的起始点和终止点;acquiring the start point and the end point of the first motion trajectory, at least one of the second motion trajectory and the third motion trajectory;
    基于所述起始点和所述终止点,确定多个轨迹距离,并得到所述多个轨迹距离的排序结果,其中所述多个轨迹距离分别与每一个终端设备对应;Based on the start point and the end point, determine multiple track distances, and obtain a sorting result of the multiple track distances, wherein the multiple track distances correspond to each terminal device respectively;
    基于所述排序结果,选择所述目标终端设备。Based on the sorting result, the target terminal device is selected.
  3. 根据权利要求2所述的直播间的交互方法,其特征在于,所述基于所述排序结果,选择所述目标终端设备,包括:The interactive method for live broadcast rooms according to claim 2, wherein the selecting the target terminal device based on the sorting result comprises:
    从所述排序结果中,选取所述目标终端设备,其中与所述目标终端设备对应的轨迹距离仅次于与所述第三终端设备对应的轨迹距离。From the sorting result, the target terminal device is selected, wherein the track distance corresponding to the target terminal device is second only to the track distance corresponding to the third terminal device.
  4. 根据权利要求1-3中任一项所述的直播间的交互方法,其特征在于,所述方法还包括:The interactive method for a live broadcast room according to any one of claims 1-3, wherein the method further comprises:
    分别累计第一预设时间内所述第三终端设备的第四运动轨迹的次数和所述目标终端设备的第五运动轨迹的次数;respectively accumulating the number of times of the fourth motion track of the third terminal device and the number of times of the fifth motion track of the target terminal device within the first preset time;
    响应于所述目标终端设备的第五运动轨迹的次数大于所述第三终端设备的第四运动轨迹的次数,在所述交互界面上展示所述目标终端设备胜利;或者,In response to the number of times of the fifth motion trajectory of the target terminal device being greater than the number of times of the fourth motion trajectory of the third terminal device, displaying the victory of the target terminal device on the interactive interface; or,
    响应于所述目标终端设备的第五运动轨迹的次数小于所述第三终端设备的第四运动轨迹的次数,在所述交互界面上展示所述第三终端设备胜利。In response to the number of times of the fifth motion trajectory of the target terminal device being less than the number of times of the fourth motion trajectory of the third terminal device, displaying the victory of the third terminal device on the interactive interface.
  5. 根据权利要求1-4中任一项所述的直播间的交互方法,其特征在于,所述方法还包括:The interactive method for a live broadcast room according to any one of claims 1-4, wherein the method further comprises:
    响应于所述第三终端设备胜利,且所述目标终端设备拒绝所述第三终端设备的请求,在所述交互界面上展示所述第三终端设备发送给所述目标终端设备的资源请求。In response to the victory of the third terminal device and the target terminal device rejecting the request of the third terminal device, the resource request sent by the third terminal device to the target terminal device is displayed on the interactive interface.
  6. 根据权利要求1所述的直播间的交互方法,其特征在于,所述第一终端设备的位姿变化具有向下加速度变化,所述至少根据所述第一运动轨迹和至少一个所述第二运动轨迹,在所述第一终端设备和至少一个所述第二终端设备中,选择目标终端设备,包括:The interactive method for a live broadcast room according to claim 1, wherein the change of the pose of the first terminal device has a downward acceleration change, and the change of the pose of the first terminal device is based on at least the first motion trajectory and at least one of the second The motion trajectory, in the first terminal device and at least one of the second terminal devices, selecting a target terminal device, including:
    获取所述第一运动轨迹和所述第二运动轨迹的起始点和终止点;Obtain the start point and the end point of the first motion trajectory and the second motion trajectory;
    基于所述起始点和所述终止点,确定多个轨迹距离,并得到所述多个轨迹距离的排序结果,其中所述多个轨迹距离分别与每一个终端设备对应;Based on the start point and the end point, determine multiple track distances, and obtain a sorting result of the multiple track distances, wherein the multiple track distances correspond to each terminal device respectively;
    从所述排序结果中,选择所述目标终端设备,其中所述目标终端设备为所述排序结果 中位于榜首的轨迹距离所对应的终端设备。From the sorting result, the target terminal device is selected, wherein the target terminal device is the terminal device corresponding to the track distance at the top of the ranking result.
  7. 根据权利要求6所述的直播间的交互方法,其特征在于,所述方法还包括:The interactive method of the live broadcast room according to claim 6, wherein the method further comprises:
    分别获取所述第三终端设备的第六运动轨迹的距离和所述目标终端设备的第七运动轨迹的距离;respectively acquiring the distance of the sixth motion track of the third terminal device and the distance of the seventh motion track of the target terminal device;
    响应于所述第三终端设备的第六运动轨迹的距离大于所述目标终端设备的第七运动轨迹的距离,在所述交互界面上展示所述第三终端设备胜利;或者,In response to the distance of the sixth movement trajectory of the third terminal device being greater than the distance of the seventh movement trajectory of the target terminal device, displaying the victory of the third terminal device on the interactive interface; or,
    响应于所述第三终端设备的第六运动轨迹的距离小于所述目标终端设备的第七运动轨迹的距离,在所述交互界面上展示所述目标终端设备胜利。In response to the distance of the sixth motion trajectory of the third terminal device being smaller than the distance of the seventh motion trajectory of the target terminal device, displaying the victory of the target terminal device on the interactive interface.
  8. 根据权利要求1所述的直播间的交互方法,其特征在于,所述方法还包括:The interactive method of the live broadcast room according to claim 1, wherein the method further comprises:
    在交互界面上展示所述第一终端设备、至少一个所述第二终端设备和所述第三终端设备分别设置的资源。The resources respectively set by the first terminal device, at least one of the second terminal device and the third terminal device are displayed on the interactive interface.
  9. 根据权利要求8所述的直播间的交互方法,其特征在于,所述方法还包括:The interactive method of the live broadcast room according to claim 8, wherein the method further comprises:
    响应于所述第三终端设备胜利,在所述交互界面上展示所述第三终端设备向所述目标终端设备发送的目标终端设置资源的资源请求;或者,In response to the victory of the third terminal device, displaying on the interactive interface the resource request for setting resources of the target terminal sent by the third terminal device to the target terminal device; or,
    响应于所述目标终端设备胜利,在所述交互界面上展示所述目标终端设备向所述第三终端设备发送的第三终端设备设置资源的预设倍数的资源请求,其中,所述预设倍数大于1。In response to the victory of the target terminal device, displaying on the interactive interface a resource request sent by the target terminal device to the third terminal device for a preset multiple of the resource set by the third terminal device, wherein the preset The multiple is greater than 1.
  10. 一种直播间的交互装置,应用于第一终端设备,其特征在于,包括:An interactive device for a live broadcast room, applied to a first terminal device, characterized in that it includes:
    响应模块,被配置为响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹;a response module, configured to display the first motion trajectory of the first interactive element on the interactive interface in response to the pose change of the first terminal device;
    接收模块,被配置为接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹;a receiving module configured to receive a second motion trajectory of the first interactive element from at least one second terminal device;
    选择模块,被配置为至少根据所述第一运动轨迹和至少一个所述第二运动轨迹,在所述第一终端设备和至少一个所述第二终端设备中,选择目标终端设备,其中所述目标终端设备用于与所述交互界面上第二交互元素对应的第三终端设备进行交互。a selection module, configured to select a target terminal device from among the first terminal device and at least one of the second terminal devices according to at least the first movement trajectory and at least one of the second movement trajectory, wherein the The target terminal device is configured to interact with the third terminal device corresponding to the second interaction element on the interaction interface.
  11. 根据权利要求10所述的直播间的交互装置,其特征在于,所述第一终端设备的位姿变化具有前向加速度变化,所述接收模块进一步被配置为接收来自第三终端设备的第一交互元素的第三运动轨迹;The interactive apparatus of the live broadcast room according to claim 10, wherein the change of the pose of the first terminal device has a forward acceleration change, and the receiving module is further configured to receive the first terminal device from the third terminal device. the third motion trajectory of the interactive element;
    其中,所述选择模块,包括:Wherein, the selection module includes:
    第一获取单元,被配置为获取所述第一运动轨迹、至少一个所述第二运动轨迹和所述第三运动轨迹的起始点和终止点;a first acquiring unit, configured to acquire the start point and the end point of the first motion trajectory, at least one of the second motion trajectory and the third motion trajectory;
    第一确定单元,被配置为基于所述起始点和所述终止点,确定多个轨迹距离,并得到所述多个轨迹距离的排序结果,其中所述多个轨迹距离分别与每一个终端设备对应;The first determining unit is configured to determine multiple track distances based on the starting point and the ending point, and obtain a sorting result of the multiple track distances, wherein the multiple track distances are respectively associated with each terminal device correspond;
    第一选择单元,被配置为基于所述排序结果,选择所述目标终端设备。The first selection unit is configured to select the target terminal device based on the sorting result.
  12. 根据权利要求11所述的直播间的交互装置,其特征在于,所述第一选择单元,被配置为从所述排序结果中,选取所述目标终端设备,其中与所述目标终端设备对应的轨迹距离仅次于与所述第三终端设备对应的轨迹距离。The interaction apparatus of a live broadcast room according to claim 11, wherein the first selection unit is configured to select the target terminal equipment from the sorting results, wherein the target terminal equipment corresponds to the target terminal equipment. The track distance is second only to the track distance corresponding to the third terminal device.
  13. 根据权利要求10-12中任一项所述的直播间的交互装置,其特征在于,所述装置还包括:The interactive device for a live broadcast room according to any one of claims 10-12, wherein the device further comprises:
    累计模块,被配置为响应于所述第三终端设备的第六运动轨迹的距离小于所述目标终 端设备的第七运动轨迹的距离,在所述交互界面上展示所述目标终端设备胜利;an accumulation module, configured to display the victory of the target terminal device on the interactive interface in response to the distance of the sixth motion track of the third terminal device being less than the distance of the seventh motion track of the target terminal device;
    第一展示模块,被配置为响应于所述目标终端设备的第五运动轨迹的次数大于所述第三终端设备的第四运动轨迹的次数,在所述交互界面上展示所述目标终端设备胜利;或者,a first display module, configured to display the victory of the target terminal device on the interactive interface in response to the number of times of the fifth movement trajectory of the target terminal device being greater than the number of times of the fourth movement trajectory of the third terminal device ;or,
    第二展示模块,被配置为响应于所述目标终端设备的第五运动轨迹的次数小于所述第三终端设备的第四运动轨迹的次数,在所述交互界面上展示所述第三终端设备胜利。The second display module is configured to display the third terminal device on the interactive interface in response to the number of times of the fifth movement trajectory of the target terminal device being less than the number of times of the fourth movement trajectory of the third terminal device victory.
  14. 根据权利要求10-13中任一项所述的直播间的交互装置,其特征在于,所述装置还包括:The interactive device for a live broadcast room according to any one of claims 10-13, wherein the device further comprises:
    第三展示模块,被配置为响应于所述交互界面上展示所述第三终端设备胜利,所述目标终端设备拒绝所述第三终端设备的请求,在所述交互界面上展示所述目标终端设备发送给所述目标终端设备的资源请求。A third display module, configured to display the target terminal on the interactive interface in response to displaying the victory of the third terminal device on the interactive interface, the target terminal device rejecting the request of the third terminal device, and displaying the target terminal on the interactive interface The resource request sent by the device to the target terminal device.
  15. 根据权利要求10所述的直播间的交互装置,其特征在于,所述第一终端设备的位姿变化具有向下加速度变化,所述选择模块,包括:The interactive device of the live broadcast room according to claim 10, wherein the change of the pose of the first terminal device has a downward acceleration change, and the selection module comprises:
    第二获取单元,被配置为获取所述第一运动轨迹和至少一个所述第二运动轨迹的起始点和终止点;a second acquiring unit, configured to acquire the start point and the end point of the first motion track and at least one of the second motion tracks;
    第二确定单元,被配置为基于所述起始点和所述终止点,确定多个轨迹距离,并得到所述多个轨迹距离的排序结果,其中所述多个轨迹距离分别与每一个终端设备对应;The second determining unit is configured to determine multiple track distances based on the starting point and the ending point, and obtain a sorting result of the multiple track distances, wherein the multiple track distances are respectively associated with each terminal device correspond;
    第二选择单元,被配置为从所述排序结果中,选择所述目标终端设备,其中所述目标终端设备为所述排序结果中位于榜首的轨迹距离所对应的终端设备。The second selection unit is configured to select the target terminal device from the sorting result, wherein the target terminal device is the terminal device corresponding to the track distance at the top of the ranking result.
  16. 根据权利要求15所述的直播间的交互装置,其特征在于,所述装置还包括:The interactive device of the live broadcast room according to claim 15, wherein the device further comprises:
    获取模块,被配置为分别获取所述第三终端设备的第六运动轨迹的距离和所述目标终端设备的第七运动轨迹的距离;an obtaining module, configured to obtain the distance of the sixth motion track of the third terminal device and the distance of the seventh motion track of the target terminal device respectively;
    第四展示模块,被配置为响应于所述第三终端设备的第六运动轨迹的距离大于所述目标终端设备的第七运动轨迹的距离,在所述交互界面上展示所述第三终端设备胜利;或者,a fourth display module, configured to display the third terminal device on the interactive interface in response to the distance of the sixth movement trajectory of the third terminal device being greater than the distance of the seventh movement trajectory of the target terminal device victory; or,
    第五展示模块,被配置为响应于所述第三终端设备的第六运动轨迹的距离小于所述目标终端设备的第七运动轨迹的距离,在所述交互界面上展示所述目标终端设备胜利。a fifth display module, configured to display the victory of the target terminal device on the interactive interface in response to the distance of the sixth movement trajectory of the third terminal device being less than the distance of the seventh movement trajectory of the target terminal device .
  17. 根据权利要求10所述的直播间的交互装置,其特征在于,所述装置还包括:The interactive device of the live broadcast room according to claim 10, wherein the device further comprises:
    第六展示模块,被配置为在交互界面上展示所述第一终端设备、至少一个所述第二终端设备和所述第三终端设备分别设置的资源。The sixth display module is configured to display the resources respectively set by the first terminal device, at least one of the second terminal device and the third terminal device on the interactive interface.
  18. 根据权利要求17所述的直播间的交互装置,其特征在于,所述装置还包括:The interactive device of the live broadcast room according to claim 17, wherein the device further comprises:
    第七展示模块,被配置为响应于所述第三终端设备胜利,在所述交互界面上展示所述第三终端设备向所述目标终端设备发送的目标终端设置资源的资源请求;或者,a seventh presentation module, configured to, in response to the victory of the third terminal device, display on the interactive interface the resource request for setting resources of the target terminal sent by the third terminal device to the target terminal device; or,
    第八展示模块,被配置为响应于所述目标终端设备胜利,在所述交互界面上展示所述目标终端设备向所述第三终端设备发送的第三终端设备设置资源的预设倍数的资源请求,其中,所述预设倍数大于1。an eighth presentation module, configured to, in response to the victory of the target terminal device, display on the interactive interface the resource of the preset multiple of the resource set by the third terminal device sent by the target terminal device to the third terminal device request, wherein the preset multiple is greater than 1.
  19. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    处理器;processor;
    用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;
    其中,所述处理器被配置为执行所述指令,以实现以下步骤:wherein the processor is configured to execute the instructions to implement the following steps:
    响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹;In response to the pose change of the first terminal device, displaying the first motion trajectory of the first interactive element on the interactive interface;
    接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹;receiving a second motion trajectory of the first interactive element from at least one second terminal device;
    至少根据所述第一运动轨迹和至少一个所述第二运动轨迹,在所述第一终端设备和至少一个所述第二终端设备中,选择目标终端设备,其中所述目标终端设备用于与所述交互界面上第二交互元素对应的第三终端设备进行交互。According to at least the first motion track and at least one of the second motion tracks, in the first terminal device and at least one of the second terminal devices, a target terminal device is selected, wherein the target terminal device is used to communicate with The third terminal device corresponding to the second interactive element on the interactive interface interacts.
  20. 一种计算机可读存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行以下步骤:A computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can perform the following steps:
    响应于第一终端设备的位姿变化,在交互界面上展示第一交互元素的第一运动轨迹;In response to the pose change of the first terminal device, displaying the first motion trajectory of the first interactive element on the interactive interface;
    接收来自至少一个第二终端设备的第一交互元素的第二运动轨迹;receiving a second motion trajectory of the first interactive element from at least one second terminal device;
    至少根据所述第一运动轨迹和至少一个所述第二运动轨迹,在所述第一终端设备和至少一个所述第二终端设备中,选择目标终端设备,其中所述目标终端设备用于与所述交互界面上第二交互元素对应的第三终端设备进行交互。According to at least the first motion track and at least one of the second motion tracks, a target terminal device is selected from the first terminal device and the at least one second terminal device, wherein the target terminal device is used to communicate with The third terminal device corresponding to the second interactive element on the interactive interface interacts.
PCT/CN2021/127288 2021-03-22 2021-10-29 Livestreaming room interaction method and interaction apparatus WO2022199023A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110304021.2 2021-03-22
CN202110304021.2A CN113194321B (en) 2021-03-22 2021-03-22 Interaction method and interaction device for live broadcast room, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022199023A1 true WO2022199023A1 (en) 2022-09-29

Family

ID=76973591

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/127288 WO2022199023A1 (en) 2021-03-22 2021-10-29 Livestreaming room interaction method and interaction apparatus

Country Status (2)

Country Link
CN (1) CN113194321B (en)
WO (1) WO2022199023A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113194321B (en) * 2021-03-22 2023-02-17 北京达佳互联信息技术有限公司 Interaction method and interaction device for live broadcast room, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108024134A (en) * 2017-11-08 2018-05-11 北京密境和风科技有限公司 It is a kind of based on live data analysing method, device and terminal device
US10786742B1 (en) * 2017-04-19 2020-09-29 John D Mullikin Broadcast synchronized interactive system
CN111836069A (en) * 2020-07-28 2020-10-27 北京达佳互联信息技术有限公司 Virtual gift presenting method, device, terminal, server and storage medium
CN111866535A (en) * 2020-07-24 2020-10-30 北京达佳互联信息技术有限公司 Live somatosensory item interaction method, device, equipment and storage medium
CN112076472A (en) * 2020-09-06 2020-12-15 北京字节跳动网络技术有限公司 Game system, method, device, computer equipment and storage medium
CN112312144A (en) * 2019-07-31 2021-02-02 腾讯科技(深圳)有限公司 Live broadcast method, device, equipment and storage medium
CN113194321A (en) * 2021-03-22 2021-07-30 北京达佳互联信息技术有限公司 Interaction method and interaction device for live broadcast room, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060237A (en) * 2016-05-09 2016-10-26 北京小米移动软件有限公司 Screen unlocking method, device and apparatus
CN106598220A (en) * 2016-11-17 2017-04-26 上海摩软通讯技术有限公司 Terminal interaction method and device
CN111405304B (en) * 2020-03-10 2021-11-02 腾讯科技(深圳)有限公司 Anchor interaction method and device, computer equipment and storage medium
CN111432266A (en) * 2020-03-31 2020-07-17 北京达佳互联信息技术有限公司 Interactive information display method, device, terminal and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10786742B1 (en) * 2017-04-19 2020-09-29 John D Mullikin Broadcast synchronized interactive system
CN108024134A (en) * 2017-11-08 2018-05-11 北京密境和风科技有限公司 It is a kind of based on live data analysing method, device and terminal device
CN112312144A (en) * 2019-07-31 2021-02-02 腾讯科技(深圳)有限公司 Live broadcast method, device, equipment and storage medium
CN111866535A (en) * 2020-07-24 2020-10-30 北京达佳互联信息技术有限公司 Live somatosensory item interaction method, device, equipment and storage medium
CN111836069A (en) * 2020-07-28 2020-10-27 北京达佳互联信息技术有限公司 Virtual gift presenting method, device, terminal, server and storage medium
CN112076472A (en) * 2020-09-06 2020-12-15 北京字节跳动网络技术有限公司 Game system, method, device, computer equipment and storage medium
CN113194321A (en) * 2021-03-22 2021-07-30 北京达佳互联信息技术有限公司 Interaction method and interaction device for live broadcast room, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113194321B (en) 2023-02-17
CN113194321A (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN108900920B (en) Live broadcast processing method, device, equipment and storage medium
CN108616761B (en) Multi-person video interaction method, device, system, storage medium and computer equipment
US10166473B2 (en) System and method to provide augmented reality and remote gameplay for traditional trading card games
CN104540033B (en) Program main broadcaster display methods and device
US9044680B2 (en) Low-friction synchronous interaction in multiplayer online game
CN108833936B (en) Live broadcast room information pushing method, device, server and medium
CN113411624B (en) Game live broadcast interaction method and device, electronic equipment and storage medium
CN107096221A (en) System and method for providing time shift intelligent synchronization game video
US20180181976A1 (en) Computer system for performing display control for advertisement
CN110287399A (en) Live information processing method, device, electronic equipment and storage medium
WO2022199023A1 (en) Livestreaming room interaction method and interaction apparatus
CN113490004A (en) Live broadcast interaction method and related device
CN103405911A (en) Method and system for prompting mahjong draws
CN112926957A (en) Interaction method and device based on electronic certificate and electronic equipment
CN111950670A (en) Virtual interaction task execution method and device, storage medium and electronic device
WO2022205901A1 (en) Live interaction processing method and device
KR102384182B1 (en) Method, apparatus and computer program for providing bidirectional interaction broadcasting service with viewer participation
CN111013139B (en) Role interaction method, system, medium and electronic equipment
JP2019042296A (en) Game program, method, and information processing device
JP6581236B1 (en) GAME PROGRAM, METHOD, AND INFORMATION PROCESSING DEVICE
CN115155068A (en) Method and device for acquiring virtual resources of game and electronic equipment
JP2014239727A (en) Server device for game user, control method thereof and computer program to be used in the same
CN109005209B (en) Game activity display method and device and server
JP2019198727A (en) Game program, method, and information processing device
CN110384931A (en) A kind of polygonal color interactive approach, device, medium and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21932631

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19/01/2024)