CN111147912A - Bullet screen display control method and electronic equipment - Google Patents
Bullet screen display control method and electronic equipment Download PDFInfo
- Publication number
- CN111147912A CN111147912A CN201911418933.1A CN201911418933A CN111147912A CN 111147912 A CN111147912 A CN 111147912A CN 201911418933 A CN201911418933 A CN 201911418933A CN 111147912 A CN111147912 A CN 111147912A
- Authority
- CN
- China
- Prior art keywords
- bullet screen
- display
- electronic device
- track
- target
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 94
- 238000004590 computer program Methods 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 abstract description 5
- 241000989913 Gunnera petaloidea Species 0.000 description 23
- 230000033001 locomotion Effects 0.000 description 18
- 230000006870 function Effects 0.000 description 16
- 230000008569 process Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 14
- 230000008859 change Effects 0.000 description 11
- 230000000694 effects Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 6
- 238000013461 design Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 208000015181 infectious disease Diseases 0.000 description 2
- 238000002955 isolation Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
- H04N21/4586—Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/475—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a bullet screen display control method and electronic equipment, relates to the technical field of communication, and aims to solve the problems that the existing electronic equipment is single in bullet screen display mode and not flexible enough. The method comprises the following steps: displaying a first bullet screen and a second bullet screen; under the condition that the first bullet screen and the second bullet screen are updated to the target display state, executing target operation corresponding to the target display state on the second bullet screen; wherein the target operation comprises any one of the following: canceling the display of the second bullet screen, updating the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen, and hiding the second bullet screen in the display area of the first bullet screen. The method is applied to the scene of the electronic equipment displaying the bullet screen.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a bullet screen display control method and electronic equipment.
Background
With the rapid development of communication technology, electronic devices are more and more widely used, and users have higher and higher requirements for the performance of the electronic devices.
In the process that a user watches a video by using an electronic device, if the user wants to watch bullet screen information (hereinafter, referred to as bullet screen) related to the video, the user can trigger the electronic device to start a bullet screen function in a video application, so that the electronic device can display all bullet screens sent by the user watching the video. If the user only wants to watch the video, the user can trigger the electronic device to close the barrage function in the video application, so that the electronic device can cancel displaying all barrages related to the video.
However, with the above method, if the electronic device starts the barrage function, the electronic device can display all barrages related to the video currently played by the single device; and if the electronic equipment closes the bullet screen function, the electronic equipment cancels and displays all contents related to the video currently played by the electronic equipment. Therefore, the manner of displaying the bullet screen by the electronic device is single and inflexible.
Disclosure of Invention
The embodiment of the invention provides a bullet screen display control method and electronic equipment, which can solve the problems that the existing electronic equipment has a single bullet screen display mode and is not flexible enough.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a bullet screen display control method, where the method includes:
displaying a first bullet screen and a second bullet screen; under the condition that the first bullet screen and the second bullet screen are updated to the target display state, executing target operation corresponding to the target display state on the second bullet screen; wherein the target operation comprises any one of the following: canceling the display of the second bullet screen, updating the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen, and hiding the second bullet screen in the display area of the first bullet screen.
In a second aspect, an embodiment of the present invention provides an electronic device, which includes a display module and an execution module. The display module is used for displaying the first bullet screen and the second bullet screen; the execution module is used for executing target operation corresponding to the target display state on the second bullet screen under the condition that the first bullet screen and the second bullet screen displayed by the display module are updated to the target display state; wherein the target operation comprises any one of the following: canceling the display of the second bullet screen, updating the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen, and hiding the second bullet screen in the display area of the first bullet screen.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and the computer program, when executed by the processor, implements the steps of the bullet screen display control method in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the bullet screen display control method in the first aspect.
In the embodiment of the invention, a first bullet screen and a second bullet screen can be displayed; under the condition that the first bullet screen and the second bullet screen are updated to the target display state, executing target operation corresponding to the target display state on the second bullet screen; wherein the target operation comprises any one of the following: canceling the display of the second bullet screen, updating the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen, and hiding the second bullet screen in the display area of the first bullet screen. Through the scheme, in a scene that the electronic equipment displays the bullet screen, because the display of the second bullet screen is cancelled, the bullet screen content of the second bullet screen is updated into the bullet screen content of the first bullet screen, and the display mode of the bullet screen displayed by the electronic equipment can be changed by hiding the second bullet screen in the display area of the first bullet screen, under the condition that the first bullet screen and the second bullet screen are updated to the target display state, the electronic equipment can execute the target operation corresponding to the target display state on the second bullet screen, and change the mode of the bullet screen displayed by the electronic equipment, so that the electronic equipment can display the bullet screen in different display modes, the mode of the bullet screen displayed by the electronic equipment can be more flexible, and the mode of the bullet screen displayed by the electronic equipment can be diversified.
Drawings
FIG. 1 is a block diagram of an operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a bullet screen display control method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a bullet screen display interface of the bullet screen display control method according to the embodiment of the present invention;
fig. 4 is a second schematic diagram of a bullet screen display interface of the bullet screen display control method according to the embodiment of the present invention;
fig. 5 is a third schematic diagram of a bullet screen display interface of the bullet screen display control method according to the embodiment of the present invention;
fig. 6 is a fourth schematic view of a bullet screen display interface of the bullet screen display control method according to the embodiment of the present invention;
fig. 7 is a fifth schematic view of a bullet screen display interface of the bullet screen display control method according to the embodiment of the present invention;
fig. 8 is a sixth schematic view of a bullet screen display interface of the bullet screen display control method according to the embodiment of the present invention;
fig. 9 is a seventh schematic diagram of a bullet screen display interface of the bullet screen display control method according to the embodiment of the present invention;
fig. 10 is an eighth schematic diagram of a bullet screen display interface of the bullet screen display control method according to the embodiment of the present invention;
fig. 11 is a ninth schematic view of a bullet screen display interface of the bullet screen display control method according to the embodiment of the present invention;
fig. 12 is a tenth schematic diagram of a bullet screen display interface of the bullet screen display control method according to the embodiment of the present invention;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 14 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first bullet screen and the second bullet screen are used to distinguish different bullet screens, rather than to describe a specific sequence of bullet screens.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of processing units means two or more processing units, and the like.
The embodiment of the invention provides a bullet screen display control method and electronic equipment, which can display a first bullet screen and a second bullet screen; under the condition that the first bullet screen and the second bullet screen are updated to the target display state, executing target operation corresponding to the target display state on the second bullet screen; wherein the target operation comprises any one of the following: canceling the display of the second bullet screen, updating the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen, and hiding the second bullet screen in the display area of the first bullet screen. Through the scheme, in a scene that the electronic equipment displays the bullet screen, because the display of the second bullet screen is cancelled, the bullet screen content of the second bullet screen is updated into the bullet screen content of the first bullet screen, and the display mode of the bullet screen displayed by the electronic equipment can be changed by hiding the second bullet screen in the display area of the first bullet screen, under the condition that the first bullet screen and the second bullet screen are updated to the target display state, the electronic equipment can execute the target operation corresponding to the target display state on the second bullet screen, and change the mode of the bullet screen displayed by the electronic equipment, so that the electronic equipment can display the bullet screen in different display modes, the mode of the bullet screen displayed by the electronic equipment can be more flexible, and the mode of the bullet screen displayed by the electronic equipment can be diversified.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
Next, a software environment applied to the bullet screen display control method provided by the embodiment of the present invention is described by taking the operating system shown in fig. 1 as an example.
Fig. 1 is a schematic diagram of a possible operating system according to an embodiment of the present invention. In fig. 1, the architecture of the operating system includes 4 layers, respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application layer comprises various application programs (including system application programs and third-party application programs) in an operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes a library (also referred to as a system library) and an operating system runtime environment. The library mainly provides various resources required by the operating system. The operating system runtime environment is used to provide a software environment for the operating system.
The kernel layer is the operating system layer of the operating system and belongs to the lowest layer of the operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the operating system based on the Linux kernel.
Taking the above operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the bullet screen display control method provided in the embodiment of the present invention based on the system architecture of the operating system shown in fig. 1, so that the bullet screen display control method may operate based on the operating system shown in fig. 1. That is, the processor or the electronic device may implement the bullet screen display control method provided by the embodiment of the present invention by running the software program in the operating system.
The electronic device in the embodiment of the invention can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The execution main body of the bullet screen display control method provided by the embodiment of the present invention may be the electronic device, or may also be a functional module and/or a functional entity capable of implementing the bullet screen display control method in the electronic device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes an electronic device as an example to exemplarily describe the bullet screen display control method provided by the embodiment of the present invention.
In the embodiment of the invention, in the process that a user watches a video through an electronic device, if the user wants to watch a bullet screen related to the video, the user can trigger the electronic device to open the bullet screen function, so that the electronic device can display the bullet screen related to the video (which may include a bullet screen sent by the user triggering the electronic device and/or a bullet screen sent by other users watching the video, and the like). After the electronic device displays the bullet screens, if different bullet screens (e.g., the first bullet screen and the second bullet screen in the embodiment of the present invention) displayed by the electronic device are updated to a preset state (e.g., a target display state in the embodiment of the present invention), the electronic device may perform a specific operation (e.g., a target operation in the embodiment of the present invention) corresponding to the preset state on one of the bullet screens (e.g., the second bullet screen in the embodiment of the present invention), so that a manner in which the electronic device displays the bullet screen may be changed. Therefore, the mode of displaying the bullet screen by the electronic equipment is flexible, and the mode of displaying the bullet screen by the electronic equipment is diversified.
The following describes an exemplary bullet screen display control method according to an embodiment of the present invention with reference to the drawings.
As shown in fig. 2, an embodiment of the present invention provides a bullet screen display control method, which includes steps 201 and 202 described below.
It can be understood that, in the embodiment of the present invention, the first bullet screen and the second bullet screen may be different bullet screens displayed by the electronic device.
In the embodiment of the invention, in the process of playing the video by the electronic equipment, the electronic equipment can display the barrage corresponding to the video played by the electronic equipment, so that a user can know the feeling or experience of watching the video by different users by looking up the barrages.
Optionally, in this embodiment of the present invention, the first bullet screen and the second bullet screen may be bullet screens sent by the same electronic device, or may also be bullet screens sent by different electronic devices. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
For example, the first barrage may be a barrage sent by an electronic device, and the second barrage may be a barrage sent by another electronic device.
Optionally, in this embodiment of the present invention, the display attribute of the first barrage may be a first attribute, where the first attribute may be moving according to a first track, or may be kept displayed in the target area, and the first track may be a track drawn by a user who triggers sending of the first barrage. The display attribute of the second bullet screen may be a second attribute, and the second attribute may be a movement according to a second trajectory.
Alternatively, in the embodiment of the present invention, the step 201 may be specifically implemented by the following step 201 a.
Step 201a, the electronic device displays the first barrage according to the first attribute and displays the second barrage according to the second attribute.
It is understood that, in the embodiment of the present invention, the first bullet screen may be a special bullet screen. For example, the first bullet screen can be a bullet screen having a particular type.
In an embodiment of the present invention, the second track may be a bullet screen moving track preset in the electronic device. I.e., the second bullet screen can be a common bullet screen.
Optionally, in the embodiment of the present invention, for each bullet screen displayed by the electronic device, the electronic device may obtain attribute information of one bullet screen, so as to determine the display attribute of the bullet screen according to the attribute information. The attribute information of the bullet screen can be determined according to the bullet screen type selected by the user who triggers and sends the bullet screen in the electronic equipment.
It can be understood that, when the electronic device sends the bullet screen, the electronic device may carry the bullet screen type (or the attribute information of the bullet screen) of the bullet screen in the bullet screen content of the bullet screen, and send the bullet screen together.
For example, taking the first bullet screen as an example, when the electronic device displays the first bullet screen, the electronic device may determine a bullet screen type of the first bullet screen, and then display the first bullet screen according to a display attribute corresponding to the bullet screen type corresponding to the bullet screen, that is, the electronic device may display the first bullet screen according to the first attribute.
Alternatively, the first trajectory may be a bullet screen movement trajectory preset in the electronic device (hereinafter, referred to as the electronic device 1) that sends the first bullet screen, or may be a bullet screen movement trajectory set in the electronic device 1 by a user of the electronic device 1 (hereinafter, referred to as the user 1). The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, when the first trajectory is a bullet screen movement trajectory set in the electronic device 1 by the user 1, the first trajectory may be a movement trajectory set in the electronic device 1 before the user 1 inputs the content of the first bullet screen in the electronic device 1; the movement trajectory set in the electronic device 1 after the user 1 inputs the content of the first bullet screen in the electronic device 1 may also be used. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, in a case that the first trajectory is a movement trajectory set in the electronic device 1 before the user 1 inputs the content of the first barrage in the electronic device 1, the first trajectory may be an input trajectory of the user 1 on the electronic device 1 when the user 1 triggers the electronic device 1 to display a barrage input interface.
Illustratively, in the process of playing a video by the electronic device 1, it is assumed that the user triggers the electronic device 1 to display a bullet screen input interface as shown in (b) in fig. 3 by inputting an input track 31 as shown in (a) in fig. 3 on the electronic device 1. Then, when the user 1 inputs the bullet screen content of the bullet screen in the interface and triggers the electronic device 1 to send the bullet screen (i.e., the first bullet screen), the moving track (i.e., the first track) of the first bullet screen may be the input track 31 as shown in (a) of fig. 3.
The bullet screen display control method provided by the embodiment of the invention can be applied to scenes of electronic equipment displaying bullet screens, and because the electronic equipment can display the first bullet screen according to the first track drawn by the user triggering and sending the first bullet screen, when the tracks drawn by the user triggering and sending the first bullet screen are different, the modes of displaying the first bullet screen by the electronic equipment can be different, so that the display mode of displaying the first bullet screen by the electronic equipment is more flexible.
Wherein the target operation may include any one of: canceling the display of the second bullet screen, updating the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen, and hiding the second bullet screen in the display area of the first bullet screen.
It should be noted that, in the embodiment of the present invention, since the bullet screen moves on the display screen of the electronic device according to the movement track of the bullet screen, it can be regarded that the display state of the bullet screen is updated all the time.
In this embodiment of the present invention, after the electronic device displays the first bullet screen and the second bullet screen, the electronic device may determine whether the first bullet screen and the second bullet screen are updated to the target display state, and if the first bullet screen and the second bullet screen are updated to the target display state, the electronic device may perform a target operation corresponding to the target display state on the second bullet screen. So, can change the mode that electronic equipment shows the barrage to can make the mode that electronic equipment shows the barrage more nimble, and richen electronic equipment shows the mode of barrage.
Correspondingly, if the first bullet screen and the second bullet screen are not updated to the target display state, the electronic device can continue to display the second bullet screen according to the original display mode of the second bullet screen.
Optionally, in this embodiment of the present invention, the target display state may be any one of the following states: the first bullet screen and the second bullet screen are contacted on a first track, the second bullet screen moves to the display area of the first bullet screen, and the second bullet screen passes through the target boundary of the first bullet screen.
Wherein, the first track may be a moving track of the first bullet screen; the display area of the first bullet screen may be a display area gradually increasing with the display time of the first bullet screen, or may be a fixed display area.
Alternatively, the target boundary line may be a straight line passing through the content of the first bullet screen.
Illustratively, the target boundary line may be a straight line passing through the center of the content of the first bullet screen.
It should be noted that, in order to clearly illustrate the relationship between the target operation and the target display state, that is, how the target operation corresponds to the target display state, for the description of different situations corresponding to the target display state, the present application will be described in detail in the following embodiments, and details are not repeated herein.
The bullet screen display control method provided by the embodiment of the invention is applied to a scene that the electronic equipment displays the bullet screen, and the target display state can comprise a plurality of display states, so that the situations that the first bullet screen and the second bullet screen are updated to the target display state can comprise a plurality of situations, and thus, the electronic equipment can execute target operation on the second bullet screen in different display states, namely, the electronic equipment can update the display mode of the second bullet screen in different situations, and the mode that the electronic equipment displays the bullet screen can be more flexible.
Optionally, in this embodiment of the present invention, the target display states are different, and the target operations corresponding to the target real states may also be different (that is, the target operations executed by the electronic device on the second barrage may also be different). That is, any of a variety of possible combinations may be included between the target display state and the target operation.
The target display state and the target operation are exemplarily described below in four possible cases (specifically, a first case, a second case, a third case, and a fourth case described below).
It should be noted that, in the embodiment of the present invention, the target display state and the target operation are exemplarily illustrated by taking the following four cases as examples, which does not limit the embodiment of the present invention at all. In actual implementation, the combination between the target display state and the target operation may also include any other possible situation, which may be determined according to actual usage requirements, and the embodiment of the present invention is not limited.
In the first case: the target display state is as follows: the first bullet screen is contacted with the second bullet screen on a first track; the above target operation is: and canceling the display of the second bullet screen, or updating the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen.
For the first case, the step 202 may be specifically realized by the step 202a described below.
Step 202a, under the condition that the first bullet screen and the second bullet screen are updated to the target display state, the electronic device cancels the display of the second bullet screen, or updates the bullet screen content of the second bullet screen to the bullet screen content of the first bullet screen.
In the first case, the electronic device may cancel the display of the second bullet screen when the first bullet screen and the second bullet screen are in contact on the first track; or, in a case that the first bullet screen and the second bullet screen are in contact on the first track, the electronic device may update the bullet screen content of the second bullet screen to the bullet screen content of the first bullet screen. Therefore, the electronic equipment can change the display mode of the second barrage, so that the barrage displayed by the electronic equipment can be updated.
Optionally, for the first case, the electronic device may display the first track or may not display the first track (i.e., hide the first track). The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
For clarity of the description of the above step 202a, the step 202a is exemplified by the following steps 202a1 and 202a2, respectively.
Step 202a1, in the case that the first bullet screen and the second bullet screen are contacted on the first track, the electronic device cancels the display of the second bullet screen.
In the embodiment of the present invention, the electronic device may cancel the display of the second bullet screen when the first bullet screen and the second bullet screen are in contact with each other on the first track. It can be understood that when the second barrage moves to the moving track of the first barrage and contacts with the first barrage, the electronic device can cancel the display of the second barrage, so that the second barrage displayed by the electronic device can be quickly eliminated through the first barrage.
It is to be understood that, in the step 202a1, the first bullet screen may be a first type control bullet screen having a bullet screen with an elimination attribute. That is, when other bullet screens contact with the first type control bullet screen on the moving track of the first type control, the first type control bullet screen can eliminate or annihilate the bullet screen, that is, the electronic device can cancel displaying the bullet screen.
In the embodiment of the present invention, since the first bullet screen moves along the first track, when the pixel point displaying the first bullet screen and the pixel point displaying the second bullet screen intersect with each other, the electronic device may determine that the first bullet screen and the second bullet screen contact each other on the first track. At this time, the electronic device may cancel the display of the second barrage, and continue to display the first barrage according to the first track.
For example, it is assumed that the first bullet screen is a bullet screen "haha" and the second bullet screen is a bullet screen "true tai chi". Then, as shown in (a) in fig. 4, when the bullet screen "haha" 41 is in contact with the bullet screen "true-too-excellent" 42 on the first track 43, the electronic device may determine that the bullet screen "haha" 41 is updated to the target display state with the bullet screen "true-too-excellent" 42, and the electronic device may cancel the display of the bullet screen "true-too-excellent", that is, the bullet screen displayed by the electronic device as shown in (b) in fig. 4 no longer includes the bullet screen "true-too-excellent".
Also, as shown in fig. 4 (b), the electronic device may continue to display the bullet screen "haha" 41 according to the first trajectory.
The bullet screen display control method provided by the embodiment of the invention is applied to a scene that the electronic equipment updates the display mode of the second bullet screen (specifically, the second bullet screen is cancelled to be displayed), and because the electronic equipment cancels the display of the second bullet screen under the condition that the first bullet screen is contacted with the second bullet screen on the first track, the first bullet screen can eliminate or annihilate the second bullet screen on the first track, so that a user triggering and sending the first bullet screen and a user triggering and sending the second bullet screen can interact with each other through the first bullet screen and the second bullet screen, and the experience of the user watching a video can be improved.
Step 202a2, in a case that the first bullet screen and the second bullet screen are contacted on the first track, the electronic device updates the bullet screen content of the second bullet screen to the bullet screen content of the first bullet screen.
In the embodiment of the present invention, under the condition that the first bullet screen and the second bullet screen are in contact on the first track, the electronic device may update the bullet screen content of the second bullet screen to the bullet screen content of the first bullet screen. It can be understood that when the second bullet screen moves to the moving track of the first bullet screen and contacts with the first bullet screen, the first bullet screen can infect or convert the second bullet screen, so that the bullet screen content of the second bullet screen is updated to the bullet screen content of the first bullet screen.
It is understood that in step 202a2, the first bullet screen can be a second type of control bullet screen having an "infection" attribute (also referred to as a transformation attribute). That is to say, when other bullet screens contact the first type control bullet screen on the moving track of the first type control, the first type control bullet screen can infect or convert the bullet screen, that is, the electronic device can update the bullet screen content of the bullet screen to the bullet screen content of the first type control bullet screen, so as to realize fast update of the bullet screen contents of a plurality of bullet screens.
Optionally, in the embodiment of the present invention, after the electronic device updates the bullet screen content of the second bullet screen to the bullet screen content of the first bullet screen, the electronic device may control the updated second bullet screen to continue to move along the moving track of the original second bullet screen (i.e., the second track), and may also control the updated second bullet screen to move along the first track. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
For example, it is assumed that the first bullet screen is a bullet screen "haha" and the second bullet screen is a bullet screen "true tai chi". Then, as shown in (a) of fig. 5, when the bullet screen "haha" 41 is in contact with the bullet screen "true-too-excellent" 42 on the first trajectory 43, the electronic device may determine that the bullet screen "haha" 41 is updated to the target display state with the bullet screen "true-too-excellent" 42, and thus, the electronic device may update the bullet screen "true-too-excellent" to the bullet screen "haha" 44 shown in (b) of fig. 5. At this time, the electronic device may display a plurality of barrages "haha".
The bullet screen display control method provided by the embodiment of the invention is applied to a scene that the electronic device updates the display mode of the second bullet screen (specifically, the bullet screen content of the second bullet screen is updated), and because the electronic device can update the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen under the condition that the first bullet screen and the second bullet screen are contacted on the first track, the first bullet screen can infect or convert the second bullet screen on the first track, the bullet screen content of the bullet screen can be rapidly changed by the electronic device, and the mode of displaying the bullet screen by the electronic device is diversified and more flexible.
Optionally, for the first case, after the step 201, the bullet screen display method provided in the embodiment of the present invention may further include the following step 203. The step 202a may be specifically realized by the following step 202a 3.
It should be noted that, in the embodiment of the present invention, the steps of "the electronic device displays the first bullet screen with the target display parameters" in the step 203 and the step 202a3 "the electronic device cancels the display of the second bullet screen, or updates the bullet screen content of the second bullet screen to the content of the bullet screen of the first bullet screen" are all steps executed by the electronic device when the first bullet screen and the second bullet screen are updated to the target display state, so in order to clearly illustrate the relationship between the step 203 and the step 202a3, the following embodiment only describes "in the step 203, if the first bullet screen and the second bullet screen meet the target display state".
In addition, the embodiment of the present invention may not limit the execution sequence of the step 203 and the step 202a3, that is, the electronic device may execute the step 203 first and then execute the step 202a 3; the electronic device may also perform step 202a3 first, and then perform step 203; the electronic device may also perform step 203 and step 202a3 simultaneously. In the embodiment of the present invention, the electronic device first executes step 203 and then executes step 202a3 for example.
And 203, under the condition that the first bullet screen and the second bullet screen are updated to the target display state, the electronic equipment displays the first bullet screen according to the target display parameters.
Step 202a3, the electronic device cancels the display of the second barrage, or updates the barrage content of the second barrage to the barrage content of the first barrage.
It should be noted that, for the related description of step 202a3, reference may be specifically made to the detailed description of the electronic device canceling the display of the second bullet screen and the electronic device updating the bullet screen content of the second bullet screen to the bullet screen content of the first bullet screen in the foregoing embodiment, and details are not repeated here to avoid repetition.
In the first case, when the first bullet screen and the second bullet screen are updated to the target display state (specifically, the first bullet screen and the second bullet screen are in contact on the first track), the electronic device may display the first bullet screen according to the target display parameter. Therefore, the electronic equipment can update the display parameters of the first bullet screen, namely the electronic equipment can update the display mode of the first electronic equipment, so that the mode of displaying the bullet screen by the electronic equipment is more flexible and diversified.
Optionally, in this embodiment of the present invention, the display effect corresponding to the target display parameter may include at least one of the following: amplifying and displaying the bullet screen, displaying the bullet screen by preset colors, and adding a preset special effect to the bullet screen.
Of course, in actual implementation, the display effect corresponding to the target display parameter may also have any other possible display effect, which may be determined according to actual use requirements, and the implementation of the present invention is not limited.
Optionally, in this embodiment of the present invention, when the display effect corresponding to the target display parameter includes enlarging and displaying the bullet screen, the electronic device may increase the font weight of the bullet screen content of the first bullet screen.
For example, assuming that the first barrage is the barrage "haha", and the initial font size of the barrage "haha" may be the font size shown in (a) in fig. 4, when the first barrage and the second barrage are updated to the target display state, the electronic device may update the display parameter of the barrage "haha" by increasing the font weight of the content of the barrage "haha" (i.e., the first barrage), that is, the electronic device displays the barrage "haha" with the target display parameter. After the electronic device increases the number of font pounds of the bullet screen content, the display effect of the bullet screen "haha" may be the display effect shown by the bullet screen "haha" 41 in fig. 4 (b).
The bullet screen display control method provided by the embodiment of the invention can be applied to a scene that the electronic equipment updates the display parameters of the first bullet screen, and because the electronic equipment can also display the first bullet screen according to the target display parameters under the condition that the first bullet screen and the second bullet screen are updated to the target display state, the electronic equipment can be indicated to change the display mode of the second bullet screen to be triggered by the first bullet screen by changing the display mode of the first bullet screen, so that a user can be informed that the first bullet screen is a bullet screen with special attributes.
In the second case: the target display state is as follows: the second bullet screen moves to a first track, the first track can comprise a first section of track, and the first section of track can form a closed area; the target operation may be: and canceling the display of the second bullet screen.
Optionally, in this embodiment of the present invention, the first segment of track may be a partial track in the first track, or may be a whole track in the first track. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in the second case, the display position of the second bullet screen at the first time is different, and the timing for the electronic device to perform the target operation on the second bullet screen may be different.
The first time may be a time when the electronic device starts to display the first bullet screen.
Optionally, for the second case, the correspondence between the display position of the second bullet screen at the first time and the timing when the electronic device performs the target operation on the second bullet screen may include two possible implementation manners, specifically, the following implementation manner one and implementation manner two. These two implementations are specifically illustrated below.
The implementation mode is as follows: the display position of the second bullet screen at the first moment is located in the closed area formed by the first section of track, and the timing for the electronic device to perform the target operation on the second bullet screen may be: the second bullet screen contacts the first section of track.
For the first implementation manner, the step 202 can be specifically implemented by the step 202b described below.
Step 202b, under the condition that the display position of the second bullet screen at the first moment is located in the closed area and the second bullet screen contacts the first section of track, the electronic device cancels the display of the second bullet screen.
In the first implementation manner, when the display position of the second bullet screen at the first time is located in the closed area, if the second bullet screen moves to the first section of track, that is, the second bullet screen contacts the first section of track, the electronic device may cancel the display of the second bullet screen.
Exemplarily, as shown in (a) of fig. 6, it is assumed that the first trajectory is a trajectory 51, and the trajectory 51 includes a first segment trajectory constituting a closed region; and the second bullet screen is bullet screen "i like" 52, the display position of the second bullet screen at the first moment is located in the closed area, and the moving direction of the second bullet screen is the direction indicated by arrow 53. Then, after the electronic device displays the bullet screen related to the video played by the electronic device, the bullet screen "i like" 52 may move in the direction indicated by the arrow 53, and when the bullet screen "i like" 52 moves to the first track constituting the closed area (i.e., the bullet screen "i like" 52 touches the first track constituting the closed area), the electronic device may cancel the display of the bullet screen "i like", that is, as shown in (b) in fig. 6, the bullet screen "i like" is no longer included in the bullet screen displayed by the electronic device.
The bullet screen display control method provided by the embodiment of the invention can be applied to a scene in which the electronic equipment updates the display mode of the second bullet screen, and because the second bullet screen contacts the first section of track forming the closed area under the condition that the display position of the second bullet screen at the first moment is located in the closed area, the electronic equipment can cancel the display of the second bullet screen, the closed area formed by the first section of track is equivalent to an isolated area, and thus the bullet screen with the display position at the first moment located in the closed area can be displayed only in the closed area. And when the bullet screen that is located closed area at the first moment contacts this first section orbit, electronic equipment can cancel fast and show these bullet screens to can make electronic equipment cancel the mode that shows the bullet screen more convenient.
The implementation mode two is as follows: the display position of the second bullet screen at the first moment is located outside the closed area formed by the first section of track, and the timing for the electronic device to execute the target operation on the second bullet screen may be: the second bullet screen contacts the first section of track for the second time.
For the second implementation manner, the step 202 can be specifically implemented by the step 202c described below.
Step 202c, if the display position of the second bullet screen at the first moment is located outside the closed area, the electronic device keeps the display of the second bullet screen under the condition that the first bullet screen contacts the first section of track, and cancels the display of the second bullet screen under the condition that the second bullet screen contacts the first section of track for the second time.
In the second implementation manner, when the display position of the second bullet screen at the first time is located outside the closed region, when the second bullet screen moves to the first section of track for the first time (that is, the second bullet screen contacts the first section of track for the first time), the electronic device may keep displaying the second bullet screen, that is, the electronic device may continue to move the second bullet screen along the moving track of the second bullet screen (for example, the second track) until the second bullet screen moves to the first section of track for the second time (that is, the second bullet screen contacts the first section of track for the second time). When the second bullet screen contacts the first section of track for the second time, namely the second bullet screen leaves the closed area, the electronic equipment can cancel the display of the second bullet screen.
That is to say, the display position at the first moment is located on the bullet screen outside the closed region, and when the bullet screen moves to the first track for the first time, that is, the bullet screen enters the closed region, the electronic device may not perform any operation on the bullet screen, that is, control the second bullet screen to continue to move along the original moving track. When the bullet screen moves to the first section of track for the second time, namely the bullet screen moves towards the outside of the closed area, the electronic equipment can cancel the display of the bullet screen. Namely, the bullet screen displayed by the electronic equipment can only enter the closed area and cannot leave the closed area.
Exemplarily, as shown in (a) of fig. 7, it is assumed that the first trajectory is a trajectory 51, and the trajectory 51 includes a first segment trajectory constituting a closed region; and the second bullet screen is bullet screen "i like" 52, the display position of the second bullet screen at the first moment is located outside the closed area, and the moving direction of the second bullet screen is the direction indicated by arrow 54. Then, after the electronic device displays the bullet screen related to the video played by the electronic device, the bullet screen "i like" 52 may move in the direction indicated by the arrow 54, and when the bullet screen "i like" 52 touches the first track for the first time, the electronic device may maintain the display of the bullet screen "i like" 52, that is, the bullet screen "i like" 52 may continue to move in the direction indicated by the arrow 54. Then, when the bullet screen "i like" 52 touches the first track for the second time, the electronic device may cancel the display of the bullet screen "i like", that is, as shown in fig. 7 (b), the bullet screen "i like" is no longer included in the bullet screen displayed by the electronic device.
The bullet screen display control method provided by the embodiment of the invention can be applied to a scene that the electronic equipment updates the display mode of the second bullet screen, and because the second bullet screen contacts the first section of track for the second time under the condition that the display position of the second bullet screen at the first moment is outside the closed area, the electronic equipment can cancel the display of the second bullet screen, the closed area formed by the first section of track is a relative isolation area, so that the bullet screen with the display position at the first moment outside the closed area can enter the closed area, but cannot leave the closed area after entering the closed area. And when the bullet screen outside the closed area contacts the first section of track for the second time at the first moment, the electronic equipment can rapidly cancel and display the bullet screens, so that the mode that the electronic equipment cancels and displays the bullet screens is more convenient.
Optionally, for the second case, in a case that the first bullet screen and the second bullet screen are updated to the target display state, before the electronic device performs a target operation corresponding to the target display state on the second bullet screen, the electronic device may display a moving track of the first bullet screen (that is, the first track), and if the first track does not include the first segment of track, the user may trigger the electronic device to update the first track by inputting the first track, so that the updated first track may include the first segment of track. Thus, after the first track is updated, if the first barrage and the second barrage are updated to the target display state, the electronic device can execute the target operation on the second barrage.
For example, in the second case, before the step 202c, the bullet screen display control method provided by the embodiment of the present invention may further include the following steps 204 to 206.
It should be noted that, the embodiment of the present invention may not limit the execution sequence between the step 201 and the step 204, that is, the electronic device may execute the step 201 first and then execute the step 204; step 204 may be executed first, and then step 201 may be executed; step 201 and step 204 may also be performed simultaneously. The method and the device can be determined according to actual use requirements, and the embodiment of the invention is not limited.
And step 204, the electronic equipment displays the first track.
Step 205, the electronic device receives a first input of the first track from the user.
Step 206, the electronic device updates the first track in response to the first input.
The updated first track may include the first segment of track.
In the embodiment of the present invention, when the electronic device displays the first bullet screen, the electronic device may further display a moving track of the first bullet screen (i.e., the first track). After the electronic device displays the first track, if the user wants to trigger the electronic device to update the movement track of the first barrage, the user may trigger the electronic device to update the movement track of the first barrage through the first input, that is, trigger the electronic device to update the first track.
It is understood that, after the electronic device updates the first trajectory, the moving trajectory of the first bullet screen may be the updated first trajectory. That is to say, the user can change the movement track of the first barrage through the first input, so that the movement track of the first barrage can be drawn in the electronic device according to the use requirement of the user.
It should be noted that, for the description related to the first track, reference may be specifically made to the detailed description of the first track in the foregoing embodiment, and in order to avoid repetition, details are not described here again.
Optionally, in an embodiment of the present invention, the first input may be an input that a user continues to drag a finger on a screen of the electronic device from an end point of the first track.
For example, assuming that the first trajectory is a trajectory 61 as shown in (a) of fig. 8 and the end point of the trajectory 61 indicates a position for the point a, the user may continue dragging the finger on the screen of the electronic device from the position of the point a (i.e., the first input) and, in response to the input, the electronic device may update the first trajectory to a trajectory 62 as shown in (b) of fig. 8.
On one hand, because the user can trigger the electronic device to update the first trajectory (i.e., the movement trajectory of the first bullet screen) through the first input, the user can also change the movement trajectory of the first bullet screen again after the electronic device displays the first bullet screen, so that the manner in which the electronic device displays the first bullet screen is flexible. On the other hand, since the updated first track includes the first section of track, and the first section of track can trigger the electronic device to cancel displaying some barrages displayed by the electronic device (for example, barrages located in a closed area formed by the first section of track at the display position at the first moment), the moving track of the first barrage can be updated by triggering the electronic device, and the display modes of other barrages displayed by the electronic device can be changed, so that the display mode of the barrages displayed by the electronic device can be changed quickly.
In the third case: the target display state is as follows: the second bullet screen moves to the display area of the first bullet screen; the above target operation is: and hiding the second bullet screen in the display area of the first bullet screen.
For the third case, the step 202 can be specifically realized by the step 202d described below.
Step 202d, under the condition that the second bullet screen moves to the display area of the first bullet screen, the electronic device hides the second bullet screen in the display area of the first bullet screen.
And the electronic equipment displays the second bullet screen when the second bullet screen moves to the outside of the display area of the first bullet screen.
It is to be understood that, in the third case, the electronic device only displays the first bullet screen in the display area of the first bullet screen, and other bullet screens cannot be displayed in the display area of the first bullet screen. That is, in the display area of the first bullet screen, the other bullet screens are not visible to the user.
In the third case, the first bullet screen can be a third control bullet screen, and a display area of the third control bullet screen has a hidden attribute. That is, when other bullet screens move into the display area of the third type control bullet screen, the display area of the third type control bullet screen hides the bullet screens.
Optionally, for the third case, the electronic device may shield or cover the second barrage through the display area of the first barrage, so that the second barrage is invisible to the user.
It can be understood that the display area of the first bullet screen can be a non-transparent area, and the display layer of the display area of the first bullet screen is above the display layers of the other bullet screens, so that the display area of the first bullet screen can block or cover the bullet screen moving into the display area of the first bullet screen.
It should be noted that, after the electronic device hides the second bullet screen in the display area of the first bullet screen, the second bullet screen may continue to move on the screen of the electronic device until the second bullet screen moves out of the display area of the first bullet screen, and the electronic device may display the second bullet screen again.
Alternatively, in the third case, the display area of the first barrage may be a preset area centered on a target position (also referred to as a target anchor point).
Alternatively, the target position may be a preset position in the electronic device (i.e., the electronic device 1) that sends the first barrage, or may be a position set in the electronic device 1 by a user of the electronic device 1 (i.e., the user 1). The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, when the target position is a position set in the electronic device 1 by the user 1, the target position may be a position set in the electronic device 1 before the user 1 inputs the content of the first barrage in the electronic device 1; the position set in the electronic apparatus 1 after the user 1 inputs the content of the first bullet screen in the electronic apparatus 1 may also be selected. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, in a case that the target position is a position set in the electronic device 1 before the user 1 inputs the bullet screen content of the first bullet screen in the electronic device 1, the target position may be an input position of the user 1 on the electronic device 1 when the user 1 triggers the electronic device 1 to display a bullet screen input interface.
For example, in the process of playing a video by the electronic device 1, assuming that the user can trigger the electronic device 1 to display the bullet screen input interface by double-clicking input on the screen of the electronic device, when the user double-clicks a position 63 (target position) as shown in fig. 9, the position 63 is the target position. Thus, when the user 1 inputs the bullet screen content of the bullet screen in the bullet screen input interface and triggers the electronic device 1 to send the bullet screen (i.e. the first bullet screen), the display area of the bullet screen may be a display area centered on the position 63.
Alternatively, in the third case, the form of the display area of the first bullet screen may include two possible display forms, i.e., a form one and a form two. These two forms are specifically exemplified below.
The first form: the display area of the first bullet screen is the display area which is gradually increased along with the display time of the first bullet screen.
Optionally, in the first form, the first bullet screen may be displayed at the target position (i.e., at the center of the display area of the first bullet screen), and then, after the first bullet screen displays the first duration (e.g., any possible duration such as 1 second), the display area of the first bullet screen may be spread around the screen of the electronic device with the target position as the center until the display area of the first bullet screen completely covers the screen of the electronic device, that is, the display area of the first bullet screen may gradually increase with the display time of the first bullet screen.
Alternatively, for the first form, after the display area of the first bullet screen completely covers the screen of the electronic device, the electronic device may cancel displaying the first bullet screen after the second time period (for example, any possible time period such as 3 seconds or 5 seconds). Therefore, after the electronic equipment cancels the display of the first bullet screen, the electronic equipment can continue to display other bullet screens.
Optionally, with regard to the first form, in the process of diffusing the display area of the first bullet screen, the bullet screens are covered by the display area of the first bullet screen, and the bullet screens are to be hidden, that is, the bullet screens are the second bullet screen.
The second form: the display area of the first bullet screen is a fixed display area.
Alternatively, in the second form, when the display area of the first bullet screen is a regular display area (for example, a circular display area or a rectangular display area), the display area may also be an irregular display area. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
With regard to the second form, the display area of the first bullet screen may form a "forbidden area" in which the bullet screens other than the first bullet screen are hidden when they enter the area; the barrages may continue to be displayed as they gradually move out of the area. That is, the region may only display the first bullet screen.
For example, assuming that the display area of the first bullet screen is a circular display area, the first bullet screen is a bullet screen "haha", and the second bullet screen is a bullet screen "bar pole", as shown in fig. 10 (a), when the bullet screen "bar pole" 45 moves into the display area 46 of the bullet screen "haha", that is, the first bullet screen and the second bullet screen are updated to the target display state, the electronic device may hide the bullet screen "bar pole" 45 in the display area 46 of the bullet screen "haha". After the bullet screen "rod is polar" 45 is hidden, the bullet screen "rod is polar" 45 continues to move, as shown in fig. 10 (b), when the bullet screen "rod is polar" 45 moves out of the display area 46 of the bullet screen "haha", the electronic device may continue to display the bullet screen "rod is polar" 45.
The bullet screen display control method provided by the embodiment of the invention can be applied to a scene that the second bullet screen is hidden in the display area of the first bullet screen, and because the display area of the first bullet screen displayed by the electronic equipment can be gradually increased along with the display time of the first bullet screen, the display time of the hidden bullet screen is also increased along with the display time of the first bullet screen until the electronic equipment cancels the display of the first bullet screen. In this way, the first bullet screen can temporarily extinguish other bullet screens displayed by the electronic device, so that the electronic device can quickly hide the bullet screen displayed in the display area of the first bullet screen in a short time.
In a fourth case: the target display state is as follows: the second bullet screen passes through a target boundary of the first bullet screen; the above target operation is: and updating the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen.
For the fourth case, the step 202 may be specifically implemented by the step 202e described below.
Step 202e, under the condition that the second bullet screen passes through the target boundary of the first bullet screen, the electronic device sequentially updates the bullet screen contents of the second bullet screen into the bullet screen contents of the first bullet screen according to the sequence that the bullet screen contents of the second bullet screen pass through the target boundary.
It is understood that in step 202e, the first bullet screen can be a fourth type control bullet screen, and the target boundary of the fourth type control bullet screen has infection or transformation properties. That is, when the bullet screen content of the second bullet screen passes through the target boundary of the fourth type control bullet screen, the target boundary may gradually "infect" the second bullet screen, so that the bullet screen content of the second bullet screen is updated to the bullet screen content of the fourth type control bullet screen.
It should be noted that, after the electronic device updates the bullet screen content of the second bullet screen to the bullet screen content of the first bullet screen, the updated second bullet screen can continue to move along the moving track of the original second bullet screen.
In the fourth case, the display position of the first bullet screen may be a fixed display position.
For example, it is assumed that the first bullet screen is a bullet screen "haha" and the second bullet screen is a bullet screen "true tai chi". Then, as shown in (a) of fig. 11, when the bullet screen "is really too excellent" 42 passes through the target boundary 47 of the bullet screen "haha" 41, as shown in (b) of fig. 11, the electronic device may gradually update the bullet screen content of the bullet screen "is really too excellent" to the bullet screen content of the bullet screen "haha".
The bullet screen display control method provided by the embodiment of the invention can be applied to a scene of updating the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen, and because the electronic device can sequentially update the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen according to the sequence that the bullet screen content of the second bullet screen passes through the target boundary, the second bullet screen can be infected through the target boundary of the first bullet screen, so that the electronic device can simultaneously display a plurality of bullet screens with the same bullet screen content.
Optionally, in the embodiment of the present invention, in the process that the user watches the video through the electronic device, the user may trigger the electronic device to display the bullet screen input interface, so as to input the content of the bullet screen that the user wants to send in the bullet screen input interface. Specifically, the user can select a bullet screen type in the bullet screen input interface to trigger the electronic device to send the bullet screen which the electronic device wants to send in the bullet screen type, so that the diversity of the display modes of the bullet screen sent by the electronic device can be increased.
Optionally, before the step 201, the bullet screen display control method provided in the embodiment of the present invention may further include the following step 207 and step 208.
It should be noted that, in the embodiment of the present invention, the execution sequence between the step 201 to the step 202 and the step 207 to the step 208 may not be limited, that is, the step 201 to the step 202 may be executed first, and then the step 207 to the step 208 may be executed; it is also possible to perform steps 207-208 first and then perform steps 201-202. The method and the device can be determined according to actual use requirements, and the embodiment of the invention is not limited.
And step 207, the electronic equipment receives a second input of the user on the barrage input interface.
The second input may be an input for triggering the electronic device to select the target bullet screen type.
And step 208, the electronic equipment responds to the second input, and sends the bullet screen to be sent in the target bullet screen type.
The bullet screen types corresponding to the bullet screen sent by the electronic equipment are different, and the display modes of the bullet screen sent by the electronic equipment can be different.
In the embodiment of the present invention, after the electronic device displays the bullet screen input interface, the user may trigger the electronic device to send the bullet screen to be sent in the electronic device in the target bullet screen type through the second input. Therefore, after the electronic equipment displays the bullet screen to be sent, the electronic equipment can display the bullet screen in a display mode corresponding to the target bullet screen type.
Optionally, in this embodiment of the present invention, the second input may be an input of a user selecting a control for a bullet screen type in the bullet screen input interface.
Optionally, in this embodiment of the present invention, the second input may include a first sub-input and a second sub-input. The first sub-input may be any possible input such as a single-click input or a double-click input of the user on the bullet screen type selection control, and after the electronic device receives the first input, the electronic device may display at least one bullet screen type option (the bullet screen type indicated by the at least one bullet screen type option is a bullet screen type supported by the electronic device). The second sub-input may be any possible input such as a single-click input or a long-press input of the user to a certain bullet screen type option (the bullet screen type indicated by the bullet screen type option is the above-mentioned target bullet screen type) in the at least one bullet screen type option.
For example, it is assumed that the first sub-input is a single-click input of the user to the bullet screen type selection control, the second sub-input is a single-click input of the user to a bullet screen type option indicating a target bullet screen type, and the target bullet screen type is bullet screen type 1. Then, as shown in (a) of fig. 12, when the user clicks the bullet screen type selection control 64 in the bullet screen input interface, the electronic device may display four bullet screen type options (specifically, the option "bullet screen type 1", the option "bullet screen type 2", the option "bullet screen type 3", and the option "bullet screen type 4") as shown in (b) of fig. 12 in response to the input. Then, the user can trigger the electronic device to send the bullet screen to be sent in the electronic device with bullet screen type 1 by clicking the option "bullet screen type 1" 65 (i.e., the bullet screen type option indicating the target bullet screen type).
Optionally, in the embodiment of the present invention, after the electronic device sends the bullet screen to be sent in the electronic device in the target bullet screen type, the electronic device may display the bullet screen in the display mode corresponding to the target bullet screen type, so that the electronic device can display the bullet screen that the user triggers the electronic device to send according to the display mode that the user wants, and further, the interestingness of sending the bullet screen by the electronic device may be improved.
In the embodiment of the present invention, the bullet screen display control method shown in each of the above drawings is exemplarily described by referring to one drawing in the embodiment of the present invention. In specific implementation, the bullet screen display control method shown in each of the above drawings can also be implemented by combining any other drawings that can be combined, which are illustrated in the above embodiments, and are not described herein again.
As shown in fig. 13, an embodiment of the present invention provides an electronic device 700, where the electronic device 700 may include a display module 701 and an execution module 702;
the display module 701 may be configured to display a first bullet screen and a second bullet screen; an executing module 702, configured to execute a target operation corresponding to a target display state on a second barrage when the first barrage and the second barrage displayed by the displaying module 701 are updated to the target display state; wherein the target operation comprises any one of the following: canceling the display of the second bullet screen, updating the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen, and hiding the second bullet screen in the display area of the first bullet screen.
Optionally, the display attribute of the first bullet screen is a first attribute, and the first attribute is to move according to a first track or to keep displaying in the target area; the first track is drawn by a user who triggers and sends the first bullet screen; the display attribute of the second bullet screen is a second attribute, and the second attribute is that the second bullet screen moves according to a second track; the display module 701 may be specifically configured to display the first barrage according to the first attribute, and display the second barrage according to the second attribute.
The electronic device provided by the embodiment of the invention can be applied to a scene that the electronic device displays the bullet screen, and the electronic device can display the first bullet screen according to the first track drawn by the user who triggers and sends the first bullet screen, so that when the tracks drawn by the user who triggers and sends the first bullet screen are different, the modes of displaying the first bullet screen by the electronic device can be different, and the display mode of displaying the first bullet screen by the electronic device can be more flexible.
Optionally, the target display state is any one of: the first bullet screen is contacted with the second bullet screen on a first track, the second bullet screen moves to the display area of the first bullet screen, and the second bullet screen passes through the target boundary of the first bullet screen; the first track is a moving track of the first bullet screen; the display area of the first bullet screen is a display area which is gradually increased along with the display time of the first bullet screen, or is a fixed display area.
The electronic device provided by the embodiment of the invention is applied to a scene that the electronic device displays the bullet screen, and the target display state can comprise a plurality of display states, so that the situations that the first bullet screen and the second bullet screen are updated to the target display state can comprise a plurality of situations, and thus the electronic device can execute target operation on the second bullet screen in different display states, that is, the electronic device can update the display mode of the second bullet screen in different situations, so that the mode that the electronic device displays the bullet screen is more flexible.
Optionally, the target display state is: the first bullet screen is contacted with the second bullet screen on a first track; the execution module 702 may be specifically configured to cancel the display of the second barrage, or update the barrage content of the second barrage to the barrage content of the first barrage.
The electronic equipment provided by the embodiment of the invention is applied to a scene that the electronic equipment updates the display mode of the second barrage, on one hand, under the condition that the first barrage is contacted with the second barrage on the first track, the electronic equipment can cancel the display of the second barrage, so that the first barrage can eliminate or annihilate the second barrage on the first track, and therefore, a user who triggers to send the first barrage and a user who triggers to send the second barrage can interact with each other through the first barrage and the second barrage, and the experience of the user in watching videos can be improved. On the other hand, under the condition that the first bullet screen and the second bullet screen are in contact with each other on the first track, the electronic device can update the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen, so that the first bullet screen can infect or convert the second bullet screen on the first track, the bullet screen content of the bullet screen can be rapidly changed by the electronic device, and the mode of displaying the bullet screen by the electronic device is diversified and more flexible.
Optionally, the display module may be further configured to display the first bullet screen according to the target display parameter when the first bullet screen and the second bullet screen are updated to the target display state.
The electronic device provided by the embodiment of the invention can be applied to a scene that the electronic device updates the display parameters of the first barrage, and because the electronic device can also display the first barrage according to the target display parameters under the condition that the first barrage and the second barrage are updated to the target display state, the electronic device can be indicated to change the display mode of the second barrage to be triggered by the first barrage by changing the display mode of the first barrage, so that a user can be informed that the first barrage is a barrage with special attributes.
Optionally, the target display state is: the second bullet screen moves to a first track, the first track comprises a first section of track, and the first section of track forms a closed area; the execution module is specifically configured to cancel the display of the second bullet screen when the display position of the second bullet screen at the first time is located in the closed area and the second bullet screen contacts the first section of track, where the first time is a time when the electronic device starts to display the first bullet screen; or, if the display position of the second bullet screen at the first moment is located outside the closed area, the execution module is specifically configured to keep the display of the second bullet screen when the second bullet screen contacts the first section of track for the first time, and cancel the display of the second bullet screen when the second bullet screen contacts the first section of track for the second time, where the first moment is a moment when the electronic device starts to display the first bullet screen.
On one hand, because the second bullet screen contacts the first section of track forming the closed area under the condition that the display position of the second bullet screen at the first moment is located in the closed area, the electronic device can cancel the display of the second bullet screen, and therefore the closed area formed by the first section of track is equivalent to an isolated area, so that the bullet screen with the display position at the first moment located in the closed area can only be displayed in the closed area. On the other hand, under the condition that the display position of the second bullet screen at the first moment is located outside the closed area, the second bullet screen contacts the first section of track for the second time, the electronic equipment can cancel the display of the second bullet screen, and therefore the closed area formed by the first section of track is a relative isolation area, so that the bullet screen with the display position at the first moment located outside the closed area can enter the closed area, but cannot leave the closed area after entering the closed area. And because when the bullet screen that is located outside the closed area at the first moment contacts this first section orbit for the second time, electronic equipment can cancel and show these bullet screens fast to can make electronic equipment cancel the mode that shows the bullet screen more convenient.
Optionally, the electronic device may further include a receiving module; the display module can be further used for displaying a first track before the execution module executes a target operation corresponding to the target display state on the second bullet screen under the condition that the first bullet screen and the second bullet screen are updated to the target display state; the receiving module can be used for receiving a first input of a first track displayed by the display module by a user; the display module can be further used for responding to the first input received by the receiving module and updating the first track; wherein the further first track comprises a first segment of track.
On one hand, according to the electronic device provided by the embodiment of the present invention, since the user can trigger the electronic device to update the first trajectory (i.e., the movement trajectory of the first bullet screen) through the first input, after the electronic device displays the first bullet screen, the user can change the movement trajectory of the first bullet screen again, so that the manner in which the electronic device displays the first bullet screen is flexible. On the other hand, since the updated first track includes the first section of track, and the first section of track can trigger the electronic device to cancel displaying some barrages displayed by the electronic device (for example, barrages located in a closed area formed by the first section of track at the display position at the first moment), the moving track of the first barrage can be updated by triggering the electronic device, and the display modes of other barrages displayed by the electronic device can be changed, so that the display mode of the barrages displayed by the electronic device can be changed quickly.
Optionally, the target display state is: the second bullet screen moves to the display area of the first bullet screen; the execution module is specifically used for hiding the display of the second bullet screen in the display area of the first bullet screen; and displaying the second bullet screen outside the display area of the first bullet screen when the second bullet screen moves to the outside.
The electronic device provided by the embodiment of the invention can be applied to a scene that the second bullet screen is hidden in the display area of the first bullet screen, and the display area of the first bullet screen displayed by the electronic device can be gradually increased along with the display time of the first bullet screen, so that the display time of the hidden bullet screen is increased along with the display time of the first bullet screen until the electronic device cancels the display of the first bullet screen. In this way, the first bullet screen can temporarily extinguish other bullet screens displayed by the electronic device, so that the electronic device can quickly hide the bullet screen displayed in the display area of the first bullet screen in a short time.
Optionally, the target display state is: the second bullet screen passes through a target boundary of the first bullet screen; the execution module may be specifically configured to sequentially update the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen according to an order that the bullet screen content of the second bullet screen passes through the target boundary.
The electronic device provided by the embodiment of the invention can be applied to a scene of updating the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen, and because the electronic device can sequentially update the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen according to the sequence that the bullet screen content of the second bullet screen passes through the target boundary, the second bullet screen can be infected through the target boundary of the first bullet screen, so that the electronic device can simultaneously display a plurality of bullet screens with the same bullet screen content.
The electronic device provided by the embodiment of the invention can realize each process executed by the electronic device in the bullet screen display control method embodiment, and can achieve the same technical effect, and the details are not repeated here in order to avoid repetition.
The embodiment of the invention provides electronic equipment, wherein in a scene that the electronic equipment displays a bullet screen, because the display of a second bullet screen is cancelled, the bullet screen content of the second bullet screen is updated to the bullet screen content of a first bullet screen, and the display mode of the bullet screen displayed by the electronic equipment can be changed by hiding the second bullet screen in a display area of the first bullet screen, under the condition that the first bullet screen and the second bullet screen are updated to a target display state, the electronic equipment can execute target operation corresponding to the target display state on the second bullet screen and change the mode of displaying the bullet screen by the electronic equipment, so that the electronic equipment can display the bullet screen in different display modes, the mode of displaying the bullet screen by the electronic equipment is more flexible, and the mode of displaying the bullet screen by the electronic equipment is diversified.
Fig. 14 is a hardware schematic diagram of an electronic device implementing various embodiments of the invention. As shown in fig. 14, electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 14 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 may be configured to control the display unit 106 to display the first bullet screen and the second bullet screen; the second bullet screen is used for executing target operation corresponding to the target state when the first bullet screen and the second bullet screen are updated to the target display state; wherein the target operation comprises any one of the following: canceling the display of the second bullet screen, updating the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen, and hiding the second bullet screen in the display area of the first bullet screen.
It can be understood that, in the embodiment of the present invention, the display module 701 in the structural schematic diagram of the electronic device (for example, fig. 13) may be implemented by the display unit 106; the execution module 702 in the schematic structural diagram of the electronic device may be configured to execute the processing by the processor 110; the receiving module of the electronic device may be implemented by the user input unit 107.
The embodiment of the invention provides electronic equipment, wherein in a scene that the electronic equipment displays a bullet screen, because the display of a second bullet screen is cancelled, the bullet screen content of the second bullet screen is updated to the bullet screen content of a first bullet screen, and the display mode of the bullet screen displayed by the electronic equipment can be changed by hiding the second bullet screen in a display area of the first bullet screen, under the condition that the first bullet screen and the second bullet screen are updated to a target display state, the electronic equipment can execute target operation corresponding to the target display state on the second bullet screen and change the mode of displaying the bullet screen by the electronic equipment, so that the electronic equipment can display the bullet screen in different display modes, the mode of displaying the bullet screen by the electronic equipment is more flexible, and the mode of displaying the bullet screen by the electronic equipment is diversified.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 14, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes the processor 110 shown in fig. 14, the memory 109, and a computer program stored in the memory 109 and capable of being executed on the processor 110, where the computer program, when executed by the processor 110, implements each process of the foregoing bullet screen display control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor shown in fig. 14, the computer program implements each process of the foregoing bullet screen display control method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (12)
1. A bullet screen display control method is applied to electronic equipment and is characterized by comprising the following steps:
displaying a first bullet screen and a second bullet screen;
under the condition that the first bullet screen and the second bullet screen are updated to a target display state, executing target operation corresponding to the target display state on the second bullet screen;
wherein the target operation comprises any one of: canceling the display of the second bullet screen, updating the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen, and hiding the second bullet screen in the display area of the first bullet screen.
2. The method according to claim 1, wherein the display attribute of the first barrage is a first attribute, the first attribute is to move according to a first track, or to keep displaying in a target area, and the first track is a track drawn by a user who triggers sending the first barrage;
the display attribute of the second bullet screen is a second attribute, and the second attribute moves according to a second track;
show first bullet curtain and second bullet curtain, include:
and displaying the first barrage according to the first attribute, and displaying the second barrage according to the second attribute.
3. The method according to claim 1 or 2, wherein the target display state is any one of: the first bullet screen is in contact with the second bullet screen on a first track, the second bullet screen moves to the display area of the first bullet screen, and the second bullet screen passes through a target boundary of the first bullet screen;
wherein the first track is a moving track of the first bullet screen; the display area of the first bullet screen is a display area which gradually increases along with the display time of the first bullet screen, or is a fixed display area.
4. The method of claim 3, wherein the target display state is: the first bullet screen is contacted with the second bullet screen on a first track;
the executing of the target operation corresponding to the target display state on the second bullet screen comprises:
and canceling the display of the second bullet screen, or updating the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen.
5. The method of claim 4, further comprising:
and under the condition that the first bullet screen and the second bullet screen are updated to the target display state, displaying the first bullet screen according to target display parameters.
6. The method of claim 3, wherein the target display state is: the second bullet screen moves to a first track, the first track comprises a first section of track, and the first section of track forms a closed area;
under the condition that the first bullet screen and the second bullet screen are updated to the target display state, executing a target operation corresponding to the target display state on the second bullet screen, including:
when the display position of the second bullet screen at a first moment is located in the closed area and the second bullet screen is in contact with the first section of track, canceling the display of the second bullet screen, wherein the first moment is the moment when the electronic equipment starts to display the first bullet screen;
or,
if the display position of the second bullet screen at the first moment is located outside the closed area, the display of the second bullet screen is kept under the condition that the second bullet screen is contacted with the first section of track for the first time, and the display of the second bullet screen is cancelled under the condition that the second bullet screen is contacted with the first section of track for the second time, wherein the first moment is the moment when the electronic equipment starts to display the first bullet screen.
7. The method according to claim 6, wherein in a case where the first barrage and the second barrage are updated to a target display state, before performing a target operation corresponding to the target display state on the second barrage, the method further comprises:
displaying the first track;
receiving a first input of the first track by a user;
updating the first trajectory in response to the first input;
wherein the updated first track comprises the first segment of track.
8. The method of claim 3, wherein the target display state is: the second barrage moves to the display area of the first barrage;
the executing of the target operation corresponding to the target display state on the second bullet screen comprises:
hiding the second bullet screen in a display area of the first bullet screen;
and the second bullet screen is moved out of the display area of the first bullet screen to display the second bullet screen.
9. The method of claim 3, wherein the target display state is: the second bullet screen passes through a target boundary of the first bullet screen;
the executing of the target operation corresponding to the target display state on the second bullet screen comprises:
and sequentially updating the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen according to the sequence that the bullet screen content of the second bullet screen passes through the target boundary.
10. An electronic device, comprising a display module and an execution module;
the display module is used for displaying the first bullet screen and the second bullet screen;
the execution module is configured to execute a target operation corresponding to a target display state on the second barrage when the first barrage and the second barrage displayed by the display module are updated to the target display state;
wherein the target operation comprises any one of: canceling the display of the second bullet screen, updating the bullet screen content of the second bullet screen into the bullet screen content of the first bullet screen, and hiding the second bullet screen in the display area of the first bullet screen.
11. An electronic device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the bullet screen display control method according to any one of claims 1 to 9.
12. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the bullet screen display control method according to any one of claims 1 to 9.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911418933.1A CN111147912B (en) | 2019-12-31 | 2019-12-31 | Bullet screen display control method and electronic equipment |
PCT/CN2020/141171 WO2021136330A1 (en) | 2019-12-31 | 2020-12-30 | Bullet screen display control method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911418933.1A CN111147912B (en) | 2019-12-31 | 2019-12-31 | Bullet screen display control method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111147912A true CN111147912A (en) | 2020-05-12 |
CN111147912B CN111147912B (en) | 2021-11-16 |
Family
ID=70523063
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911418933.1A Active CN111147912B (en) | 2019-12-31 | 2019-12-31 | Bullet screen display control method and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111147912B (en) |
WO (1) | WO2021136330A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021136330A1 (en) * | 2019-12-31 | 2021-07-08 | 维沃移动通信有限公司 | Bullet screen display control method and electronic device |
WO2023279917A1 (en) * | 2021-07-05 | 2023-01-12 | 腾讯科技(深圳)有限公司 | On-screen comment displaying method and apparatus, on-screen comment transmitting method and apparatus, computer device, computer readable storage medium, and computer program product |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114025225B (en) * | 2021-10-29 | 2023-08-29 | 北京字跳网络技术有限公司 | Bullet screen control method and device, electronic equipment and storage medium |
CN114915832B (en) * | 2022-05-13 | 2024-02-23 | 咪咕文化科技有限公司 | Barrage display method and device and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106998492A (en) * | 2017-03-02 | 2017-08-01 | 合网络技术(北京)有限公司 | The display control method and device of barrage |
CN108495166A (en) * | 2018-01-29 | 2018-09-04 | 上海哔哩哔哩科技有限公司 | Barrage control method for playing back, terminal and barrage broadcasting control system |
US20190102052A1 (en) * | 2017-09-29 | 2019-04-04 | Dwango Co., Ltd. | Server and terminal |
US20190266408A1 (en) * | 2018-02-27 | 2019-08-29 | Shanghai Bilibili Technology Co., Ltd. | Movement and transparency of comments relative to video frames |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106990891B (en) * | 2017-03-02 | 2020-07-28 | 阿里巴巴(中国)有限公司 | Display control method and device for barrage |
CN109413484B (en) * | 2018-12-29 | 2022-05-10 | 咪咕文化科技有限公司 | Bullet screen display method and device and storage medium |
CN111147912B (en) * | 2019-12-31 | 2021-11-16 | 维沃移动通信有限公司 | Bullet screen display control method and electronic equipment |
-
2019
- 2019-12-31 CN CN201911418933.1A patent/CN111147912B/en active Active
-
2020
- 2020-12-30 WO PCT/CN2020/141171 patent/WO2021136330A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106998492A (en) * | 2017-03-02 | 2017-08-01 | 合网络技术(北京)有限公司 | The display control method and device of barrage |
US20190102052A1 (en) * | 2017-09-29 | 2019-04-04 | Dwango Co., Ltd. | Server and terminal |
CN108495166A (en) * | 2018-01-29 | 2018-09-04 | 上海哔哩哔哩科技有限公司 | Barrage control method for playing back, terminal and barrage broadcasting control system |
US20190266408A1 (en) * | 2018-02-27 | 2019-08-29 | Shanghai Bilibili Technology Co., Ltd. | Movement and transparency of comments relative to video frames |
Non-Patent Citations (1)
Title |
---|
熊师: "华丽弹幕游戏中子弹运动引擎的设计与实现", 《井冈山学院学报》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021136330A1 (en) * | 2019-12-31 | 2021-07-08 | 维沃移动通信有限公司 | Bullet screen display control method and electronic device |
WO2023279917A1 (en) * | 2021-07-05 | 2023-01-12 | 腾讯科技(深圳)有限公司 | On-screen comment displaying method and apparatus, on-screen comment transmitting method and apparatus, computer device, computer readable storage medium, and computer program product |
Also Published As
Publication number | Publication date |
---|---|
WO2021136330A1 (en) | 2021-07-08 |
CN111147912B (en) | 2021-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111596845B (en) | Display control method and device and electronic equipment | |
CN109002243B (en) | Image parameter adjusting method and terminal equipment | |
CN111147912B (en) | Bullet screen display control method and electronic equipment | |
CN110769155B (en) | Camera control method and electronic equipment | |
CN110062105B (en) | Interface display method and terminal equipment | |
CN109032445B (en) | Screen display control method and terminal equipment | |
CN109032486B (en) | Display control method and terminal equipment | |
CN109828705B (en) | Icon display method and terminal equipment | |
CN110489045B (en) | Object display method and terminal equipment | |
CN109597558A (en) | A kind of display control method and terminal device | |
CN109828731B (en) | Searching method and terminal equipment | |
CN108681427B (en) | Access right control method and terminal equipment | |
CN110944236B (en) | Group creation method and electronic device | |
CN111385415B (en) | Shooting method and electronic equipment | |
WO2020181956A1 (en) | Method for displaying application identifier, and terminal apparatus | |
CN110046013A (en) | A kind of interface display method and terminal device | |
CN110597437A (en) | Screen capturing method and terminal equipment | |
CN111399715B (en) | Interface display method and electronic equipment | |
CN111596990A (en) | Picture display method and device | |
CN111190517B (en) | Split screen display method and electronic equipment | |
CN111338525A (en) | Control method of electronic equipment and electronic equipment | |
CN110750200A (en) | Screenshot picture processing method and terminal equipment | |
CN109933267A (en) | The method and terminal device of controlling terminal equipment | |
CN110851098B (en) | Video window display method and electronic equipment | |
CN111163347B (en) | Bullet screen information processing method and electronic equipment |
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 |