CN113377266A - Live broadcast room switching method and device, terminal equipment and storage medium - Google Patents
Live broadcast room switching method and device, terminal equipment and storage medium Download PDFInfo
- Publication number
- CN113377266A CN113377266A CN202110793050.XA CN202110793050A CN113377266A CN 113377266 A CN113377266 A CN 113377266A CN 202110793050 A CN202110793050 A CN 202110793050A CN 113377266 A CN113377266 A CN 113377266A
- Authority
- CN
- China
- Prior art keywords
- live broadcast
- broadcast room
- live
- switching
- adjustment operation
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000003860 storage Methods 0.000 title claims abstract description 9
- 238000004590 computer program Methods 0.000 claims description 13
- 230000004044 response Effects 0.000 claims description 9
- 238000006073 displacement reaction Methods 0.000 claims description 6
- 230000006399 behavior Effects 0.000 claims description 3
- 238000012790 confirmation Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000002860 competitive effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
Abstract
The embodiment of the application provides a live broadcast room switching method and device, terminal equipment and a storage medium, and relates to the technical field of application program development. The method comprises the following steps: displaying a live broadcast picture of the first live broadcast room; responding to a first posture adjustment operation aiming at the terminal equipment, and acquiring a first time stamp, wherein the first time stamp is an execution time corresponding to the first posture adjustment operation; responding to a second position and posture adjustment operation aiming at the terminal equipment, and acquiring a second timestamp, wherein the second timestamp is an execution time corresponding to the second position and posture adjustment operation; and if the interval duration between the first time stamp and the second time stamp is less than the threshold value, switching and displaying the live broadcast picture of the first live broadcast room into the live broadcast picture of the second live broadcast room. By adopting the technical scheme provided by the embodiment of the application, the probability of misoperation when the user switches the live broadcast room can be reduced.
Description
Technical Field
The embodiment of the application relates to the technical field of application program development, in particular to a live broadcast room switching method and device, terminal equipment and a storage medium.
Background
With the development of application development technology, live applications have been widely used.
In the related art, a live broadcast picture of a live broadcast room is displayed in a client of a live broadcast application program (namely, a live broadcast application client), and a user can switch the live broadcast room by performing a slide-up operation on a live broadcast interface picture displayed in a screen; the message in the current live broadcast room can also be viewed by performing a slide-up operation on the message display area in the live broadcast interface.
In the related art, the operations corresponding to the switching of the live broadcast room and the viewing of the messages in the live broadcast room are both the operations of sliding the screen upwards, which easily causes misoperation, for example, if a user only wants to view the messages in the live broadcast room but switches the live broadcast room when sliding the screen upwards, or if the user only updates and displays the messages in the live broadcast room when sliding the screen upwards to switch the live broadcast room.
Disclosure of Invention
The embodiment of the application provides a live broadcast room switching method and device, terminal equipment and a storage medium, and the probability of misoperation when a user switches a live broadcast room can be reduced. The technical scheme is as follows:
according to an aspect of an embodiment of the present application, a live broadcast room switching method is provided, where the method includes:
displaying a live broadcast picture of the first live broadcast room;
responding to a first position and posture adjustment operation aiming at the terminal equipment, and acquiring a first time stamp, wherein the first time stamp is an execution time corresponding to the first position and posture adjustment operation;
responding to a second position and posture adjustment operation aiming at the terminal equipment, and acquiring a second timestamp, wherein the second timestamp refers to an execution time corresponding to the second position and posture adjustment operation;
and if the interval duration between the first time stamp and the second time stamp is less than a threshold value, switching and displaying the live broadcast picture of the first live broadcast room into the live broadcast picture of the second live broadcast room.
According to an aspect of an embodiment of the present application, there is provided a live broadcast room switching apparatus, including:
the picture display module is used for displaying the live broadcast picture of the first live broadcast room;
the time obtaining module is used for responding to a first posture adjusting operation aiming at the terminal equipment and obtaining a first time stamp, wherein the first time stamp is an execution time corresponding to the first posture adjusting operation;
the time obtaining module is further configured to obtain a second timestamp in response to a second position and orientation adjustment operation for the terminal device, where the second timestamp is an execution time corresponding to the second position and orientation adjustment operation;
and the live broadcast switching module is used for switching and displaying the live broadcast picture of the first live broadcast room into the live broadcast picture of the second live broadcast room if the interval duration between the first time stamp and the second time stamp is less than a threshold value.
According to an aspect of the embodiments of the present application, there is provided a terminal device, where the terminal device includes a processor and a memory, where the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the above live broadcast switching method.
According to an aspect of the embodiments of the present application, there is provided a computer-readable storage medium, in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the above live broadcast room switching method.
According to an aspect of the embodiments of the present application, there is provided a computer program product loaded and executed by a processor to implement the above live broadcast room switching method.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
the method comprises the steps of detecting a first position posture adjustment operation and a second position posture adjustment operation aiming at the terminal equipment, obtaining the interval duration between the first position posture adjustment operation and the second position posture adjustment operation, and switching and displaying a currently displayed live broadcast picture of a first live broadcast room as a live broadcast picture of a second live broadcast room if the interval duration between the first position posture adjustment operation and the second position posture adjustment operation is smaller than a threshold value and indicates that a user wants to switch the live broadcast rooms.
In addition, in the embodiment of the application, pose adjustment operations (i.e., a first pose adjustment operation and a second pose adjustment operation) for the terminal device need to be detected twice, and only when the interval duration between the first pose adjustment operation and the second pose adjustment operation is smaller than a threshold value, the live broadcast room is switched, so that the occurrence probability of user misoperation is further reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an environment for implementing an embodiment provided by an embodiment of the present application;
fig. 2 is a flowchart of a live broadcast switching method according to an embodiment of the present application;
fig. 3 is a block diagram of a live broadcast room switching apparatus provided in an embodiment of the present application;
fig. 4 is a block diagram of a live broadcast room switching apparatus according to another embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of methods consistent with aspects of the present application, as detailed in the appended claims.
Refer to fig. 1, which illustrates a schematic diagram of an environment for implementing an embodiment of the present application. The embodiment implementation environment may be implemented as a live room switching system 10. Optionally, the system 10 comprises a terminal device 11.
A live application, such as a live application client, is installed and operated in the terminal device 11. Optionally, a user account is registered in the client. The terminal device is an electronic device with data calculation, processing and storage capabilities. The terminal device may be a smart phone, a tablet Computer, a PC (Personal Computer), a wearable device, and the like, which is not limited in the embodiment of the present application. Optionally, the terminal device is a terminal device with a touch display screen, and the user can realize human-computer interaction through the touch display screen. The live application program refers to an application program having a live room switching function, and the live application program may further have an audio and video playing function, an instant messaging function, a social function, a game function, a payment function, a shopping function, an image and text browsing function, and the like, which is not specifically limited in this embodiment of the present application. In the method provided by the embodiment of the present application, the execution subject of each step may be a terminal device 11, such as a live application client running in the terminal device 11.
In some embodiments, the system 10 further includes a server 12, where the server 12 establishes a communication connection (e.g., a network connection) with the terminal device 11, and the server 12 is configured to provide a background service for the live application. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud computing services.
The technical solution of the present application will be described below by means of several embodiments.
Referring to fig. 2, a flowchart of a live broadcast switching method according to an embodiment of the present application is shown. In the present embodiment, the method is mainly applied to the live application client described above for example. The method comprises the following steps (201-204):
The user may view live content through the live application client. In some embodiments, the user is watching a first live broadcast room, a live broadcast picture of the first live broadcast room is displayed in the live broadcast application client, and live broadcast audio of the first live broadcast room is synchronously played.
In some embodiments, the live content of the first live room may include performance content such as songs, dances, vocals, novels, dramas, and the like; also can include the contents such as games, reading, learning, chatting, article introduction, commodity shopping guide and the like; but may also include news, movies, television shows, etc. Obviously, the live content of the first live broadcast room may also include other content, and this is not specifically limited in this embodiment of the application.
Optionally, the live view of the first live broadcast room includes an anchor character of the first live broadcast room. For example, the live view of the first live broadcast room may include a real person image of the anchor of the first live broadcast room, and may also include an avatar of the anchor of the first live broadcast room, which is not specifically limited in this embodiment of the present application.
In response to a first gesture adjustment operation for the terminal device, a first timestamp is obtained, step 202.
In some embodiments, the first timestamp refers to an execution time corresponding to the first posture adjustment operation, and when the first posture adjustment operation for the terminal device is detected, the first posture adjustment operation and the first timestamp corresponding to the first posture adjustment operation are recorded. The first timestamp may refer to a start time of the first posture adjustment operation, may also refer to an end time of the first posture adjustment operation, and may also refer to a middle time of the first posture adjustment operation, which is not specifically limited in this embodiment of the present application. Optionally, the middle time of the first posture adjustment operation is time data obtained by adding half of the total duration of the first posture adjustment operation to the start time of the first posture adjustment operation.
The pose adjustment operation refers to an operation of changing the position and/or posture of the terminal device. In some embodiments, the first posture adjustment operation is: a first flipping operation for the terminal device, or a first shaking operation for the terminal device, or a first shifting operation for the terminal device.
In some embodiments, the first flipping operation may be a flip operation of the terminal device from front to back, i.e. to change the orientation of the front and back of the terminal device. Optionally, the surface on which the display screen is located is a front surface of the terminal device, and the surface opposite to the display screen is a back surface of the terminal device.
In other embodiments, the first flipping operation may be an operation of flipping the upper and lower end positions of the terminal device, that is, an operation of changing the upper and lower end positions of the terminal device. Optionally, the end closer to the camera is the upper end of the terminal device, and the end farther from the camera is the lower end of the terminal device.
In some embodiments, the first shaking operation refers to shaking the terminal device, and during the first shaking operation, at least two opposite movement directions of the terminal device exist. For example, the first shaking operation may be up-and-down shaking, front-and-back shaking, or left-and-right shaking, which is not specifically limited in the embodiments of the present application.
In some embodiments, the first displacement operation refers to changing the position of the terminal device, and during the first displacement operation, the maximum acceleration of the terminal device reaches an acceleration threshold value. Optionally, the first displacement operation refers to an operation of displacing a distance to reach a distance threshold value.
And step 203, responding to the second posture adjustment operation aiming at the terminal equipment, and acquiring a second time stamp.
Optionally, the second timestamp refers to an execution time corresponding to the second posture adjustment operation. In some embodiments, the second posture adjustment operation is: a second flipping operation for the terminal device, or a second shaking operation for the terminal device, or a second displacement operation for the terminal device.
For some explanations of the second posture adjustment operation and the second timestamp, reference may be made to the description of the first posture adjustment operation and the first timestamp in step 202, and details thereof are not repeated here.
And 204, if the interval duration between the first timestamp and the second timestamp is less than the threshold value, switching and displaying the live broadcast picture of the first live broadcast room into the live broadcast picture of the second live broadcast room.
In some embodiments, the second timestamp is subtracted from the first timestamp to obtain an interval duration between the first timestamp and the second timestamp, which is used to represent a time difference between the first posture adjustment operation and the second posture adjustment operation; if the interval duration between the first timestamp and the second timestamp is smaller than the threshold value, the interval duration between the first position and posture adjustment operation and the second position and posture adjustment operation is short, so that a live broadcast switching request is triggered and generated, the live broadcast switching request is sent to the server, live broadcast data of the switched second live broadcast room are obtained, and a live broadcast picture of the second live broadcast room is displayed according to the live broadcast data of the second live broadcast room.
The threshold value may be optionally 1 second, 2 seconds, 3 seconds, 5 seconds, 10 seconds, 15 seconds, 20 seconds, 30 seconds, 1 minute, and 2 minutes … …, and a specific value of the threshold value may be set by a related technician according to an actual situation, which is not specifically limited in this embodiment of the application.
To sum up, according to the technical scheme provided by the embodiment of the application, by detecting the first position and second position adjustment operations for the terminal device, and acquiring the interval duration between the first position and second position adjustment operations, if the interval duration between the first position and second position adjustment operations is less than a threshold value, it indicates that the user wants to switch the live broadcast room, the currently displayed live broadcast picture of the first live broadcast room is switched and displayed as the live broadcast picture of the second live broadcast room, that is, the user can switch the live broadcast room by performing the position and orientation adjustment operation on the terminal device, and the operation mode of performing the position and orientation adjustment operation on the terminal device can be obviously different from the operation mode on the screen, so that the probability of misoperation when the user switches the live broadcast room is reduced.
In some optional embodiments, if the first position posture adjustment operation and the second position posture adjustment operation match the first combination operation, the second live broadcast room is a live broadcast room of the same type as the first live broadcast room; and if the first position posture adjustment operation and the second position posture adjustment operation are matched with the second combination operation, the second live broadcast room is a live broadcast room with a type different from that of the first live broadcast room. In some embodiments, if the user performs an operation (i.e., a first position and orientation adjustment operation and a second position and orientation adjustment operation) matching the first combination operation on the terminal device, it indicates that the user wants to switch to a live broadcast room of the same type as the first live broadcast room; if the user performs an operation (i.e., the first position and orientation adjustment operation and the second position and orientation adjustment operation) matching the second combination operation on the terminal device, it indicates that the user wants to switch to a live broadcast room of the same type as the first live broadcast room.
In some embodiments, the live room type is divided by the live content of the live room. For example, the live room types may include game class live rooms, entertainment class live rooms, knowledge class live rooms, life class live rooms, and so forth. Optionally, the classification can be further refined by the aforementioned several live room types. For example, the game type live broadcast room can be classified according to specific game types (such as a stand-alone game, a network game competitive game, a hand game leisure game and the like); for another example, the entertainment live broadcast room can be further classified according to the specific entertainment content (such as being classified into a dance live broadcast room, a song singing live broadcast room, a language performance live broadcast room, and the like); as another example, the knowledge-based live room may be further refined according to different learning stages (e.g., primary school stage, junior middle school stage, high school stage, etc.) or different learning subjects (e.g., language, mathematics, English, physics, chemistry, politics, history, geography, biology, etc.). Optionally, the specific division manner of the types of the live broadcast rooms is set by a relevant technician according to an actual situation, and this is not specifically limited in the embodiment of the present application.
In a specific example, the type of the first live broadcast room is a game class, and if the first posture adjustment operation and the second posture adjustment operation match the first combination operation, the second live broadcast room also belongs to the game class live broadcast room; if the first posture adjustment operation and the second posture adjustment operation are matched with the second combined operation, the second live broadcast room can be an entertainment live broadcast room, a knowledge live broadcast room, a living live broadcast room and other non-game live broadcast rooms.
In other possible embodiments, if the first position posture adjustment operation and the second position posture adjustment operation match the third combined operation, the second live broadcast room is a live broadcast room uniquely corresponding to the third combined operation; and if the first position posture adjustment operation and the second position posture adjustment operation are matched with the fourth combined operation, the second live broadcast room is one of the preset at least one live broadcast room.
In some embodiments, there is at least one combined operation each uniquely corresponding to one live room, wherein a third combined operation uniquely corresponds to a second live room; and when the first position posture adjustment operation and the second position posture adjustment operation are matched with the third combined operation, the live broadcast picture of the first live broadcast room is switched and displayed as the live broadcast picture of the second live broadcast room when the user wants to switch the live broadcast room to the second live broadcast room.
In some embodiments, at least one live room is a user-predefined defined live room; or at least one live broadcast room is the first n live broadcast rooms with higher watching frequency of the user, wherein n is a positive integer; and when the first position posture adjustment operation and the second position posture adjustment operation are matched with the fourth combined operation, the fact that the user wants to switch and display the first live broadcast room to be one live broadcast room in at least one live broadcast room is indicated. The first live broadcast room may be one of the at least one live broadcast room, or may be another live broadcast room other than the at least one live broadcast room, which is not specifically limited in this embodiment of the application. Alternatively, when the user continuously performs the operation matching the fourth combined operation a plurality of times, live frames of live rooms in the at least one live room may be alternately selected for display switching in a predefined switching order between the at least one live room.
In one example, the at least one live room includes live room a, live room B, and live room C, with the predefined switching order being: a live broadcast room A, a live broadcast room B and a live broadcast room C; if the first live broadcast room does not belong to any one of the at least one live broadcast room, when the user continuously executes the operation matched with the fourth combined operation for multiple times, the continuously executed multiple operations respectively correspond to the switched live broadcast rooms, namely the live broadcast room A, the live broadcast room B, the live broadcast room C, the live broadcast room A, the live broadcast room B and the live broadcast room C … …. For example, if the first live broadcast room is live broadcast room a, the continuously executed multiple operations respectively correspond to the live broadcast rooms switched to live broadcast room B, live broadcast room C, live broadcast room a, live broadcast room B, live broadcast room C, and live broadcast room a … …
In the implementation mode, through different combined operations matched with the first pose adjustment operation and the second pose adjustment operation respectively, the user can limit the selection range of the second live broadcast room when executing the operation, so that the probability that the switched second live broadcast room meets the mind of the user is improved, the accuracy of switching the live broadcast rooms is improved, and the efficiency of switching the live broadcast rooms satisfying the user is improved.
In some possible implementations, the method further includes the following steps:
1. if the interval duration between the first timestamp and the second timestamp is smaller than a threshold value, displaying a plurality of live broadcast switching options, wherein the plurality of live broadcast switching options comprise a plurality of candidate live broadcast types and/or a plurality of candidate live broadcast rooms;
2. and in response to the selection operation of a target live broadcast switching option in the plurality of live broadcast switching options, switching and displaying the live broadcast picture of the first live broadcast room as the live broadcast picture of the second live broadcast room corresponding to the target live broadcast switching option.
In the implementation mode, the first position posture adjustment operation and the second position posture adjustment operation are used for triggering and displaying a plurality of live broadcast switching options so that a user can determine the second live broadcast room.
In some embodiments, a target account is logged in a live application client; the method further comprises the following steps:
1. and if the interval duration between the first timestamp and the second timestamp is less than the threshold value and the target account meets the preset condition, displaying switching prompt information.
Optionally, the switching prompt message is used to prompt the user to confirm whether to switch the live broadcast room. In some embodiments, after receiving a first posture adjustment operation and a second posture adjustment operation for the terminal device, if a target account satisfies a preset condition, displaying a switching prompt message; and if the target account does not meet the preset condition, the switching prompt information is not displayed, but the live broadcast rooms are directly switched, namely the live broadcast picture of the first live broadcast room is directly switched and displayed as the live broadcast picture of the second live broadcast room.
Optionally, the preset condition comprises at least one of:
(1) the consumption behavior of the target account in the first live broadcast room meets a preset consumption condition;
(2) the staying time of the target account in the first direct broadcasting time meets a preset time condition;
(3) the level of the target account in the first live broadcast room reaches a preset level;
(4) the first live broadcast room is a live broadcast room for attention or subscription or collection of the target account.
2. And responding to the confirmation operation aiming at the switching prompt information, and executing the step of switching and displaying the live broadcast picture of the first live broadcast room as the live broadcast picture of the second live broadcast room.
In some embodiments, the user confirms the switching prompt information to indicate that the user confirms that the live broadcast rooms need to be switched, and then the step of switching and displaying the live broadcast picture of the first live broadcast room as the live broadcast picture of the second live broadcast room is executed. In the implementation mode, if the target account satisfies the preset condition, it indicates that the user has a high attention degree to the first live broadcast room, or has a high possibility of switching by mistake due to user misoperation if the target account directly switches the live broadcast room, so that the user can confirm again through the switching prompt information, and the probability of switching by mistake in the live broadcast room is reduced.
In some possible implementations, the method further includes the following steps:
1. playing the live broadcast audio of the first live broadcast room, wherein the live broadcast picture of the first live broadcast room is not displayed;
2. and responding to the first gesture adjustment operation aiming at the terminal equipment, and switching and playing the live audio of the first live broadcast room into the live audio of the second live broadcast room.
In this embodiment, the live application client is in a background running state, and only the live audio of the first live broadcast room is played without displaying the live broadcast picture thereof (the display screen of the terminal device may display interfaces of other clients except the live broadcast client, or may be in a screen-locked non-display state), and the first live broadcast room may be switched to the second live broadcast room by one pose adjustment operation. For example, a user can switch a live broadcast room to play live broadcast audio through one-time turning of the terminal device; through the operation of overturning again to terminal equipment, thereby switch the live broadcast room again and carry out live broadcast audio playback … … and reduce user's operating procedure, promote the convenience of user operation.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 3, a block diagram of a live broadcast room switching apparatus according to an embodiment of the present application is shown. The device has the function of realizing the method example of the live broadcast room switching, and the function can be realized by hardware or by hardware executing corresponding software. The device may be the terminal device described above, or may be provided on the terminal device. The apparatus 300 may include: a screen display module 310, a time acquisition module 320 and a live switching module 330.
The picture display module 310 is configured to display a live picture of the first live room.
The time obtaining module 320 is configured to obtain a first timestamp in response to a first posture adjustment operation for the terminal device, where the first timestamp is an execution time corresponding to the first posture adjustment operation.
The time obtaining module 320 is further configured to obtain a second timestamp in response to a second position adjustment operation for the terminal device, where the second timestamp is an execution time corresponding to the second position adjustment operation.
The live broadcast switching module 330 is configured to switch and display a live broadcast picture of the first live broadcast room as a live broadcast picture of the second live broadcast room if the duration of the interval between the first timestamp and the second timestamp is less than a threshold value.
To sum up, according to the technical scheme provided by the embodiment of the application, by detecting the first position and second position adjustment operations for the terminal device, and acquiring the interval duration between the first position and second position adjustment operations, if the interval duration between the first position and second position adjustment operations is less than a threshold value, it indicates that the user wants to switch the live broadcast room, the currently displayed live broadcast picture of the first live broadcast room is switched and displayed as the live broadcast picture of the second live broadcast room, that is, the user can switch the live broadcast room by performing the position and orientation adjustment operation on the terminal device, and the operation mode of performing the position and orientation adjustment operation on the terminal device can be obviously different from the operation mode on the screen, so that the probability of misoperation when the user switches the live broadcast room is reduced.
In an exemplary embodiment, a target account is logged in the live application client; as shown in fig. 4, the apparatus 300 further includes: an information display module 340.
The information display module 340 is configured to display a switching prompt message if the interval duration between the first timestamp and the second timestamp is less than the threshold value and the target account meets a preset condition, where the switching prompt message is used to prompt a user to determine whether to switch a live broadcast room.
The live broadcast switching module 330 is further configured to respond to a confirmation operation for the switching prompt information, and execute the step of switching and displaying the live broadcast picture of the first live broadcast room to the live broadcast picture of the second live broadcast room.
In an exemplary embodiment, the preset condition includes at least one of: the consumption behavior of the target account in the first live broadcast room meets a preset consumption condition; the stay time of the target account in the first live broadcast room meets a preset time condition; the grade of the target account in the first live broadcast room reaches a preset grade; the first live broadcast room is a live broadcast room for paying attention to or subscribing or collecting the target account.
In an exemplary embodiment, the live switching module 330 is configured to:
displaying a plurality of live broadcast switching options;
in response to a selection operation of a target live broadcast switching option in the plurality of live broadcast switching options, switching and displaying a live broadcast picture of the first live broadcast room as a live broadcast picture of the second live broadcast room corresponding to the target live broadcast switching option.
In an exemplary embodiment, the plurality of live switch options includes a plurality of candidate live types and/or a plurality of candidate live rooms.
In an exemplary embodiment, if the first and second gesture adjustment operations match a first combined operation, the second live broadcast room is a live broadcast room of the same type as the first live broadcast room; if the first position posture adjustment operation and the second position posture adjustment operation are matched with a second combination operation, the second live broadcast room is a live broadcast room with a type different from that of the first live broadcast room; or if the first position and posture adjustment operation and the second position and posture adjustment operation match a third combined operation, the second live broadcast room is a live broadcast room only corresponding to the third combined operation; and if the first position posture adjustment operation and the second position posture adjustment operation are matched with a fourth combined operation, the second live broadcast room is one of at least one preset live broadcast room.
In an exemplary embodiment, the first posture adjustment operation is: a first flipping operation for the terminal device, or a first shaking operation for the terminal device, or a first shifting operation for the terminal device; the second position and posture adjusting operation comprises the following steps: a second flipping operation for the terminal device, or a second shaking operation for the terminal device, or a second displacement operation for the terminal device.
In an exemplary embodiment, as shown in fig. 4, the apparatus 300 further comprises: an audio playback module 350.
The audio playing module 350 is configured to play the live audio of the first live broadcast room, and the live broadcast frame of the first live broadcast room is not displayed.
The live broadcast switching module 330 is further configured to switch and play the live broadcast audio of the first live broadcast room into the live broadcast audio of the second live broadcast room in response to the first gesture adjustment operation for the terminal device.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
In an exemplary embodiment, a terminal device is further provided, where the terminal device includes a processor and a memory, where the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the above live broadcast switching method.
In an exemplary embodiment, a computer-readable storage medium is further provided, in which a computer program is stored, the computer program being loaded and executed by a processor to implement the live-air switching method described above.
In an exemplary embodiment, a computer program product is also provided, which is loaded and executed by a processor to implement the live room switching method described above.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (11)
1. A live broadcast room switching method is characterized in that the method is executed by a live broadcast application client terminal running in a terminal device, and the method comprises the following steps:
displaying a live broadcast picture of the first live broadcast room;
responding to a first position and posture adjustment operation aiming at the terminal equipment, and acquiring a first time stamp, wherein the first time stamp is an execution time corresponding to the first position and posture adjustment operation;
responding to a second position and posture adjustment operation aiming at the terminal equipment, and acquiring a second timestamp, wherein the second timestamp refers to an execution time corresponding to the second position and posture adjustment operation;
and if the interval duration between the first time stamp and the second time stamp is less than a threshold value, switching and displaying the live broadcast picture of the first live broadcast room into the live broadcast picture of the second live broadcast room.
2. The method of claim 1, wherein a target account is logged into the live application client; the method further comprises the following steps:
if the interval duration between the first timestamp and the second timestamp is smaller than the threshold value and the target account meets a preset condition, displaying switching prompt information, wherein the switching prompt information is used for prompting a user to confirm whether to switch a live broadcast room;
and responding to the confirmation operation aiming at the switching prompt information, and executing the step of switching and displaying the live broadcast picture of the first live broadcast room as the live broadcast picture of the second live broadcast room.
3. The method of claim 2, wherein the preset condition comprises at least one of:
the consumption behavior of the target account in the first live broadcast room meets a preset consumption condition;
the stay time of the target account in the first live broadcast room meets a preset time condition;
the grade of the target account in the first live broadcast room reaches a preset grade;
the first live broadcast room is a live broadcast room for paying attention to or subscribing or collecting the target account.
4. The method of claim 1, wherein the switching the display of the live view of the first live view as the live view of the second live view comprises:
displaying a plurality of live broadcast switching options;
in response to a selection operation of a target live broadcast switching option in the plurality of live broadcast switching options, switching and displaying a live broadcast picture of the first live broadcast room as a live broadcast picture of the second live broadcast room corresponding to the target live broadcast switching option.
5. The method of claim 4, wherein the plurality of live switch options comprise a plurality of candidate live types and/or a plurality of candidate live rooms.
6. The method of claim 1,
if the first position posture adjustment operation and the second position posture adjustment operation are matched with the first combination operation, the second live broadcast room is a live broadcast room with the same type as the first live broadcast room; if the first position posture adjustment operation and the second position posture adjustment operation are matched with a second combination operation, the second live broadcast room is a live broadcast room with a type different from that of the first live broadcast room;
alternatively, the first and second electrodes may be,
if the first position posture adjustment operation and the second position posture adjustment operation are matched with a third combined operation, the second live broadcast room is a live broadcast room only corresponding to the third combined operation; and if the first position posture adjustment operation and the second position posture adjustment operation are matched with a fourth combined operation, the second live broadcast room is one of at least one preset live broadcast room.
7. The method according to any one of claims 1 to 6,
the first posture adjustment operation is as follows: a first flipping operation for the terminal device, or a first shaking operation for the terminal device, or a first shifting operation for the terminal device;
the second position and posture adjusting operation comprises the following steps: a second flipping operation for the terminal device, or a second shaking operation for the terminal device, or a second displacement operation for the terminal device.
8. The method according to any one of claims 1 to 6, further comprising:
playing live broadcast audio of the first live broadcast room, wherein a live broadcast picture of the first live broadcast room is not displayed;
responding to the first gesture adjustment operation aiming at the terminal equipment, and switching and playing the live audio of the first live broadcast room into the live audio of the second live broadcast room.
9. A live room switching apparatus, the apparatus comprising:
the picture display module is used for displaying the live broadcast picture of the first live broadcast room;
the time obtaining module is used for responding to a first posture adjusting operation aiming at the terminal equipment and obtaining a first time stamp, wherein the first time stamp is an execution time corresponding to the first posture adjusting operation;
the time obtaining module is further configured to obtain a second timestamp in response to a second position and orientation adjustment operation for the terminal device, where the second timestamp is an execution time corresponding to the second position and orientation adjustment operation;
and the live broadcast switching module is used for switching and displaying the live broadcast picture of the first live broadcast room into the live broadcast picture of the second live broadcast room if the interval duration between the first time stamp and the second time stamp is less than a threshold value.
10. A terminal device, characterized in that the computer device comprises a processor and a memory, wherein the memory stores a computer program, and the computer program is loaded by the processor and executed to implement the live broadcast switching method according to any one of the preceding claims 1 to 8.
11. A computer-readable storage medium, in which a computer program is stored, which is loaded and executed by a processor to implement the live-air switching method as claimed in any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110793050.XA CN113377266A (en) | 2021-07-14 | 2021-07-14 | Live broadcast room switching method and device, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110793050.XA CN113377266A (en) | 2021-07-14 | 2021-07-14 | Live broadcast room switching method and device, terminal equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113377266A true CN113377266A (en) | 2021-09-10 |
Family
ID=77581940
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110793050.XA Pending CN113377266A (en) | 2021-07-14 | 2021-07-14 | Live broadcast room switching method and device, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113377266A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113938700A (en) * | 2021-10-27 | 2022-01-14 | 广州方硅信息技术有限公司 | Live broadcast room switching method and device and computer equipment |
CN116634189A (en) * | 2023-07-20 | 2023-08-22 | 天津星耀九洲科技有限公司 | Interactive live broadcast data display method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103617080A (en) * | 2013-11-27 | 2014-03-05 | 乐视网信息技术(北京)股份有限公司 | Video control method and mobile phone terminal |
CN106325692A (en) * | 2015-06-19 | 2017-01-11 | 深圳超多维光电子有限公司 | A display mode switching method and device and a mobile terminal with the device |
CN106534959A (en) * | 2016-10-11 | 2017-03-22 | 北京小米移动软件有限公司 | Method and device for processing live video |
CN109710151A (en) * | 2018-12-28 | 2019-05-03 | 维沃移动通信有限公司 | A kind of document handling method and terminal device |
CN111475080A (en) * | 2020-03-31 | 2020-07-31 | 维沃移动通信有限公司 | Misoperation prompting method and electronic equipment |
-
2021
- 2021-07-14 CN CN202110793050.XA patent/CN113377266A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103617080A (en) * | 2013-11-27 | 2014-03-05 | 乐视网信息技术(北京)股份有限公司 | Video control method and mobile phone terminal |
CN106325692A (en) * | 2015-06-19 | 2017-01-11 | 深圳超多维光电子有限公司 | A display mode switching method and device and a mobile terminal with the device |
CN106534959A (en) * | 2016-10-11 | 2017-03-22 | 北京小米移动软件有限公司 | Method and device for processing live video |
CN109710151A (en) * | 2018-12-28 | 2019-05-03 | 维沃移动通信有限公司 | A kind of document handling method and terminal device |
CN111475080A (en) * | 2020-03-31 | 2020-07-31 | 维沃移动通信有限公司 | Misoperation prompting method and electronic equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113938700A (en) * | 2021-10-27 | 2022-01-14 | 广州方硅信息技术有限公司 | Live broadcast room switching method and device and computer equipment |
CN113938700B (en) * | 2021-10-27 | 2024-03-12 | 广州方硅信息技术有限公司 | Live broadcast room switching method and device and computer equipment |
CN116634189A (en) * | 2023-07-20 | 2023-08-22 | 天津星耀九洲科技有限公司 | Interactive live broadcast data display method and device and electronic equipment |
CN116634189B (en) * | 2023-07-20 | 2023-10-03 | 天津星耀九洲科技有限公司 | Interactive live broadcast data display method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110418151B (en) | Bullet screen information sending and processing method, device, equipment and medium in live game | |
CN111783001B (en) | Page display method, page display device, electronic equipment and storage medium | |
CN113965807B (en) | Message pushing method, device, terminal, server and storage medium | |
US10974145B2 (en) | Intervention server and intervention program | |
KR20110040734A (en) | Playing browser based games with alternative controls and interfaces | |
CN112584224B (en) | Information display and processing method, device, equipment and medium | |
WO2020248711A1 (en) | Display device and content recommendation method | |
CN113101652A (en) | Information display method and device, computer equipment and storage medium | |
CN113377266A (en) | Live broadcast room switching method and device, terminal equipment and storage medium | |
WO2022183707A1 (en) | Interaction method and apparatus thereof | |
CN114390308B (en) | Interface display method, device, equipment, medium and product in live broadcast process | |
US20170171594A1 (en) | Method and electronic apparatus of implementing voice interaction in live video broadcast | |
CN113485617A (en) | Animation display method and device, electronic equipment and storage medium | |
CN113350783A (en) | Game live broadcast method and device, computer equipment and storage medium | |
CN114302160B (en) | Information display method, device, computer equipment and medium | |
CN114286161B (en) | Method, device, equipment and storage medium for recommending articles during live event | |
TW201225649A (en) | Television system and interaction method thereof | |
CN114095793A (en) | Video playing method and device, computer equipment and storage medium | |
WO2024067513A1 (en) | Information display method and apparatus, and device and storage medium | |
Punt et al. | An integrated environment and development framework for social gaming using mobile devices, digital TV and Internet | |
CN116688526A (en) | Virtual character interaction method and device, terminal equipment and storage medium | |
CN113709565B (en) | Method and device for recording facial expression of watching video | |
CN114125483B (en) | Event popup display method, device, equipment and medium | |
CN115225971A (en) | Video progress adjusting method and device, computer equipment and storage medium | |
CN115193043A (en) | Game information sending method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210910 |
|
RJ01 | Rejection of invention patent application after publication |