WO2023174316A1 - 弹幕显示方法及其装置 - Google Patents

弹幕显示方法及其装置 Download PDF

Info

Publication number
WO2023174316A1
WO2023174316A1 PCT/CN2023/081516 CN2023081516W WO2023174316A1 WO 2023174316 A1 WO2023174316 A1 WO 2023174316A1 CN 2023081516 W CN2023081516 W CN 2023081516W WO 2023174316 A1 WO2023174316 A1 WO 2023174316A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
floating ball
input
barrage
interface
Prior art date
Application number
PCT/CN2023/081516
Other languages
English (en)
French (fr)
Inventor
严超
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023174316A1 publication Critical patent/WO2023174316A1/zh

Links

Classifications

    • 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
    • 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/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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

  • This application relates to the field of Internet technology, and specifically to a barrage display method and device.
  • the barrage refers to the comment subtitles that pop up when watching videos on the Internet.
  • the barrage display method in the prior art often has a problem of poor display effect, which affects the user's video viewing effect.
  • the purpose of the embodiments of this application is to provide a barrage display method that can solve the problem of poor barrage display effect.
  • embodiments of the present application provide a barrage display method, which method includes: receiving a first input from a user to a display interface; and, in response to the first input, determining at least one display on the display interface. area; during the process of displaying video content on the display interface, display a barrage associated with the video content in the display area.
  • a barrage display device which includes: first a processing module, configured to receive a first user input to the display interface; a second processing module, configured to determine at least one display area on the display interface in response to the first input; a third processing module, configured to During the process of displaying video content on the display interface, a barrage associated with the video content is displayed in the display area.
  • inventions of the present application provide an electronic device.
  • the electronic device includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor.
  • the program or instructions are When the processor executes, the method described in the first aspect is implemented.
  • embodiments of the present application provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the method described in the first aspect is implemented.
  • inventions of the present application provide a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the first aspect. the method described.
  • embodiments of the present application provide a computer program product.
  • the computer program product stores programs or instructions. When the program or instructions are executed by a computer, the method of the first aspect is implemented.
  • embodiments of the present application provide an electronic device configured to implement the method of the first aspect.
  • the display interface by receiving the user's first input to the display interface; in response to the first input, at least one display area is determined on the above-mentioned display interface; in the process of displaying video content on the display interface, in the display area Display the barrage associated with the video content.
  • the barrage can be displayed in a certain display area. The barrage will not unreasonably block the displayed video content, which improves the effect of barrage display.
  • Figure 1 is one of the flow diagrams of the barrage display method provided by the embodiment of the present application.
  • Figure 2 is the second schematic flow chart of the barrage display method provided by the embodiment of the present application.
  • Figure 3 is the third schematic flowchart of the barrage display method provided by the embodiment of the present application.
  • Figure 4 is one of the schematic interface diagrams of the barrage display provided by the embodiment of the present application.
  • Figure 5 is the second schematic diagram of the interface of the barrage display provided by the embodiment of the present application.
  • Figure 6 is the third schematic diagram of the interface for barrage display provided by the embodiment of the present application.
  • Figure 7 is the fourth schematic diagram of the interface of the barrage display provided by the embodiment of the present application.
  • Figure 8 is the fifth schematic diagram of the interface of the barrage display provided by the embodiment of the present application.
  • Figure 9 is the sixth schematic diagram of the interface of the barrage display provided by the embodiment of the present application.
  • Figure 10 is the seventh interface schematic diagram of the barrage display provided by the embodiment of the present application.
  • Figure 11 is the eighth schematic diagram of the interface for barrage display provided by the embodiment of the present application.
  • Figure 12 is a schematic structural diagram of a barrage display device provided by an embodiment of the present application.
  • Figure 13 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Figure 14 is a hardware schematic diagram of an electronic device provided by an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first,” “second,” etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • the barrage display method can be applied to the terminal, and can be specifically executed by hardware or software in the terminal.
  • the execution subject of the barrage display method may be a terminal, or a control device of the terminal, etc.
  • the terminal includes, but is not limited to, a mobile phone or other portable communication device such as a tablet computer having a touch-sensitive surface (eg, a touch screen display and/or a touch pad). It should also be understood that in certain embodiments, the terminal may not be a portable communication device, but rather a desktop computer having a touch-sensitive surface (eg, a touch screen display and/or a touch pad).
  • a terminal including a display and a touch-sensitive surface is described.
  • the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and joystick.
  • the execution subject of the barrage display method may be an electronic device or a functional module or functional entity in the electronic device that can implement the barrage display method.
  • the electronic device mentioned in the embodiment of the present application Including but not limited to mobile phones, tablets, computers, cameras, wearable devices, etc., the following uses an electronic device as an example to illustrate the barrage display method provided by the embodiment of the present application.
  • the barrage display method includes: step 110, step 120 and step 130.
  • Step 110 Receive the user's first input to the display interface.
  • the display interface refers to an interface that displays video content.
  • the video content may be an online video opened through a video playback application.
  • player A is used to open the playback interface of the video content of a certain network program, and the interface is the display interface of the video content.
  • the terminal receives the user's first input to the display interface, and the first input is used to divide the display area.
  • the first input can be expressed in at least one of the following ways:
  • the first input may be a touch operation, including but not limited to a click operation, a sliding operation, a pressing operation, etc.
  • receiving the user's first input may be represented by receiving the user's touch operation on the display area of the terminal display screen.
  • the first input can be represented by physical key input.
  • the body of the terminal is provided with physical buttons corresponding to the barrage display, and receiving the user's first input can be expressed as receiving the first input of the user pressing the corresponding physical button; the first input can also be It is a combined operation of pressing multiple physical buttons at the same time.
  • the first input can be represented as voice input.
  • the terminal may trigger the display of the barrage display setting interface when receiving a voice message such as "Please divide it into a barrage display area.”
  • the first input can also be expressed in other forms, including but not limited to character input, etc.
  • the specifics can be determined according to actual needs, and the embodiments of the present application are not limited to this.
  • Step 120 In response to the first input, determine at least one display area on the display interface
  • the display area refers to the area obtained by dividing the display interface.
  • This display area is part of the above-mentioned display interface.
  • the terminal may determine at least one display area on the above-mentioned display interface in response to the first input, and the display area is a part of the above-mentioned display interface.
  • Step 130 During the process of displaying the video content on the display interface, display a barrage associated with the video content in the display area.
  • barrage refers to the comment subtitles that pop up when watching videos on the Internet.
  • the terminal displays a barrage associated with the video content in the determined at least one display area.
  • the terminal displays a barrage associated with the video content in the determined at least one display area.
  • the video content is also displayed.
  • the video content displayed in the display area will not affect the user's viewing effect of the entire video content.
  • the size or number of the determined display areas may vary.
  • the area on the far right side of the display interface that is a certain distance from the edge is used as the display area, and barrages are displayed in this area without affecting the overall playback of the video content in the display interface. Effect.
  • the display interface by receiving the user's first input to the display interface; in response to the first input, at least one display area is determined on the above-mentioned display interface; the display area is the display interface part; during the process of displaying video content on the display interface, a barrage associated with the video content is displayed in the display area.
  • the barrage can be displayed in a certain display area. The barrage will not unreasonably block the displayed video content, which improves the effect of barrage display.
  • step 120 The implementation of step 120 will be described below from different angles.
  • display controls refer to controls that can be displayed on the display interface.
  • the display control may be a floating ball, which is displayed on the display interface.
  • the terminal determines the display area by receiving the movement operation of the floating ball and using the position of the floating ball in the display interface.
  • the display control can also be a line or interface logo.
  • the line can be generated based on the user's gesture, and the terminal determines the display area by receiving the movement operation of the line and using the stay position of the line in the display interface.
  • the user does not need to move the previously generated line, but only needs to input a line in another area of the display interface, and the terminal can automatically overwrite the previously generated line and determine the latest input line as the display control.
  • the terminal can cancel the display of the line, and the terminal will only display the line when the user touches the display interface.
  • the interface logo can be generated by marking the user's finger on the display interface.
  • step 120 may include:
  • At least one display area is determined on the display interface based on the movement position of the display control.
  • a display control is displayed on the terminal interface.
  • the terminal receives a movement operation on the display control and responds to the movement operation. According to the display control
  • the position where the movement is stopped determines at least one display area on the display interface.
  • the movement identification line of the above-mentioned display control is displayed on the display interface.
  • the movement identification line can be represented as a highlight line and is perpendicular to the movement direction of the display control.
  • step 120 may include: updating the first display control to the first position and determining a display area on the display interface.
  • the terminal receives a first input to the first display control, responds to the first input, updates the first display control to the first position, and determines a display area on the display interface. For example, on the display interface, the terminal receives a long press operation and a moving operation on the display control, updates the first display control to a first position, and determines a display area on the display interface based on the first position. For example, when the terminal is a mobile phone and the online video is played horizontally, the user moves the display control left and right to a certain position on the edge of the mobile phone. For example, the user moves the display control left and right to the upper edge of the mobile phone, 1 cm away from the right edge of the mobile phone. , then a rectangular area with a length of 1 cm and a width of the length of the right edge of the mobile phone is determined as the display area.
  • the purpose of quickly and conveniently determining the display area can be achieved.
  • step 120 may include: step 210 , step 220 and step 230 .
  • Step 210 Receive the first input to the first display control, and display the second display control in the terminal interface.
  • the display area can be increased by increasing the number of display controls.
  • the display controls may include, but are not limited to, floating balls, lines, or interface logos.
  • the terminal receives a long-press pull-down operation on the first display control, generates a second display control after the pull-down distance of the first display control reaches a preset distance, and displays the second display control on the terminal interface. middle.
  • Step 220 Receive the second input to the first display control, update the first display control to the second position, and receive the third input to the second display control, update the second display control to the third position.
  • the terminal receives a response to the first display control.
  • the long press movement operation of the control updates the first display control to the second position
  • the long press movement operation of the second display control is received to update the second display control to the third position.
  • the second input and the third input may be operations other than the long press movement operation.
  • Step 230 Determine two display areas on the display interface based on the second position and the third position.
  • the terminal may determine two display areas on the display interface based on the second position and the third position.
  • the terminal is a mobile phone and video is played in horizontal screen mode.
  • the vertical line at the second position and the vertical line at the third position are the video content areas.
  • the dividing line divides the video content area into three areas.
  • the barrages corresponding to the video content are displayed in the two divided display areas. It should be noted that while the barrage corresponding to the video content is displayed in the two display areas, it will not affect the playback effect of the video content.
  • the second display control by receiving the first input to the first display control, the second display control is displayed in the terminal interface, receiving the second input to the first display control, updating the first display control to the second position, and , receiving the third input to the second display control, updating the second display control to the third position, and determining two display areas on the display interface based on the second position and the third position, which can accurately determine the two display areas. Effect.
  • step 120 may also include: the terminal responds to the first input based on any one, a combination of any two, or a combination of any three of floating balls, lines, or interface identifiers, etc. At least one display area is determined on the display interface.
  • the display interface by responding to the first input and determining at least one display area on the display interface based on any one or a combination of floating balls, lines or interface marks, it is possible to determine the display using different methods.
  • the purpose of the area is to achieve the effect of improving the convenience of determining the display area.
  • the method for displaying the barrage further includes: when the barrage moves in the direction of the barrage, After moving within the first display area of the two display areas until it disappears from the first display area, the barrage is displayed in the second display area by moving in the direction of the barrage movement.
  • the movement direction of the barrage refers to the direction from the appearance of the barrage as the starting point on the display interface to the disappearance of the barrage as the terminal direction. For example, if a barrage appears on the right side of the display interface and disappears on the left side of the display interface, the movement direction of the barrage is from right to left.
  • the two display areas are distributed on both sides of the display interface, and the movement direction of the barrage is from right to left, then the display area distributed on the right side of the display interface displays the barrage first, When the barrage movement position reaches the boundary between the display area on the right and the video content playback, the barrage disappears. When the barrage moves to the display area on the left side of the display interface, the barrage will appear again until the barrage The screen disappears when it reaches the leftmost edge of the display interface.
  • the display control is a floating ball
  • the barrage display method further includes: step 310 and step 320 .
  • Step 310 Receive a fourth input to the first floating ball and cancel the display of the first floating ball, or receive a fifth input to the second floating ball and cancel the display of the second floating ball.
  • the terminal can cancel the display of the first floating ball on the terminal interface by receiving the third input, or the terminal can cancel the display of the second floating ball on the terminal interface by receiving the fifth input.
  • the terminal when the first floating ball is at the edge of the terminal interface, the terminal receives a long press extrapolation operation on the first floating ball, so that the display of the first floating ball is canceled on the terminal interface; or, in the second floating ball When the ball is at the edge of the terminal interface, the terminal receives a long press extrapolation operation on the second floating ball, so that the display of the second floating ball is canceled on the terminal interface.
  • the terminal when the first floating ball is not at the edge of the terminal interface, the terminal receives a long press movement operation on the first floating ball; when the first floating ball moves to the edge of the terminal interface, the terminal receives a The long press extrapolation operation of the first floating ball causes the display to be canceled on the terminal interface. Display the first floating ball; or, when the second floating ball is not at the edge of the terminal interface, the terminal receives a long press movement operation on the second floating ball, and when the second floating ball moves to the edge of the terminal interface, the terminal Receive the long press extrapolation operation on the second floating ball, so that the display of the second floating ball is canceled on the terminal interface.
  • Step 320 When the display of the first floating ball is canceled, in the display interface, the display area corresponding to the first floating ball displays video content; when the display of the second floating ball is canceled, in the display interface, the second floating ball The display area corresponding to the ball displays video content.
  • the dividing function of the display area played by the first floating ball disappears, and the video content continues to be displayed in the previously divided display area.
  • the barrage is displayed in the display area divided by the second floating ball.
  • the dividing function of the display area played by the second floating ball disappears, and the video content continues to be displayed in the previously divided display area.
  • the barrage is displayed in the display area divided by the first floating ball.
  • the display interface when the first floating ball and the second floating ball are simultaneously canceled on the terminal interface, the display interface returns to the original video content display function.
  • the display of the first floating ball is canceled by receiving the fourth input to the first floating ball, or the display of the second floating ball is canceled by receiving the fifth input to the second floating ball.
  • the display area corresponding to the first floating ball displays video content; in the case of canceling the display of the second floating ball, in the display interface, the display area corresponding to the second floating ball displays video content, It can rationally use the floating ball to plan the barrage display area according to the needs of the actual scene.
  • the barrage display method further includes: receiving a sixth input to the first floating ball, which is converted from an activated state to an inactive state; or, receiving an eighth input to the second floating ball. , the second suspended ball is converted from an activated state to an inactivated state.
  • the terminal receives a sixth input to the first floating ball, and can change the position of the first floating ball. State, similarly, the terminal receives the eighth input to the second floating ball and can change the state of the second floating ball.
  • the terminal when the first floating ball is in the activated state, the terminal may receive a double-click operation on the first floating ball, and the first floating ball is converted from the activated state to the inactive state; or, in the second floating ball, When the ball is in the activated state, the terminal can receive a double-click operation on the second suspended ball, and the second suspended ball is converted from the activated state to the inactivated state.
  • the first suspended ball by receiving the sixth input to the first suspended ball, the first suspended ball is converted from the activated state to the inactive state; or, by receiving the eighth input to the second suspended ball, the second suspended ball is converted from the activated state to the inactive state. Converting the activated state to the inactive state can adjust the status of the suspended ball on the display interface, and improve the efficiency of human-computer interaction during the display area division process.
  • the barrage display method further includes: when the first floating ball is in an inactive state, receiving a seventh input to the first floating ball and continuing to display the barrage in the display area; When the ball is in an inactive state, it receives the ninth input to the second floating ball and continues to display the barrage in the display area.
  • the terminal when the first floating ball is in an inactive state, the terminal receives the seventh input to the first floating ball and continues to display the barrage in the display area; when the second floating ball is in an inactive state , the terminal receives the ninth input to the second floating ball, and continues to display the barrage in the display area.
  • the terminal when the first floating ball is in an inactive state, the terminal receives a double-click operation on the first floating ball. At this time, the first floating ball is converted from the inactive state to the activated state. The ball continues to maintain the display area dividing function, divides the display interface into display areas, and continues to display barrages in this display area. Similarly, when the second floating ball is in an inactive state, the terminal receives a double-click operation on the second floating ball. At this time, the second floating ball is converted from the inactive state to the activated state, and the second floating ball continues to remain The display area division function divides the display interface into display areas and continues to display barrages in this display area.
  • the barrage by receiving the seventh input to the first floating ball when the first floating ball is in an inactive state, the barrage continues to be displayed in the display area; when the second floating ball is in an inactive state, In the active state, it receives the ninth input to the second floating ball and continues to display the barrage in the display area, which can flexibly control the state of the display control and improve the user's flexible configuration of the display area.
  • the barrage display method further includes: when the stop time period exceeds the time period threshold and the first floating ball or the second floating ball is at a non-edge position of the display interface, update the first floating ball or the second floating ball. The second floating ball reaches the edge of the terminal interface.
  • the time period threshold refers to the critical value of the time period. If it is greater than or equal to the critical value, it is considered that the stop time period has reached the time condition for the first suspension ball or the second suspension ball to be updated; if it is less than the critical value, it is considered that the stop time period has not reached the first suspension ball.
  • the time condition for ball or second suspended ball update is considered that the stop time period has not reached the first suspension ball.
  • the terminal receives a long press movement operation on the first floating ball or the second floating ball.
  • the first floating ball or the second floating ball moves to a certain position on the display interface
  • the first floating ball or the second floating ball moves to a certain position on the display interface.
  • the stop time period of the position exceeds the time period threshold and the position is not at a non-edge position of the display interface
  • the first floating ball or the second floating ball is updated to the edge of the terminal interface.
  • the terminal when the terminal does not play video content in full screen, the terminal receives a long press movement operation on the first floating ball or the second floating ball, and the first floating ball or the second floating ball moves to the display interface. At a certain position, the stop time period of the first floating ball or the second floating ball at this position exceeds the time period threshold, and the position is at the edge of the display interface under non-full screen, the first floating ball or the second floating ball is updated. 2. Float the ball to the edge of the terminal interface. It should be noted that in some cases, the edge of the display interface coincides with the edge of the terminal interface.
  • the stop time period exceeds the time period threshold and the first floating ball or the second floating ball is at a non-edge position of the display interface
  • the first floating ball or the second floating ball is updated to the terminal interface.
  • the edge can prevent the floating ball from blocking the video content displayed on the display interface, thereby improving the effect of users watching video content.
  • updating the edge of the first floating ball or the second floating ball to the terminal interface includes: determining the non-edge position of the first floating ball or the second floating ball in the display interface. Edge position; when the non-edge position is in the upper half of the display interface, update the first floating ball or the second floating ball to the upper edge of the terminal interface; at the non-edge position When the lower half of the interface is displayed, the first floating ball or the second floating ball is updated to the lower edge of the terminal interface.
  • the upper part of the display interface refers to the part of the interface above the dividing line with the horizontal center line of the display interface as the dividing line; the lower part of the display interface refers to the part of the interface with the horizontal center line of the display interface as the dividing line and above the dividing line. The portion of the interface below this dividing line.
  • the terminal can update the appropriate position of the first floating ball or the second floating ball to the terminal interface by determining the non-edge position of the first floating ball or the second floating ball in the display interface.
  • touch operations including but not limited to click operations, sliding operations, and pressing operations.
  • the body of the terminal is provided with physical buttons corresponding to the barrage display, and receives any one of the user's first input to the ninth input, which can be expressed as receiving the user's press of the corresponding physical button. Any one of the first input to the ninth input; any one of the first input to the ninth input can also be a combined operation of pressing multiple physical keys at the same time.
  • the first input to the ninth input can also be expressed in other forms, including but not limited to character input, etc., and the details can be determined according to actual needs, which are not limited in the embodiments of the present application.
  • the terminal is a mobile phone
  • the online video is viewed in full screen
  • the display control is a floating ball.
  • a floating ball is displayed on the mobile phone interface, and the user can control the floating ball to move freely on the mobile phone interface.
  • the floating ball is in the activated state by default. In the activated state, the floating ball is at the edge of the mobile phone interface by default.
  • On the video content display interface on the mobile phone interface there are both barrage and video content.
  • a moving identification line when the user moves the above-mentioned floating ball, a moving identification line will appear in the vertical direction of the moving direction of the floating ball. According to the moving identification line, the user can be better assisted. Confirm the size of the display area. After the user moves the floating ball to a certain position, and the dwell time at that position exceeds the time period threshold, the indicator line disappears to avoid affecting the user's ability to watch the video. As shown in Figure 6, when the floating ball is not at the edge of the display interface and the processing is activated, it is automatically updated to the edge of the mobile phone interface. It should be noted that when playing a video in full screen, the edges of the display interface and the edge of the mobile phone interface overlap.
  • the display area that is, the area where the barrages are displayed takes effect, and the barrages are displayed in the display area.
  • the video content is displayed in the area outside the display area.
  • the vertical line where the floating ball is located is the dividing line. The user can drag the position of the floating ball to Feel free to change the size of the barrage area. It should be noted that there is also a part of the video content in the display area. When this part of the video content is blocked by barrages, it will not affect the playback effect of the overall video content.
  • the user when the user needs two display areas to display barrages, the user can long-press the above-mentioned floating ball and pull down the floating ball to a preset distance, thereby generating a new floating ball, And long press the new floating ball to any position that is not in the same vertical direction as the above floating ball.
  • two floating balls are used to divide the display interface into two display areas to display the barrage.
  • the barrage first appears in the barrage area on the right side of the display interface, and then slowly moves to the left. When it encounters the video area, the barrage will not be displayed. Then the barrage will appear in the left barrage area, and then slowly move to the left until the barrage disappears.
  • one suspended ball in the case of double suspended balls, one suspended ball can be removed to become a single suspended ball mode. remove a suspended ball
  • the operation can be customized. For example, if the position of the floating ball is at the upper edge of the mobile phone interface, the user can press and hold one of the floating balls and then push up to remove the floating ball. After removing one suspended ball, the double suspended ball mode automatically changes to the single suspended ball mode. As shown in the second diagram in Figure 10. For another example, if the position of the floating ball is at the lower edge of the mobile phone interface, the user can remove the floating ball by pressing and holding one of the floating balls and then pushing down. After removing one floating ball, the dual floating ball mode will automatically change to Single suspended ball mode.
  • any suspended ball can be removed. As shown in Figure 10, what is removed is the left floating ball. After removal, the left barrage area disappears. If the floating ball on the right is removed, the corresponding barrage area on the right will disappear. If the floating ball function is turned on on the mobile phone, it must be ensured that there is at least one floating ball on the mobile phone interface.
  • the display and cancellation of the display area can be controlled by changing the state of the floating ball.
  • the user can convert the floating ball from the activated state to the inactivated state by double-clicking or other operations.
  • the floating ball When the floating ball is in the inactivated state, the corresponding display area will no longer be displayed, and the pop-up will no longer be displayed in the display area. screen while continuing to display the video content.
  • converting the suspended ball from the activated state to the inactive state can be understood as suspending the function of dividing the display area using the suspended ball, but the suspended ball continues to be displayed on the mobile phone interface.
  • the color of the suspended ball in different states can be used to distinguish. For example, as shown in Figure 11, the black suspended ball on the right is the suspended ball in the activated state, and the white suspended ball on the left is the suspended ball in the inactive state.
  • the display interface can also be separated in other ways, such as by drawing separation lines on the interface, or by marking on the mobile phone screen with fingers, the display area can be separated.
  • the present invention can also be used for the split-screen function.
  • the screen is divided into several independent areas through the method of floating balls, especially for large-screen mobile devices such as folding screens and tablets. There are many application scenarios for customizing quick split screen.
  • the method in the above embodiment uses a floating ball to quickly and conveniently control the display of barrages when watching videos on a mobile phone.
  • the size of the barrage display area can be freely defined according to preference, which can be larger or smaller.
  • Drag the floating ball to control the display area which is simple and easy to use.
  • a single floating ball controls a single display area, and two floating balls control two display areas, which improves the adaptability of display area control. On the one hand, it allows users to experience the unique experience brought by barrage when watching videos. On the other hand, it can reduce the impact of barrage on users watching the original video.
  • the execution subject may be a barrage display device.
  • the method of performing the barrage display by the barrage display device is taken as an example to illustrate the device for displaying the barrage provided by the embodiment of the present application.
  • An embodiment of the present application also provides a barrage display device.
  • the barrage display device 1200 includes: a first processing module 1210 , a second processing module 1220 and a third processing module 1230 .
  • the first processing module 1210 is used to receive the user's first input to the display interface
  • the second processing module 1220 is used to determine at least one display area on the display interface in response to the first input
  • the display area is the display interface part
  • the third processing module 1230 is configured to display the barrage associated with the video content in the display area during the process of displaying the video content on the display interface.
  • the barrage display device by receiving the user's first input to the display interface; in response to the first input, at least one display area is determined on the above-mentioned display interface; the process of displaying video content on the display interface , display the barrage associated with the video content in the display area.
  • the barrage can be displayed in a certain display area. The barrage causes unreasonable obstruction of the displayed video content, which improves the effect of barrage display.
  • the second processing module 1220 is used for:
  • the first input to the first display control is received, the first display control is updated to the first position, and a display area is determined in the display interface.
  • the second processing module 1220 is used for:
  • two display areas are determined on the display interface.
  • the device may further include: a fourth processing module configured to: after the barrage moves in the first display area of the two display areas according to the direction of barrage motion and disappears from the first display area, Move and display the barrage in the second display area in the direction of the barrage motion.
  • a fourth processing module configured to: after the barrage moves in the first display area of the two display areas according to the direction of barrage motion and disappears from the first display area, Move and display the barrage in the second display area in the direction of the barrage motion.
  • the display control is a floating ball
  • the device may further include: a fifth processing module, configured to receive a fourth input to the first floating ball, cancel the display of the first floating ball, or receive an input to the second floating ball.
  • the fifth input of the ball is to cancel the display of the second floating ball;
  • the sixth processing module is used to display the video content in the display area corresponding to the first floating ball in the display interface when the display of the first floating ball is cancelled;
  • the display area corresponding to the second floating ball displays video content.
  • the device may further include:
  • the seventh processing module is used to receive the sixth input to the first floating ball, and the first floating ball is converted from an activated state to an inactivated state;
  • the eighth processing module is configured to receive the seventh input to the first floating ball when the first floating ball is in an inactive state, and continue to display the barrage in the display area.
  • the device may further include:
  • the seventh processing module is used to receive the eighth input to the second floating ball, and the second floating ball is converted from an activated state to an inactivated state;
  • the eighth processing module is configured to receive the ninth input to the second floating ball when the second floating ball is in an inactive state, and continue to display the barrage in the display area.
  • the device may further include: a ninth processing module, configured to: when the stop time period exceeds the time period threshold and the first floating ball or the second floating ball is at a non-edge position of the display interface, Update the first floating ball or the second floating ball to the edge of the terminal interface.
  • a ninth processing module configured to: when the stop time period exceeds the time period threshold and the first floating ball or the second floating ball is at a non-edge position of the display interface, Update the first floating ball or the second floating ball to the edge of the terminal interface.
  • the ninth processing module is used to determine the non-edge position of the first floating ball or the second floating ball in the display interface; when the non-edge position is in the upper half of the display interface In this case, the first floating ball or the second floating ball is updated to the upper edge of the terminal interface; in the case where the non-edge position is in the lower half of the display interface, the first floating ball or the second floating ball is updated to the upper edge of the terminal interface. lower edge.
  • the barrage display device in the embodiment of the present application may be an electronic device or a component of the electronic device, such as an integrated circuit or chip.
  • the electronic device may be a terminal or other devices other than the terminal.
  • the electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a mobile internet device (Mobile Internet Device, MID), or augmented reality (AR)/virtual reality (VR).
  • ) equipment, robots, wearable devices, ultra-mobile personal computers (UMPC), netbooks or personal digital assistants (personal digital assistants, PDA), etc., and can also be personal computers (PC), TVs Television (TV), teller machine or self-service machine, etc. are not specifically limited in the embodiments of this application.
  • the barrage display device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
  • the barrage display device provided by the embodiment of the present application can implement each process implemented by the method embodiment in Figures 1 to 2. To avoid duplication, the details will not be described here.
  • this embodiment of the present application also provides an electronic device 1300, including a processor 1301, a memory 1302, and programs or instructions stored on the memory 1302 and executable on the processor 1301.
  • a processor 1301 a memory 1302
  • the program or instruction is executed by the processor 1301
  • each process of the above-mentioned barrage display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, the details will not be described here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • Figure 14 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.
  • the electronic device 1400 includes but is not limited to: radio frequency unit 1401, network module 1402, audio output unit 1403, input unit 1404, sensor 1405, display unit 1406, user input unit The input unit 1407, the interface unit 1408, the memory 1409, the processor 1410 and other components.
  • the electronic device 1400 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 1410 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions.
  • the structure of the electronic device shown in Figure 14 does not constitute a limitation of the electronic device.
  • the electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .
  • the processor 1410 is configured to receive the user's first input to the display interface; in response to the first input, determine at least one display area on the display interface; during the process of displaying the video content on the display interface, display in the display area Barrage associated with video content.
  • the electronic device by receiving the user's first input to the display interface; in response to the first input, at least one display area is determined on the above-mentioned display interface; the display area is a part of the display interface; in During the process of displaying video content on the display interface, a barrage corresponding to the video content is displayed in the display area. In the process of displaying video content on the display interface, the barrage can be displayed in a certain display area. The barrage causes unreasonable obstruction of the displayed video content, which improves the effect of barrage display.
  • processor 1410 is also used to:
  • the first input to the first display control is received, the first display control is updated to the first position, and a display area is determined on the display interface.
  • processor 1410 is also used to:
  • two display areas are determined in the display interface.
  • the processor 1410 is also configured to, after the barrage moves in the first display area of the two display areas and disappears from the first display area according to the barrage movement direction, in the second display area, the The screen movement direction moves to display the barrage.
  • the processor 1410 is also configured to receive a fourth input to the first floating ball and cancel the display of the first floating ball, or to receive a fifth input to the second floating ball and cancel the display of the second floating ball;
  • the display area corresponding to the first floating ball displays video content;
  • the display of the second floating ball is cancelled, in the display interface, the display area corresponding to the second floating ball is displayed. area to display video content.
  • the processor 1410 is also configured to receive a sixth input to the first suspended ball, and the first suspended ball is converted from an activated state to an inactive state; or, to receive an eighth input to the second suspended ball, and the second suspended ball is converted into an inactive state.
  • the floating ball changes from activated state to inactive state.
  • the processor 1410 is also configured to receive a seventh input to the first floating ball when the first floating ball is in an inactive state, and continue to display the barrage in the display area; at the second floating ball In the inactive state, the ninth input to the second floating ball is received, and the barrage continues to be displayed in the display area.
  • the processor 1410 is also configured to update the first floating ball or the second floating ball when the stop time period exceeds the time period threshold and the first floating ball or the second floating ball is at a non-edge position of the display interface. Float the ball to the edge of the terminal interface.
  • the processor 1410 is also used to determine the non-edge position of the first floating ball or the second floating ball in the display interface; when the non-edge position is in the upper half of the display interface, update the first floating ball.
  • the ball or the second floating ball reaches the upper edge of the terminal interface; when the non-edge position is in the lower half of the display interface, the first floating ball or the second floating ball is updated to the lower edge of the terminal interface.
  • the input unit 1404 may include a graphics processor (Graphics Processing Unit, GPU) 14041 and a microphone 14042.
  • the graphics processor 14041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
  • the display unit 1406 may include a display panel 14061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1407 includes a touch panel 14071 and other input devices 14072. Touch panel 14071, also known as touch screen. Touch panel 14071 may include a touch detection device and There are two parts to the touch controller.
  • Other input devices 14072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • the memory 1409 can be used to store software programs and various data.
  • the memory 1409 can mainly include a first storage area for storing programs or instructions and a second storage area for storing data.
  • the first storage area can store an operating system and at least one function. Required applications or instructions (such as sound playback function, image playback function, etc.), etc.
  • memory 1409 may include volatile memory or nonvolatile memory, or memory 1409 may include both volatile and nonvolatile memory.
  • non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM Double Data Rate SDRAM
  • DDRSDRAM double data rate synchronous dynamic random access memory
  • Enhanced SDRAM, ESDRAM synchronous dynamic random access memory
  • Synch link DRAM synchronous link dynamic random access memory
  • SLDRAM direct memory
  • the processor 1410 may include one or more processing units; optionally, the processor 1410 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 1410.
  • Embodiments of the present application also provide a readable storage medium.
  • the readable storage medium stores programs or instructions.
  • the program or instructions are executed by the processor, the above embodiments of the barrage display method are implemented. Each process can achieve the same technical effect. To avoid repetition, we will not go into details here.
  • the processor is the processor in the electronic device described in the above embodiment.
  • the readable storage media includes computer-readable storage media, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc.
  • An embodiment of the present application further provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the above embodiments of the barrage display method. Each process can achieve the same technical effect. To avoid repetition, we will not go into details here.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
  • Embodiments of the present application also provide a computer program product.
  • Programs or instructions are stored on the computer program product.
  • the program or instructions are executed by the computer, each process of the above bullet screen display method embodiment is implemented, and the same technical effect can be achieved. , to avoid repetition, will not be repeated here.
  • Embodiments of the present application also provide an electronic device that is configured to implement each process of the above bullet screen display method embodiment and can achieve the same technical effect. To avoid duplication, the details will not be described here.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk , optical disk), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of this application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种弹幕显示方法及其装置,属于互联网技术领域。其中,弹幕显示方法包括:接收用户对显示界面的第一输入;响应于所述第一输入,在所述显示界面上确定出至少一个显示区域;在所述显示界面显示视频内容的过程中,在所述显示区域中显示与所述视频内容相关联的弹幕。

