CN111372140A - Barrage adjusting method and device, computer readable storage medium and electronic equipment - Google Patents
Barrage adjusting method and device, computer readable storage medium and electronic equipment Download PDFInfo
- Publication number
- CN111372140A CN111372140A CN202010144860.8A CN202010144860A CN111372140A CN 111372140 A CN111372140 A CN 111372140A CN 202010144860 A CN202010144860 A CN 202010144860A CN 111372140 A CN111372140 A CN 111372140A
- Authority
- CN
- China
- Prior art keywords
- bullet screen
- sliding
- control
- adjusting
- sliding operation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
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/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
-
- 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
-
- 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/485—End-user interface for client configuration
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure provides a bullet screen adjusting method, a bullet screen adjusting device, a computer readable storage medium and electronic equipment, and relates to the technical field of computer control. The bullet screen adjusting method comprises the following steps: responding to a first operation aiming at the graphical user interface, and displaying a bullet screen adjusting control; and responding to a second operation aiming at the bullet screen adjusting control, determining the rolling direction of the bullet screen, and adjusting the rolling of the bullet screen according to the rolling direction of the bullet screen. The rolling direction of bullet curtain can be adjusted to this disclosure.
Description
Technical Field
The present disclosure relates to the field of computer control technologies, and in particular, to a bullet screen adjusting method, a bullet screen adjusting device, a computer-readable storage medium, and an electronic device.
Background
A bullet screen refers to a commentary subtitle that pops up when a video is viewed over a network. The barrage can give the user a real-time interactive feeling, the participation of the user is increased, and the topic feeling of the video is enhanced. Bullet screens have been recognized and favored by more and more users, both in live broadcast platforms and in traditional video playback platforms.
Currently, the rolling direction of the bullet screen is fixed. However, due to differences in cultural backgrounds, visual habits and the like of users, the users may not adapt to the rolling direction of the bullet screen, so that the users are inconvenient to read and have poor participation.
Disclosure of Invention
The present disclosure provides a bullet screen adjusting method, a bullet screen adjusting device, a computer readable storage medium and an electronic device, thereby overcoming, at least to some extent, the problem that some users are inconvenient to read due to the fixed rolling direction of a bullet screen.
According to a first aspect of the present disclosure, a bullet screen adjusting method is provided, in which a terminal device runs a software application and renders a graphical user interface corresponding to the software application on a display of the terminal device, and the bullet screen adjusting method includes: responding to a first operation aiming at the graphical user interface, and displaying a bullet screen adjusting control; and responding to a second operation aiming at the bullet screen adjusting control, determining the rolling direction of the bullet screen, and adjusting the rolling of the bullet screen according to the rolling direction of the bullet screen.
Optionally, in a case that the bullet screen function is in a closed state, the bullet screen adjusting method further includes: responding to the bullet screen function starting operation, and displaying the bullet screen on the graphical user interface.
Optionally, after the bullet screen adjusting control is displayed, the bullet screen adjusting method further includes: and presenting prompt information for starting the barrage function.
Optionally, responding to the bullet screen function opening operation, displaying the bullet screen on the graphical user interface, including: and responding to the touch operation aiming at the prompt information, starting the bullet screen function, and displaying the bullet screen on the graphical user interface.
Optionally, the second operation is a sliding operation; wherein, responding to the second operation aiming at the bullet screen adjusting control, determining the bullet screen rolling direction comprises: responding to a first sliding operation aiming at the bullet screen adjusting control, and determining the rolling direction of the bullet screen according to the first sliding direction of the first sliding operation; wherein, the moving track of the operating point of the first sliding operation is a straight line.
Optionally, the first sliding direction of the first sliding operation is the same as or opposite to the bullet screen rolling direction.
Optionally, the bullet screen adjusting method further includes: responding to a second sliding operation aiming at the bullet screen adjusting control, and determining the font size of the bullet screen according to a second sliding direction of the second sliding operation; wherein, the moving track of the operating point of the second sliding operation is a curve.
Optionally, if the second sliding direction of the second sliding operation is clockwise, the font of the bullet screen becomes larger; if the second sliding direction of the sliding operation is counterclockwise, the font of the bullet screen becomes smaller.
Optionally, the bullet screen adjustment control is configured as a disc.
Optionally, the second operation is a sliding operation, and the bullet screen adjusting control is configured to rotate according to the sliding operation; wherein, responding to the second operation aiming at the bullet screen adjusting control, determining the bullet screen rolling direction comprises: responding to the sliding operation aiming at the bullet screen adjusting control, and determining the rotating direction and the rotating angle of the bullet screen adjusting control; and determining the rolling direction of the bullet screen based on the rotation direction and the rotation angle.
Optionally, a slide indication point is configured on the bullet screen adjustment control; wherein, the response is to the slip operation of bullet curtain adjustment controlling part, confirms the rotation direction and the turned angle of bullet curtain adjustment controlling part, includes: and determining the rotation direction and the rotation angle of the bullet screen adjusting control in response to the sliding operation aiming at the sliding indication point.
Optionally, a slide indication point pair is configured on the bullet screen adjustment control, and the slide indication point pair includes a first indication point and a second indication point that is farthest from the first indication point on the bullet screen adjustment control; wherein, the response is to the slip operation of bullet curtain adjustment controlling part, confirms the rotation direction and the turned angle of bullet curtain adjustment controlling part, includes: responding to the sliding operation aiming at the first indication point and the sliding operation aiming at the second indication point at the same time, and determining the rotation direction and the rotation angle of the bullet screen adjusting control; the operation point tracks of the sliding operation for the first indication point and the sliding operation for the second indication point are both curves, and the sliding directions of the sliding operation for the first indication point and the sliding operation for the second indication point are both clockwise or both counterclockwise.
Optionally, the bullet screen rolling direction comprises a plurality of predetermined directions; wherein, based on direction of rotation and turned angle, confirm bullet screen roll direction, include: determining a control adjusting direction based on the rotating direction and the rotating angle; and if the included angle between the control adjusting direction and a target direction in the plurality of preset directions is smaller than a first angle threshold value, determining the target direction as the bullet screen rolling direction.
Optionally, the bullet screen adjusting method further includes: and if the rotation angle is smaller than the second angle threshold, controlling the bullet screen adjusting control to return to the position state before the sliding operation.
Optionally, before adjusting the rolling of the bullet screen according to the bullet screen rolling direction, the bullet screen adjusting method further includes: and responding to a third operation aiming at the graphical user interface, saving the adjustment result of the bullet screen rolling direction, and canceling the bullet screen adjustment control.
Optionally, in response to a first operation on the graphical user interface, displaying a bullet screen adjustment control, including: in response to a first operation on the graphical user interface, presenting a masking layer configured to a predetermined transparency; wherein, the covering layer is provided with a bullet screen adjusting control.
Optionally, the bullet screen includes a real-time bullet screen sent by a user or a demonstration bullet screen preset by the system.
According to a second aspect of the present disclosure, a bullet screen adjusting device is provided, where a terminal device runs a software application and renders a graphical user interface corresponding to the software application on a display of the terminal device, and the bullet screen adjusting device includes a control display module and a bullet screen adjusting module.
Specifically, the control display module is used for responding to a first operation aiming at the graphical user interface and displaying the bullet screen adjusting control; and the bullet screen adjusting module is used for responding to a second operation aiming at the bullet screen adjusting control, determining the rolling direction of the bullet screen and adjusting the rolling of the bullet screen according to the rolling direction of the bullet screen.
Optionally, the bullet screen adjusting device further comprises a bullet screen opening module.
Specifically, the bullet screen opening module is used for responding to bullet screen function opening operation under the condition that the bullet screen function is in a closed state, and displaying the bullet screen on the graphical user interface.
Optionally, the bullet screen opening module is further configured to perform: and after the bullet screen adjusting control is displayed, presenting prompt information for starting the bullet screen function.
Optionally, the bullet screen opening module is further configured to perform: and responding to the touch operation aiming at the prompt information, starting the bullet screen function, and displaying the bullet screen on the graphical user interface.
Optionally, the second operation is a sliding operation, in which case the bullet screen adjusting module is configured to perform: responding to a first sliding operation aiming at the bullet screen adjusting control, and determining the rolling direction of the bullet screen according to the first sliding direction of the first sliding operation; wherein, the moving track of the operating point of the first sliding operation is a straight line.
Optionally, the first sliding direction of the first sliding operation is the same as or opposite to the bullet screen rolling direction.
Optionally, the bullet screen adjusting device further comprises a font adjusting module.
In particular, the font adjustment module is configured to perform: responding to a second sliding operation aiming at the bullet screen adjusting control, and determining the font size of the bullet screen according to a second sliding direction of the second sliding operation; wherein, the moving track of the operating point of the second sliding operation is a curve.
Optionally, if the second sliding direction of the second sliding operation is clockwise, the font of the bullet screen becomes larger; if the second sliding direction of the sliding operation is counterclockwise, the font of the bullet screen becomes smaller.
Optionally, the bullet screen adjustment control is configured as a disc.
Optionally, the second operation is a sliding operation, and the bullet screen adjustment control is configured to rotate according to the sliding operation. In this case, the bullet screen adjusting module is configured to perform: responding to the sliding operation aiming at the bullet screen adjusting control, and determining the rotating direction and the rotating angle of the bullet screen adjusting control; and determining the rolling direction of the bullet screen based on the rotation direction and the rotation angle.
Optionally, a slide indication point is configured on the bullet screen adjustment control. In this case, the process of the bullet screen adjusting module determining the rotation direction and the rotation angle of the bullet screen adjusting control in response to the sliding operation for the bullet screen adjusting control is configured to perform: and determining the rotation direction and the rotation angle of the bullet screen adjusting control in response to the sliding operation aiming at the sliding indication point.
Optionally, a slide indication point pair is configured on the bullet screen adjustment control, and the slide indication point pair includes a first indication point and a second indication point that is farthest from the first indication point on the bullet screen adjustment control. In this case, the process of the bullet screen adjusting module determining the rotation direction and the rotation angle of the bullet screen adjusting control in response to the sliding operation for the bullet screen adjusting control is configured to perform: responding to the sliding operation aiming at the first indication point and the sliding operation aiming at the second indication point at the same time, and determining the rotation direction and the rotation angle of the bullet screen adjusting control; the operation point tracks of the sliding operation for the first indication point and the sliding operation for the second indication point are both curves, and the sliding directions of the sliding operation for the first indication point and the sliding operation for the second indication point are both clockwise or both counterclockwise.
Optionally, the bullet screen rolling direction comprises a plurality of predetermined directions. In this case, the process of the bullet screen adjusting module determining the rolling direction of the bullet screen based on the rotation direction and the rotation angle is configured to perform: determining a control adjusting direction based on the rotating direction and the rotating angle; and if the included angle between the control adjusting direction and a target direction in the plurality of preset directions is smaller than a first angle threshold value, determining the target direction as the bullet screen rolling direction.
Optionally, the bullet screen adjusting module is further configured to perform: and if the rotation angle is smaller than the second angle threshold, controlling the bullet screen adjusting control to return to the position state before the sliding operation.
Optionally, the bullet screen adjusting device further comprises an adjustment storage module.
Specifically, the adjustment saving module is configured to perform: and responding to a third operation aiming at the graphical user interface, saving the adjustment result of the bullet screen rolling direction, and canceling the bullet screen adjustment control.
Optionally, the control display module is configured to perform: in response to a first operation on the graphical user interface, presenting a masking layer configured to a predetermined transparency; wherein, the covering layer is provided with a bullet screen adjusting control.
Optionally, the bullet screen includes a real-time bullet screen sent by a user or a demonstration bullet screen preset by the system.
According to a third aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements any of the bullet screen adjustment methods described above.
According to a fourth aspect of the present disclosure, there is provided an electronic device comprising a processor; a memory for storing one or more programs, which when executed by the processor, cause the processor to implement any of the bullet screen adjustment methods described above.
In the technical solutions provided in some embodiments of the present disclosure, a barrage adjustment control is displayed in response to a first operation on a graphical user interface, a second operation on the barrage adjustment control is responded, a barrage rolling direction is determined, and the rolling of the barrage is adjusted according to the barrage rolling direction. On one hand, the rolling direction of the bullet screen can be adjusted by the scheme, and the rolling direction of the bullet screen is adjusted to accord with the reading habit of the user by responding to the operation of the user, so that the topic participation sense of the user can be enhanced; on the other hand, the scheme for adjusting the bullet screen is easy to implement, can be configured in various scenes such as live broadcast and movie playing, and has a very high application value.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
fig. 1 shows a scene schematic diagram of a bullet screen adjustment scheme to which an embodiment of the present disclosure may be applied;
FIG. 2 illustrates a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure;
fig. 3 schematically illustrates a flow chart of a bullet screen adjustment method according to an exemplary embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating a prompt for opening a bullet screen function according to an embodiment of the present disclosure;
FIG. 5 illustrates a schematic view of adjusting the rolling direction of a bullet screen according to one embodiment of the present disclosure;
FIG. 6 illustrates a schematic diagram of adjusting bullet screen font size according to one embodiment of the present disclosure;
FIG. 7 shows a schematic view of adjusting the rolling direction of a bullet screen according to another embodiment of the present disclosure;
FIG. 8 shows a schematic view of adjusting the rolling direction of a bullet screen according to yet another embodiment of the present disclosure;
fig. 9 illustrates a schematic diagram of determining whether to save a bullet screen adjustment result provided to a user according to an embodiment of the present disclosure;
fig. 10 schematically illustrates a block diagram of a bullet screen adjusting device according to an exemplary embodiment of the present disclosure;
fig. 11 schematically illustrates a block diagram of a bullet screen adjusting device according to another exemplary embodiment of the present disclosure;
fig. 12 schematically illustrates a block diagram of a bullet screen adjusting device according to yet another exemplary embodiment of the present disclosure;
fig. 13 schematically illustrates a block diagram of a bullet screen adjusting device according to still another exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the steps. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation. In addition, all of the following terms "first", "second", "third", etc. are for distinguishing purposes only and should not be construed as limiting the present disclosure.
When a user watches the playing content with the bullet screen function through the terminal equipment, the bullet screen can be adjusted by using the scheme disclosed by the disclosure, so that the displayed bullet screen is in line with the reading habit of the user.
The terminal device disclosed by the disclosure may include, but is not limited to, an electronic device such as a mobile phone, a tablet, a touch screen computer, and the like, on which a software application is run, and a graphical user interface corresponding to the software application may be rendered on a display of the terminal device. The type of the software application is not limited in the present disclosure, and may include any application with a barrage function, such as a live application, a video playing application, and the like. Accordingly, the present disclosure does not limit the playing content of the bullet screen, and the playing content may be, for example, games, news, movie and television drama, animation, and the like.
Fig. 1 shows a scene diagram of a bullet screen adjustment scheme to which an embodiment of the present disclosure may be applied.
Referring to fig. 1, a user may view a play content with a barrage function through various terminal devices such as a mobile phone 1001, a tablet 1002, and a touch screen computer 1003. For example, after the user opens a live application through the mobile phone 1001 and enters a room of the anchor, the user can see the bullet screen through the graphical user interface when the bullet screen function is turned on.
When the scroll direction of the bullet screen does not conform to the reading habit of the user, the user may perform a first operation on the graphical user interface, for example, the terminal device such as the mobile phone 1001, the tablet 1002, the touch-screen computer 1003, and the like may respond to the first operation to display a bullet screen adjustment control. Next, the user may perform a second operation on the bullet screen adjustment control, and the terminal device may determine the bullet screen rolling direction in response to the second operation, and adjust the rolling of the bullet screen according to the bullet screen rolling direction.
In addition, in other embodiments of the present disclosure, the user may further perform another operation on the bullet screen adjustment control to adjust the font size, the font transparency, the font color, and the like of the bullet screen.
It should be understood that the bullet screen adjusting scheme of the present disclosure may be executed by terminal devices such as the mobile phone 1001, the tablet 1002, the touch screen computer 1003, and the like, that is, these terminal devices may execute the steps of the bullet screen adjusting method described below. In this case, the bullet screen adjusting means described below may be provided in these terminal devices.
FIG. 2 shows a schematic diagram of an electronic device suitable for use in implementing exemplary embodiments of the present disclosure. The terminal device of the present disclosure may be configured in the form of the electronic device shown in fig. 2. It should be noted that the electronic device shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
The electronic device of the present disclosure includes at least a processor and a memory for storing one or more programs, which when executed by the processor, cause the processor to implement the bullet screen adjustment method of the exemplary embodiments of the present disclosure.
Specifically, as shown in fig. 2, the electronic device 200 may include: a processor 210, an internal memory 221, an external memory interface 222, a Universal Serial Bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 271, a microphone 272, a microphone 273, an earphone interface 274, a sensor module 280, a display screen 290, a camera module 291, an indicator 292, a motor 293, a key 294, and a Subscriber Identity Module (SIM) card interface 295, and the like. Among other things, the sensor module 280 may include a depth sensor 2801, a pressure sensor 2802, a gyroscope sensor 2803, a barometric pressure sensor 2804, a magnetic sensor 2805, an acceleration sensor 2806, a distance sensor 2807, a proximity light sensor 2808, a fingerprint sensor 2809, a temperature sensor 2810, a touch sensor 2811, an ambient light sensor 2812, and a bone conduction sensor 2813, among others.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 200. In other embodiments of the present application, the electronic device 200 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units, such as: the Processor 210 may include an Application Processor (AP), a modem Processor, a Graphics Processor (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband Processor, and/or a Neural Network Processor (NPU), and the like. The different processing units may be separate devices or may be integrated into one or more processors. Additionally, a memory may be provided in processor 210 for storing instructions and data.
The USB interface 230 is an interface conforming to the USB standard specification, and may specifically be a MiniUSB interface, a microsusb interface, a USB type c interface, or the like. The USB interface 230 may be used to connect a charger to charge the electronic device 200, and may also be used to transmit data between the electronic device 200 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
The charge management module 240 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. The power management module 241 is used for connecting the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives the input of the battery 242 and/or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the display screen 290, the camera module 291, the wireless communication module 260, and the like.
The wireless communication function of the electronic device 200 may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, a modem processor, a baseband processor, and the like.
The mobile communication module 250 may provide a solution including 2G/3G/4G/5G wireless communication applied on the electronic device 200.
The Wireless Communication module 260 may provide a solution for Wireless Communication applied to the electronic device 200, including Wireless Local Area Networks (WLANs) (e.g., Wireless Fidelity (Wi-Fi) network), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like.
The electronic device 200 implements a display function through the GPU, the display screen 290, the application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 290 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or alter display information.
The electronic device 200 may implement a shooting function through the ISP, the camera module 291, the video codec, the GPU, the display screen 290, the application processor, and the like. In some embodiments, the electronic device 200 may include 1 or N camera modules 291, where N is a positive integer greater than 1, and if the electronic device 200 includes N cameras, one of the N cameras is a main camera.
Internal memory 221 may be used to store computer-executable program code, including instructions. The internal memory 221 may include a program storage area and a data storage area. The external memory interface 222 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 200.
The electronic device 200 may implement an audio function through the audio module 270, the speaker 271, the receiver 272, the microphone 273, the headphone interface 274, the application processor, and the like. Such as music playing, recording, etc.
The speaker 271, also called "horn", is used to convert the audio electrical signal into a sound signal. The electronic apparatus 200 can listen to music through the speaker 271 or listen to a handsfree phone call. The receiver 272, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic device 200 receives a call or voice information, it can receive the voice by placing the receiver 272 close to the ear of the person. The microphone 273, also known as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 273 by sounding a voice signal near the microphone 273 through the mouth. The electronic device 200 may be provided with at least one microphone 273. The earphone interface 274 is used to connect wired earphones.
The depth sensor 2801 is used to acquire depth information of a scene with respect to a sensor included in the electronic device 200. The pressure sensor 2802 is used to sense a pressure signal and convert the pressure signal into an electrical signal. The gyro sensor 2803 may be used to determine a motion pose of the electronic device 200. The air pressure sensor 2804 is used to measure air pressure. The magnetic sensor 2805 includes a hall sensor. The electronic device 200 may detect the opening and closing of the flip holster using the magnetic sensor 2805. The acceleration sensor 2806 can detect the magnitude of acceleration of the electronic device 200 in various directions (typically three axes). The distance sensor 2807 is used to measure a distance. The proximity light sensor 2808 may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The fingerprint sensor 2809 is used to collect a fingerprint. The temperature sensor 2810 detects temperature. The touch sensor 2811 may pass the detected touch operation to an application processor to determine a touch event type. Visual output related to the touch operation may be provided through the display screen 290. The ambient light sensor 2812 is used to sense ambient light brightness. Bone conduction sensor 2813 may acquire a vibration signal.
The keys 294 include a power-on key, a volume key, and the like. The keys 294 may be mechanical keys. Or may be touch keys. The motor 293 may generate a vibration indication. The motor 293 may be used for both electrical vibration prompting and touch vibration feedback. Indicator 292 may be an indicator light that may be used to indicate a state of charge, a change in charge, or may be used to indicate a message, missed call, notification, etc. The SIM card interface 295 is used to connect a SIM card. The electronic device 200 interacts with the network through the SIM card to implement functions such as communication and data communication.
The present application also provides a computer-readable storage medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device.
A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable storage medium may transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The computer-readable storage medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method as described in the embodiments below.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
Fig. 3 schematically illustrates a flowchart of a bullet screen adjusting method according to an exemplary embodiment of the present disclosure. Referring to fig. 3, the bullet screen adjusting method may include the steps of:
and S32, responding to the first operation aiming at the graphical user interface, and displaying the bullet screen adjusting control.
The first operation described in the exemplary embodiment of the present disclosure may be an operation of double-clicking any region on the graphical user interface, an operation of long-pressing any region on the graphical user interface, an operation of single-clicking any region on the graphical user interface, or the like. It should be noted that the first operation of the present disclosure may also be an operation set by a user in a user-defined manner, and the operation mode set by the user may be stored locally or uploaded to a server of a software application, which is not limited in the present disclosure.
In the case where a button for waking up the bullet screen adjustment control is preconfigured on the graphical user interface, the first operation may also be an operation for the button, and this operation may be set to be, for example, a click operation, a slide operation, or the like.
In addition, the bullet screen adjusting control according to the exemplary embodiment of the present disclosure may be pre-configured to have any size, shape and color, and be highlighted on the interface.
According to some embodiments of the disclosure, in response to a first operation of a user on a graphical user interface, a terminal device may pop up a sub-interface independent of display content, and a bullet screen adjustment control is configured on the sub-interface. Wherein the size of the sub-interface is generally smaller than the size of the graphical user interface.
In order to avoid the sub-interface from blocking the playing content on the graphical user interface, further, the sub-interface may be configured as a covering layer with a predetermined transparency. Wherein the predetermined transparency may be, for example, 70%, and the specific values thereof are not limited by the present disclosure. Therefore, the influence of the processing procedure of the whole scheme on the viewing of the played content can be minimized.
The present disclosure also provides a scheme for opening the barrage function when the barrage function is in a closed state.
In some embodiments, when a user opens a software application, enters a live broadcast room or opens a video playing interface, whether the barrage function is in an open state or not is judged, and if the barrage function is in a closed state, the user is prompted to open the barrage function.
In other embodiments, after the bullet screen adjustment control is displayed, the operation of judging whether the bullet screen function is started is executed, and if the bullet screen function is in the closed state, the user is prompted to start the bullet screen function.
Specifically, after prompting the user to start the bullet screen function, the bullet screen function can be responded to start operation, and the bullet screen is displayed on the graphical user interface.
In one embodiment, the bullet screen function can be started in response to the opening operation of the user for the bullet screen function switch. In another embodiment, referring to fig. 4, if the bullet screen function is in the closed state, a prompt message for turning on the bullet screen function may be presented on the interface, and the device may turn on the bullet screen function in response to a touch operation (e.g., clicking "yes") on the prompt message, in which case, the bullet screen may be displayed on the graphical user interface.
And S34, responding to a second operation aiming at the bullet screen adjusting control, determining the rolling direction of the bullet screen, and adjusting the rolling of the bullet screen according to the rolling direction of the bullet screen.
In some embodiments of the present disclosure, the second operation may be a click operation. For example, before the adjustment, when the bullet screen direction is from left to right, after the bullet screen adjustment control is displayed, the bullet screen adjustment control is clicked, and then the region on the left side of the bullet screen adjustment control is clicked, the bullet screen rolling direction can be adjusted to be from right to left.
Further embodiments of the present disclosure will be described below by taking the second operation as a sliding operation as an example.
In one embodiment, the terminal device may respond to a first sliding operation for the bullet screen adjusting control, and determine a bullet screen rolling direction according to a first sliding direction of the first sliding operation. Wherein, the moving track of the operating point of the first sliding operation is a straight line. Where a straight line is referred to herein as not an absolute straight line, it will be understood by those skilled in the art that a moving trajectory that is visually close to a straight line may also be considered as a straight line.
Fig. 5 shows a schematic diagram for adjusting the rolling direction of the bullet screen according to this embodiment.
Referring to fig. 5, the bullet screen rolling direction is from left to right before the bullet screen rolling direction is adjusted. Through step S32, the bullet screen adjustment control 50 can be displayed in the middle of the terminal device interface. In the case where the user's finger drags the bullet screen adjustment control 50 leftward in a straight line, that is, in the case where the first sliding direction is a right-left sliding, if the dragging distance is greater than the first distance threshold, the control adjusts the bullet screen scrolling direction to right-left. The first distance threshold is set to avoid misoperation of a user. The present disclosure does not limit the specific value of the first distance threshold.
It should be noted that, although fig. 5 illustrates an example in which the bullet screen adjustment control 50 is displayed in the middle of the terminal device interface, the bullet screen adjustment control 50 may be located at any position on the interface. On the other hand, in fig. 5, the style and size of the bullet screen adjusting control 50 are only exemplary descriptions and should not be taken as a limitation of the disclosed concept. In yet another aspect, those skilled in the art will readily appreciate that the text portion of the interface of FIG. 5 other than the bullet screen adjustment control 50 is only an exemplary bullet screen.
In the example shown in fig. 5, the first sliding direction is the same as the adjusted rolling direction of the bullet screen, however, in another example of the present disclosure, the first sliding direction and the adjusted rolling direction of the bullet screen may be opposite, that is, in the scenario shown in fig. 5, after the user drags the bullet screen adjustment control 50 in a straight line to the right for a distance, the bullet screen rolling direction can be adjusted from the right to the left.
The present disclosure also provides a scheme for adjusting the font size of the bullet screen by using the bullet screen adjusting control.
The terminal device may respond to a second sliding operation for the bullet screen adjustment control, and determine the font size of the bullet screen according to a second sliding direction of the second sliding operation. Wherein, the moving track of the operating point of the second sliding operation is a curve.
Specifically, if the second sliding direction of the second sliding operation is clockwise, the font of the bullet screen gradually increases along with the second sliding operation; if the second sliding direction of the second sliding operation is counterclockwise, the font of the bullet screen gradually becomes smaller along with the second sliding operation. Or if the second sliding direction of the second sliding operation is clockwise, the font of the bullet screen gradually becomes smaller along with the second sliding operation; if the second sliding direction of the second sliding operation is counterclockwise, the font of the bullet screen gradually increases along with the second sliding operation.
Referring to fig. 6, before adjusting the font of the bullet screen, the bullet screen adjustment control 50 may be displayed in the middle of the terminal device interface, and in a case that the user's finger drags the bullet screen adjustment control 50 clockwise in a curved manner, that is, in a case that the second sliding direction is clockwise, if the dragging distance is greater than the second distance threshold, the font of the bullet screen is controlled to become large. Similarly, the purpose of setting the second distance threshold is to avoid user misoperation, and the specific value of the second distance threshold is not limited in the present disclosure.
Similarly, it is suggested that the transparency, color, etc. of the bullet screen font can be adjusted by those skilled in the art according to the above description, and all of them should fall into the protection scope of the present disclosure.
The above embodiment controls the rolling of the bullet screen by dragging the bullet screen adjusting control, and the rolling control of the bullet screen is explained by rotating the bullet screen adjusting control.
It should be noted that the rotation referred to herein may be understood as the rotation of the bullet screen adjusting control around its center point. In an embodiment of rotating the bullet screen adjustment control, the bullet screen adjustment control may be configured as a disc, and in particular, the bullet screen adjustment control may be shown in the form of a virtual steering wheel. However, the bullet screen adjustment control can also be configured in other shapes, such as a rectangle, a triangle, or an irregular pattern, which is not limited by this disclosure.
In one embodiment, the terminal device may control the bullet screen adjusting control to rotate in response to the sliding operation for the bullet screen adjusting control, and determine the rotation angle. And determining the rolling direction of the bullet screen according to the rotation angle. It is easy to understand that the position of the bullet screen adjusting control is not changed because of autorotation.
Under the condition that the rolling direction of the bullet screen only comprises a left-to-right mode and a right-to-left mode, taking a disc-shaped bullet screen adjusting control as an example, if the rotation angle is larger than 90 degrees, the rolling direction of the bullet screen can be directly switched; and if the rotation angle is less than or equal to 90 degrees, maintaining the current bullet screen rolling direction unchanged.
In addition, the bullet screen rolling direction may include top-down and bottom-up bullet screen rolling modes, such as the ancient bullet screen mode, in addition to the bullet screen rolling directions including left-to-right and right-to-left modes. In this case, the bullet screen rolling direction may be determined in combination with the rotation direction, in addition to taking the rotation angle into consideration. Wherein the rotation direction may include clockwise and counterclockwise.
Still taking a disc-shaped bullet screen adjusting control as an example, under the condition that the rolling direction of the bullet screen before adjustment is from left to right, if the anticlockwise rotation angle is greater than 45 degrees and less than or equal to 135 degrees, the rolling direction of the bullet screen is adjusted to be from bottom to top; if the anticlockwise rotation angle is larger than 135 degrees and smaller than 225 degrees, the rolling direction of the bullet screen is adjusted to be in a mode of from right to left; if the clockwise rotation angle is larger than 45 degrees and smaller than or equal to 135 degrees, the rolling direction of the bullet screen is adjusted to be in a mode of going from top to bottom; if the clockwise rotation angle is larger than 135 degrees and smaller than 225 degrees, the rolling direction of the bullet screen is adjusted to be from right to left.
In addition, in the embodiment of rotating the bullet screen adjusting control, a predetermined operation (for example, pressing for a predetermined time) may be performed on the bullet screen adjusting control, and at this time, a prompt message may appear on the interface, so that the user may select whether to perform bullet screen direction adjustment or bullet screen font adjustment. In the case where the user selects the bullet screen direction adjustment, as described above, the bullet screen rolling direction can be adjusted by rotating the bullet screen adjustment control. Under the condition that the user selected bullet screen typeface adjustment, the typeface size that can adjust the bullet screen is adjusted to the rotation bullet screen adjustment controlling part, for example, clockwise typeface grow, and anticlockwise typeface diminishes. Options for adjusting font transparency, font color, bullet screen scrolling speed, etc. may also be configured for the user to select the configuration.
In another embodiment, a slide indication point is configured on the bullet screen adjustment control, and the slide indication point is used for instructing a user to slide the point to control the rotation of the bullet screen adjustment control. In this case, the terminal device may determine the rotation direction and the rotation angle of the bullet screen adjustment control in response to the slide operation with respect to the slide instruction point.
Referring to fig. 7, a slide indication point 701 is disposed on the bullet screen adjustment control 70. The user's finger can drag the sliding indication point 701 to perform a clockwise or counterclockwise sliding operation, as shown in fig. 7, by dragging the sliding indication point 701 clockwise, for example, rotating by 180 degrees, the left-to-right scrolling manner before the direction adjustment can be adjusted to the right-to-left scrolling manner.
As described above, when implemented, the rolling direction of the bullet screen may include other directions from top to bottom, bottom to top, and the like, in addition to left to right and right to left. All of these possible directions are predetermined directions in this disclosure in which the software application allows scrolling, that is, the bullet screen scrolling direction may include a plurality of predetermined directions.
In this case, first, the control adjustment direction may be determined based on the rotation direction and the rotation angle of the bullet screen adjustment control. The control adjustment direction refers to a direction that the bullet screen adjustment control is turned to appear, and as shown in fig. 7, for the bullet screen adjustment control 70 with an arrow mark, relative to a state before the direction adjustment, if the bullet screen adjustment control is turned clockwise by 45 degrees, the arrow points to the upper right, and at this time, the upper right represents the control adjustment direction.
And then, if the included angle between the control adjusting direction and a target direction in the plurality of preset directions is smaller than a first angle threshold, determining the target direction as the bullet screen rolling direction. The value of the first angle threshold is not limited in the present disclosure, and is generally related to the number of the predetermined directions, and the first angle threshold may be set to 45 degrees under the condition that the predetermined directions include four directions, i.e., from left to right, from right to left, from top to bottom, and from bottom to top.
Also taking the state before the adjustment in the left direction in fig. 7 as an example, if the rotation is 70 degrees clockwise, the rolling direction of the bullet screen can be adjusted to the direction from bottom to top when the first angle threshold is 45 degrees.
And if the rotation angle is smaller than the second angle threshold, controlling the bullet screen adjusting control to return to the position state before the sliding operation. The purpose of setting the second angle threshold is to prevent a user from operating erroneously. The value of the second angle threshold is also not limited by the present disclosure, and is also related to the number of the predetermined directions. In the above example, the second angle threshold may be 45 degrees, which is the same as the first angle threshold.
Still taking the state before the left-side direction adjustment in fig. 7 as an example, if the second angle threshold is 45 degrees after rotating clockwise by 20 degrees, the bullet screen adjustment control 70 may be controlled to return to the position state before the left-side direction adjustment in fig. 7.
It should be noted that, although fig. 7 illustrates the process of controlling the bullet screen adjustment control by taking the sliding indication point 701 as an example, one or more other sliding indication points other than the sliding indication point 701 may also be included on the bullet screen adjustment control. These slide indication points are typically located at the positions of the bullet screen adjustment controls.
In yet another embodiment, a slide indication point pair is configured on the bullet screen adjustment control, the slide indication point pair including a first indication point and a second indication point, wherein the second indication point is the point on the bullet screen adjustment control that is farthest from the first indication point. In addition, the number of the pairs of slide indication points may be one or more. Referring to fig. 8, one sliding indication point pair may include a first indication point 801 and a second indication point 802, and another sliding indication point pair may include a first indication point 803 and a second indication point 804.
In this case, the terminal device may determine the rotation direction and the rotation angle of the bullet screen adjustment control in response to the sliding operation for the first indication point and the sliding operation for the second indication point at the same time. The operation point tracks of the sliding operation for the first indication point and the sliding operation for the second indication point are both curves, and the sliding directions of the sliding operation for the first indication point and the sliding operation for the second indication point are both clockwise or both counterclockwise.
When the double-finger control device is implemented, the first indication point and the second indication point are generally required to be controlled by double fingers, the double-finger control is similar to a turntable principle in daily life, the learning cost is low, and misoperation is effectively avoided.
As shown in fig. 8, the first indication point 801 and the second indication point 802 can be simultaneously controlled to slide to rotate the bullet screen adjusting control 80 by 180 degrees, so as to adjust the bullet screen scrolling direction from left to right to left. Alternatively, the first indication point 803 and the third indication point 804 may be simultaneously controlled to slide to rotate the bullet screen adjustment control 80 by 180 degrees, so as to adjust the bullet screen scrolling direction from left to right to left.
Similarly, the bullet screen scroll direction includes a plurality of predetermined directions, and the control adjustment direction may be determined based on the rotational direction and the rotational angle of the bullet screen adjustment control 80. And if the included angle between the control adjusting direction and a target direction in the plurality of preset directions is smaller than a first angle threshold value, determining the target direction as the adjusted bullet screen rolling direction.
And if the rotation angle is smaller than the second angle threshold, controlling the bullet screen adjusting control to return to the position state before the sliding operation.
For the scenes shown in fig. 7 or fig. 8, as described above, prompt information of the adjustment objects may also be provided to the user, and the adjustment objects are selected by the user, where the adjustment objects may include a font size, a font transparency, a font color, a bullet screen scrolling speed, and so on, and details are not described here again.
In the case where the bullet screen rolling direction is determined, before adjusting the rolling of the bullet screen, the cold protection of the exemplary embodiment of the present disclosure further includes a scheme of saving the bullet screen adjustment result.
Specifically, the terminal device may respond to a third operation for the graphical user interface, that is, respond to a third operation for a part other than the bullet screen adjustment control, save the adjustment result of the bullet screen scrolling direction, and cancel the bullet screen adjustment control. The third operation may be, for example, a double-click operation for a graphical user interface, and the present disclosure does not limit the type of the third operation.
Referring to fig. 9, in response to the third operation on the graphical user interface, the terminal device displays an option of whether to save the setting of the bullet screen, and may save the setting result of the rolling direction of the bullet screen in the case where the user clicks "yes", and may also save the adjustment result of the font of the bullet screen in the case where the font of the bullet screen is also adjusted.
These results may be stored locally, i.e. at the terminal device, so that the next time the software application is started, the configured results are invoked to control the barrage scrolling. In addition, the results can also be sent to a server of the software application and bound with the user account, and in this case, even if the user starts the software application on another device next time, as long as the user performs a login operation, the previously configured barrage rolling setting result can be acquired and applied.
In addition, the present disclosure also provides a scheme for previewing the bullet screen in the bullet screen adjustment process so that the user can view the adjustment effect. And when the corresponding playing content has the real-time bullet screen sent by the user, directly taking the real-time bullet screen as a preview bullet screen and presenting the preview bullet screen in the bullet screen adjusting process.
In addition, if no bullet screen exists in the corresponding playing content or the number of bullet screens is smaller than a threshold value, a prestored demonstration bullet screen can be acquired, and the demonstration bullet screen is used as a preview bullet screen and presented in the bullet screen adjusting process. The demonstration bullet screen may be a bullet screen actually existing in history, or a bullet screen made by a developer for testing, which is not limited by the present disclosure.
It should be noted that although the various steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Further, the bullet screen adjusting device is further provided in the example embodiment.
Fig. 10 schematically illustrates a block diagram of a bullet screen adjusting apparatus according to an exemplary embodiment of the present disclosure. Referring to fig. 10, the bullet screen adjusting apparatus 10 according to an exemplary embodiment of the present disclosure may include a control display module 101 and a bullet screen adjusting module 103.
Specifically, the control display module 101 may be configured to display a bullet screen adjustment control in response to a first operation on the graphical user interface; the bullet screen adjusting module 103 may be configured to determine a bullet screen rolling direction in response to the second operation on the bullet screen adjusting control, and adjust the rolling of the bullet screen according to the bullet screen rolling direction.
Based on the bullet screen adjusting device of the disclosed exemplary embodiment, on one hand, the bullet screen rolling direction can be adjusted by the scheme disclosed by the invention, and the bullet screen rolling direction is adjusted to accord with the reading habit of the user by responding to the operation of the user, so that the topic participation sense of the user can be enhanced; on the other hand, the scheme for adjusting the bullet screen is easy to implement, can be configured in various scenes such as live broadcast and movie playing, and has a very high application value.
According to an exemplary embodiment of the present disclosure, referring to fig. 11, the bullet screen adjusting device 11 may further include a bullet screen opening module 111, compared to the bullet screen adjusting device 10.
Specifically, the bullet screen opening module 11 may be configured to respond to the bullet screen function opening operation when the bullet screen function is in the closed state, and display the bullet screen on the graphical user interface.
According to an exemplary embodiment of the present disclosure, the bullet screen opening module 111 may be further configured to perform: and after the bullet screen adjusting control is displayed, presenting prompt information for starting the bullet screen function.
According to an exemplary embodiment of the present disclosure, the bullet screen opening module 111 may be further configured to perform: and responding to the touch operation aiming at the prompt information, starting the bullet screen function, and displaying the bullet screen on the graphical user interface.
According to an exemplary embodiment of the present disclosure, the second operation is a sliding operation, in which case, the bullet screen adjusting module 103 may be configured to perform: responding to a first sliding operation aiming at the bullet screen adjusting control, and determining the rolling direction of the bullet screen according to the first sliding direction of the first sliding operation; wherein, the moving track of the operating point of the first sliding operation is a straight line.
According to an exemplary embodiment of the present disclosure, the first sliding direction of the first sliding operation is the same as or opposite to the bullet screen rolling direction.
According to an exemplary embodiment of the present disclosure, referring to fig. 12, the bullet screen adjusting apparatus 12 may further include a font adjusting module 121, compared to the bullet screen adjusting apparatus 10.
In particular, the font adjustment module 121 may be configured to perform: responding to a second sliding operation aiming at the bullet screen adjusting control, and determining the font size of the bullet screen according to a second sliding direction of the second sliding operation; wherein, the moving track of the operating point of the second sliding operation is a curve.
According to an exemplary embodiment of the present disclosure, if the second sliding direction of the second sliding operation is clockwise, the font of the bullet screen becomes large; if the second sliding direction of the sliding operation is counterclockwise, the font of the bullet screen becomes smaller.
According to an exemplary embodiment of the present disclosure, the bullet screen adjustment control is configured in a disc shape.
According to an exemplary embodiment of the present disclosure, the second operation is a sliding operation, and the bullet screen adjustment control is configured to rotate according to the sliding operation. In this case, the bullet screen adjusting module 103 may be configured to perform: responding to the sliding operation aiming at the bullet screen adjusting control, and determining the rotating direction and the rotating angle of the bullet screen adjusting control; and determining the rolling direction of the bullet screen based on the rotation direction and the rotation angle.
According to an exemplary embodiment of the disclosure, a slide indication point is configured on the bullet screen adjusting control. In this case, the process of the bullet screen adjusting module 103 determining the rotation direction and the rotation angle of the bullet screen adjusting control in response to the sliding operation with respect to the bullet screen adjusting control may be configured to perform: and determining the rotation direction and the rotation angle of the bullet screen adjusting control in response to the sliding operation aiming at the sliding indication point.
According to an exemplary embodiment of the present disclosure, a slide indication point pair is configured on the bullet screen adjustment control, and the slide indication point pair includes a first indication point and a second indication point which is farthest away from the first indication point on the bullet screen adjustment control. In this case, the process of the bullet screen adjusting module 103 determining the rotation direction and the rotation angle of the bullet screen adjusting control in response to the sliding operation with respect to the bullet screen adjusting control may be configured to perform: responding to the sliding operation aiming at the first indication point and the sliding operation aiming at the second indication point at the same time, and determining the rotation direction and the rotation angle of the bullet screen adjusting control; the operation point tracks of the sliding operation for the first indication point and the sliding operation for the second indication point are both curves, and the sliding directions of the sliding operation for the first indication point and the sliding operation for the second indication point are both clockwise or both counterclockwise.
According to an exemplary embodiment of the present disclosure, the bullet screen rolling direction includes a plurality of predetermined directions. In this case, the process of the bullet screen adjusting module 103 determining the rolling direction of the bullet screen based on the rotation direction and the rotation angle may be configured to perform: determining a control adjusting direction based on the rotating direction and the rotating angle; and if the included angle between the control adjusting direction and a target direction in the plurality of preset directions is smaller than a first angle threshold value, determining the target direction as the bullet screen rolling direction.
According to an exemplary embodiment of the present disclosure, the bullet screen adjusting module 103 may be further configured to perform: and if the rotation angle is smaller than the second angle threshold, controlling the bullet screen adjusting control to return to the position state before the sliding operation.
According to an exemplary embodiment of the present disclosure, referring to fig. 13, the bullet screen adjusting device 13 may further include an adjustment saving module 131, compared to the bullet screen adjusting device 10.
Specifically, the adjustment saving module 131 may be configured to perform: and responding to a third operation aiming at the graphical user interface, saving the adjustment result of the bullet screen rolling direction, and canceling the bullet screen adjustment control.
According to an exemplary embodiment of the present disclosure, the control display module 101 may be configured to perform: in response to a first operation on the graphical user interface, presenting a masking layer configured to a predetermined transparency; wherein, the covering layer is provided with a bullet screen adjusting control.
According to an exemplary embodiment of the present disclosure, the bullet screen includes a real-time bullet screen sent by a user or a demonstration bullet screen preset by a system.
Since each functional module of the bullet screen adjusting device in the embodiment of the present disclosure is the same as that in the embodiment of the method described above, it is not described herein again.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.
Claims (20)
1. A bullet screen adjusting method is characterized in that a terminal device runs a software application and renders a graphical user interface corresponding to the software application on a display of the terminal device, and the bullet screen adjusting method comprises the following steps:
responding to a first operation aiming at the graphical user interface, and displaying a bullet screen adjusting control;
and responding to a second operation aiming at the bullet screen adjusting control, determining the rolling direction of the bullet screen, and adjusting the rolling of the bullet screen according to the rolling direction of the bullet screen.
2. The bullet screen adjusting method according to claim 1, wherein in case that the bullet screen function is in a closed state, the bullet screen adjusting method further comprises:
responding to the bullet screen function starting operation, and displaying the bullet screen on the graphical user interface.
3. The bullet screen adjusting method according to claim 2, wherein after displaying the bullet screen adjusting control, the bullet screen adjusting method further comprises:
and presenting prompt information for starting the barrage function.
4. The bullet screen adjusting method according to claim 3, wherein displaying the bullet screen on the graphical user interface in response to a bullet screen function opening operation comprises:
and responding to the touch operation aiming at the prompt information, starting a bullet screen function, and displaying the bullet screen on the graphical user interface.
5. The bullet screen adjusting method according to claim 1, wherein said second operation is a sliding operation; wherein, responding to a second operation aiming at the bullet screen adjusting control, determining the bullet screen rolling direction comprises:
responding to a first sliding operation aiming at the bullet screen adjusting control, and determining the bullet screen rolling direction according to a first sliding direction of the first sliding operation;
wherein the operation point movement locus of the first sliding operation is a straight line.
6. The bullet screen adjusting method according to claim 5, wherein a first sliding direction of said first sliding operation is the same as or opposite to said bullet screen rolling direction.
7. The bullet screen adjusting method according to claim 5, further comprising:
responding to a second sliding operation aiming at the bullet screen adjusting control, and determining the font size of the bullet screen according to a second sliding direction of the second sliding operation;
wherein the operation point movement locus of the second sliding operation is a curve.
8. The bullet screen adjusting method according to claim 7, wherein if the second sliding direction of the second sliding operation is clockwise, the font of the bullet screen becomes larger;
and if the second sliding direction of the sliding operation is anticlockwise, the font of the bullet screen is reduced.
9. The bullet screen adjustment method of claim 1 wherein said bullet screen adjustment control is configured as a disc.
10. The bullet screen adjusting method according to claim 1 or 9, wherein said second operation is a sliding operation, and said bullet screen adjusting control is configured to rotate according to said sliding operation; wherein, responding to a second operation aiming at the bullet screen adjusting control, determining the bullet screen rolling direction comprises:
responding to the sliding operation aiming at the bullet screen adjusting control, and determining the rotating direction and the rotating angle of the bullet screen adjusting control;
and determining the rolling direction of the bullet screen based on the rotating direction and the rotating angle.
11. The bullet screen adjusting method according to claim 10, wherein a sliding indication point is configured on the bullet screen adjusting control; wherein, the sliding operation of response for bullet screen adjustment control, confirm the rotation direction and the turned angle of bullet screen adjustment control, include:
and responding to the sliding operation aiming at the sliding indication point, and determining the rotation direction and the rotation angle of the bullet screen adjusting control.
12. The bullet screen adjusting method according to claim 10, wherein a sliding indication point pair is configured on the bullet screen adjusting control, and the sliding indication point pair comprises a first indication point and a second indication point which is farthest away from the first indication point on the bullet screen adjusting control; wherein, the sliding operation of response for bullet screen adjustment control, confirm the rotation direction and the turned angle of bullet screen adjustment control, include:
responding to the sliding operation aiming at the first indication point and the sliding operation aiming at the second indication point at the same time, and determining the rotation direction and the rotation angle of the bullet screen adjusting control;
wherein operation point trajectories of the sliding operation for the first indication point and the sliding operation for the second indication point are both curved lines, and sliding directions of the sliding operation for the first indication point and the sliding operation for the second indication point are both clockwise or both counterclockwise.
13. The bullet screen adjustment method of claim 10 wherein said bullet screen rolling direction comprises a plurality of predetermined directions; wherein, based on the rotation direction and the rotation angle, determining the bullet screen rolling direction comprises:
determining a control adjustment direction based on the rotation direction and the rotation angle;
and if the included angle between the control adjusting direction and a target direction in the plurality of preset directions is smaller than a first angle threshold value, determining the target direction as the bullet screen rolling direction.
14. The bullet screen adjusting method according to claim 10, further comprising:
and if the rotation angle is smaller than a second angle threshold value, controlling the bullet screen adjusting control to return to the position state before the sliding operation.
15. The bullet screen adjusting method according to claim 1, wherein before adjusting the rolling of the bullet screen according to the bullet screen rolling direction, the bullet screen adjusting method further comprises:
and responding to a third operation aiming at the graphical user interface, saving the adjustment result of the bullet screen rolling direction, and canceling the bullet screen adjustment control.
16. The bullet screen adjusting method according to claim 1, wherein displaying a bullet screen adjusting control in response to a first operation on the graphical user interface comprises:
in response to a first operation on the graphical user interface, presenting a masking layer configured to a predetermined transparency;
wherein, the covering layer is configured with the bullet screen adjustment control.
17. The bullet screen adjusting method according to claim 1, wherein the bullet screen comprises a real-time bullet screen sent by a user or a demonstration bullet screen preset by a system.
18. A bullet screen adjusting device is characterized in that a terminal device runs a software application and renders a graphical user interface corresponding to the software application on a display of the terminal device, and the bullet screen adjusting device comprises:
the control display module is used for responding to the first operation aiming at the graphical user interface and displaying the bullet screen adjusting control;
and the bullet screen adjusting module is used for responding to the second operation aiming at the bullet screen adjusting control, determining the rolling direction of the bullet screen and adjusting the rolling of the bullet screen according to the rolling direction of the bullet screen.
19. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the bullet screen adjustment method according to any one of claims 1 to 17.
20. An electronic device, comprising:
a processor;
a memory for storing one or more programs that, when executed by the processor, cause the processor to implement the bullet screen adjustment method of any one of claims 1 to 17.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010144860.8A CN111372140A (en) | 2020-03-04 | 2020-03-04 | Barrage adjusting method and device, computer readable storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010144860.8A CN111372140A (en) | 2020-03-04 | 2020-03-04 | Barrage adjusting method and device, computer readable storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111372140A true CN111372140A (en) | 2020-07-03 |
Family
ID=71210181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010144860.8A Pending CN111372140A (en) | 2020-03-04 | 2020-03-04 | Barrage adjusting method and device, computer readable storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111372140A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112083994A (en) * | 2020-09-02 | 2020-12-15 | 珠海格力电器股份有限公司 | Notification message processing method and device |
WO2024027648A1 (en) * | 2022-08-02 | 2024-02-08 | 北京字跳网络技术有限公司 | Information display method and apparatus, and electronic device and storage medium |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102419742A (en) * | 2010-09-27 | 2012-04-18 | 汉王科技股份有限公司 | Subtitle processing method and device applied to electronic equipment |
KR20160086161A (en) * | 2015-01-09 | 2016-07-19 | 엘지전자 주식회사 | Mobile terminal and method for controlling the same |
CN105848004A (en) * | 2016-05-16 | 2016-08-10 | 乐视控股(北京)有限公司 | Caption playing method and caption playing device |
CN106210910A (en) * | 2016-08-05 | 2016-12-07 | 乐视控股(北京)有限公司 | Barrage control method and device |
CN106488296A (en) * | 2016-10-18 | 2017-03-08 | 广州酷狗计算机科技有限公司 | A kind of method and apparatus of display video barrage |
CN107302717A (en) * | 2017-06-30 | 2017-10-27 | 武汉斗鱼网络科技有限公司 | Barrage information broadcasting method and device |
CN107613402A (en) * | 2017-09-07 | 2018-01-19 | 咪咕音乐有限公司 | A kind of barrage adjusting method, device and storage medium |
CN107728905A (en) * | 2017-10-12 | 2018-02-23 | 咪咕动漫有限公司 | A kind of barrage display methods, device and storage medium |
CN108260013A (en) * | 2018-03-28 | 2018-07-06 | 维沃移动通信有限公司 | A kind of video playing control method and terminal |
CN109302638A (en) * | 2018-09-29 | 2019-02-01 | 传线网络科技(上海)有限公司 | Information processing method and device, electronic equipment and storage medium |
CN109831674A (en) * | 2019-01-08 | 2019-05-31 | 北京潘达互娱科技有限公司 | A kind of setting of barrage and rendering method, calculate equipment and storage medium at device |
CN110069178A (en) * | 2019-03-14 | 2019-07-30 | 维沃移动通信有限公司 | Interface control method and terminal device |
CN110187764A (en) * | 2019-05-29 | 2019-08-30 | 努比亚技术有限公司 | A kind of barrage display methods, wearable device and storage medium |
CN110460907A (en) * | 2019-08-16 | 2019-11-15 | 维沃移动通信有限公司 | A kind of video playing control method and terminal |
-
2020
- 2020-03-04 CN CN202010144860.8A patent/CN111372140A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102419742A (en) * | 2010-09-27 | 2012-04-18 | 汉王科技股份有限公司 | Subtitle processing method and device applied to electronic equipment |
KR20160086161A (en) * | 2015-01-09 | 2016-07-19 | 엘지전자 주식회사 | Mobile terminal and method for controlling the same |
CN105848004A (en) * | 2016-05-16 | 2016-08-10 | 乐视控股(北京)有限公司 | Caption playing method and caption playing device |
CN106210910A (en) * | 2016-08-05 | 2016-12-07 | 乐视控股(北京)有限公司 | Barrage control method and device |
CN106488296A (en) * | 2016-10-18 | 2017-03-08 | 广州酷狗计算机科技有限公司 | A kind of method and apparatus of display video barrage |
CN107302717A (en) * | 2017-06-30 | 2017-10-27 | 武汉斗鱼网络科技有限公司 | Barrage information broadcasting method and device |
CN107613402A (en) * | 2017-09-07 | 2018-01-19 | 咪咕音乐有限公司 | A kind of barrage adjusting method, device and storage medium |
CN107728905A (en) * | 2017-10-12 | 2018-02-23 | 咪咕动漫有限公司 | A kind of barrage display methods, device and storage medium |
CN108260013A (en) * | 2018-03-28 | 2018-07-06 | 维沃移动通信有限公司 | A kind of video playing control method and terminal |
CN109302638A (en) * | 2018-09-29 | 2019-02-01 | 传线网络科技(上海)有限公司 | Information processing method and device, electronic equipment and storage medium |
CN109831674A (en) * | 2019-01-08 | 2019-05-31 | 北京潘达互娱科技有限公司 | A kind of setting of barrage and rendering method, calculate equipment and storage medium at device |
CN110069178A (en) * | 2019-03-14 | 2019-07-30 | 维沃移动通信有限公司 | Interface control method and terminal device |
CN110187764A (en) * | 2019-05-29 | 2019-08-30 | 努比亚技术有限公司 | A kind of barrage display methods, wearable device and storage medium |
CN110460907A (en) * | 2019-08-16 | 2019-11-15 | 维沃移动通信有限公司 | A kind of video playing control method and terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112083994A (en) * | 2020-09-02 | 2020-12-15 | 珠海格力电器股份有限公司 | Notification message processing method and device |
WO2024027648A1 (en) * | 2022-08-02 | 2024-02-08 | 北京字跳网络技术有限公司 | Information display method and apparatus, and electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110636324B (en) | Interface display method and device, computer equipment and storage medium | |
CN108769814B (en) | Video interaction method, device, terminal and readable storage medium | |
CN109756784B (en) | Music playing method, device, terminal and storage medium | |
CN109302538B (en) | Music playing method, device, terminal and storage medium | |
CN109874312B (en) | Method and device for playing audio data | |
CN112533017B (en) | Live broadcast method, device, terminal and storage medium | |
CN109729372B (en) | Live broadcast room switching method, device, terminal, server and storage medium | |
CN106791893A (en) | Net cast method and device | |
CN110300274B (en) | Video file recording method, device and storage medium | |
CN110971925B (en) | Display method, device and system of live broadcast interface | |
WO2021043121A1 (en) | Image face changing method, apparatus, system, and device, and storage medium | |
CN111246095B (en) | Method, device and equipment for controlling lens movement and storage medium | |
CN108897597B (en) | Method and device for guiding configuration of live broadcast template | |
CN109587549B (en) | Video recording method, device, terminal and storage medium | |
CN111901658A (en) | Comment information display method and device, terminal and storage medium | |
CN113938748B (en) | Video playing method, device, terminal, storage medium and program product | |
CN114116053B (en) | Resource display method, device, computer equipment and medium | |
CN113325983A (en) | Virtual image processing method, device, terminal and storage medium | |
CN110808021B (en) | Audio playing method, device, terminal and storage medium | |
CN111787347A (en) | Live broadcast time length calculation method, live broadcast display method, device and equipment | |
CN111372140A (en) | Barrage adjusting method and device, computer readable storage medium and electronic equipment | |
EP4113517A1 (en) | Method and apparatus for processing videos | |
CN113766275B (en) | Video editing method, device, terminal and storage medium | |
CN110152309B (en) | Voice communication method, device, electronic equipment and storage medium | |
CN110493635B (en) | Video playing method and device and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200703 |