CN108495165B - Bullet screen play control method, mobile terminal and bullet screen play control system - Google Patents

Bullet screen play control method, mobile terminal and bullet screen play control system Download PDF

Info

Publication number
CN108495165B
CN108495165B CN201810086197.3A CN201810086197A CN108495165B CN 108495165 B CN108495165 B CN 108495165B CN 201810086197 A CN201810086197 A CN 201810086197A CN 108495165 B CN108495165 B CN 108495165B
Authority
CN
China
Prior art keywords
bullet screen
mobile terminal
acceleration
bullet
reference value
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.)
Active
Application number
CN201810086197.3A
Other languages
Chinese (zh)
Other versions
CN108495165A (en
Inventor
汪宇星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Bilibili Technology Co Ltd
Original Assignee
Shanghai Bilibili Technology Co Ltd
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 Shanghai Bilibili Technology Co Ltd filed Critical Shanghai Bilibili Technology Co Ltd
Priority to CN201810086197.3A priority Critical patent/CN108495165B/en
Publication of CN108495165A publication Critical patent/CN108495165A/en
Application granted granted Critical
Publication of CN108495165B publication Critical patent/CN108495165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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
    • 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/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a bullet screen play control method, a mobile terminal and a bullet screen play control system. The bullet screen playing control method comprises the following steps: s100: displaying a current playing resource in a display interface of a mobile terminal; s200: reading the bullet screen library of the current playing resource; s300: receiving a displacement operation operated on the mobile terminal; s400: and hiding the bullet screen in the bullet screen library displayed in the display interface within a preset time based on the displacement operation. After the technical scheme is adopted, the user can rapidly close the barrage in the video interface through simple operation on the mobile terminal.

Description

Bullet screen play control method, mobile terminal and bullet screen play control system
Technical Field
The invention relates to the technical field of internet, in particular to a barrage play control method, a mobile terminal and a barrage play control system.
Background
Along with the development of internet technology, the convenience of information exchange constantly promotes, when the user appreciated video file in the internet, often also can produce strong tendency or interactive appeal, with express the feeling to the video content of appreciating at present, thereby, barrage culture is born because of fortune, the user can post barrage comment through the terminal when watching video file, the server side receives and saves this barrage comment through the terminal, then can play this barrage comment to other users in video file, thereby user's interactive experience has been improved greatly.
To the function that this bullet screen culture corresponds, at present the most basic control divide into two kinds, show the bullet screen respectively and close the bullet screen, and the function that shows the bullet screen caters to the crowd of adaptable bullet screen, makes things convenient for this type of user to know other users to this video when watching video. The function of closing the barrage is more suitable for the preference of a user who wants to have a clean browsing video. Currently, the operation commonly used by the user is to select whether to display the bullet screen or close the bullet screen before watching the video. However, some users often select the bullet screen to be displayed when initially watching the video, and when the user finds that the number of the bullet screens is too large and the browsing of the video is affected in the process of browsing the video in depth, the user needs to manually click a button of the bullet screen in the display interface to close the bullet screen. Misoperation is easily caused sometimes, video browsing is quitted, and other buttons are clicked, so that trouble is easily caused.
Therefore, there is a need for a bullet screen playing mode that can simplify the user operation, and help the user to close the bullet screen most quickly in the simplest mode and operation.
Disclosure of Invention
In order to overcome the technical defects, the present invention provides a bullet screen play control method, a mobile terminal and a bullet screen play control system, wherein a user can quickly close a bullet screen in a video interface by simply operating the mobile terminal.
The invention discloses a bullet screen play control method, which comprises the following steps:
s100: displaying a current playing resource in a display interface of a mobile terminal;
s200: reading the bullet screen library of the current playing resource;
s300: receiving a displacement operation operated on the mobile terminal;
s400: and hiding the bullet screen in the bullet screen library displayed in the display interface within a preset time based on the displacement operation.
Preferably, in the bullet screen play control method, the step S300 of receiving a displacement operation operated on the mobile terminal includes:
s310: setting an acceleration threshold in the mobile terminal;
s320: detecting acceleration of the mobile terminal in a vertical direction and/or a horizontal direction;
s330: and when the acceleration is greater than or equal to an acceleration threshold value, identifying that the mobile terminal receives the displacement operation.
Preferably, in the bullet screen play control method, the step S310 of setting an acceleration threshold in the mobile terminal includes:
s311: setting a bullet screen density reference value and an acceleration reference value corresponding to the bullet screen density reference value;
s312: calculating the ratio k of the number of the bullet screens in the bullet screen library to the bullet screen density reference value;
s313: and calculating the acceleration reference value linearly or in a weighted mode based on the ratio k to obtain the acceleration threshold value.
Preferably, in the bullet screen play control method, the step S400 of hiding the bullet screen in the bullet screen library displayed in the display interface within a preset time based on the displacement operation includes:
s410: calculating a difference n between the acceleration and the acceleration threshold;
s420: and linearly or in a weighted mode, calculating the hiding speed of the bullet screen and/or the number of the bullet screens hiding the bullet screen based on the difference value n.
Preferably, in the bullet screen play control method, the step S400 of hiding the bullet screen in the bullet screen library displayed in the display interface within a preset time based on the displacement operation includes:
s410': setting a preset time in the mobile terminal;
and S420': detecting the position of a screen frame embedded in the current playing resource in the display interface;
s430': forbidding the movement of the bullet screen in the bullet screen frame position so as to hide the bullet screen.
Preferably, in the bullet screen play control method, the preset time is 0-2 s.
Preferably, in the bullet screen play control method, the step S300 of receiving a displacement operation operated on the mobile terminal includes:
s310': detecting a touch screen operation acting on a display interface of the mobile terminal;
s320': setting a touch screen reference value in the mobile terminal;
s330': and when the touch screen operation meets the touch screen reference value, recognizing that the mobile terminal receives the displacement operation.
The invention also discloses a bullet screen play control method, which is applied to the mobile terminal and comprises the following steps:
s100: displaying a current playing resource in a display interface of a mobile terminal;
s200: the mobile terminal reads the bullet screen library of the current playing resource;
s300: the mobile terminal receives a displacement operation;
s400: based on the displacement operation, the mobile terminal hides the bullet screen displayed in the bullet screen library in a preset time.
Preferably, in the bullet screen play control method, the step S300 of receiving a displacement operation by the mobile terminal includes:
s310: an acceleration threshold value is arranged in the mobile terminal;
s320: the mobile terminal detects acceleration in a vertical direction and/or a horizontal direction;
s330: and when the acceleration is greater than or equal to an acceleration threshold value, the mobile terminal identifies that the displacement operation is received.
Preferably, in the bullet screen play control method, the step S310 of setting an acceleration threshold in the mobile terminal includes:
s311: setting a bullet screen density reference value and an acceleration reference value corresponding to the bullet screen density reference value in the mobile terminal;
s312: the mobile terminal calculates the ratio k of the number of the bullet screens in the bullet screen library to the bullet screen density reference value;
s313: and on the basis of the ratio k, the mobile terminal linearly or in a weighted manner calculates the acceleration reference value to obtain an acceleration threshold value.
Preferably, in the bullet screen play control method, based on the displacement operation, the step S400 of hiding the bullet screen in the bullet screen library displayed in the display interface within a preset time by the mobile terminal includes:
s410: the mobile terminal calculates the difference value n between the acceleration and the acceleration threshold value;
s420: and based on the difference n, the mobile terminal linearly or in a weighted manner calculates the hiding speed for hiding the bullet screen and/or the number of the bullet screens for hiding the bullet screen.
Preferably, in the bullet screen play control method, the step S400 of hiding the bullet screen displayed in the bullet screen library in the display interface within a preset time based on the displacement operation further includes:
s410': a preset time is set in the mobile terminal;
and S420': the mobile terminal detects the position of a screen frame embedded in the current playing resource in the display interface;
s430': the mobile terminal forbids the movement of the bullet screen in the bullet screen frame position so as to hide the bullet screen.
Preferably, in the bullet screen play control method, the step S300 of receiving a displacement operation by the mobile terminal further includes:
s310': the mobile terminal detects a touch screen operation acting on a display interface of the mobile terminal;
s320': setting a touch screen reference value in the mobile terminal;
s330': and when the touch screen operation meets the touch screen reference value, the mobile terminal identifies that the mobile terminal receives the displacement operation.
The invention also discloses a mobile terminal which comprises a processor and a storage device, wherein the storage device stores a computer program, and the bullet screen play control method is realized when the processor calls and executes the computer program.
The invention also discloses a bullet screen playing control system, which comprises a mobile terminal;
displaying the current playing resource in a display interface of the mobile terminal;
the mobile terminal reads the bullet screen library of the current playing resource;
the mobile terminal receives a displacement operation;
and hiding the bullet screen in the bullet screen library displayed in the display interface within a preset time based on the displacement operation.
Preferably, in the barrage play control system, the mobile terminal is configured to:
an acceleration threshold value is arranged in the mobile terminal;
the mobile terminal detects acceleration in a vertical direction and/or a horizontal direction;
and when the acceleration is greater than or equal to an acceleration threshold value, the mobile terminal identifies that the displacement operation is received.
Preferably, in the barrage play control system, the mobile terminal is configured to:
setting a bullet screen density reference value and an acceleration reference value corresponding to the bullet screen density reference value in the mobile terminal;
the mobile terminal calculates the ratio k of the number of the bullet screens in the bullet screen library to the bullet screen density reference value;
and on the basis of the ratio k, the mobile terminal linearly or in a weighted manner calculates the acceleration reference value to obtain an acceleration threshold value.
Preferably, in the barrage play control system, the mobile terminal is further configured to:
the mobile terminal calculates the difference value n between the acceleration and the acceleration threshold value;
and based on the difference n, the mobile terminal linearly or in a weighted manner calculates the hiding speed for hiding the bullet screen and/or the number of the bullet screens for hiding the bullet screen.
Preferably, in the barrage play control system, the mobile terminal is further configured to:
a preset time is set in the mobile terminal;
the mobile terminal detects the position of a screen frame embedded in the current playing resource in the display interface;
the mobile terminal forbids the movement of the bullet screen in the bullet screen frame position so as to hide the bullet screen.
Preferably, in the barrage play control system, the mobile terminal is further configured to:
the mobile terminal detects a touch screen operation acting on a display interface of the mobile terminal;
setting a touch screen reference value in the mobile terminal;
and when the touch screen operation meets the touch screen reference value, the mobile terminal identifies that the mobile terminal receives the displacement operation.
After the technical scheme is adopted, compared with the prior art, the method has the following beneficial effects:
1. the user can quickly close the bullet screen by shaking and turning the mobile terminal;
2. the original operation of clicking the mobile terminal is omitted, and the user experience is greatly improved.
Drawings
Fig. 1 is a schematic flow chart illustrating a bullet screen play control method according to a preferred embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a bullet screen play control method according to a preferred embodiment of the present invention;
FIG. 3 is a schematic diagram of a display interface for normally displaying a bullet screen in accordance with a preferred embodiment of the present invention;
fig. 4 is a schematic diagram of a display interface after the mobile terminal is turned or shaken according to a preferred embodiment of the present invention.
Detailed Description
The advantages of the invention are further illustrated in the following description of specific embodiments in conjunction with the accompanying drawings.
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 implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. Depending on context, the word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination"
In the description of the present invention, it is to be understood that the terms "longitudinal", "lateral", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used merely for convenience of description and for simplicity of description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, are not to be construed as limiting the present invention.
In the description of the present invention, it should be understood that the numerical references before the steps do not identify the order of performing the steps, but merely serve to facilitate the description of the present invention and to distinguish each step, and thus should not be construed as limiting the present invention.
Fig. 1 is a schematic flow chart of a bullet screen play control method according to a preferred embodiment of the present invention. In order to hide the bullet screen of the user in the process of browsing the current playing resources such as watching videos, listening to music and the like, the following steps can be executed:
-S100: displaying current playing resource in display interface of mobile terminal
Firstly, whether the mobile terminal has current playing resources such as video, music, audio resources and the like capable of displaying the barrage needs to be confirmed, the network resources and the local resources can be played by opening software, application programs and the like configured to identify the current playing resources, and the current playing resources are displayed on the foreground of the display interface of the mobile terminal, so that the current playing resources are displayed in the display interface of the mobile terminal.
-S200: reading bullet screen library of the current playing resources
After the current playing resource is confirmed to be played, reading the current playing resource, such as a bullet screen library stored in the video, where the reading of the bullet screen library may be requested to obtain from a server providing the current playing resource or obtained in a locally cached database. The content acquired in the barrage library may be all barrages of the current playing resource, or barrages that have been scrolled and displayed in the display interface, because it can be understood that, if not already displayed, the user will not hide such barrages in advance.
-S300: receiving a shift operation operating on the mobile terminal
Different from the prior art that the screen of the mobile terminal is clicked by the user to receive a click operation, in the playing process of the current playing resource, whether a shift operation is received at the mobile terminal side or not is always judged. The displacement operation is an operation for displacing the mobile terminal, for example, moving the mobile terminal from a certain position to the left or right or up and down, moving the mobile terminal back and forth between two positions, and the like, and may be regarded as the displacement operation being performed on the mobile terminal. The displacement operation, once formed, will be identified and received to identify the user using the mobile terminal-the representation of the change of usage.
-S400: hiding the bullet screen in the bullet screen library displayed in the display interface within a preset time based on the displacement operation
After the displacement operation is performed, the bullet screen in the bullet screen library which is displayed in the display interface at present is hidden according to the preset time preset in the mobile terminal. And it can be understood that the bullet screens in the bullet screen library are divided into three categories, namely, a displayed bullet screen and a bullet screen to be displayed, wherein the displayed bullet screen is displayed along with the playing progress due to the playing of the current playing resource, the displayed bullet screen is the bullet screen which is displayed in the display interface, and the bullet screen to be displayed is the bullet screen which is not displayed yet and is played again when the playing progress is reached. The hidden bullet screen in this embodiment may be hidden in the display bullet screen or hidden in the bullet screen to be displayed. For example, when the configuration is hidden in the display bullet screen, the originally displayed display bullet screen disappears completely or partially within the preset time, and the display bullet screen is displayed again after the preset time elapses. It is understood that, in this embodiment, if the preset time is too short, for example, the displayed bullet screen originally displayed behind the bullet screen bar is hidden for the preset time, and then is displayed again in front of the bullet screen bar, that is, is hidden only for the preset time. For another example, when the configuration is hidden in the display bullet screen and the bullet screen to be displayed, that is, the bullet screen to be displayed which is not displayed yet is also displayed except that the bullet screen is completely hidden in the display bullet screen within the preset time, the clean display interface of the current playing resource is provided for the user within the preset time.
In a preferred embodiment, the step of reading the bullet screen library of the currently played resource includes:
-reading a barrage library of said currently playing asset; and reading the bullet screen arranged on the current time axis in the bullet screen library according to the current time axis of the current playing resource.
Namely, the bullet screen arranged on the current time axis is obtained according to the current time axis of the video, namely the bullet screen is displayed. It is to be appreciated that, likewise, in embodiments configured to be hidden in the displayed bullet screen and the bullet screen to be displayed, the bullet screen of the current timeline and the bullet screen in the future timeline can also be obtained to confirm the content of the verification bullet screen.
In another embodiment, the step S300 of receiving a shift operation operated on the mobile terminal includes:
-S310: setting an acceleration threshold in the mobile terminal;
in order to prevent the user from performing a wrong operation or a wrong recognition of a displacement operation, for example, when the user places the mobile terminal at a position slowly, the bullet screen should not be hidden. Therefore, an acceleration threshold is set in the mobile terminal, and the acceleration threshold is taken as a comparison object, so that the situation that the bullet screen is not hidden is eliminated.
-S320: detecting acceleration of the mobile terminal in a vertical direction and/or a horizontal direction;
the acceleration sensor, the gyroscope, the distance sensor or the like arranged on the mobile terminal is utilized to detect the acceleration of the mobile terminal in the vertical direction and/or the horizontal direction in the three-dimensional space, namely, the displacement operation can be decomposed into the acceleration changes in the two directions regardless of the type of the displacement operation, such as shaking the mobile terminal, turning the mobile terminal, shaking the mobile terminal and the like.
-S330: and when the acceleration is greater than or equal to an acceleration threshold value, identifying that the mobile terminal receives the displacement operation.
After the acceleration is obtained, the acceleration is compared with an acceleration threshold, and when the acceleration is compared with the acceleration threshold, the following steps can be selected:
1. resolving the acceleration into an acceleration in a vertical direction and an acceleration in a horizontal direction, and when one of the accelerations is greater than an acceleration threshold, considering the displacement operation as being recognized;
2. the acceleration is directly compared with an acceleration threshold value, and the displacement operation is considered to be recognized only when the value of the acceleration is larger than the acceleration threshold value.
In the two modes, the recognition speed of the latter is higher, but the accuracy of the former can be better ensured.
In the above-mentioned embodiment of determining whether to accept the external barrage playing operation by using the acceleration as a reference element, in order to enhance the interactive experience with the user, any one of the following operations may be further preferably performed:
as a preferred embodiment, the step S310 of setting the acceleration threshold in the mobile terminal includes:
s311: setting a bullet screen density reference value and an acceleration reference value corresponding to the bullet screen density reference value;
s312: calculating the ratio k of the number of the bullet screens in the bullet screen library to the bullet screen density reference value;
s313: and calculating the acceleration reference value linearly or in a weighted mode based on the ratio k to obtain the acceleration threshold value.
In the above steps S311 to S313, before setting the acceleration threshold, the bullet screen density of the number of bullet screens generally acceptable by the user is used as the bullet screen density reference value, the bullet screen density reference value may be set according to the habit or data statistics of the streaming media website operator, and after having the bullet screen density reference value, an acceleration reference value corresponding to the bullet screen density reference value is set, and the acceleration reference value may be a value slightly higher than the acceleration value when the user normally holds the mobile terminal for use. Then, when the number of the bullet screens in the bullet screen library is increased more and the user needs to eliminate the bullet screen, the ratio k of the number of the bullet screens in the current bullet screen library to the reference value of the bullet screen density is calculated, and based on the ratio k, the reference value of the acceleration is calculated linearly, nonlinearly, exponentially, weighted and the like, for example, when the ratio k is 2, the acceleration threshold value can also be calculated as a reference value of 2 times of acceleration, or a reference value of 2 times of acceleration. Through the configuration, the interactive experience at the user side is that when the number of the barrage is larger, the displacement amount of the displacement operation required on the mobile terminal is larger, namely the amplitude of shaking or turning the mobile terminal is large, and the user is given an association relationship between the action and the number of the barrage.
In another embodiment, the step S400 of hiding the bullet screen displayed in the bullet screen library within a preset time based on the displacement operation includes:
s410: calculating a difference n between the acceleration and the acceleration threshold;
s420: and linearly or in a weighted mode, calculating the hiding speed of the bullet screen and/or the number of the bullet screens hiding the bullet screen based on the difference value n.
In the above embodiment, after the acceleration of the user to the mobile terminal is obtained, the operations in steps S410-S420, in addition to determining the magnitude of the acceleration and the acceleration threshold, also calculate the difference n between the acceleration and the acceleration threshold, so as to distinguish the interaction effect on bullet screen elimination under different accelerations. For example, when the difference n is larger, the higher the hiding speed of the bullet screen can be calculated, and the interaction effect of the user side is that the bullet screen disappears in a short time or instantly when the mobile terminal is shaken quickly; or when the difference n is bigger, the number of the bullet curtains which can be eliminated is bigger, and the interactive effect of the user side is that when the mobile terminal is shaken quickly, all the bullet curtains can be eliminated, and when the mobile terminal is shaken slowly, part of the bullet curtains are eliminated.
Referring to fig. 2, in another preferred or alternative embodiment, the step S400 of hiding the bullet screen displayed in the bullet screen library within a preset time based on the displacement operation includes:
-S410': setting a preset time in the mobile terminal;
first, the preset time is set in the mobile terminal in advance.
-S420': detecting the position of the bullet screen frame embedded in the current playing resource in the display interface
The specific hiding mode of the bullet screen is to detect the position of the bullet screen frame embedded in the current playing resource in the display interface of the mobile terminal, such as the upper part, the middle part and the lower part of the current playing resource, or the front end of the display interface with the current playing resource.
-S430': forbidding the movement of the bullet screen in the bullet screen frame position to hide the bullet screen
Originally, the bullet screen is forbidden in a display mode for sliding the bullet screen in the bullet screen frame, so that the effect of hiding the bullet screen is achieved. It is understood that other steps of concealing the bullet screen, such as directly erasing the bullet screen in the bullet screen library, and covering the bullet screen frame with a transparent frame, may be applied.
In the above embodiment, the preset time is 0-2s, when the preset time is 0s, the displayed bullet screen is completely hidden instantly, and then the subsequent bullet screen to be displayed is continuously displayed, and when the preset time is 1s, 2s or longer, the display of the bullet screen is suspended within the preset time until the preset time is consumed.
In addition to the above displacement operation performed by using the user to operate the mobile terminal with respect to the acceleration element, in another preferred or alternative embodiment, the displacement operation may be defined as a touch screen operation on a display interface of the mobile terminal, and specifically, the step S300 of receiving a displacement operation operated on the mobile terminal includes:
s310': detecting a touch screen operation acting on a display interface of the mobile terminal;
s320': setting a touch screen reference value in the mobile terminal;
s330': and when the touch screen operation meets the touch screen reference value, recognizing that the mobile terminal receives the displacement operation.
The touch screen operation comprises operations of reciprocating sliding, curve sliding and the like of a finger or other touch-touchable tools of a user on a display interface of the mobile terminal, and after the touch screen operation is received, according to touch screen reference values set in the mobile terminal, such as continuous sliding time, sliding frequency, sliding times and the like, when the touch screen operation meets the touch screen reference values, the displacement operation is considered to be received. Because the touch screen operation is issued by the user, the interaction effect obtained at the user side is that the elimination of the bullet screen is triggered by the action of the touch screen, and the larger the action amplitude of the touch screen is, the faster the elimination is, and the direct connection between the operation and the elimination of the bullet screen is.
When the bullet screen play control method is applied to the terminal, the bullet screen play control method comprises the following steps:
s100: displaying a current playing resource in a display interface of a mobile terminal; s200: the mobile terminal reads the bullet screen library of the current playing resource; s300: the mobile terminal receives a displacement operation; s400: based on the displacement operation, the mobile terminal hides the bullet screen displayed in the bullet screen library in a preset time.
Preferably, in the bullet screen play control method, the step of reading the bullet screen library of the current play resource by the mobile terminal includes: the mobile terminal reads the bullet screen library of the current playing resource; and according to the current time axis of the current playing resource, the mobile terminal reads the bullet screen arranged on the current time axis in the bullet screen library.
Preferably, in the bullet screen play control method, the step S300 of receiving a displacement operation by the mobile terminal includes: s310: an acceleration threshold value is arranged in the mobile terminal; s320: the mobile terminal detects acceleration in a vertical direction and/or a horizontal direction; s330: and when the acceleration is greater than or equal to an acceleration threshold value, the mobile terminal identifies that the displacement operation is received.
Preferably, in the bullet screen play control method, the step S310 of setting an acceleration threshold in the mobile terminal includes: s311: setting a bullet screen density reference value and an acceleration reference value corresponding to the bullet screen density reference value in the mobile terminal; s312: the mobile terminal calculates the ratio k of the number of the bullet screens in the bullet screen library to the bullet screen density reference value; s313: and on the basis of the ratio k, the mobile terminal linearly or in a weighted manner calculates the acceleration reference value to obtain an acceleration threshold value.
Preferably, in the bullet screen play control method, based on the displacement operation, the step S400 of hiding the bullet screen in the bullet screen library displayed in the display interface within a preset time by the mobile terminal includes: s410: the mobile terminal calculates the difference value n between the acceleration and the acceleration threshold value; s420: and based on the difference n, the mobile terminal linearly or in a weighted manner calculates the hiding speed for hiding the bullet screen and/or the number of the bullet screens for hiding the bullet screen.
Preferably, in the bullet screen play control method, the step S400 of hiding the bullet screen displayed in the bullet screen library in the display interface within a preset time based on the displacement operation further includes: s410': a preset time is set in the mobile terminal; and S420': the mobile terminal detects the position of a screen frame embedded in the current playing resource in the display interface; s430': the mobile terminal forbids the movement of the bullet screen in the bullet screen frame position so as to hide the bullet screen.
Preferably, in the bullet screen play control method, the step S300 of receiving a displacement operation by the mobile terminal further includes: s310': the mobile terminal detects a touch screen operation acting on a display interface of the mobile terminal; s320': setting a touch screen reference value in the mobile terminal; s330': and when the touch screen operation meets the touch screen reference value, the mobile terminal identifies that the mobile terminal receives the displacement operation.
In the mobile terminal disclosed in the present invention, the computer program stored in the mobile terminal implements the steps described in the above embodiments when executed by the processor, and further description is omitted here.
In addition, when the established barrage play control system based on the mobile terminal is applied, the mobile terminal can be configured as follows: displaying the current playing resource in a display interface of the mobile terminal; the mobile terminal reads the bullet screen library of the current playing resource; the mobile terminal receives a displacement operation; and hiding the bullet screen in the bullet screen library displayed in the display interface within a preset time based on the displacement operation.
Preferably, in the barrage play control system, the mobile terminal is configured to: and according to the current time axis of the current playing resource, the mobile terminal reads the bullet screen arranged on the current time axis in the bullet screen library.
Preferably, in the barrage play control system, the mobile terminal is configured to: an acceleration threshold value is arranged in the mobile terminal; the mobile terminal detects acceleration in a vertical direction and/or a horizontal direction; and when the acceleration is greater than or equal to an acceleration threshold value, the mobile terminal identifies that the displacement operation is received.
Preferably, in the barrage play control system, the mobile terminal is configured to: an acceleration threshold value is arranged in the mobile terminal; the mobile terminal detects acceleration in a vertical direction and/or a horizontal direction; and when the acceleration is greater than or equal to an acceleration threshold value, the mobile terminal identifies that the displacement operation is received.
Preferably, in the barrage play control system, the mobile terminal is configured to: setting a bullet screen density reference value and an acceleration reference value corresponding to the bullet screen density reference value in the mobile terminal; the mobile terminal calculates the ratio k of the number of the bullet screens in the bullet screen library to the bullet screen density reference value; and on the basis of the ratio k, the mobile terminal linearly or in a weighted manner calculates the acceleration reference value to obtain an acceleration threshold value.
Preferably, in the barrage play control system, the mobile terminal is further configured to: the mobile terminal calculates the difference value n between the acceleration and the acceleration threshold value; and based on the difference n, the mobile terminal linearly or in a weighted manner calculates the hiding speed for hiding the bullet screen and/or the number of the bullet screens for hiding the bullet screen.
Preferably, in the barrage play control system, the mobile terminal is further configured to: a preset time is set in the mobile terminal; the mobile terminal detects the position of a screen frame embedded in the current playing resource in the display interface; the mobile terminal forbids the movement of the bullet screen in the bullet screen frame position so as to hide the bullet screen.
Preferably, in the barrage play control system, the mobile terminal is further configured to: the mobile terminal detects a touch screen operation acting on a display interface of the mobile terminal; setting a touch screen reference value in the mobile terminal; and when the touch screen operation meets the touch screen reference value, the mobile terminal identifies that the mobile terminal receives the displacement operation.
The application of the invention will be described in detail with respect to specific embodiments.
Example one
A user enters a website carrying streaming media at a mobile terminal such as a smart phone, a tablet computer, a wearable device and the like, and starts to browse videos, music and the like in the website as current playing resources, and simultaneously opens a barrage function to check comments of other users on the current playing resources. At any time when the barrage is displayed, when a user can shake, swing up and down or left and right, or turn over (the display interface of the mobile terminal faces the user or faces away from the user) the mobile terminal, the barrage currently displayed on the video and the music is completely hidden or partially disappeared, and only the barrage within the acceptable range of the user is displayed. This state will continue for 2s, etc., and after 2s the bullet screen will be displayed again.
If in the process, the bullet screen is continuously hidden when the user is continuously detected to shake the mobile terminal, and the bullet screen is displayed again until the user stops shaking the mobile terminal, namely after the displacement application operation is stopped and the preset time is consumed, so that the user can simply and rapidly realize the effect of hiding the bullet screen through simple operation.
It should be noted that the embodiments of the present invention have been described in terms of preferred embodiments, and not by way of limitation, and that those skilled in the art can make modifications and variations of the embodiments described above without departing from the spirit of the invention.

Claims (8)

1. A bullet screen playing control method is characterized by comprising the following steps:
s100: displaying a current playing resource in a display interface of a mobile terminal;
s200: reading the bullet screen library of the current playing resource;
s300: receiving a displacement operation operated on the mobile terminal, wherein the displacement operation is an operation for displacing the mobile terminal;
s400: hiding the bullet screen in the bullet screen library displayed in the display interface within a preset time based on the displacement operation;
the step S300 of receiving a shift operation performed on the mobile terminal includes:
s310: setting an acceleration threshold in the mobile terminal;
s320: detecting acceleration of the mobile terminal in a vertical direction and/or a horizontal direction;
s330: when the acceleration is greater than or equal to an acceleration threshold value, identifying that the mobile terminal receives the displacement operation;
the step S310 of setting an acceleration threshold in the mobile terminal includes:
s311: setting a bullet screen density reference value and an acceleration reference value corresponding to the bullet screen density reference value;
s312: calculating the ratio k of the number of the bullet screens in the bullet screen library to the bullet screen density reference value;
s313: and performing linear operation on the acceleration reference value based on the ratio k to obtain an acceleration threshold value.
2. The bullet screen play control method of claim 1,
based on the displacement operation, the step S400 of hiding the bullet screen displayed in the bullet screen library within a preset time includes:
s410: calculating a difference n between the acceleration and the acceleration threshold;
s420: and linearly calculating the hiding speed of the bullet screen and/or the number of the bullet screens hiding the bullet screen based on the difference value n.
3. The bullet screen play control method of claim 1,
based on the displacement operation, the step S400 of hiding the bullet screen displayed in the bullet screen library within a preset time includes:
s410': setting a preset time in the mobile terminal;
and S420': detecting the position of a screen frame embedded in the current playing resource in the display interface;
s430': forbidding the movement of the bullet screen in the bullet screen frame position so as to hide the bullet screen.
4. The bullet screen play control method according to claim 2,
the preset time is 0-2 s.
5. A mobile terminal comprising a processor and a storage device, wherein the storage device stores a computer program, and wherein the processor implements the bullet screen play control method according to any one of claims 1 to 4 when calling and executing the computer program.
6. A bullet screen playing control system is characterized by comprising a mobile terminal;
displaying the current playing resource in a display interface of the mobile terminal;
the mobile terminal reads the bullet screen library of the current playing resource;
the mobile terminal receives a displacement operation, wherein the displacement operation is an operation for displacing the mobile terminal;
hiding the bullet screen in the bullet screen library displayed in the display interface within a preset time based on the displacement operation;
the mobile terminal is configured to:
an acceleration threshold value is arranged in the mobile terminal;
the mobile terminal detects acceleration in a vertical direction and/or a horizontal direction;
when the acceleration is larger than or equal to an acceleration threshold value, the mobile terminal identifies that the displacement operation is received;
the mobile terminal is configured to:
setting a bullet screen density reference value and an acceleration reference value corresponding to the bullet screen density reference value in the mobile terminal;
the mobile terminal calculates the ratio k of the number of the bullet screens in the bullet screen library to the bullet screen density reference value;
based on the ratio k, the mobile terminal performs linear operation on the acceleration reference value to obtain an acceleration threshold.
7. The bullet screen play control system of claim 6,
the mobile terminal is configured to:
the mobile terminal calculates the difference value n between the acceleration and the acceleration threshold value;
based on the difference n, the mobile terminal linearly calculates the hiding speed of the bullet screen and/or the number of the bullet screens hiding the bullet screen.
8. The bullet screen play control system of claim 6,
the mobile terminal is further configured to:
a preset time is set in the mobile terminal;
the mobile terminal detects the position of a screen frame embedded in the current playing resource in the display interface;
the mobile terminal forbids the movement of the bullet screen in the bullet screen frame position so as to hide the bullet screen.
CN201810086197.3A 2018-01-29 2018-01-29 Bullet screen play control method, mobile terminal and bullet screen play control system Active CN108495165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810086197.3A CN108495165B (en) 2018-01-29 2018-01-29 Bullet screen play control method, mobile terminal and bullet screen play control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810086197.3A CN108495165B (en) 2018-01-29 2018-01-29 Bullet screen play control method, mobile terminal and bullet screen play control system

Publications (2)

Publication Number Publication Date
CN108495165A CN108495165A (en) 2018-09-04
CN108495165B true CN108495165B (en) 2021-01-08

Family

ID=63343814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810086197.3A Active CN108495165B (en) 2018-01-29 2018-01-29 Bullet screen play control method, mobile terminal and bullet screen play control system

Country Status (1)

Country Link
CN (1) CN108495165B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495779A (en) * 2018-10-15 2019-03-19 咪咕音乐有限公司 A kind of method, apparatus and computer readable storage medium of barrage adjusting
WO2020097803A1 (en) * 2018-11-13 2020-05-22 深圳市欢太科技有限公司 Overlay comment processing method and apparatus, electronic device, and computer-readable storage medium
CN112118473B (en) * 2019-06-19 2022-05-17 上海哔哩哔哩科技有限公司 Video bullet screen display method and device, computer equipment and readable storage medium
CN111163347B (en) * 2019-12-31 2023-01-17 维沃移动通信有限公司 Bullet screen information processing method and electronic equipment
CN111277887B (en) * 2020-01-13 2022-02-22 网易(杭州)网络有限公司 Bullet screen data processing method and device
CN111294637A (en) * 2020-02-11 2020-06-16 北京字节跳动网络技术有限公司 Video playing method and device, electronic equipment and computer readable medium
CN112306224A (en) * 2020-04-30 2021-02-02 北京字节跳动网络技术有限公司 Man-machine interaction method and device and electronic equipment
CN113905280B (en) * 2020-07-06 2023-12-01 腾讯科技(深圳)有限公司 Barrage information display method, device, equipment and storage medium
CN112188263B (en) * 2020-09-10 2022-02-22 珠海格力电器股份有限公司 Bullet screen information control method and playing equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163157A (en) * 2015-06-30 2015-12-16 北京奇艺世纪科技有限公司 Display method and device for bullet screen contents
CN105468370A (en) * 2015-11-23 2016-04-06 惠州Tcl移动通信有限公司 Method and system for quickly removing message in notification bar of mobile terminal and mobile terminal
CN105592331A (en) * 2015-12-16 2016-05-18 广州华多网络科技有限公司 Method for processing barrage messages, related equipment, and system
CN105760101A (en) * 2016-02-02 2016-07-13 广东欧珀移动通信有限公司 Video playing control method and electronic device
WO2018000661A1 (en) * 2016-06-27 2018-01-04 乐视控股(北京)有限公司 Barrage display method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163157A (en) * 2015-06-30 2015-12-16 北京奇艺世纪科技有限公司 Display method and device for bullet screen contents
CN105468370A (en) * 2015-11-23 2016-04-06 惠州Tcl移动通信有限公司 Method and system for quickly removing message in notification bar of mobile terminal and mobile terminal
CN105592331A (en) * 2015-12-16 2016-05-18 广州华多网络科技有限公司 Method for processing barrage messages, related equipment, and system
CN105760101A (en) * 2016-02-02 2016-07-13 广东欧珀移动通信有限公司 Video playing control method and electronic device
WO2018000661A1 (en) * 2016-06-27 2018-01-04 乐视控股(北京)有限公司 Barrage display method and apparatus

Also Published As

Publication number Publication date
CN108495165A (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN108495165B (en) Bullet screen play control method, mobile terminal and bullet screen play control system
US9880640B2 (en) Multi-dimensional interface
KR101951991B1 (en) Stacked tab view
CN110679154B (en) Computer implemented method and system
CN105677189B (en) Method and device for controlling application
KR101534789B1 (en) Motion-controlled views on mobile computing devices
US10067634B2 (en) Approaches for three-dimensional object display
CN108495166B (en) Bullet screen play control method, terminal and bullet screen play control system
US9977584B2 (en) Navigating media playback using scrollable text
KR101851612B1 (en) Text input method, device, program and recording medium
EP3120217B1 (en) Display device and method for controlling the same
CN109246464A (en) Method for displaying user interface, device, terminal and storage medium
US20130185676A1 (en) Method and mobile device for classified webpage switching
CN107577415B (en) Touch operation response method and device
CN109525885A (en) Information processing method, device, electronic equipment and computer-readable readable medium
CN106681592B (en) Display switching method and device based on electronic equipment and electronic equipment
CN107608551B (en) Touch operation response method and device
CN113286201B (en) Recommendation information display method and device, electronic equipment and storage medium
CN111796884B (en) Access control method, device, equipment and computer readable storage medium
CN107608550A (en) Touch operation response method and device
CN112667118A (en) Method, apparatus and computer readable medium for displaying historical chat messages
CN105630337A (en) Control controlling method and device
CN110740373A (en) audio/video file buffering method and related device
CN109660875B (en) Bullet screen display time determining method, terminal and computer readable storage medium
CN107908325A (en) Method for showing interface and device

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
GR01 Patent grant
GR01 Patent grant