Description

弹幕显示方法及其装置
相关申请的交叉引用
本申请要求于2022年03月15日提交的申请号为202210254378.9,发明名称为“弹幕显示方法及其装置”的中国专利申请的优先权,其通过引用方式全部并入本申请。
技术领域
本申请涉及互联网技术领域,具体涉及一种弹幕显示方法及其装置。
背景技术
随着互联网技术的发展,尤其是伴随着电子产品的普遍应用,人们更多的应用电子产品观看在线视频,在观看在线视频的过程中,往往需要发表自己的看法,通过发表弹幕与观众产生互动。其中的弹幕是指在网络上观看视频时弹出的评论性字幕。
现有技术中弹幕显示方法往往存在显示效果差,影响用户观看视频效果的问题。
发明内容
本申请实施例的目的是提供一种弹幕显示方法,能够解决弹幕显示效果差的问题。
第一方面,本申请实施例提供了一种弹幕显示方法,该方法包括:接收用户对显示界面的第一输入;响应于所述第一输入,在所述显示界面上确定出至少一个显示区域;在所述显示界面显示视频内容的过程中,在所述显示区域中显示与所述视频内容相关联的弹幕。
第二方面,本申请实施例提供了一种弹幕显示装置,该装置包括:第一 处理模块,用于接收用户对显示界面的第一输入;第二处理模块,用于响应于所述第一输入,在所述显示界面上确定出至少一个显示区域;第三处理模块,用于在所述显示界面显示视频内容的过程中,在所述显示区域中显示与所述视频内容相关联的弹幕。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
第六方面,本申请实施例提供了一种计算机程序产品,该计算机程序产品上存储程序或指令,该程序或指令被计算机执行时实现如第一方面的方法。
第七方面,本申请实施例提供了一种电子设备,该电子设备被配置成用于实现如第一方面的方法。
在本申请实施例中,通过接收用户对显示界面的第一输入;响应于该第一输入,在上述显示界面上确定出至少一个显示区域;在显示界面显示视频内容的过程中,在显示区域中显示与视频内容相关联的弹幕。在显示界面显示视频内容的过程中,能够将弹幕显示在确定的显示区域内,弹幕对显示视频内容不会产生不合理的遮挡,提高了弹幕显示的效果。
附图说明
图1是本申请实施例提供的弹幕显示方法的流程示意图之一;
图2是本申请实施例提供的弹幕显示方法的流程示意图之二;
图3是本申请实施例提供的弹幕显示方法的流程示意图之三;
图4是本申请实施例提供的弹幕显示的界面示意图之一;
图5是本申请实施例提供的弹幕显示的界面示意图之二;
图6是本申请实施例提供的弹幕显示的界面示意图之三;
图7是本申请实施例提供的弹幕显示的界面示意图之四;
图8是本申请实施例提供的弹幕显示的界面示意图之五;
图9是本申请实施例提供的弹幕显示的界面示意图之六;
图10是本申请实施例提供的弹幕显示的界面示意图之七;
图11是本申请实施例提供的弹幕显示的界面示意图之八;
图12是本申请实施例提供的弹幕显示装置的结构示意图;
图13是本申请实施例提供的电子设备的结构示意图;
图14是本申请实施例提供的电子设备的硬件示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的弹幕显示方法、弹幕显示装置、电子设备和可读存储介质进行详细地说明。
其中,弹幕显示方法可应用于终端,具体可由,终端中的硬件或软件执行。该弹幕显示方法的执行主体可以为终端,或者终端的控制装置等。
该终端包括但不限于具有触摸敏感表面(例如,触摸屏显示器和/或触摸板)的移动电话或平板电脑等其它便携式通信设备。还应当理解的是,在某些实施例中,该终端可以不是便携式通信设备,而是具有触摸敏感表面(例如,触摸屏显示器和/或触摸板)的台式计算机。
以下各个实施例中,描述了包括显示器和触摸敏感表面的终端。然而,应当理解的是,终端可以包括诸如物理键盘、鼠标和控制杆的一个或多个其它物理用户接口设备。
本申请实施例提供的弹幕显示方法,该弹幕显示方法的执行主体可以为电子设备或者电子设备中能够实现该弹幕显示方法的功能模块或功能实体,本申请实施例提及的电子设备包括但不限于手机、平板电脑、电脑、相机、可穿戴设备等,下面以电子设备作为执行主体为例对本申请实施例提供的弹幕显示方法进行说明。
如图1所示,该弹幕显示方法包括:步骤110、步骤120和步骤130。
步骤110、接收用户对显示界面的第一输入。
其中,显示界面是指显示视频内容的界面。其中视频内容可以是通过视频播放应用程序打开的在线视频。例如,利用A播放器,打开某网络节目的视频内容的播放界面,该界面为该视频内容的显示界面。
具体地,终端接收用户对显示界面的第一输入,该第一输入用于对显示区域的划分。
其中,第一输入可以表现为如下至少一种方式:
其一,第一输入可以表现为触控操作,包括但不限于点击操作、滑动操作和按压操作等。
在该实施方式中,接收用户的第一输入,可以表现为,接收用户在终端显示屏的显示区域的触控操作。
其二,第一输入可以表现为实体按键输入。
在该实施方式中,终端的机身上设有与弹幕显示对应的实体按键,接收用户的第一输入,可以表现为,接收用户按压对应的实体按键的第一输入;第一输入还可以为同时按压多个实体按键的组合操作。
其三,第一输入可以表现为语音输入。
在该实施方式中,终端可以在接收到语音如“请划分为一个弹幕显示区域”时,触发显示弹幕显示设置界面。
当然,在其他实施例中,第一输入也可以表现为其他形式,包括但不限于字符输入等,具体可根据实际需要决定,本申请实施例对此不作限定。
步骤120、响应于第一输入,在显示界面上确定出至少一个显示区域;
其中,显示区域是指对显示界面进行划分得到的区域。
该显示区域为上述显示界面的一部分。
具体地,终端在接收用户对显示界面的第一输入后,响应于该第一输入,可以在上述显示界面上确定出至少一个显示区域,该显示区域为上述显示界面的一部分。
步骤130、在显示界面显示视频内容的过程中,在显示区域中显示与视频内容相关联的弹幕。
其中,弹幕是指在网络上观看视频时弹出的评论性字幕。
具体地,终端在响应于第一输入,在显示界面上确定出至少一个显示区域之后,在显示界面显示视频内容的过程中,确定出的至少一个显示区域中显示与视频内容相关联的弹幕。需要说明的是,在确定的显示区域中,显示弹幕的同时,也显示视频内容,只不过在显示区域中显示的视频内容,不会影响用户对整个视频内容的观看效果。根据实际场景需要,确定的显示区域的大小或者数量有所区别。例如,在显示界面中显示视频内容的过程中,将该显示界面的最右侧离边缘一定距离的区域作为显示区域,在该区域中显示弹幕,不影响视频内容在显示界面中的整体播放效果。
本实施例中,通过接收用户对显示界面的第一输入;响应于该第一输入,在上述显示界面上确定出至少一个显示区域;该显示区域为显示界面 的一部分;在显示界面显示视频内容的过程中,在显示区域中显示与视频内容相关联的弹幕。在显示界面显示视频内容的过程中,能够将弹幕显示在确定的显示区域内,弹幕对显示视频内容不会产生不合理的遮挡,提高了弹幕显示的效果。
下面分别从不同的角度,对步骤120的实现方式进行说明。
一、基于显示控件,在显示界面上确定出一个显示区域
其中,显示控件是指可以在显示界面上进行显示的控件。例如,显示控件可以为悬浮球,在显示界面上显示悬浮球,终端利用接收对该悬浮球的移动操作,利用悬浮球在显示界面中的停留位置,确定显示区域。
当然,显示控件还可以为线条或界面标识。
其中,线条可以基于用户手势生成,终端利用接收对该线条的移动操作,利用线条在显示界面中的停留位置,确定显示区域。
当然,在另一些实施例中,用户无需移动前一次生成的线条,只需在显示界面的另外区域输入线条,终端即可自动覆盖前一次生成的线条,将最新输入的线条确定为显示控件。
在默认情况下,终端可以取消显示该线条,只有在用户触碰显示界面的情况下,终端才会显示该线条。
界面标识可以是用户的手指在显示界面上做标记所生成。
在一个实施例中,步骤120可以包括:
响应于第一输入,基于显示控件的移动位置,在显示界面上确定出至少一个显示区域。以用户打开A播放器播放在线视频为例,用户在打开A播放器播放在线视频时,在终端界面上展示显示控件,终端接收对该显示控件的移动操作,响应于该移动操作,根据显示控件停止移动的位置,在显示界面上确定出至少一个显示区域。
在一个实施例中,终端接收对该显示控件的移动操作过程中,在显示界面上显示上述显示控件的移动标识线,该移动标识线可以表现为高亮线,与显示控件的移动方向垂直,在显示控件停止移动的情况下,不再显示该 移动标识线。
在一个实施例中,步骤120可以包括:更新第一显示控件到第一位置,在显示界面上确定出一个显示区域。
具体地,在终端接收到对第一显示控件的第一输入,响应于该第一输入,更新第一显示控件到第一位置,在显示界面上确定出一个显示区域。例如,在显示界面上,终端接收对显示控件的长按操作,以及移动操作,更新第一显示控件到第一位置,基于该第一位置,在显示界面上确定出一个显示区域。例如,在终端为手机,横屏播放在线视频的情况下,用户左右移动显示控件到手机边缘的某个位置,例如,用户左右移动显示控件到手机的上边缘,离手机右边缘1厘米的位置,则将长1厘米,宽为手机右边缘长度的矩形区域,确定为显示区域。
本实施例中,通过更新第一显示控件到第一位置,在显示界面上确定出一个显示区域,能够达到快速便捷确定显示区域的目的。
二、基于显示控件,在显示界面上确定出两个显示区域
如图2所示,在一个实施例中,步骤120可以包括:步骤210、步骤220和步骤230。
步骤210、接收对第一显示控件的第一输入,在终端界面中,显示第二显示控件。
具体地,可以通过增加显示控件的数量,从而增加显示区域。
其中,显示控件可以包括但不限于悬浮球、线条或界面标识。
在一个实施例中,终端接收对第一显示控件的长按后的下拉操作,在第一显示控件下拉距离达到预设距离后,生成第二显示控件,将该第二显示控件显示在终端界面中。
步骤220、接收对第一显示控件的第二输入,更新第一显示控件到第二位置,以及,接收对第二显示控件的第三输入,更新第二显示控件到第三位置。
具体地,在终端界面中显示第二显示控件之后,终端接收对第一显示 控件的长按移动操作,更新第一显示控件到第二位置,以及,接收对第二显示控件的长按移动操作,更新第二显示控件到第三位置。需要说明的是,其中的第二输入和第三输入可以是长按移动操作之外的其他操作。
步骤230、基于第二位置和第三位置,在显示界面上确定出两个显示区域。
具体地,终端在确定第一显示控件所处的第二位置和第二显示控件所处的第三位置之后,可以基于第二位置和第三位置,在显示界面上确定出两个显示区域。
在一个实施例中,以终端为手机,横屏播放视频为例。第二位置和第三位置都处在手机上边缘,并且第二位置和第三位置不重叠的情况下,以第二位置处的竖直线和第三位置处的竖直线为视频内容区域的分界线,将视频内容区域划分为三个区域,在视频内容播放的过程中,在划分出的两个显示区域中显示视频内容对应的弹幕。需要说明的是,两个显示区域中显示视频内容对应的弹幕的同时,不会影响视频播放内容的播放效果。
本实施例中,通过接收对第一显示控件的第一输入,在终端界面中,显示第二显示控件,接收对第一显示控件的第二输入,更新第一显示控件到第二位置,以及,接收对第二显示控件的第三输入,更新第二显示控件到第三位置,基于第二位置和第三位置,在显示界面上确定出两个显示区域,能够达到准确确定两个显示区域的效果。
当然,在另一些实施例中,步骤120还可以包括:终端响应于第一输入,可以基于悬浮球、线条或界面标识中的任意一种、任意两种的组合或者任意三种的组合等,在显示界面上确定出至少一个显示区域。
根据以上实施例,通过响应于第一输入,基于悬浮球、线条或界面标识中的任意一种或多种方式的组合,在显示界面上确定出至少一个显示区域,能够达到利用不同方式确定显示区域的目的,从而达到提高确定显示区域便利性的效果。
在一个实施例中,弹幕显示方法还包括:在弹幕按照弹幕运动方向在 两个显示区域的第一个显示区域内移动至从第一个显示区域消失后,在第二个显示区域以弹幕运动方向移动显示弹幕。
其中,弹幕运动方向是指在显示界面上,从弹幕出现为起点,以弹幕消失为终端的指向方向。例如,弹幕在显示界面的右侧出现,在显示界面的左侧消失,则弹幕运动方向为从右到左的方向。
具体地,在终端横屏播放视频的情况下,两个显示区域分布在显示界面的两侧,弹幕运动方向为从右往左,则分布在显示界面右侧的显示区域首先显示弹幕,当弹幕运动位置达到该右侧的显示区域与视频内容播放的边界位置处时,弹幕消失,在该弹幕运行到显示界面左侧的显示区域时,会再次出现该弹幕,直至弹幕运行到显示界面的最左侧边缘时消失。
本实施例中,通过根据弹幕运动方向,先后在两个显示区域显示弹幕,能够达到在显示界面上存在两个显示区域的情况下,在两个显示区域显示弹幕均不影响正常的视频内容的播放。
在一个实施例中,如图3所示,显示控件为悬浮球,弹幕显示方法还包括:步骤310和步骤320。
步骤310、接收对第一悬浮球的第四输入,取消显示第一悬浮球,或者,接收对第二悬浮球的第五输入,取消显示第二悬浮球。
具体地,终端可以通过接收第三输入,使得在终端界面取消显示第一悬浮球,或者,终端可以通过接收第五输入,使得在终端界面取消显示第二悬浮球。
在一个实施例中,在第一悬浮球处于终端界面边缘的情况下,终端接收对第一悬浮球的长按外推操作,使得在终端界面取消显示第一悬浮球;或者,在第二悬浮球处于终端界面边缘的情况下,终端接收对第二悬浮球的长按外推操作,使得在终端界面取消显示第二悬浮球。
在一个实施例中,在第一悬浮球不处于终端界面边缘的情况下,终端接收对第一悬浮球的长按移动操作,在第一悬浮球移动到终端界面边缘的情况下,终端接收对第一悬浮球的长按外推操作,使得在终端界面取消显 示第一悬浮球;或者,在第二悬浮球不处于终端界面边缘的情况下,终端接收对第二悬浮球的长按移动操作,在第二悬浮球移动到终端界面边缘的情况下,终端接收对第二悬浮球的长按外推操作,使得在终端界面取消显示第二悬浮球。
步骤320、在取消显示第一悬浮球的情况下,在显示界面中,第一悬浮球对应的显示区域显示视频内容;在取消显示第二悬浮球的情况下,在显示界面中,第二悬浮球对应的显示区域显示视频内容。
具体地,在终端界面上取消显示第一悬浮球的情况下,在显示界面中,第一悬浮球所起到的显示区域的划分功能消失,在先前划分的显示区域处继续显示视频内容,在第二悬浮球划分出的显示区域中显示弹幕。同样的,在终端界面上取消显示第二悬浮球的情况下,在显示界面中,第二悬浮球所起到的显示区域的划分功能消失,在先前划分的显示区域处继续显示视频内容,在第一悬浮球划分出的显示区域中显示弹幕。
在一个实施例中,在终端开启了悬浮球功能的情况下,可以取消显示上述第一悬浮球和第二悬浮球中任意一个。
在一个实施例中,在终端界面上同时取消显示第一悬浮球和第二悬浮球的情况下,显示界面回复原有的视频内容显示功能。
本实施例中,通过接收对第一悬浮球的第四输入,取消显示第一悬浮球,或者,接收对第二悬浮球的第五输入,取消显示第二悬浮球,在取消显示第一悬浮球的情况下,在显示界面中,第一悬浮球对应的显示区域显示视频内容;在取消显示第二悬浮球的情况下,在显示界面中,第二悬浮球对应的显示区域显示视频内容,能够达到根据实际场景需要,合理利用悬浮球进行弹幕显示区域的规划。
在一个实施例中,弹幕显示方法还包括:接收对第一悬浮球的第六输入,该第一悬浮球由激活状态转换为未激活状态;或者,接收对第二悬浮球的第八输入,该第二悬浮球由激活状态转换为未激活状态。
具体地,终端接收对第一悬浮球的第六输入,可以改变第一悬浮球的 状态,同样的,终端接收对第二悬浮球的第八输入,可以改变第二悬浮球的状态。
在一个实施例中,在第一悬浮球处于激活状态的情况下,终端可以接收对第一悬浮球的双击操作,该第一悬浮球由激活状态转换为未激活状态;或者,在第二悬浮球处于激活状态的情况下,终端可以接收对第二悬浮球的双击操作,该第二悬浮球由激活状态转换为未激活状态。
本实施例中,通过接收对第一悬浮球的第六输入,该第一悬浮球由激活状态转换为未激活状态;或者,接收对第二悬浮球的第八输入,该第二悬浮球由激活状态转换为未激活状态,能够达到在显示界面上对悬浮球进行状态的调整,在显示区域划分过程中,能够提高人机交互效率。
在一个实施例中,弹幕显示方法还包括:在第一悬浮球处在未激活状态的情况下,接收对第一悬浮球的第七输入,在显示区域继续显示弹幕;在第二悬浮球处在未激活状态的情况下,接收对第二悬浮球的第九输入,在显示区域继续显示弹幕。
具体地,在第一悬浮球处在未激活状态的情况下,终端接收对第一悬浮球的第七输入,在显示区域继续显示弹幕;在第二悬浮球处在未激活状态的情况下,终端接收对第二悬浮球的第九输入,在显示区域继续显示弹幕。
在一个实施例中,在第一悬浮球处在未激活状态的情况下,终端接收对第一悬浮球的双击操作,此时,第一悬浮球由未激活状态转换为激活状态,第一悬浮球继续保持显示区域划分功能,将显示界面划分出显示区域,并在该显示区域继续显示弹幕。同样的,在第二悬浮球处在未激活状态的情况下,终端接收对第二悬浮球的双击操作,此时,第二悬浮球由未激活状态转换为激活状态,第二悬浮球继续保持显示区域划分功能,将显示界面划分出显示区域,并在该显示区域继续显示弹幕。
本实施例中,通过在第一悬浮球处在未激活状态的情况下,接收对第一悬浮球的第七输入,在显示区域继续显示弹幕;在第二悬浮球处在未激 活状态的情况下,接收对第二悬浮球的第九输入,在显示区域继续显示弹幕,能够灵活控制显示控件的状态,提高用户对显示区域的灵活配置。
在一个实施例中,弹幕显示方法还包括:在停止时间段超过时间段阈值,并且第一悬浮球或第二悬浮球处在显示界面的非边缘位置的情况下,更新第一悬浮球或第二悬浮球到终端界面的边缘。
其中,时间段阈值是指时间段的临界值,大于等于该临界值认为停止时间段达到第一悬浮球或第二悬浮球更新的时间条件;小于该临界值认为停止时间段未达到第一悬浮球或第二悬浮球更新的时间条件。
具体地,终端接收对第一悬浮球或第二悬浮球的长按移动操作,在该第一悬浮球或第二悬浮球移动到显示界面的某个位置,第一悬浮球或第二悬浮球在该位置的停止时间段超过时间段阈值,并且该位置不处在显示界面的非边缘位置的情况下,更新第一悬浮球或第二悬浮球到终端界面的边缘。
在一个实施例中,在终端非全屏播放视频内容的情况下,终端接收对第一悬浮球或第二悬浮球的长按移动操作,在该第一悬浮球或第二悬浮球移动到显示界面的某个位置,第一悬浮球或第二悬浮球在该位置的停止时间段超过时间段阈值,该位置处在非全屏下的显示界面的边缘位置的情况下,更新第一悬浮球或第二悬浮球到终端界面的边缘。需要说明的是,显示界面的边缘在有些情况下与终端界面的边缘重合。
本实施例中,通过在停止时间段超过时间段阈值,并且第一悬浮球或第二悬浮球处在显示界面的非边缘位置的情况下,更新第一悬浮球或第二悬浮球到终端界面的边缘,能够避免悬浮球对显示界面上显示的视频内容的遮挡,达到提高用户观看视频内容效果。
在一个实施例中,在显示界面的非边缘位置的情况下,更新第一悬浮球或第二悬浮球到终端界面的边缘包括:确定第一悬浮球或第二悬浮球在显示界面中的非边缘位置;在非边缘位置处在显示界面的上半部分的情况下,更新第一悬浮球或第二悬浮球到终端界面的上边缘;在非边缘位置处 在显示界面的下半部分的情况下,更新第一悬浮球或第二悬浮球到终端界面的下边缘。
其中,显示界面的上半部分是指以显示界面的横向中心线为分界线,处于该分界线上面的界面部分;显示界面的下半部分是指以显示界面的横向中心线为分界线,处于该分界线下面的界面部分。
具体地,终端可以通过确定第一悬浮球或第二悬浮球在显示界面中的非边缘位置,更新第一悬浮球或第二悬浮球到终端界面的合适位置。
本实施例中,通过确定第一悬浮球或第二悬浮球在显示界面中的非边缘位置;在非边缘位置处在显示界面的上半部分的情况下,更新第一悬浮球或第二悬浮球到终端界面的上边缘;在非边缘位置处在显示界面的下半部分的情况下,更新第一悬浮球或第二悬浮球到终端界面的下边缘,能够达到提高更新第一悬浮球或第二悬浮球到终端界面的边缘的效率。
需要说明的是,其中,以上方法中涉及到的第一输入至第九输入可以表现为如下至少一种方式:
其一,可以表现为触控操作,包括但不限于点击操作、滑动操作和按压操作等。
其二,可以表现为实体按键输入。
在该实施方式中,终端的机身上设有与弹幕显示对应的实体按键,接收用户的第一输入至第九输入中的任意一个输入,可以表现为,接收用户按压对应的实体按键的第一输入至第九输入中的任意一个输入;第一输入至第九输入中的任意一个输入还可以为同时按压多个实体按键的组合操作。
其三,可以表现为语音输入。
当然,在其他实施例中,第一输入至第九输入也可以表现为其他形式,包括但不限于字符输入等,具体可根据实际需要决定,本申请实施例对此不作限定。
在一个实施例中,以终端为手机、全屏观看在线视频和上述显示控件为悬浮球为例。如图4所示,在手机设置中设置有悬浮球功能后,观看视 频时,在手机界面上显示一个悬浮球,并且用户可以控制该悬浮球在手机界面上自由移动。该悬浮球默认在激活状态,在该激活状态下,该悬浮球默认处在手机界面的边缘位置。在手机界面上的视频内容的显示界面上,同时存在弹幕和视频内容。
在一个实施例中,如图5所示,用户在移动上述悬浮球的过程中,在悬浮球移动方向的垂直方向上会出现一条移动标识线,根据该移动标识线,可以更好的辅助用户确认显示区域的大小。在用户将悬浮球移动到某个位置后,在该位置的停留时间段超过时间段阈值后,该指示线消失,避免影响用户观看视频的效果。如图6所示,在悬浮球不处于显示界面的边缘、并且处理激活状态的情况下,自动更新到手机界面的边缘。需要说明的是,在全屏播放视频的情况下,显示界面的边缘和手机界面的边缘是重合的。
在一个实施例中,在上述悬浮球被移动到如图7所示的位置,并停留时间段超过时间段阈值后,显示区域即显示弹幕的区域生效,在显示区域内显示弹幕,在显示界面中,显示区域以外的区域显示视频内容,在显示区域以外的区域显示视频内容的同时不会显示弹幕,悬浮球所在的竖直线为分界线,用户拖动悬浮球的位置,可以随意变更弹幕区的大小。需要说明的是,在显示区域中也有一部分视频内容,该一部分视频内容在弹幕遮挡的情况下,并不会影响整体视频内容的播放效果。
在一个实施例中,如图8所示,在用户需要两个显示区域显示弹幕的情况下,用户可以长按上述悬浮球并下拉该悬浮球到预设距离,从而生成新的悬浮球,并通过长按新悬浮球到与上述悬浮球不在同一竖直方向的任意位置。从而形成如图9所示的,利用两个悬浮球,将显示界面划分为两个显示区域显示弹幕的情况。在两个显示区域的情况下,弹幕首先出现在显示界面的右侧弹幕区,然后慢慢往左挪动,遇到视频区时,弹幕不会显示。然后弹幕会出现在左侧弹幕区,再慢慢往左挪动,直至弹幕消失。
在一个实施例中,如图10所示,在该图中的第一个图中,在处于双悬浮球的情况下,可去除一个悬浮球变成单悬浮球模式。去除一个悬浮球的 操作可自定义设置,例如,如果悬浮球的位置在手机界面的上边缘,用户可以通过按住其中一个悬浮球,然后往上推,即可去掉该悬浮球。去掉一个悬浮球后,双悬浮球模式自动变更为单悬浮球模式。如该图10中的第二个图所示。又例如,如果悬浮球的位置在手机界面的下边缘,用户可以通过按住其中一个悬浮球,然后往下推,即可去掉该悬浮球,去掉一个悬浮球后,双悬浮球模式自动变更为单悬浮球模式。需要说明的是,双悬浮球模式下,任何一个悬浮球都可以去除。如图10所示,去除的是左边悬浮球,去除后,左侧弹幕区消失。如果去除的是右边悬浮球,那么相应的右侧弹幕区消失。若手机上开启了悬浮球功能,必须保证手机界面上存在至少一个悬浮球。
在一个实施例中,如图11所示,可以通过对悬浮球状态的改变,控制显示区域的显示和取消显示。用户可以通过双击或者其他操作,将悬浮球从激活状态下转换为未激活状态,在悬浮球处在未激活状态的情况下,不再显示相应的显示区域,在该显示区域中不再显示弹幕,而继续显示视频内容。在双悬浮球模式下进行该操作,恢复成单悬浮球模式。在单悬浮球模式下进行该操作,恢复成正常视频内容上显示弹幕的模式。需要说明的是,将悬浮球从激活状态下转换为未激活状态可以理解为利用悬浮球划分显示区域的功能暂停,但是悬浮球继续显示在手机界面上。
在一个实施例中,为了能够较方便的分辨悬浮球为激活状态还是未激活状态,可以通过不同状态下悬浮球的颜色来分辨。例如,如图11所示,右侧黑色悬浮球为激活状态下的悬浮球,左侧白色悬浮球为未激活状态下的悬浮球。
需要说明的是,也可以通过其他方式来分隔显示界面,比如通过在界面上画分隔线条,或者通过手指在手机屏幕上做标记,都可以实现显示区域的分隔。
本发明除了应用于自定义视频弹幕功能外,还可以用于分屏功能,通过悬浮球这种方式,将屏幕分成几个独立区域,尤其对于折叠屏、平板等大屏移动设备来说,自定义快速分屏的应用场景很多。
上述实施例中的方法,通过利用悬浮球的方式,快速和便捷地控制手机观看视频时弹幕的展示。弹幕的显示区域的大小,可以根据喜好自由定义,可大可小。拖动悬浮球即可控制显示区域,操作简单易用。单个悬浮球控制单个显示区域,两个悬浮球控制两个显示区域,提高了显示区域控制的适配性。一方面可以使用户感受观看视频时,弹幕带来的别样体验,另一方面,可以降低弹幕对用户观看原始视频的影响。
本申请实施例提供的弹幕显示方法,执行主体可以为弹幕显示装置。本申请实施例中以弹幕显示装置执行弹幕显示的方法为例,说明本申请实施例提供的弹幕显示的装置。
本申请实施例还提供一种弹幕显示装置。
如图12所示,该弹幕显示装置1200包括:第一处理模块1210、第二处理模块1220和第三处理模块1230。其中,第一处理模块1210,用于接收用户对显示界面的第一输入;第二处理模块1220,用于响应于第一输入,在显示界面上确定出至少一个显示区域;显示区域为显示界面的一部分;第三处理模块1230,用于在显示界面显示视频内容的过程中,在显示区域中显示与视频内容相关联的弹幕。
根据本申请实施例提供的弹幕显示装置,通过接收用户对显示界面的第一输入;响应于该第一输入,在上述显示界面上确定出至少一个显示区域;在显示界面显示视频内容的过程中,在显示区域中显示与视频内容相关联的弹幕。在显示界面显示视频内容的过程中,能够将弹幕显示在确定的显示区域内,弹幕对显示视频内容产生不合理的遮挡,提高了弹幕显示的效果。
在一个实施例中,第二处理模块1220,用于:
响应于第一输入,接收对第一显示控件的第一输入,更新第一显示控件到第一位置,在显示界面中确定出一个显示区域。
在一个实施例中,第二处理模块1220,用于:
接收对第一显示控件的第一输入,在终端界面中,显示第二显示控件;
接收对第一显示控件的第二输入,更新第一显示控件到第二位置,以及,接收对第二显示控件的第三输入,更新第二显示控件到第三位置;
基于第二位置和第三位置,在显示界面上确定出两个显示区域。
在一个实施例中,该装置还可以包括:第四处理模块,用于在弹幕按照弹幕运动方向在两个显示区域的第一个显示区域内移动至从第一个显示区域消失后,在第二个显示区域以弹幕运动方向移动显示弹幕。
在一个实施例中,显示控件为悬浮球,该装置还可以包括:第五处理模块,用于接收对第一悬浮球的第四输入,取消显示第一悬浮球,或者,接收对第二悬浮球的第五输入,取消显示第二悬浮球;第六处理模块,用于在取消显示第一悬浮球的情况下,在显示界面中,第一悬浮球对应的显示区域显示视频内容;在取消显示第二悬浮球的情况下,在显示界面中,第二悬浮球对应的显示区域显示视频内容。
在一个实施例中,该装置还可以包括:
第七处理模块,用于接收对第一悬浮球的第六输入,第一悬浮球由激活状态转换为未激活状态;
第八处理模块,用于在第一悬浮球处在未激活状态的情况下,接收对第一悬浮球的第七输入,在显示区域继续显示弹幕。
在一个实施例中,该装置还可以包括:
第七处理模块,用于接收对第二悬浮球的第八输入,第二悬浮球由激活状态转换为未激活状态;
第八处理模块,用于在第二悬浮球处在未激活状态的情况下,接收对第二悬浮球的第九输入,在显示区域继续显示弹幕。
在一个实施例中,该装置还可以包括:第九处理模块,用于在停止时间段超过时间段阈值,并且第一悬浮球或第二悬浮球处在显示界面的非边缘位置的情况下,更新第一悬浮球或第二悬浮球到终端界面的边缘。
在一个实施例中,第九处理模块,用于确定第一悬浮球或第二悬浮球在显示界面中的非边缘位置;在非边缘位置处在显示界面的上半部分的情 况下,更新第一悬浮球或第二悬浮球到终端界面的上边缘;在非边缘位置处在显示界面的下半部分的情况下,更新第一悬浮球或第二悬浮球到终端界面的下边缘。
本申请实施例中的弹幕显示装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的弹幕显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为IOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的弹幕显示装置能够实现图1至图2的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图13所示,本申请实施例还提供一种电子设备1300,包括处理器1301,存储器1302,存储在存储器1302上并可在所述处理器1301上运行的程序或指令,该程序或指令被处理器1301执行时实现上述弹幕显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图14为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备1400包括但不限于:射频单元1401、网络模块1402、音频输出单元1403、输入单元1404、传感器1405、显示单元1406、用户输 入单元1407、接口单元1408、存储器1409以及处理器1410等部件。
本领域技术人员可以理解,电子设备1400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图14中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器1410,用于接收用户对显示界面的第一输入;响应于第一输入,在显示界面上确定出至少一个显示区域;在显示界面显示视频内容的过程中,在显示区域中显示与视频内容相关联的弹幕。
根据本申请实施例提供的电子设备,通过接收用户对显示界面的第一输入;响应于该第一输入,在上述显示界面上确定出至少一个显示区域;该显示区域为显示界面的一部分;在显示界面显示视频内容的过程中,在显示区域中显示与视频内容对应的弹幕。在显示界面显示视频内容的过程中,能够将弹幕显示在确定的显示区域内,弹幕对显示视频内容产生不合理的遮挡,提高了弹幕显示的效果。
可选地,处理器1410,还用于:
响应于第一输入,接收对第一显示控件的第一输入,更新第一显示控件到第一位置,在显示界面上确定出一个显示区域。
可选地,处理器1410,还用于:
接收对第一显示控件的第一输入,在终端界面中,显示第二显示控件;
接收对第一显示控件的第二输入,更新第一显示控件到第二位置,以及,接收对第二显示控件的第三输入,更新第二显示控件到第三位置;
基于第二位置和第三位置,在显示界面中确定出两个显示区域。
可选地,处理器1410,还用于在弹幕按照弹幕运动方向在两个显示区域的第一个显示区域内移动至从第一个显示区域消失后,在第二个显示区域以弹幕运动方向移动显示弹幕。
可选地,处理器1410,还用于接收对第一悬浮球的第四输入,取消显示第一悬浮球,或者,接收对第二悬浮球的第五输入,取消显示第二悬浮球;在取消显示第一悬浮球的情况下,在显示界面中,第一悬浮球对应的显示区域显示视频内容;在取消显示第二悬浮球的情况下,在显示界面中,第二悬浮球对应的显示区域显示视频内容。
可选地,处理器1410,还用于接收对第一悬浮球的第六输入,第一悬浮球由激活状态转换为未激活状态;或者,接收对第二悬浮球的第八输入,第二悬浮球由激活状态转换为未激活状态。
可选地,处理器1410,还用于在第一悬浮球处在未激活状态的情况下,接收对第一悬浮球的第七输入,在显示区域继续显示弹幕;在第二悬浮球处在未激活状态的情况下,接收对第二悬浮球的第九输入,在显示区域继续显示弹幕。
可选地,处理器1410,还用于在停止时间段超过时间段阈值,并且第一悬浮球或第二悬浮球处在显示界面的非边缘位置的情况下,更新第一悬浮球或第二悬浮球到终端界面的边缘。
可选地,处理器1410,还用于确定第一悬浮球或第二悬浮球在显示界面中的非边缘位置;在非边缘位置处在显示界面的上半部分的情况下,更新第一悬浮球或第二悬浮球到终端界面的上边缘;在非边缘位置处在显示界面的下半部分的情况下,更新第一悬浮球或第二悬浮球到终端界面的下边缘。
应理解的是,本申请实施例中,输入单元1404可以包括图形处理器(Graphics Processing Unit,GPU)14041和麦克风14042,图形处理器14041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1406可包括显示面板14061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板14061。用户输入单元1407包括触控面板14071以及其他输入设备14072。触控面板14071,也称为触摸屏。触控面板14071可包括触摸检测装置和 触摸控制器两个部分。其他输入设备14072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
存储器1409可用于存储软件程序以及各种数据,存储器1409可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1409可以包括易失性存储器或非易失性存储器,或者,存储器1409可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任意其它适合类型的存储器。
处理器1410可包括一个或多个处理单元;可选地,处理器1410集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1410中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述弹幕显示方法实施例 的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述弹幕显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例还提供了一种计算机程序产品,该计算机程序产品上存储程序或指令,该程序或指令被计算机执行时实现上述弹幕显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供了一种电子设备,该电子设备被配置成用于实现上述弹幕显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描 述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (15)

  1. 一种弹幕显示方法,包括:
    接收用户对显示界面的第一输入;
    响应于所述第一输入,在所述显示界面上确定出至少一个显示区域;
    在所述显示界面显示视频内容的过程中,在所述显示区域中显示与所述视频内容相关联的弹幕。
  2. 根据权利要求1所述的弹幕显示方法,其中,所述响应于所述第一输入,在所述显示界面上确定出至少一个显示区域包括:
    响应于所述第一输入,接收对第一显示控件的所述第一输入,更新所述第一显示控件到第一位置,在所述显示界面上确定出一个所述显示区域。
  3. 根据权利要求1所述的弹幕显示方法,其中,所述响应于所述第一输入,在所述显示界面上确定出至少一个显示区域包括:
    响应于所述第一输入,接收对第一显示控件的所述第一输入,在终端界面中,显示第二显示控件;
    接收对所述第一显示控件的第二输入,更新第一显示控件到第二位置,以及,接收对所述第二显示控件的第三输入,更新第二显示控件到第三位置;
    基于所述第二位置和所述第三位置,在所述显示界面上确定出两个所述显示区域。
  4. 根据权利要求3所述的弹幕显示方法,其中,所述显示控件为悬浮球,所述方法还包括:
    接收对第一悬浮球的第四输入,取消显示所述第一悬浮球,或者,接收对第二悬浮球的第五输入,取消显示所述第二悬浮球;
    在取消显示所述第一悬浮球的情况下,在所述显示界面中,所述第一悬浮球对应的显示区域显示所述视频内容;
    在取消显示所述第二悬浮球的情况下,在所述显示界面中,所述第二 悬浮球对应的显示区域显示所述视频内容。
  5. 根据权利要求4所述的弹幕显示方法,其中,所述方法还包括:
    接收对所述第一悬浮球的第六输入,所述第一悬浮球由激活状态转换为未激活状态;
    在所述第一悬浮球处在所述未激活状态的情况下,接收对所述第一悬浮球的第七输入,在所述显示区域继续显示所述弹幕;
    或者,接收对所述第二悬浮球的第八输入,所述第二悬浮球由激活状态转换为未激活状态;
    在所述第二悬浮球处在所述未激活状态的情况下,接收对所述第二悬浮球的第九输入,在所述显示区域继续显示所述弹幕。
  6. 一种弹幕显示装置,包括:
    第一处理模块,用于接收用户对显示界面的第一输入;
    第二处理模块,用于响应于所述第一输入,在所述显示界面上确定出至少一个显示区域;
    第三处理模块,用于在所述显示界面显示视频内容的过程中,在所述显示区域中显示与所述视频内容相关联的弹幕。
  7. 根据权利要求6所述的弹幕显示装置,其中,所述第二处理模块,用于:
    响应于所述第一输入,接收对第一显示控件的所述第一输入,更新所述第一显示控件到第一位置,在所述显示界面中确定出一个所述显示区域。
  8. 根据权利要求6所述的弹幕显示装置,其中,所述第二处理模块,用于:
    响应于所述第一输入,接收对第一显示控件的所述第一输入,在终端界面中,显示第二显示控件;
    接收对所述第一显示控件的第二输入,更新第一显示控件到第二位置,以及,接收对所述第二显示控件的第三输入,更新第二显示控件到第三位置;
    基于所述第二位置和所述第三位置,在所述显示界面上确定出两个所述显示区域。
  9. 根据权利要求8所述的弹幕显示装置,其中,所述显示控件为悬浮球,还包括:
    第五处理模块,用于接收对第一悬浮球的第四输入,取消显示所述第一悬浮球,或者,接收对第二悬浮球的第五输入,取消显示所述第二悬浮球;
    第六处理模块,用于在取消显示所述第一悬浮球的情况下,在所述显示界面中,所述第一悬浮球对应的显示区域显示所述视频内容;在取消显示所述第二悬浮球的情况下,在所述显示界面中,所述第二悬浮球对应的显示区域显示所述视频内容。
  10. 根据权利要求9所述的弹幕显示装置,其中,还包括:
    第七处理模块,用于接收对所述第一悬浮球的第六输入,所述第一悬浮球由激活状态转换为未激活状态;
    第八处理模块,用于在所述第一悬浮球处在所述未激活状态的情况下,接收对所述第一悬浮球的第七输入,在所述显示区域继续显示所述弹幕;
    或者,
    第七处理模块,用于接收对所述第二悬浮球的第八输入,所述第二悬浮球由激活状态转换为未激活状态;
    第八处理模块,用于在所述第二悬浮球处在所述未激活状态的情况下,接收对所述第二悬浮球的第九输入,在所述显示区域继续显示所述弹幕。
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5任一项所述的弹幕显示方法的步骤。
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5任一项所述的弹幕显示方法的步骤。
  13. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5任一项所述的弹幕显示方法的步骤。
  14. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至5任一项所述的弹幕显示方法的步骤。
  15. 一种电子设备,所述电子设备被配置成用于执行如权利要求1至5任一项所述的弹幕显示方法的步骤。
