Bullet screen sending method and device, electronic equipment, storage medium and program product
By responding to user barrage editing operations in the video platform and converting them into interactive controls, the problem of lack of diversification of fixed barrage content is solved, and the efficiency and user experience of barrage sending are improved.
Patent Information
- Application Number
- CN202310593579.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-24
- Publication Date
- 2024-11-26
AI Technical Summary
The existing video platforms have low efficiency in sending barrage when playing videos, and the content of fixed recommended barrage is lacking in diversity, resulting in low efficiency when sending barrage.
By responding to the user's barrage editing operation, displaying and converting it into interactive controls, users can send customized barrage content in the video playback interface by triggering operations to increase the diversity of interactive controls.
The efficiency of barrage sending is improved, and users can generate interactive controls according to their own needs, increasing the diversity and transmission efficiency of barrage content.
Smart Images

Figure CN119031195A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a bullet screen sending method, device, electronic device, computer-readable storage medium and computer program product. Background Art
[0002] In the major video platforms in the related technology, when playing videos, if the user wants to send barrage, a fixed barrage screen swiping control carrying the barrage content will be displayed on the current video playback interface, so that the user can quickly display the corresponding barrage content on the screen based on the trigger operation of the barrage screen swiping control. However, the barrage content carried by the above-mentioned barrage screen swiping control is fixed recommended random content, the recommended content is limited, and the fixed barrage control lacks diversity, so in the actual sending process of the barrage, the sending efficiency of the barrage is low. Summary of the invention
[0003] The embodiments of the present application provide a barrage sending method, device, electronic device, computer-readable storage medium and computer program product, which can improve the efficiency of barrage sending.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The present application provides a method for sending a bullet screen, including:
[0006] In response to a bullet-screen editing operation on the played media content, displaying the edited bullet-screen content;
[0007] Converting the bullet screen content into a first interactive control that carries the bullet screen content;
[0008] The first interactive control is used to send the carried barrage content as a target barrage to the playback interface of the media content;
[0009] In response to a trigger operation on the first interactive control, a target bullet screen corresponding to the bullet screen content is displayed in the playback interface of the media content.
[0010] The embodiment of the present application provides a bullet screen sending device, including:
[0011] A first display module, configured to display edited bullet comment content in response to a bullet comment editing operation on the played media content;
[0012] A conversion module, used to convert the barrage content into a first interactive control that carries the barrage content; wherein the first interactive control is used to send the carried barrage content as a target barrage to the playback interface of the media content;
[0013] The second display module is used to display a target bullet screen corresponding to the bullet screen content in the playback interface of the media content in response to a trigger operation on the first interactive control.
[0014] An embodiment of the present application provides an electronic device, including:
[0015] A memory for storing executable instructions;
[0016] The processor is used to implement the barrage sending method provided in the embodiment of the present application when executing the executable instructions stored in the memory.
[0017] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute and implement the barrage sending method provided in the embodiment of the present application.
[0018] The embodiment of the present application provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the electronic device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the electronic device executes the bullet screen sending method provided in the embodiment of the present application.
[0019] The embodiments of the present application have the following beneficial effects:
[0020] In the playback interface of the media content, in response to the barrage editing operation on the played media content, the edited barrage content is displayed, and then the barrage content is converted into a first interactive control carrying the barrage content, so that in response to the trigger operation on the first interactive control, the target barrage corresponding to the barrage content is displayed in the playback interface of the media content. In this way, by converting the edited content displayed based on the barrage editing operation into an interactive control carrying the corresponding barrage content, and then sending the target barrage of the barrage content carried by the corresponding interactive control by executing the trigger operation on the interactive control, the user can generate an interactive control for sending the barrage corresponding to the corresponding barrage content by inputting the barrage content that meets his or her actual needs, thereby increasing the diversity of the interactive controls used to send the barrage, thereby improving the efficiency of sending the barrage. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 1 is a schematic diagram of the architecture of a bullet screen sending system 100 provided in an embodiment of the present application;
[0022] Figure 2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0023] Figure 3 It is a flowchart of the method for sending a bullet screen provided in an embodiment of the present application;
[0024] Figure 4 It is a schematic diagram of the display process of the bullet screen sending interface provided in an embodiment of the present application;
[0025] Figure 5 It is a schematic diagram of a process of converting the bullet-screen content into a first interactive control carrying the bullet-screen content provided by an embodiment of the present application;
[0026] Figure 6 is a schematic diagram of the transformation process of the second interactive control provided in an embodiment of the present application;
[0027] Figure 7 is a schematic diagram of a process of restoring a first interactive control and a second interactive control to a target candidate text provided by an embodiment of the present application;
[0028] Figure 8 A schematic diagram of a third interactive control provided in an embodiment of the present application;
[0029] Fig. 9 is a schematic diagram of a position movement process of a fourth interactive control provided in an embodiment of the present application;
[0030] Fig.10 It is a schematic diagram of displaying multiple target bullet comments corresponding to the bullet comment content provided by an embodiment of the present application;
[0031] Fig.11 It is a schematic diagram of displaying multiple target bullet comments corresponding to the bullet comment content provided by an embodiment of the present application;
[0032] Fig.12 It is a schematic diagram of an interactive control corresponding to other bullet comments of a target provided in an embodiment of the present application;
[0033] Fig.13 It is a schematic diagram of generating an interactive control that carries other bullet-screen contents provided in an embodiment of the present application;
[0034] Fig.14 It is a schematic diagram of the display of the bullet screen panel control and the bullet screen panel provided in the embodiment of the present application;
[0035] Fig.15 It is a schematic diagram of the management control provided in the embodiment of the present application and the bullet screen panel in the management mode;
[0036] Fig.16 It is a schematic diagram of deleting the historical interaction control in the bullet screen panel through the target operation control provided by an embodiment of the present application;
[0037] Fig.17 It is a schematic diagram of deleting the historical interaction control in the bullet screen panel through the target operation control provided by an embodiment of the present application;
[0038] Fig.18 It is a schematic diagram of adding interactive controls in a bullet screen panel through a target operation control provided in an embodiment of the present application;
[0039] Fig.19 It is a flow chart of the front-end interaction logic and data storage provided by the embodiment of the present application;
[0040] Fig. 20 It is a schematic diagram of the front-end interaction logic and the process of enabling the interactive controls provided by the embodiment of the present application;
[0041] Fig.21 is a schematic diagram of the backend interaction logic provided in an embodiment of the present application;
[0042] Fig. 22 is a schematic diagram of the hierarchical relationship of the panel display layer provided in the embodiment of the present application;
[0043] Fig.23 is a schematic diagram of a hot word area provided in an embodiment of the present application;
[0044] Fig.24 It is a schematic diagram of a data layer class diagram provided in an embodiment of the present application;
[0045] Fig.25 It is a schematic diagram of a view layer class diagram provided in an embodiment of the present application;
[0046] Fig.26 It is a schematic diagram of the logical processing layer class diagram provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0048] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0049] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0050] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0051] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0052] 1) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.
[0053] 2) Bullet screen input bar / bullet screen input box, which is a text input box opened when the user needs to edit or send bullet screen content.
[0054] 3) Candidate bar: a recommendation bar of related key text options that appears after the user clicks any key on the keyboard in the input method.
[0055] 4) Hot word control: In the present invention, the text is converted into a text interactive control through an input method that the user can click repeatedly to send a barrage corresponding to the same text.
[0056] 5) The barrage is on the screen, the user sends the barrage content, and the barrage content is successfully put into the video / image screen.
[0057] See also Figure 1 , Figure 1 It is an architectural diagram of the barrage sending system 100 provided in an embodiment of the present application. To realize the application scenario of barrage sending (for example, the application scenario of barrage sending can be that when a user watches a video based on a video APP, in the video playback interface, the user performs a barrage editing operation on the media content being played, and the input barrage content is displayed in the barrage input bar, and then the barrage content is converted into an interactive control carrying the barrage content, so that the user displays the target barrage corresponding to the barrage content in the playback interface of the media content by clicking the interactive control), a terminal (terminal 400 is shown as an example) is provided with a barrage sending client 401 (such as a video APP, a live broadcast APP or a browser APP, etc.), and the terminal 400 is connected to the server 200 via a network 300, wherein the network 300 can be a wide area network or a local area network, or a combination of the two, and data transmission is realized using wireless or wired links.
[0058] The server 200 is used to send the media content to be played to the terminal 400;
[0059] Terminal 400 is also used to receive media content to be played; in the playback interface of the media content, in response to the barrage editing operation on the played media content, display the edited barrage content; convert the barrage content into a first interactive control carrying the barrage content; wherein the first interactive control is used to send the carried barrage content as the target barrage to the playback interface of the media content; in response to the triggering operation on the first interactive control, display the target barrage corresponding to the barrage content in the playback interface of the media content.
[0060] In some embodiments, the server 200 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (CDN, Content Deliver Network), and big data and artificial intelligence platforms. The terminal 400 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a set-top box, an intelligent voice interaction device, a smart home appliance, a vehicle-mounted terminal, an aircraft, and a mobile device (e.g., a mobile phone, a portable music player, a personal digital assistant, a dedicated messaging device, a portable gaming device, an intelligent speaker, and a smart watch), etc., but is not limited thereto. The terminal device and the server may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.
[0061] Next, an electronic device that implements the bullet screen sending method provided in the embodiment of the present application is described. Figure 2 , Figure 2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, with the electronic device as Figure 1 Take the terminal shown in as an example, Figure 2 The electronic device shown includes: at least one processor 410, a memory 450, at least one network interface 420 and a user interface 430. The various components in the terminal 400 are coupled together via a bus system 440. It is understood that the bus system 440 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 440 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 440 is not shown in FIG. Figure 2 Various buses are labeled as bus system 440 .
[0062] Processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0063] The user interface 430 includes one or more output devices 431 that enable display of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0064] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices that are physically remote from the processor 410.
[0065] The memory 450 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.
[0066] In some embodiments, memory 450 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.
[0067] Operating system 451, including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0068] A network communication module 452, used to reach other electronic devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.;
[0069] a display module 453 for enabling display of information via one or more output devices 431 (e.g., display screens, speakers, etc.) associated with the user interface 430 (e.g., a user interface for operating peripheral devices and displaying content and information);
[0070] The input processing module 454 is used to detect one or more user inputs or interactions from one of the one or more input devices 432 and translate the detected inputs or interactions.
[0071] In some embodiments, the device provided in the embodiments of the present application can be implemented in software. Figure 2 The bullet screen sending device 455 stored in the memory 450 is shown, which can be software in the form of a program and a plug-in, including the following software modules: a first display module 4551, a conversion module 4552, and a second display module 4553. These modules are logical, so they can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.
[0072] In other embodiments, the device provided in the embodiments of the present application can be implemented in hardware. As an example, the barrage sending device provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the barrage sending method provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs) or other electronic components.
[0073] In some embodiments, the terminal or server can implement the barrage sending method provided in the embodiments of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP, Application), that is, a program that needs to be installed in the operating system to run, such as an instant messaging APP, a web browser APP; it can also be a small program, that is, a program that can be run only by downloading it to a browser environment; it can also be a small program that can be embedded in any APP. In short, the above-mentioned computer program can be any form of application, module or plug-in.
[0074] Based on the above description of the bullet screen sending system and electronic device provided in the embodiment of the present application, the bullet screen sending method provided in the embodiment of the present application is described below. In actual implementation, the bullet screen sending method provided in the embodiment of the present application can be implemented by the terminal or the server alone, or by the terminal and the server in collaboration, so that Figure 1 The terminal 400 in the embodiment of the present application independently executes the bullet screen sending method provided in the embodiment of the present application as an example. Figure 3 , Figure 3 is a flowchart of the method for sending a bullet screen provided in an embodiment of the present application, which will be combined with Figure 3 The steps shown are explained.
[0075] Step 101: The terminal displays the edited bullet screen content in response to the bullet screen editing operation on the played media content.
[0076] In actual implementation, a media content playback client is deployed on the terminal. When a user opens the media content playback client deployed on the terminal to play a video, the terminal sends a media content playback request to the server. Based on the received media content playback request, the server sends the media content to be played to the terminal, so that the media content is displayed in the terminal media content playback interface. Here, the media content can be media information, such as picture information, article information, video information, etc., wherein the media information can also include one or more of the above information at the same time, such as the media information can include pictures and corresponding text at the same time; or, the media content can also be a video stream, audio stream, etc. for live broadcast.
[0077] In actual implementation, before responding to the bullet screen editing operation for the played media content, the terminal will display a bullet screen sending interface including at least one of the candidate bullet screen area, the key area, the play area, and the bullet screen input area. Specifically, when the terminal is playing the media content, the bullet screen input area is displayed, and in response to a trigger operation such as a click operation on the bullet screen input area, the bullet screen sending interface is displayed. Among them, the candidate bullet screen area includes at least one candidate text, the key area includes multiple virtual keys, the bullet screen input area is used to display the edited bullet screen content, and the play area is used to display the played media content when the bullet screen is edited.
[0078] It should be noted that the display positions of the bullet screen input area, the button area, and the candidate bullet screen area in the playback interface of the media content may be pre-set, and this embodiment of the present application does not limit this.
[0079] For example, see Figure 4 , Figure 4 is a schematic diagram of the display process of the bullet screen sending interface provided in the embodiment of the present application, based on Figure 4, FIG. a indicates a playback interface of media content including a bullet screen input area, and FIG. b and FIG. c indicate playback interfaces of media content including different forms of bullet screen sending interfaces, wherein 407 in FIG. a indicates a bullet screen input area, 401 in FIG. b indicates a candidate bullet screen area, 402 indicates a button area, 403 indicates a bullet screen input area, and the remaining area is a playback area, 405 in FIG. c indicates a candidate bullet screen area, 406 indicates a button area, 404 indicates a bullet screen input area, and the remaining area is a playback area; based on Figure 4 When playing media content, the terminal displays the playback interface shown in FIG. a. In response to a click operation on the bullet screen input area shown in 407 in FIG. a, the terminal displays the playback interface of the media content including the bullet screen sending interface shown in FIG. b or FIG. c. Here, the form of the bullet screen sending interface is pre-set and is not limited in the embodiment of the present application.
[0080] In some embodiments, after displaying a barrage sending interface that includes at least a candidate barrage area, that is, displaying a candidate barrage area that includes at least one candidate text, the barrage editing operation is a selection operation for a target candidate text in the candidate barrage area, thereby responding to the barrage editing operation for the played media content and displaying the edited barrage content. The process can be, based on the played media content, in response to the selection operation for the target candidate text in the candidate barrage area, using the selected target candidate text as the edited barrage content and displaying the target candidate text.
[0081] It should be noted that after input is made based on the key area, at least one candidate text will be displayed in the candidate bullet screen area, so that in response to the selection operation of the target candidate text in the candidate bullet screen area, the selected target candidate text will be used as the edited bullet screen content. For example, see Figure 4 ,based on Figure 4 In Figure c, the candidate barrage area includes 4 candidate texts, among which "High Energy Ahead" is the selected target candidate text. In response to the selection operation on the target candidate text in the candidate barrage area, the selected target candidate text is used as the edited barrage content, and the target candidate text is displayed in the barrage input area.
[0082] Step 102, converting the barrage content into a first interactive control that carries the barrage content; wherein the first interactive control is used to send the carried barrage content as a target barrage to the playback interface of the media content.
[0083] It should be noted that the barrage content here can be picture information, text information or audio information, etc., wherein the barrage content can also include one or more of the above information at the same time, such as the barrage content can include pictures and corresponding texts at the same time; at the same time, the first interactive control converted here can be displayed in the barrage input area, or in the candidate barrage area, or displayed in the barrage input area and the candidate barrage area at the same time.
[0084] In actual implementation, the process of converting the barrage content into the first interactive control carrying the barrage content may be, when the control conversion condition for the barrage content is met, converting the barrage content into the first interactive control carrying the barrage content. Here, the control conversion condition may be automatically triggered when the barrage content is edited and reaches the target duration, or may be triggered by sending a barrage corresponding to the barrage content after the barrage content is edited.
[0085] In some embodiments, when the control conversion condition is triggered by the target duration of editing the barrage content, the process of converting the barrage content into the first interactive control carrying the barrage content may be, in response to the barrage editing operation, displaying the completion duration of the corresponding barrage editing operation; when the completion duration reaches the target completion duration, converting the barrage content into the first interactive control carrying the barrage content. Here, the completion duration may be preset, such as 3 seconds, etc. When the terminal does not receive any operation within 3 seconds, the currently displayed barrage content is converted into the first interactive control carrying the barrage content. For example, see Figure 5 , Figure 5 is a schematic diagram of a process of converting bullet-screen content into a first interactive control carrying bullet-screen content provided by an embodiment of the present application, based on Figure 5 , displaying the completion time of the corresponding bullet comment editing operation. When the completion time reaches the target completion time, such as 3 seconds, the bullet comment content is converted into the first interactive control carrying the bullet comment content as indicated by 501.
[0086] In some embodiments, when the control conversion condition is triggered by sending a barrage corresponding to the barrage content after editing the barrage content, the process of converting the barrage content into a first interactive control carrying the barrage content may be to display a barrage sending control, and in response to a sending instruction for the barrage content triggered by the barrage sending control, display the barrage corresponding to the barrage content in the playback interface of the media content, and generate a first interactive control carrying the barrage content. Figure 5 ,based on Figure 5 , display the barrage sending control as indicated by 502, and then respond to the sending instruction for the barrage content triggered by the barrage sending control, send the barrage corresponding to the barrage content, and generate the first interactive control carrying the barrage content as indicated by 501.
[0087] In some embodiments, the process of converting the barrage content into a first interactive control carrying the barrage content is to convert the barrage content, that is, the target candidate text displayed in the barrage input area, into a first interactive control carrying the barrage content, and display the first interactive control, while the target candidate text is also displayed in the candidate barrage area. Therefore, when the barrage content is converted into a first interactive control carrying the barrage content and the first interactive control is displayed in the barrage input area, the target candidate text displayed in the candidate barrage area can also be converted into an interactive control. Specifically, when the barrage content is converted into a first interactive control carrying the barrage content, the target candidate text in the candidate barrage area can also be converted into a second interactive control, the second interactive control carries the target candidate text, and the second interactive control exists independently of the first interactive control; in response to a trigger operation on the second interactive control, a barrage corresponding to the target candidate text is displayed in the playback interface of the media content.
[0088] For example, see Figure 6 , Figure 6 is a schematic diagram of the transformation process of the second interactive control provided in an embodiment of the present application, based on Figure 6 When the barrage content is converted into a first interactive control carrying the barrage content as indicated by 601, the target candidate text in the candidate barrage area is converted into a second interactive control as indicated by 602, thereby sending a barrage corresponding to the barrage content in response to a trigger operation on the second interactive control.
[0089] In some embodiments, the control can also be restored to text. Specifically, in response to a trigger operation on any virtual key in the key area, the second interactive control in the candidate bullet screen area is restored to the target candidate text. In this way, the user can select candidate text from the candidate bullet screen area again, thereby updating the displayed edited bullet screen content. It should be noted that the first interactive control can also be restored to the target candidate text, so that the bullet screen editing operation can be performed again to update the displayed edited bullet screen content. For example, see Figure 7 , Figure 7 is a schematic diagram of a process of restoring a first interactive control and a second interactive control to a target candidate text according to an embodiment of the present application, based on Figure 7 In response to a triggering operation on any virtual key in the key area as indicated by 701 in Figure a, the second interactive control as indicated by 702 in the candidate barrage area is restored to the target candidate text as indicated by 703 in Figure b; at the same time, the first interactive control as indicated by 704 in Figure a is also restored to the target candidate text as indicated by 705 in Figure b.
[0090] In some embodiments, the candidate barrage area also includes at least one third interactive control that is historically generated and carries barrage content. Different third interactive controls carry different barrage content, and the barrage content carried by the third interactive control is different from the barrage content carried by the first interactive control. Thus, in response to a trigger operation on a target third interactive control in at least one third interactive control, the barrage corresponding to the barrage content carried by the target third interactive control is displayed in the playback interface of the media content. For example, see Figure 8 , Figure 8 The schematic diagram of the third interactive control provided in the embodiment of the present application is based on Figure 8 , indicated in the dotted box 801 are four third interactive controls that are historically generated and carry barrage content. Different third interactive controls carry different barrage content, and the barrage content carried by the third interactive controls is different from the barrage content carried by the first interactive control as indicated by 802; thus, in response to the triggering operation of the target third interactive control among the four third interactive controls, the barrage of the barrage content carried by the corresponding target third interactive control is displayed in the playback interface of the media content.
[0091] In some embodiments, the candidate barrage area also includes at least one historical interaction control carrying barrage content arranged in sequence, and the historical interaction control at the first position in the at least one historical interaction control is the interaction control that was used most recently; thus, in response to a trigger operation on a target historical interaction control in the at least one historical interaction control, a barrage corresponding to the barrage content carried by the target historical interaction control is displayed in the playback interface of the media content, and in the candidate barrage area, the target historical interaction control is moved to the first position of at least one historical interaction control in the candidate barrage area.
[0092] It should be noted that the historical interaction controls in the candidate barrage area include the second interaction controls and the third interaction controls displayed in the candidate barrage area, and the order of arrangement can be based on the priority of the historical interaction controls, or based on the frequency of use of the historical interaction controls, or based on the most recent use time of the historical interaction controls, etc.; here, in the candidate barrage area, when the target historical interaction control is moved to the first position of at least one historical interaction control in the candidate barrage area, the historical interaction controls located before the target historical interaction control will also be moved one position backward.
[0093] In some embodiments, after the first interactive control is displayed in the control display area and the barrage content is converted into the first interactive control carrying the barrage content, it is also possible, when a fourth interactive control carrying the barrage content is also displayed in the control display area, in response to a trigger operation on the fourth interactive control, to display the barrage corresponding to the barrage content carried by the fourth interactive control in the playback interface of the media content; wherein the barrage content carried by the fourth interactive control is different from the barrage content carried by the first interactive control; the first interactive control is canceled and the fourth interactive control is moved to the position of the first interactive control.
[0094] It should be noted that the control display area here includes at least one of the candidate barrage area, the barrage input area and other areas for displaying controls, and the fourth interactive control is the same as the control indicated by the third interactive control mentioned above. Here, moving the fourth interactive control to the position of the first interactive control can refer to displaying the position of the first interactive control, switching from displaying the first interactive control to displaying the fourth interactive control, or displaying the position of the first interactive control, switching from displaying the first interactive control to displaying the barrage content carried by the fourth interactive control; specifically, when the first interactive control is displayed in the barrage input area in the control display area and the fourth interactive control is displayed in the candidate barrage area in the control display area, in response to the trigger operation for the fourth interactive control, in the playback interface of the media content, the barrage corresponding to the barrage content carried by the fourth interactive control is displayed; the first interactive control is canceled, and the fourth interactive control is moved to the position of the first interactive control.
[0095] For example, see Fig. 9 , Fig. 9 is a schematic diagram of the position movement process of the fourth interactive control provided in an embodiment of the present application, based on Fig. 9 , the first interactive control indicated by 901 is displayed in the barrage input area, and the fourth interactive control indicated by 902 is displayed in the candidate barrage area. In response to the trigger operation on the fourth interactive control, in the playback interface of the media content, the barrage corresponding to the barrage content carried by the fourth interactive control is displayed, the fourth interactive control indicated by 902 is moved to the first position in the candidate barrage area, and the first interactive control indicated by 901 is cancelled, and the fourth interactive control indicated by 902 is moved to the position of the first interactive control indicated by 901.
[0096] Step 103, in response to the triggering operation on the first interactive control, displaying the target bullet screen corresponding to the bullet screen content in the playback interface of the media content.
[0097] It should be noted that the trigger operation here includes one of a pressing operation, a clicking operation, and a dragging operation. For different trigger operations, in response to the trigger operation on the first interactive control, the process of displaying the target barrage of the corresponding barrage content in the playback interface of the media content is also different. For the process of displaying multiple target barrages of the corresponding barrage content in the playback interface of the media content, it can be to display multiple target barrages one by one, or it can be to display a target barrage while displaying the numerical value of the number of corresponding multiple target barrages, thereby indicating that multiple target barrages of the corresponding barrage content are displayed. Here, the display form of multiple target barrages is not limited in the embodiment of the present application.
[0098] In some embodiments, when the trigger operation is a click operation, the process of displaying a target barrage of corresponding barrage content in the playback interface of the media content in response to the trigger operation on the first interactive control includes displaying a target barrage of corresponding barrage content in the playback interface of the media content in response to the click operation on the first interactive control.
[0099] In some embodiments, when the trigger operation is a pressing operation, the process of displaying a target barrage of corresponding barrage content in the playback interface of the media content in response to the trigger operation on the first interactive control includes displaying multiple target barrages of corresponding barrage content in the playback interface of the media content in response to the pressing operation on the first interactive control; wherein the number of the multiple target barrages is positively correlated with at least one of the pressing duration and the pressing strength of the pressing operation.
[0100] It should be noted that the mapping relationship between the number of multiple target barrages and at least one of the pressing duration and the pressing force of the pressing operation is pre-set. For example, when the number of multiple target barrages is positively correlated with the pressing duration and the pressing force of the pressing operation, in response to the pressing operation on the first interactive control, the process of displaying multiple target barrages corresponding to the barrage content in the playback interface of the media content may be to receive a pressing operation on the first interactive control, analyze the pressing operation, obtain the pressing duration and the pressing force of the pressing operation, and obtain a first mapping relationship between the pre-set pressing duration and the number of target barrages, and a second mapping relationship between the pressing force and the number of target barrages, determine the first number of target barrages based on the pressing duration of the pressing operation and the first mapping relationship, and determine the second number of target barrages based on the pressing force of the pressing operation and the second mapping relationship, and then sum the first number and the second number to obtain the target number of target barrages, thereby displaying the target number of multiple target barrages corresponding to the barrage content in the playback interface of the media content.
[0101] In other embodiments, when the trigger operation is a drag operation, in response to the trigger operation on the first interactive control, the process of displaying the target barrage of the corresponding barrage content in the playback interface of the media content includes, in response to the drag operation on the first interactive control, displaying the process of the first interactive control being dragged and multiple target barrages of the corresponding barrage content in the playback interface of the media content; wherein the number of the multiple target barrages is positively correlated with the dragging distance of the drag operation.
[0102] It should be noted that the mapping relationship between the number of multiple target barrages and the dragging distance of the drag operation is pre-set. For example, in response to a drag operation on a first interactive control, a process of displaying multiple target barrages corresponding to the barrage content in the playback interface of the media content may be to receive a drag operation on the first interactive control, analyze the drag operation, obtain the dragging distance of the drag operation, and obtain the mapping relationship between the pre-set drag distance and the number of target barrages; based on the drag distance and the mapping relationship, determine the target number of target barrages, thereby displaying the target number of target barrages corresponding to the barrage content in the playback interface of the media content.
[0103] It should be noted that, not only for the first interactive control, but for any interactive control appearing in the present application, when the barrage of the barrage content corresponding to the interactive control is displayed in the playback interface of the media content based on the trigger operation of the interactive control, the trigger operation also includes one of a pressing operation, a clicking operation, and a dragging operation. Accordingly, for different trigger operations, in response to the trigger operation of the interactive control, the process of displaying the barrage of the barrage content corresponding to the interactive control in the playback interface of the media content is also similar to the process of displaying the target barrage of the corresponding barrage content in the playback interface of the media content in response to the trigger operation of the first interactive control in the previous article.
[0104] In some embodiments, in the playback interface of the media content, when multiple target bullets corresponding to the bullet content are displayed, a dynamic special effect for indicating that multiple target bullets have been sent will also exist at the associated position of the first interactive control. Specifically, in the playback interface of the media content, when multiple target bullets corresponding to the bullet content are displayed, at one of the positions above, below, on the left, and on the right of the first interactive control, at least one of the following is displayed: the process in which multiple bullet contents appear in sequence from the position of the first interactive control, move along the target direction, and gradually disappear; the numerical value of the number of corresponding multiple target bullets. Here, the target direction can be one of above, below, left, right, upper left, lower left, upper right, and lower right.
[0105] For example, see Fig.10 and Fig.11 , Fig.10is a schematic diagram of displaying multiple target bullet comments corresponding to the bullet comment content provided by an embodiment of the present application, Fig.11 is a schematic diagram of displaying multiple target bullet comments corresponding to the bullet comment content provided by an embodiment of the present application, based on Fig.10 In response to a pressing operation or a dragging operation on the first interactive control as indicated by 1001, ten bullet comments are displayed above the first interactive control, appearing in sequence from the position of the first interactive control, moving along the target direction and gradually disappearing; based on Fig.11 In response to a press operation or a drag operation on the first interactive control as indicated by 1101, a numerical value corresponding to the number of multiple target bullet comments is displayed on the right side of the first interactive control.
[0106] It should be noted that, not only for the first interactive control, but for any interactive control appearing in the present application, when multiple target barrages corresponding to the barrage content are displayed in the playback interface of the media content based on the trigger operation of the interactive control, there will also be a dynamic special effect for indicating that multiple target barrages have been sent in the associated position of the interactive control. The process of displaying the dynamic special effect here is similar to the process of displaying the dynamic special effect for indicating that multiple target barrages have been sent in the associated position of the first interactive control when multiple target barrages corresponding to the barrage content are displayed in the playback interface of the media content in the previous article.
[0107] In actual implementation, there may be different ways to generate the interactive control described above. Next, three of the generating ways are taken as examples to illustrate the generating process of the interactive control.
[0108] In some embodiments, historical behavior data of the user is obtained; the historical behavior data is analyzed to obtain the historical barrage content sent by the user, and an interactive control carrying the historical barrage content is generated; thereby, in response to a trigger operation on the interactive control carrying the historical barrage content, the barrage corresponding to the historical barrage content is displayed again in the playback interface of the media content.
[0109] In some embodiments, at least one other barrage is displayed in the playback interface of the media content; in response to a copy operation on a target other barrage in at least one other barrage, an interactive control corresponding to the target other barrage is generated; thereby, in response to a triggering operation on the interactive control corresponding to the target other barrage, the other barrage is displayed again in the playback interface of the media content.
[0110] It should be noted that when at least one other barrage is displayed in the playback interface of the media content, the at least one other barrage may be displayed in the playback interface of the media content that does not include the barrage sending interface, or the at least one other barrage may be displayed in the playback interface of the media content that includes the barrage sending interface; thus, in response to a copy operation on a target other barrage in at least one other barrage, a process of generating an interactive control corresponding to the target other barrage may be, in response to a trigger operation on a target other barrage in at least one other barrage, displaying a copy control for copying the target other barrage; and in response to the trigger operation on the copy control, generating an interactive control corresponding to the target other barrage. Exemplarily, see Fig.12 , Fig.12 is a schematic diagram of an interactive control corresponding to other bullet screens of a target provided by an embodiment of the present application, based on Fig.12 In response to a trigger operation on the target other bullet screen as indicated by 1202, a copy control for copying the target other bullet screen as indicated by the dotted box 1201 is displayed, and then in response to a trigger operation on the copy control, an interactive control corresponding to the target other bullet screen is generated.
[0111] In other embodiments, other edited barrage contents and barrage sending controls are displayed; in response to a sending instruction for other barrage contents triggered based on the barrage sending control, barrages corresponding to other barrage contents are displayed in the playback interface of the media content, and interactive controls carrying other barrage contents are generated; thus, in response to a triggering operation for the interactive controls carrying other barrage contents, barrages corresponding to other barrage contents are displayed again in the playback interface of the media content. Here, the sending instruction for other barrage contents triggered based on the barrage sending control may be triggered by a triggering operation such as a click operation on the barrage sending control. For example, see Fig.13 , Fig.13 is a schematic diagram of generating an interactive control carrying other bullet screen contents provided by an embodiment of the present application, based on Fig.13 , display other barrage contents as indicated by 1302 and the barrage sending control as indicated by 1301, and then in response to the triggering operation of the barrage sending control as indicated by 1301, display the barrage corresponding to the other barrage contents in the playback interface of the media content, and generate interactive controls carrying other barrage contents.
[0112] It should be noted that after the interactive control carrying other barrage content is generated, the interactive control carrying other barrage content is displayed, and the location for displaying the interactive control may be the candidate barrage area described above; and the interactive control generated in the generation process of the above-mentioned interactive control may be generated before the edited barrage content is displayed in response to the barrage editing operation on the played media content, or may be generated after the target barrage corresponding to the barrage content is displayed in the playback interface of the media content in response to the triggering operation on the first interactive control; when the interactive control is generated before the edited barrage content is displayed in response to the barrage editing operation on the played media content, the interactive control here refers to the third interactive control of the candidate barrage area in the above text, and when the interactive control is generated after the target barrage corresponding to the barrage content is displayed in the playback interface of the media content in response to the triggering operation on the first interactive control, the interactive control here refers to other interactive controls that are different from the historical interactive controls of the candidate barrage area described above.
[0113] In some embodiments, it is also possible to display a barrage panel control; in response to a trigger operation on the barrage panel control, display a barrage panel covering the candidate barrage area; wherein the candidate barrage area includes at least one historical interaction control carrying barrage content; in the barrage panel, display all historical interaction controls in the candidate barrage area.
[0114] It should be noted that multiple historical interactive controls are stored in the candidate barrage area. When the historical interactive controls are displayed through the candidate barrage area, due to the size of the candidate barrage area, the multiple historical interactive controls stored in the candidate barrage area cannot be fully displayed. Based on this, the multiple historical interactive controls in the candidate barrage area can be displayed through the barrage panel. Here, the size of the barrage panel is not smaller than the candidate barrage area. At the same time, the barrage panel controls can be displayed in the candidate barrage area, or they can be displayed in other areas of the playback interface of the media information where controls can be displayed. This is not limited in the embodiments of the present application.
[0115] It should be noted that the position order of the historical interactive controls in the bullet screen panel is the same as the position order in the candidate bullet screen area, and they are also arranged in sequence. The order of arrangement can also be based on the priority of the historical interactive controls, the frequency of use of the historical interactive controls, or the most recent use time of the historical interactive controls, etc. The multiple historical interactive controls displayed in sequence can be displayed in sequence from left to right, or from top to bottom. This is not limited in the embodiments of the present application. At the same time, the number of all historical interactive controls will also be displayed in the bullet screen panel. For example, see Fig.14 , Fig.14 It is a schematic diagram of the display of the bullet screen panel control and the bullet screen panel provided in the embodiment of the present application, based on Fig.14 , 1403 in Figure a is a barrage display control displayed in the area of other display controls in the playback interface of the media information, 1401 in Figure b and 1402 in Figure c are barrage display controls displayed in the candidate barrage area, so that in response to the trigger operation of the barrage panel control, the barrage panel indicated by 1404 in Figure d covering the candidate barrage area is displayed; then in the barrage panel, all five historical interaction controls in the candidate barrage area are displayed.
[0116] In actual implementation, after displaying all historical interaction controls in the candidate barrage area in the barrage panel, it is also possible to respond to the triggering operation of the target historical interaction control among all the historical interaction controls of the barrage panel, and display the barrage corresponding to the barrage content carried by the corresponding target historical interaction control in the playback interface of the media content.
[0117] It should be noted that, in response to the trigger operation of the target history interactive control among all the history interactive controls of the bullet screen panel, the process of displaying the bullet screen corresponding to the bullet screen content carried by the corresponding target history interactive control in the playback interface of the media content, as described above, the trigger operation here also includes one of the pressing operation, the clicking operation, and the dragging operation. Accordingly, for different trigger operations, in response to the trigger operation of the target history interactive control, the process of displaying the bullet screen corresponding to the bullet screen content of the target history interactive control in the playback interface of the media content is also similar to the process of displaying the target bullet screen corresponding to the bullet screen content in the playback interface of the media content in response to the trigger operation of the first interactive control in the above text. At the same time, at the associated position of the target history interactive control, there will also be a dynamic special effect for indicating that multiple target bullet screens have been sent. The process of displaying the dynamic special effect here is similar to the process of displaying the dynamic special effect for indicating that multiple target bullet screens have been sent at the associated position of the first interactive control when multiple target bullet screens corresponding to the bullet screen content are displayed in the playback interface of the media content in the above text.
[0118] In some embodiments, the barrage panel also includes a management control, so that, in response to a trigger operation on the management control, the barrage panel is controlled to be in a management mode; in the barrage panel in the management mode, at least one operation control is displayed, and the operation control is used to indicate the execution of an interactive operation on a historical interactive control in the barrage panel, and different operation controls indicate different interactive operations; in response to a trigger operation on a target operation control in at least one operation control, the target interactive operation indicated by the target operation control is executed for the historical interactive control in the barrage panel.
[0119] For example, see Fig.15 , Fig.15 is a schematic diagram of a management control and a bullet screen panel in management mode provided in an embodiment of the present application, based on Fig.15 , indicated by 1501 in Figure a is a management control, and in response to the trigger operation on the management control, the bullet screen panel is controlled to be in management mode, that is, the bullet screen panel in management mode as indicated by 1502 in Figure b is displayed, wherein, in the bullet screen panel in management mode, at least one operation control indicated by the dotted box 1503 in Figure b is displayed, and in response to the trigger operation on the target operation control in at least one operation control, the target interaction operation indicated by the target operation control is executed for the historical interaction control in the bullet screen panel.
[0120] It should be noted that performing interactive operations on the historical interactive controls in the bullet screen panel here may refer to adjusting the position of the historical interactive controls, deleting the historical interactive controls, or adding new historical interactive controls.
[0121] In some embodiments, the historical interaction control in the bullet screen panel can be deleted through the target operation control. Specifically, when the target operation control is a delete control, it is also possible to, in response to a state conversion instruction for the historical interaction control in the bullet screen panel, control the historical interaction control in the bullet screen panel to be in an optional state; in response to a selection instruction for a target historical interaction control in the historical interaction control in an optional state, switch the target historical interaction control from an optional state to a selected state; thereby, in response to a trigger operation for a target operation control in at least one operation control, the process of executing the target interaction operation indicated by the target operation control for the historical interaction control in the bullet screen panel may be, in response to a trigger operation for the delete control, deleting the target historical interaction control in a selected state from the bullet screen panel.
[0122] It should be noted that, for the process of controlling the historical interaction controls in the barrage panel to be in an optional state in response to the state conversion instruction for the historical interaction controls in the barrage panel, the state conversion instruction here may be triggered by a trigger operation for the management control, that is, when the trigger operation for the management control is received, the historical interaction controls in the barrage panel are automatically controlled to be in an optional state; thereby, in response to the selection instruction for the target historical interaction control in the historical interaction controls in the optional state, the target historical interaction control is switched from the optional state to the selected state.
[0123] For example, see Fig.16 , Fig.16 This is a schematic diagram of deleting the historical interactive controls in the bullet screen panel through the target operation control provided by the embodiment of the present application, based on Fig.16, the bullet screen panel in Figure a is in management mode, that is, all the historical interaction controls of the bullet screen panel in Figure a are in an optional state, and the target historical interaction control indicated by 1601 in Figure a is in an optional state, and the target historical interaction control indicated by 1602 in Figure b is in a selected state, so that in response to a trigger operation such as a click operation and a selection instruction triggered for the target historical interaction control indicated by 1601, the target historical interaction control indicated by 1601 is switched from an optional state to a selected state as indicated by 1602 in Figure b, and then, in response to a trigger operation for deleting the control as indicated by 1603, the target historical interaction control in a selected state as indicated by 1602 is deleted from the bullet screen panel, and finally a bullet screen panel including four historical interaction controls as shown in 1604 in Figure c is displayed.
[0124] It should be noted that when the historical interaction control in the control barrage panel is in an optional state, a select all control will also be displayed in the barrage panel. The select all control is used to switch all historical interaction controls in the barrage panel from an optional state to a selected state, thereby, in response to a selection instruction for a target historical interaction control in an optional state, the process of switching the target historical interaction control from an optional state to a selected state may also be a process of switching all historical interaction controls from an optional state to a selected state in response to a selection instruction for all historical interaction controls in an optional state triggered by the select all control, thereby deleting all historical interaction controls in a selected state from the barrage panel in response to a trigger operation for a delete control.
[0125] For example, see Fig.17 , Fig.17 This is a schematic diagram of deleting the historical interactive controls in the bullet screen panel through the target operation control provided by the embodiment of the present application, based on Fig.17 , a select all control as indicated by 1701 in Figure a will also be displayed in the bullet screen panel. In response to the selection instruction for all historical interactive controls in an optional state triggered by the select all control indicated by 1701, all historical interactive controls as indicated by the dotted box 1702 in Figure a will be switched from an optional state to a selected state as indicated by the dotted box 1703 in Figure b, and then in response to the trigger operation for the delete control, all historical interactive controls in a selected state will be deleted from the bullet screen panel.
[0126] In some embodiments, an interactive control in the bullet screen panel can be added through a target operation control. Specifically, when the target operation control is an add control, in response to a trigger operation on at least one operation control and the target operation control, the process of executing the target interactive operation indicated by the target operation control for the historical interactive control in the bullet screen panel can be, in response to the trigger operation on the add control, displaying a text input bar; displaying input text content in the text input bar; in response to a control generation instruction for the text content, when the text content is different from the bullet screen content carried by the historical interactive control, generating an interactive control carrying the text content, and displaying the generated interactive control carrying the text content in the bullet screen panel.
[0127] For example, see Fig.18 , Fig.18 is a schematic diagram of adding interactive controls in the bullet screen panel through target operation controls provided by an embodiment of the present application, based on Fig.18 , indicated by 1801 in Figure a is an add control, thus, in response to the trigger operation of the add control indicated by 1801, a text input bar as indicated by 1802 in Figure b is displayed; then the input text content is displayed in the text input bar; in response to the control generation instruction for the text content triggered by the save control as indicated by 1803 in Figure b, when the text content is different from the barrage content carried by the historical interactive control, an interactive control carrying the text content is generated, and the generated interactive control carrying the text content is displayed in the barrage panel.
[0128] In some embodiments, when the number of historical interaction controls in the bullet screen panel is large, the historical interaction controls in the bullet screen panel can also be classified, such as by video type (TV series, animation, movie, etc.), or by bullet screen operation type (copy, popular, personal favorite, etc.), or by bullet screen sending time, etc., so as to obtain historical interaction controls under each category, and then display the historical interaction controls belonging to different categories and the labels corresponding to each category in the bullet screen panel, so as to facilitate users to quickly find the target historical interaction controls. Here, historical interaction controls belonging to different categories can be displayed on the same page or on different pages, such as historical interaction controls belonging to the same category are displayed on the same page, and historical interaction controls belonging to different categories are displayed on different pages, etc. The display method of historical interaction controls belonging to different categories is not limited in the embodiments of the present application.
[0129] In some embodiments, after receiving a trigger operation for a target historical interaction control in at least one historical interaction control in the candidate barrage area, the position of the first interaction control, that is, the barrage input area, can also be displayed, and the display of the first interaction control can be switched to the display of the barrage content carried by the target historical interaction control. At the same time, when the trigger operation is a press operation or a drag operation, as described above, in response to the trigger operation for the first interaction control, the number of press operations or drag operations corresponding to the first interaction control is determined, and then the barrage content carried by the target historical interaction control for this number is superimposed and displayed in the barrage input area. For example, when the number of press operations or drag operations corresponding to three and the barrage content carried by the target historical interaction control is "Come on", the superimposed barrage content "Come on, come on, come on" is displayed in the barrage input area, and then in response to the barrage sending instruction for the superimposed barrage content, the barrage corresponding to the superimposed barrage content is sent.
[0130] Applying the above-mentioned embodiments of the present application, in the playback interface of the media content, in response to the barrage editing operation on the played media content, the edited barrage content is displayed, and then the barrage content is converted into a first interactive control carrying the barrage content, so that in response to the trigger operation on the first interactive control, the target barrage corresponding to the barrage content is displayed in the playback interface of the media content. In this way, by converting the edited content displayed based on the barrage editing operation into an interactive control carrying the corresponding barrage content, and then sending the target barrage of the barrage content carried by the corresponding interactive control by executing the trigger operation on the interactive control, the user can generate an interactive control for sending the barrage corresponding to the corresponding barrage content by inputting the barrage content that meets his or her actual needs, thereby increasing the diversity of the interactive controls used to send the barrage, thereby improving the efficiency of sending the barrage.
[0131] The following is an explanation of an exemplary application of the embodiments of the present application in a practical application scenario.
[0132] The inventor found that the video playback client of the related art provides a function of quickly displaying "hot words" (bullet screen content) bullet screen during the bullet screen input process. Specifically, based on the video scene, popular bullet screen content is recommended in the hot word area, so that clicking any hot word in the hot word area can quickly display a bullet screen, and the bullet screen input interface is folded to return to the video playback state. However, the bullet screen content recommended here is relatively limited, and they are all fixed recommended random content. At the same time, only one bullet screen can be sent at a time, and the bullet screen sending efficiency is low.
[0133] Based on this, an embodiment of the present application provides a solution for intelligently extracting barrage screen controls based on an input method. In the barrage input scenario, the input field can be converted into a clickable interactive control (first interactive control) in real time, and then by performing a click operation (trigger operation) on the control, the barrage of the corresponding input field can be sent. At the same time, by performing a long press operation (trigger operation) on the control, multiple barrages of the same field can be sent continuously. In addition, the barrage information successfully sent by the user in the process of using the input method will be recorded, and an interactive barrage screen control (historical interactive control) will be generated. The interactive control (historical interactive control) can also be generated by copying the content of the barrage on the playback interface, or clicking on any content of the video barrage.
[0134] Next, the technical solution of this application is described from the product side. Figure 4 As shown, when the terminal plays media content, the barrage input area is displayed, and then in response to a trigger operation on the barrage input area, such as a click operation, the barrage sending interface is called up, wherein the barrage sending interface includes a video area (playback area), a barrage input area (barrage input area), a hot word candidate bar / toolbar (candidate barrage area), and a button area (button area), and the interactive functions of each area are different and affect each other. Specifically, in response to a trigger operation such as a click operation on the barrage input area, a barrage sending interface including a video area (playing area), a barrage input area (barrage input area), a toolbar (candidate barrage area), and a button area (button area) is displayed, and then in response to the barrage editing operation on the played media content, the edited barrage content is displayed in the barrage input area. When the terminal does not receive any operation within the target time, the currently displayed barrage content is automatically converted into an interactive control (first interactive control) carrying the barrage content. At the same time, the toolbar is converted into a hot word candidate bar including at least one interactive control carrying the barrage content (at least one candidate text included in the candidate barrage area is switched to a historical interactive control), wherein the interactive controls in the hot word candidate bar are displayed in chronological order of recent use, and the interactive control that has just been converted is presented at the top of the candidate bar.
[0135] In actual implementation, for the interactive control in the bullet screen input area, in response to a click operation on the interactive control in the bullet screen input area, a bullet screen corresponding to the bullet screen content carried by the interactive control is sent, or in response to a long press operation on the interactive control in the bullet screen input area, multiple bullet screens corresponding to the bullet screen content carried by the interactive control are sent, and are displayed one by one in the video area. For the interactive control in the hot word candidate column, in response to a click operation on the target interactive control in the hot word candidate column, a bullet screen corresponding to the bullet screen content carried by the target interactive control is sent, or in response to a long press operation on the target interactive control in the hot word candidate column, multiple bullet screens corresponding to the bullet screen content carried by the target interactive control are sent, and are displayed one by one in the video area; at the same time, when the target interactive control is different from the interactive control in the bullet screen input area, while sending the bullet screen corresponding to the bullet screen content carried by the target interactive control, the interactive control in the bullet screen input area will also be switched to the target interactive control, so that the bullet screen content in the bullet screen input area always displays the most recently triggered bullet screen.
[0136] It should be noted that when you long-press to send multiple bullet comments, the cumulative effect of the successfully sent values will be superimposed in real time, such as Fig.11 As shown in the figure, if you successfully send 10 bullet comments by long pressing, a digital image such as "X10" will be displayed, which means 10 times. If you continue to send 1 more bullet comment, it will be displayed as "X(10+1)", and if you continue to send n bullet comments, it will be displayed as "X(10+n)". Therefore, the multiple display effect accumulates from small to large and is updated in real time. The calculation and display of the multiple accumulation animation only start when more than 2 bullet comments are sent in succession. At the same time, in addition to the numerical accumulation effect, there is also a floating and fading effect of the button. Specifically, Fig.10 As shown, when long pressing, multiple bullet comments appear in sequence from the location of the interactive control, move upward and gradually disappear. Here, the display period of each bullet comment content is consistent, and there is a slight difference in the horizontal offset when moving upward.
[0137] In some embodiments, a plurality of historical interaction controls are stored in the hot word candidate bar. When the historical interaction controls are displayed through the hot word candidate bar, the plurality of historical interaction controls stored in the hot word candidate bar cannot be fully displayed due to the size limitation of the hot word candidate bar. Based on this, the plurality of historical interaction controls available for display in the hot word candidate bar can be displayed through the bullet screen panel. Specifically, Fig.14 As shown, according to the barrage sending record, a "screen-sweeping hot words" button (barrage panel control) is displayed through the toolbox in the video playback environment, and then in response to the triggering operation of the "screen-sweeping hot words" button, a barrage panel including all historical interactive controls is displayed.
[0138] It should be noted that the position order of the historical interaction controls in the barrage panel is the same as the position order in the hot word candidate column, and they are also arranged in sequence. The order of arrangement can also be based on the priority of the historical interaction controls, or based on the frequency of use of the historical interaction controls, or based on the most recent use time of the historical interaction controls, etc. The multiple historical interaction controls displayed in sequence can be displayed in sequence from left to right, or from top to bottom. This is not limited to the embodiments of the present application.
[0139] In actual implementation, after all historical interaction controls are displayed in the barrage panel, it is also possible to respond to a trigger operation on a target historical interaction control among all historical interaction controls of the barrage panel, thereby sending a barrage corresponding to the barrage content carried by the corresponding target historical interaction control.
[0140] It should be noted that, in response to the trigger operation of the target historical interaction control among all the historical interaction controls of the barrage panel, the process of sending the barrage corresponding to the barrage content carried by the corresponding target historical interaction control, as described above, the trigger operation here also includes a long press operation and a click operation. Therefore, in response to the click operation of the target historical interaction control of the barrage panel, the barrage corresponding to the barrage content carried by the target historical interaction control is sent, or in response to the long press operation of the target historical interaction control of the barrage panel, multiple barrages corresponding to the barrage content carried by the target historical interaction control are sent, and displayed one by one in the video area. Here, for the process of long pressing and sending multiple barrages in succession, as described above, the cumulative effect of the successfully sent numerical values and / or the floating and fading effect of the buttons will also be superimposed in real time, and this will not be elaborated in the embodiments of the present application.
[0141] In some embodiments, Fig.15 As shown, the bullet screen panel also includes a management control, so that, in response to a trigger operation on the management control, the bullet screen panel is controlled to be in a management mode; in the bullet screen panel in the management mode, at least one operation control is displayed, such as a delete control or an add control, so that in response to a trigger operation on at least one operation control and a target operation control, the target interaction operation indicated by the target operation control is performed for the historical interaction control in the bullet screen panel, such as Fig.16 As shown, delete the historical interaction controls in the bullet screen panel by deleting the controls, or Fig.18 As shown, interactive controls are added to the bullet screen panel by adding controls.
[0142] It should be noted that the source of the above historical interactive controls is mainly through three aspects to automatically generate hot word data and generate interactive controls. Specifically, before sending the bullet screen, the interactive control (second interactive control) is generated in real time based on the content entered by the user in the bullet screen input box. The real-time generated interactive control is displayed at the first position of the hot word candidate column, and the controls generated by other storage sources are displayed in the order of usage time from the second position; or, Fig.13 As shown, by storing the bullet-screen content that the user successfully inputs and sends using the input method in the video scene, an interactive control is generated (that is, other bullet-screen content that is edited and a bullet-screen sending control are displayed; in response to a sending instruction for other bullet-screen content triggered by the bullet-screen sending control, the bullet-screen corresponding to other bullet-screen content is displayed in the playback interface of the media content, and an interactive control carrying other bullet-screen content is generated); or, as Fig.12 As shown, by storing the text content that the user successfully copies by clicking on the barrage in the video scene, an interactive control is generated (that is, in the playback interface of the media content, at least one other barrage is displayed; in response to the copy operation of the target other barrage in at least one other barrage, an interactive control corresponding to the target other barrage is generated).
[0143] Next, the technical solution of this application is explained from the technical side. For the front-end logic, see Fig.19 and Fig. 20 , Fig.19 is a flow chart of front-end interaction logic and data storage provided by an embodiment of the present application, Fig. 20 is a schematic diagram of the front-end interaction logic and the process of enabling the interactive controls provided by the embodiment of the present application, based on Fig.19 The process of front-end interaction logic and data storage provided in the embodiment of the present application is implemented by steps 1901 to 1904, based on Fig. 20 The front-end interaction logic and the process of enabling the interactive control provided in the embodiment of the present application are implemented by steps 2001 to 2007. Fig.19 and Fig. 20 As shown in the figure, by identifying the text entered by the user in the bullet screen input box, interactive controls are generated in real time. At the same time, it supports recording the bullet screen data successfully displayed by the user and the bullet screen content copied by the user, and can convert this content into interactive controls. For the backend logic, see Fig.21 , Fig.21 is a schematic diagram of the backend interaction logic provided in the embodiment of the present application, based on Fig.21 After receiving the request sent by the front-end, the back-end detects the request. When it is determined that the request is valid, it queries and updates the barrage database so that the front-end loads the updated barrage data.
[0144] In actual implementation, when the front end displays the barrage sending interface in the barrage input scenario, it will first determine whether the current user has a barrage history based on the background data. If there is no data, the input method toolbar will be displayed normally, and if there is data, a hot word candidate bar including at least one historical interactive control will be displayed. At the same time, after the user enters text in the barrage input box, the text content in the barrage input bar is converted into an interactive control in real time, and the interactive process of the interactive controls in the barrage input bar and the hot word candidate bar is as described above, and the embodiments of the present application will not be repeated. It should be noted that when the user clicks any virtual button in the key area (such as the close button or other character button), the hot word recommendation bar is turned off and the toolbar is restored to the default style.
[0145] In actual implementation, for the bullet screen panel structure, see Fig. 22 , Fig. 22 is a schematic diagram of the hierarchical relationship of the panel display layer provided in the embodiment of the present application, based on Fig. 22 The structure of the barrage panel consists of three parts: the overview area, the hot word area and the management area.
[0146] For the overview area, the overview area is a display area for the total number of lists. The list contains a frame item (that is, the content frame) of the number of barrages. The frame item is composed of a single hot word control, that is, an interactive control. Among them, the length of the hot word control is positively correlated with the length of the string. When there are multiple hot word controls, the multiple hot word controls are displayed in sequence from left to right and from top to bottom according to the timeline. Therefore, the user can click on one of the multiple hot word controls to realize the automatic delivery of the barrage content to the video scene. At the same time, multiple clicks or long presses will display them one by one on the screen and increase the display multiples to accumulate the animation effect.
[0147] For the hotword area, see Fig.23 , Fig.23 is a schematic diagram of the hot word area provided in the embodiment of the present application, based on Fig.23 The hot word area is a scrollable area. Multiple hot word controls are stacked together to form a set of frame lists and placed in the scroll area. When the height of the frame list is less than the height of the scroll area, the vertical scroll bar is automatically hidden, otherwise the scroll bar appears and responds to the scrolling operation to position the frame list to the corresponding position. For the frame list, every time a hot word control is added or deleted, the overview area will be notified so that the overview value will follow the change.
[0148] For the management area, the management area can realize the three functions of "select", "add" and "delete". When the management area is in the default state, the "add" and "delete" functions are not available, and you need to enter the management mode to operate, that is, click "Manage" to activate the multiple selection, add and delete operation functions (that is, the bullet screen panel is in the management mode).
[0149] It should be noted that the input method-based intelligent extraction bullet screen control solution provided in this application mainly involves three parts: data layer, view layer, and logic processing layer. For the data layer, see Fig.24 , Fig.24 is a schematic diagram of a data layer class diagram provided in an embodiment of the present application, based on Fig.24 This layer is mainly responsible for the production of barrage content. Barrage content is divided into two categories: input type (BarrageInputData) and replication type (BarrageReplicationData). The attributes contain text content barrageText and time barrageTime, which are used to provide data support for the hot word candidate area and the list in the barrage panel. For the view layer, see Fig.25 , Fig.25 is a schematic diagram of a view layer class diagram provided in an embodiment of the present application, based on Fig.25 The view layer has two containers: the hot word candidate bar BarrageNewCandidateView and the toolbox screen hot word container (list of bullet screen panel) BarrageKeyboard. For the logic processing layer, see Fig.26 , Fig.26 is a schematic diagram of a logic processing layer class diagram provided in an embodiment of the present application, based on Fig.26 This layer is the core data interaction processing layer. The barrage management class BarrageInteractionManager controls the local update and server upload of the list data of the hot word container in the toolbox. The interactive controls carrying the barrage content of the current user will be stored locally first. The barrage management page adds and deletes barrageData; after the service is created, the barrage data is updated and uploaded regularly through the backend interface.
[0150] In actual implementation, the interactive control implementation process includes the interaction process of the barrage input bar generating hot word controls in real time and the upper screen, the interaction process of the hot word candidate bar generating hot word controls in real time and the upper screen, and the interaction process of the hot word control management of the barrage panel.
[0151] For the interactive process of the real-time generation of hot word controls and the screen in the barrage input bar, the principle is to use inter-process communication to realize the transmission of barrage data between the input bar and the input method, thereby generating interactive controls with the input bar. Specifically, first, registerBarrageInputListener is performed when the barrage sending interface is called up, that is, the input method is bound to the current barrage input bar for real-time detection, so as to read the switch status barrage_input_hotword_switch of the current input bar. When the switch status is open, the local barrage data list is loaded and the BarrageData data is uploaded to the three-party input bar through CommitText of InputConnection. At the same time, the barrage data sending status sendStatus is marked as false, and the data display of the three-party input bar is completed. When the user inputs in real time, the current composing part is sent to the three-party input bar, and the sending status sendStatus is marked as true. The real-time update and screen display of the barrage data are completed by calling the sending control intention in the input bar. Then when the user clicks on the bullet screen item element of the input bar, the current bullet screen data is sent back to the input method, and the data is displayed on the screen by calling the send control intention in the input box. If long press, it can be customized according to the strategy of long press once every 50ms. When long press, the current screen count is recorded, and the count animation is added above the toolbar area. When receiving a click operation on the close button, the current input box bullet screen data is cleared and the switch state barrage_hotword_switch is updated to close. When receiving a click operation on the hot word entry, jump to the toolbox screen swiping hot word container BarrageKeyboardView.
[0152] For the interactive process of the hot word candidate bar generating hot word controls in real time and the upper screen, specifically, first call up the barrage sending interface, read the switch state of the candidate bar hot word control barrage_hotword_switch, when the switch state is open, load the hot word control BarrageCandiadateView to display it in the toolbar and load the latest local barrage data list. The hot word control is a slidable container, and the list data List is dynamically loaded through the custom control ScrollComponent <barrageinteractioncontroldatadetail>, the first in the list is a separate view module, which is mainly used to support the real-time binding refresh of the three-party input box content and the view, and the others are arranged in the order of screen appearance. Then in response to the user's click operation on the hot word text control item, the cursor position of the input bar is determined by ExtractedText, and then the current input bar content is cleared. The barrage content carried by the hot word text control is then displayed on the screen to the input bar by CommitText of InputConnection, and the barrage content corresponding to the barrage content is finally sent to the video area through the send attribute of the input bar. At the same time, the current text clearFlag is false to retain the input bar content. When long pressing, the hot word can be long-pressed on the screen according to a customized strategy such as displaying the screen once every 50ms. When long pressing, the current screen count is recorded, and a count animation display is added above the hot word control container. When a click operation on the close button is received, the current hot word control is removed from the root layout RootContainer, and the switch state barrage_hotword_switch is updated to close. When a click operation on a hot word entry is received, it jumps to the toolbox screen-swiping hot word container BarrageKeyboardView.
[0153] It should be noted that the interaction process between the real-time generation of hot word controls in the bullet screen input bar and the upper screen is an extension of the interaction process between the real-time generation of hot word controls in the hot word candidate bar and the upper screen. The technical difference lies mainly in that during the interaction between the real-time generation of hot word controls in the bullet screen input bar and the upper screen, the input method needs to obtain touch events from the third-party input bar. This callback event requires the support of the third-party input bar, and its implementation and touch logic interaction are all within the third-party input bar. During the interaction between the real-time generation of hot word controls in the hot word candidate bar and the upper screen, the display and operation of the hot word list data in the candidate area can be directly completed through the input method end. This The item can be processed unilaterally by the input method end, and its implementation and touch logic interaction are only operated within the input method keyboard; although the interaction process between the hot word candidate bar and the upper screen is easier to implement without the support of a third-party input bar and has a relatively low technical cost than the interaction process between the hot word candidate bar and the upper screen in real time, after successfully completing the technology of the interaction process between the hot word candidate bar and the upper screen in real time, this function will no longer be limited to the scenario where the input method keyboard is called up, and can be quickly and continuously sent to the upper screen in the scenario where the keyboard is folded and there is only a third-party input bar, and the range of operational scenarios is wider.
[0154] For the interactive process of hot word control management of the barrage panel, specifically, in BarrageKeyboardView, the overall list content can be loaded and displayed by custom drawing Canvas. Row, column and item styles can all be customized. For the addition and deletion of barrage data (historical interactive controls), the local list data is updated in real time through addBarrageData() and deleteBarrageData() in BarrageInteractionManager, and the BarrageKeyboardView view is updated dynamically. The list items under this container also support short press and long press to display on the screen. The short press is processed through CommitText of InputConnection. The long press can be customized according to the strategy of long press of hot words on the screen, such as once every 50ms.
[0155] In some embodiments, content layout replacement can also be implemented. Specifically, the hot word control that is converted in real time by the scheme is changed from being displayed in the candidate column to a double-column mode, that is, the regular candidate words (candidate texts) are retained, and a column is added to display the hot word controls, etc.; the controls in the hot word management page (bullet screen panel) can also be sorted from left to right in sequence, and can be changed to other layout forms, such as regular list sorting from top to bottom, etc.
[0156] In some embodiments, the on-screen function can also be adjusted. Specifically, after the hot word control of the scheme is triggered, it is adjusted from directly displaying on the video platform to preferentially displaying on the screen to the input boxes of each platform. The continuous sending of each item can be adjusted to the string in the input box being superimposed in sequence, etc. (that is, the position where the first interactive control is displayed, that is, the barrage input area, is switched from displaying the first interactive control to displaying the barrage content carried by the target historical interactive control. At the same time, when the trigger operation is a press operation or a drag operation, as described above, in response to the trigger operation for the first interactive control, the number of press operations or drag operations corresponding to the operation is determined, and then the barrage content carried by the target historical interactive control for that number is displayed in a superimposed manner in the barrage input area).
[0157] In some embodiments, the burst effect adjustment can also be implemented. Specifically, the hot word control of the screen is long-pressed to display hot words one by one after burst, and it is adjusted to merge the hot word content to display the burst multiple suffix effect, such as changing "XXXX" of 10 consecutive texts to "XXXX*10", etc.
[0158] In some embodiments, it is also possible to delete functions in the bullet screen panel. Specifically, one or more of the multiple operation controls included in the bullet screen panel of this solution, such as select all, add, and delete, can be removed at will. For example, the add function can be removed to not support manual addition by users.
[0159] In some embodiments, for the hot word controls in the barrage panel, they can be displayed in one page without classification, or they can be displayed by classification to increase interaction and improve user selection efficiency, such as adding a classification tab to classify based on video type (TV series, animation, movies, etc.), classify based on barrage hot word operation type (copy, popular, personal favorites, etc.), or classify based on screen time.
[0160] In this way, the content of the hot words recommended by the barrage on each platform is fixed and lacks diversity, and the barrage hot word data between platforms are not interoperable, and users cannot customize based on their personal preferences when using the platform's native barrage hot words. This application effectively improves the efficiency of user barrage sending by identifying the text in the barrage input box and converting it in real time to generate interactive controls, while expanding the reserve of hot word controls, thereby enhancing the diversity of hot word types. In this way, it can effectively solve the problems of non-interoperability of hot word data on multiple platforms, few types of hot words, and no customization, improve the efficiency of barrage sending, optimize the barrage screen swiping experience, and thus increase the user's enjoyment of barrage screen swiping.
[0161] Applying the above-mentioned embodiments of the present application, in the playback interface of the media content, in response to the barrage editing operation on the played media content, the edited barrage content is displayed, and then the barrage content is converted into a first interactive control carrying the barrage content, so that in response to the trigger operation on the first interactive control, the target barrage corresponding to the barrage content is displayed in the playback interface of the media content. In this way, by converting the edited content displayed based on the barrage editing operation into an interactive control carrying the corresponding barrage content, and then sending the target barrage of the barrage content carried by the corresponding interactive control by executing the trigger operation on the interactive control, the user can generate an interactive control for sending the barrage corresponding to the corresponding barrage content by inputting the barrage content that meets his or her actual needs, thereby increasing the diversity of the interactive controls used to send the barrage, thereby improving the efficiency of sending the barrage.
[0162] The following is a description of an exemplary structure of the interactive device 455 in the virtual scene provided by the present application as a software module. In some embodiments, Figure 2 As shown, the software modules stored in the interactive device 455 in the virtual scene of the memory 450 may include:
[0163] The first display module 4551 is used to display the edited bullet comment content in response to the bullet comment editing operation on the played media content;
[0164] The conversion module 4552 is used to convert the barrage content into a first interactive control that carries the barrage content; wherein the first interactive control is used to send the carried barrage content as a target barrage to the playback interface of the media content;
[0165] The second display module 4553 is used to display a target bullet screen corresponding to the bullet screen content in the playback interface of the media content in response to a trigger operation on the first interactive control.
[0166] In some embodiments, the device also includes a third display module, which is used to display a candidate barrage area, and the candidate barrage area includes at least one candidate text; the first display module 4551 is also used to respond to a selection operation on a target candidate text in the candidate barrage area based on the played media content, use the selected target candidate text as the edited barrage content, and display the target candidate text.
[0167] In some embodiments, the device also includes a second conversion module, which is used to convert the target candidate text in the candidate barrage area into a second interactive control, the second interactive control carries the target candidate text, and the second interactive control exists independently of the first interactive control; in response to a trigger operation on the second interactive control, a barrage corresponding to the target candidate text is displayed in the playback interface of the media content.
[0168] In some embodiments, the device also includes a fourth display module, which is used to display a button area, wherein the button area includes multiple virtual keys; in response to a trigger operation on any one of the virtual keys in the button area, the second interactive control in the candidate barrage area is restored to the target candidate text.
[0169] In some embodiments, the candidate barrage area includes at least one third interactive control that is historically generated and carries barrage content, and the barrage content carried by different third interactive controls is different, and the barrage content carried by the third interactive control is different from the barrage content carried by the first interactive control; the device also includes a fifth display module, and the fifth display module is used to respond to a trigger operation on a target third interactive control among the at least one third interactive control, and display a barrage corresponding to the barrage content carried by the target third interactive control in the playback interface of the media content.
[0170] In some embodiments, the candidate barrage area includes at least one historical interaction control carrying barrage content arranged in sequence, and the historical interaction control at the first position in the at least one historical interaction control is the interaction control that was used most recently; the device also includes a moving module, which is used to respond to a trigger operation on a target historical interaction control in the at least one historical interaction control, display a barrage corresponding to the barrage content carried by the target historical interaction control in the playback interface of the media content, and move the target historical interaction control to the first position of the at least one historical interaction control in the candidate barrage area.
[0171] In some embodiments, the device also includes a sixth display module, which is used to display at least one other barrage in the playback interface of the media content; in response to a copy operation of a target other barrage in the at least one other barrage, generate an interactive control corresponding to the target other barrage; in response to a trigger operation of the interactive control corresponding to the target other barrage, display the other barrage again in the playback interface of the media content.
[0172] In some embodiments, the device also includes a seventh display module, which is used to display other edited barrage content and barrage sending controls; in response to a sending instruction for the other barrage content triggered based on the barrage sending control, the barrage corresponding to the other barrage content is displayed in the playback interface of the media content, and an interactive control carrying the other barrage content is generated; in response to a triggering operation for the interactive control carrying the other barrage content, the barrage corresponding to the other barrage content is displayed again in the playback interface of the media content.
[0173] In some embodiments, the first interactive control is displayed in a control display area, and the device also includes an eighth display module, which is used to display a barrage corresponding to the barrage content carried by the fourth interactive control in the playback interface of the media content in response to a trigger operation on the fourth interactive control when a fourth interactive control carrying barrage content is also displayed in the control display area; wherein the barrage content carried by the fourth interactive control is different from the barrage content carried by the first interactive control; cancel the display of the first interactive control, and move the fourth interactive control to the position of the first interactive control.
[0174] In some embodiments, the conversion module 4552 is also used to display the completion time corresponding to the barrage editing operation in response to the barrage editing operation; when the completion time reaches the target completion time, the barrage content is converted into a first interactive control carrying the barrage content.
[0175] In some embodiments, the second display module 4553 is also used to display multiple target barrages corresponding to the barrage content in the playback interface of the media content in response to a pressing operation on the first interactive control; wherein the number of the multiple target barrages is positively correlated with at least one of the pressing duration and the pressing strength of the pressing operation.
[0176] In some embodiments, the second display module 4553 is also used to respond to a drag operation on the first interactive control, and display the process of the first interactive control being dragged, and multiple target barrages corresponding to the barrage content in the playback interface of the media content; wherein the number of the multiple target barrages is positively correlated with the dragging distance of the drag operation.
[0177] In some embodiments, the second display module 4553 is also used to display at least one of the following at one of the positions above, below, on the left and on the right of the first interactive control: a process in which multiple barrage contents appear in sequence from the position of the first interactive control, move along the target direction and gradually disappear; a numerical value corresponding to the number of the multiple target barrage contents.
[0178] In some embodiments, the device also includes a barrage panel display module, which is used to display a barrage panel control; in response to a trigger operation on the barrage panel control, a barrage panel covering the candidate barrage area is displayed; wherein the candidate barrage area includes at least one historical interaction control carrying barrage content; in the barrage panel, all historical interaction controls in the candidate barrage area are displayed.
[0179] In some embodiments, the bullet screen panel also includes a management control; the device also includes a panel management module, and the panel management module is used to control the bullet screen panel to be in a management mode in response to a trigger operation on the management control; in the bullet screen panel in the management mode, at least one operation control is displayed, and the operation control is used to indicate the execution of an interactive operation on a historical interactive control in the bullet screen panel, and different interactive operations indicated by different operation controls are different; in response to a trigger operation on a target operation control in the at least one operation control, the target interactive operation indicated by the target operation control is executed for the historical interactive control in the bullet screen panel.
[0180] In some embodiments, the target operation control is a delete control, and the panel management module is further used to respond to a state conversion instruction for the historical interaction control in the bullet screen panel, control the historical interaction control in the bullet screen panel to be in an optional state; respond to a selection instruction for a target historical interaction control in the historical interaction control in an optional state, switch the target historical interaction control from the optional state to a selected state; respond to a trigger operation for the delete control, delete the target historical interaction control in the selected state from the bullet screen panel.
[0181] In some embodiments, the target operation control is an add control, and the panel management module is also used to display a text input bar in response to a trigger operation for the add control; display the input text content in the text input bar; in response to a control generation instruction for the text content, when the text content is different from the barrage content carried by the historical interactive control, generate an interactive control carrying the text content, and display the generated interactive control carrying the text content in the barrage panel.
[0182] The embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the above-mentioned bullet screen sending method of the embodiment of the present application.
[0183] The embodiment of the present application provides a computer-readable storage medium storing executable instructions, wherein executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the bullet screen sending method provided in the embodiment of the present application, for example, Figure 3 The method of sending barrage is shown.
[0184] In some embodiments, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disk, or a CD-ROM; or it may be various devices including one or any combination of the above memories.
[0185] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0186] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0187] As an example, the executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.
[0188] In summary, the embodiments of the present application have the following beneficial effects:
[0189] (1) By converting the editing content displayed based on the barrage editing operation into an interactive control carrying the corresponding barrage content, a target barrage of the barrage content carried by the corresponding interactive control is sent by executing a trigger operation on the interactive control. In this way, the user can generate an interactive control for sending the barrage corresponding to the corresponding barrage content by inputting the barrage content that meets his or her actual needs, thereby increasing the diversity of the interactive controls for sending barrages, thereby improving the efficiency of sending barrages.
[0190] (2) In view of the problem that the content of the hot words recommended by the barrage on each platform is fixed and lacks diversity, and the hot word data of the barrage between the platforms are not interoperable, and users cannot customize based on their personal preferences when using the native barrage hot words of the platform, this application effectively improves the efficiency of user barrage sending by identifying the text in the barrage input box and converting it into interactive controls in real time, while expanding the reserve of hot word controls, thereby enhancing the diversity of hot word types. In this way, it can effectively solve the problems of the existing hot word data on multiple platforms not being interoperable, the small number of hot word types, and the lack of customization, improve the efficiency of barrage sending, optimize the barrage screen swiping experience, and thus increase the user's enjoyment of barrage screen swiping.
[0191] It should be noted that in the embodiments of the present application, related data such as user historical behavior data are involved. When the embodiments of the present application are applied to specific products or technologies, corresponding permissions or consents need to be obtained, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0192] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.< / barrageinteractioncontroldatadetail>
Claims
1. A method for sending a bullet screen, characterized in that: The method comprises: In response to a bullet-screen editing operation on the played media content, displaying the edited bullet-screen content; Converting the bullet screen content into a first interactive control that carries the bullet screen content; The first interactive control is used to send the carried barrage content as a target barrage to the playback interface of the media content; In response to a trigger operation on the first interactive control, a target bullet screen corresponding to the bullet screen content is displayed in the playback interface of the media content.
2. The method according to claim 1, characterized in that In response to the bullet screen editing operation on the played media content, before displaying the edited bullet screen content, the method further includes: Displaying a candidate bullet screen area, wherein the candidate bullet screen area includes at least one candidate text; The barrage editing operation is a selection operation for a target candidate text in the candidate barrage area, and the display of the edited barrage content in response to the barrage editing operation for the played media content includes: Based on the played media content, in response to a selection operation on a target candidate text in the candidate bullet screen area, the selected target candidate text is used as the edited bullet screen content, and the target candidate text is displayed.
3. The method according to claim 2, characterized in that When the bullet-screen content is converted into a first interactive control carrying the bullet-screen content, the method further includes: Converting the target candidate text in the candidate bullet screen area into a second interactive control, where the second interactive control carries the target candidate text and exists independently of the first interactive control; In response to a trigger operation on the second interactive control, a bullet screen corresponding to the target candidate text is displayed in the playback interface of the media content.
4. The method according to claim 3, characterized in that The method further comprises: Display a key area, wherein the key area includes a plurality of virtual keys; In response to a triggering operation on any one of the virtual keys in the key area, the second interactive control in the candidate bullet screen area is restored to the target candidate text.
5. The method according to claim 2, characterized in that The candidate barrage area includes at least one third interactive control that is historically generated and carries barrage content, different third interactive controls carry different barrage content, and the barrage content carried by the third interactive control is different from the barrage content carried by the first interactive control; The method further comprises: In response to a triggering operation on a target third interactive control among the at least one third interactive control, a barrage corresponding to the barrage content carried by the target third interactive control is displayed in the playback interface of the media content.
6. The method according to claim 2, characterized in that The candidate barrage area includes at least one historical interaction control carrying barrage content arranged in sequence, and the historical interaction control at the first place among the at least one historical interaction control is the most recently used interaction control; The method further comprises: In response to a triggering operation on a target history interaction control in the at least one history interaction control, a bullet screen corresponding to the bullet screen content carried by the target history interaction control is displayed in the playback interface of the media content, and In the candidate bullet screen area, the target historical interaction control is moved to the first position of the at least one historical interaction control in the candidate bullet screen area.
7. The method according to claim 1, characterized in that The method further comprises: In the playback interface of the media content, display at least one other bullet comment; In response to a copy operation on a target other bullet screen in the at least one other bullet screen, generating an interactive control corresponding to the target other bullet screen; In response to a triggering operation of an interactive control corresponding to the target other bullet screen, the other bullet screen is displayed again in the playback interface of the media content.
8. The method according to claim 1, characterized in that The method further comprises: Display other edited bullet comments and bullet comment sending controls; In response to a sending instruction for the other barrage content triggered based on the barrage sending control, in the playback interface of the media content, a barrage corresponding to the other barrage content is displayed, and an interactive control carrying the other barrage content is generated; In response to a triggering operation on an interactive control carrying the other barrage content, the barrage corresponding to the other barrage content is displayed again in the playback interface of the media content.
9. The method according to claim 1, characterized in that The first interactive control is displayed in the control display area. After the bullet screen content is converted into the first interactive control carrying the bullet screen content, the method further includes: When a fourth interactive control carrying barrage content is also displayed in the control display area, in response to a trigger operation on the fourth interactive control, a barrage corresponding to the barrage content carried by the fourth interactive control is displayed in the playback interface of the media content; The barrage content carried by the fourth interactive control is different from the barrage content carried by the first interactive control; The first interactive control is cancelled and the fourth interactive control is moved to the position of the first interactive control.
10. The method according to claim 1, characterized in that The converting the bullet-screen content into a first interactive control carrying the bullet-screen content includes: In response to the bullet screen editing operation, display the completion time of the corresponding bullet screen editing operation; When the completion time reaches the target completion time, the bullet screen content is converted into a first interactive control that carries the bullet screen content.
11. The method according to claim 1, characterized in that The step of displaying a target bullet screen corresponding to the bullet screen content in the playback interface of the media content in response to the triggering operation on the first interactive control includes: In response to a pressing operation on the first interactive control, displaying a plurality of target bullet comments corresponding to the bullet comment content in the playback interface of the media content; Among them, the number of the multiple target bullet screens is positively correlated with at least one of the pressing duration and the pressing strength of the pressing operation.
12. The method according to claim 1, characterized in that The step of displaying a target bullet screen corresponding to the bullet screen content in the playback interface of the media content in response to the triggering operation on the first interactive control includes: In response to a drag operation on the first interactive control, displaying, in the playback interface of the media content, a process of the first interactive control being dragged and a plurality of target bullet comments corresponding to the bullet comment content; Among them, the number of the multiple target bullet screens is positively correlated with the dragging distance of the dragging operation.
13. The method according to claim 11 or 12, characterized in that The method further comprises: At one of the positions above, below, on the left, and on the right of the first interactive control, at least one of the following is displayed: The process in which a plurality of bullet comments appear in sequence from the positions of the first interactive controls, move along the target direction, and gradually disappear; A numerical value corresponding to the number of the multiple target bullet comments.
14. The method according to claim 2, characterized in that The method further comprises: Display bullet screen panel controls; In response to a triggering operation on the bullet screen panel control, displaying a bullet screen panel covering the candidate bullet screen area; The candidate barrage area includes at least one historical interaction control carrying barrage content; In the bullet screen panel, all historical interactive controls in the candidate bullet screen area are displayed.
15. The method according to claim 14, characterized in that The bullet screen panel also includes a management control; the method also includes: In response to a trigger operation on the management control, controlling the bullet screen panel to be in a management mode; In the bullet screen panel in the management mode, at least one operation control is displayed, wherein the operation control is used to instruct to perform an interactive operation on a historical interactive control in the bullet screen panel, and different interactive operations indicated by different operation controls are different; In response to a trigger operation on a target operation control in the at least one operation control, a target interaction operation indicated by the target operation control is performed on the historical interaction control in the bullet screen panel.
16. The method according to claim 15, characterized in that The target operation control is a delete control, and the method further includes: In response to a state conversion instruction for a history interaction control in the bullet screen panel, controlling the history interaction control in the bullet screen panel to be in an optional state; In response to a selection instruction for a target history interaction control in a history interaction control in an optional state, switching the target history interaction control from the optional state to a selected state; The step of responding to the trigger operation on the target operation control in the at least one operation control, and executing the target interaction operation indicated by the target operation control on the history interaction control in the bullet screen panel, comprises: In response to a trigger operation for the deletion control, the target history interaction control in a selected state is deleted from the bullet screen panel.
17. The method according to claim 15, characterized in that The target operation control is an add control, and in response to a trigger operation on the target operation control in the at least one operation control, executing the target interaction operation indicated by the target operation control on the history interaction control in the bullet screen panel includes: In response to the triggering operation for adding the control, displaying a text input field; Displaying the input text content in the text input field; In response to a control generation instruction for the text content, when the text content is different from the barrage content carried by the historical interactive control, an interactive control carrying the text content is generated, and the generated interactive control carrying the text content is displayed in the barrage panel.
18. A barrage sending device, characterized in that: The device comprises: A first display module, configured to display edited bullet comment content in response to a bullet comment editing operation on the played media content; A conversion module, used to convert the barrage content into a first interactive control that carries the barrage content; wherein the first interactive control is used to send the carried barrage content as a target barrage to the playback interface of the media content; The second display module is used to display a target bullet screen corresponding to the bullet screen content in the playback interface of the media content in response to a trigger operation on the first interactive control.
19. An electronic device, characterized in that: include: A memory for storing executable instructions; The processor is used to implement the barrage sending method described in any one of claims 1 to 17 when executing the executable instructions stored in the memory.
20. A computer-readable storage medium, characterized in that: Executable instructions are stored, which are used to cause the processor to execute and implement the barrage sending method described in any one of claims 1 to 17.
21. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by the processor, the barrage sending method described in any one of claims 1 to 17 is implemented.