PCT/CN2023/081516 2022-03-15 2023-03-15 弹幕显示方法及其装置 WO2023174316A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210254378.9 2022-03-15
CN202210254378.9A CN114666644A (zh) 2022-03-15 2022-03-15 弹幕显示方法及其装置

Publications (1)

Publication Number Publication Date
WO2023174316A1 true WO2023174316A1 (zh) 2023-09-21

Family

ID=82028822

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/081516 WO2023174316A1 (zh) 2022-03-15 2023-03-15 弹幕显示方法及其装置

Country Status (2)

Country Link
CN (1) CN114666644A (zh)
WO (1) WO2023174316A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666644A (zh) * 2022-03-15 2022-06-24 维沃移动通信有限公司 弹幕显示方法及其装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361946A (zh) * 2018-09-11 2019-02-19 传线网络科技(上海)有限公司 弹幕信息的显示方法及装置
CN110971945A (zh) * 2019-12-09 2020-04-07 上海传英信息技术有限公司 一种提高手机信息接收显示效率的方法、系统和设备
CN111124571A (zh) * 2019-12-13 2020-05-08 维沃移动通信有限公司 界面显示方法及电子设备
CN111601141A (zh) * 2020-04-30 2020-08-28 维沃移动通信有限公司 弹幕显示方法、装置、电子设备及可读存储介质
CN111866596A (zh) * 2020-07-28 2020-10-30 游艺星际(北京)科技有限公司 弹幕发布及展示方法、装置、电子设备和存储介质
CN112954484A (zh) * 2021-02-09 2021-06-11 维沃移动通信有限公司 弹幕信息显示方法和装置
CN114666644A (zh) * 2022-03-15 2022-06-24 维沃移动通信有限公司 弹幕显示方法及其装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111050223A (zh) * 2019-12-27 2020-04-21 维沃移动通信有限公司 弹幕信息处理方法及电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361946A (zh) * 2018-09-11 2019-02-19 传线网络科技(上海)有限公司 弹幕信息的显示方法及装置
CN110971945A (zh) * 2019-12-09 2020-04-07 上海传英信息技术有限公司 一种提高手机信息接收显示效率的方法、系统和设备
CN111124571A (zh) * 2019-12-13 2020-05-08 维沃移动通信有限公司 界面显示方法及电子设备
CN111601141A (zh) * 2020-04-30 2020-08-28 维沃移动通信有限公司 弹幕显示方法、装置、电子设备及可读存储介质
CN111866596A (zh) * 2020-07-28 2020-10-30 游艺星际(北京)科技有限公司 弹幕发布及展示方法、装置、电子设备和存储介质
CN112954484A (zh) * 2021-02-09 2021-06-11 维沃移动通信有限公司 弹幕信息显示方法和装置
CN114666644A (zh) * 2022-03-15 2022-06-24 维沃移动通信有限公司 弹幕显示方法及其装置

Also Published As

Publication number Publication date
CN114666644A (zh) 2022-06-24

Similar Documents

Publication Publication Date Title
US9658766B2 (en) Edge gesture
WO2022063022A1 (zh) 视频预览方法、装置及电子设备
US20120304107A1 (en) Edge gesture
US20120304131A1 (en) Edge gesture
US20110175826A1 (en) Automatically Displaying and Hiding an On-screen Keyboard
TWI616803B (zh) 螢幕畫面的縮放及操作方法、裝置與電腦程式產品
JP2023542666A (ja) 操作方法及び装置
CN110737374A (zh) 操作方法及电子设备
WO2023125425A1 (zh) 一种显示方法、装置和电子设备
WO2023078286A1 (zh) 一种视频显示方法、装置、电子设备和可读存储介质
WO2023025060A1 (zh) 界面显示的适配处理方法、装置和电子设备
WO2023174316A1 (zh) 弹幕显示方法及其装置
WO2024037418A1 (zh) 显示方法、装置、电子设备及可读存储介质
WO2024046204A1 (zh) 消息处理方法、装置、电子设备及存储介质
US20230244363A1 (en) Screen capture method and apparatus, and electronic device
WO2023030117A1 (zh) 书写控制方法、装置、电子设备及存储介质
WO2023274067A1 (zh) 图标生成方法、装置、电子设备和可读存储介质
TWI485616B (zh) 記錄軌跡的方法及電子裝置
WO2024037438A1 (zh) 分屏控制方法、装置、电子设备和可读存储介质
WO2023169499A1 (zh) 触摸屏的单手控制方法、控制装置、电子设备和存储介质
WO2023241563A1 (zh) 数据处理方法和电子设备
WO2024037419A1 (zh) 显示控制方法、装置、电子设备及可读存储介质
WO2023231871A1 (zh) 显示控制方法、装置、电子设备和可读存储介质
WO2023174369A1 (zh) 文本选取方法、文本选取装置、电子设备和可读存储介质
WO2023078348A1 (zh) 应用程序显示方法、装置及电子设备

Legal Events

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

Ref document number: 23769818

Country of ref document: EP

Kind code of ref document: A1