CN113157172A - Barrage information display method, transmission method, device, terminal and storage medium - Google Patents

Barrage information display method, transmission method, device, terminal and storage medium Download PDF

Info

Publication number
CN113157172A
CN113157172A CN202110272536.9A CN202110272536A CN113157172A CN 113157172 A CN113157172 A CN 113157172A CN 202110272536 A CN202110272536 A CN 202110272536A CN 113157172 A CN113157172 A CN 113157172A
Authority
CN
China
Prior art keywords
bullet screen
screen information
page
display
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110272536.9A
Other languages
Chinese (zh)
Inventor
纪聪丛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Amusement Starcraft Beijing Technology Co ltd
Original Assignee
Amusement Starcraft Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Amusement Starcraft Beijing Technology Co ltd filed Critical Amusement Starcraft Beijing Technology Co ltd
Priority to CN202110272536.9A priority Critical patent/CN113157172A/en
Publication of CN113157172A publication Critical patent/CN113157172A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a bullet screen information display method, a bullet screen information sending device, a bullet screen information terminal and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: displaying pages and barrage marks in the electronic book in an electronic book display interface; responding to the trigger operation of the bullet screen mark, sending a bullet screen information display request to a server, wherein the bullet screen information display request carries a page identifier corresponding to the page, the server is used for responding to the bullet screen information display request and returning a bullet screen set, and the bullet screen set comprises the page identifier, bullet screen information and a coordinate bound with the bullet screen information; in response to receiving the set of barrage, displaying the barrage information in the page based on the coordinates. The method realizes the barrage display function of the electronic books, enables users to check the barrage information while reading the electronic books, and improves the interactivity among the users.

Description

Barrage information display method, transmission method, device, terminal and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a bullet screen information display method, a bullet screen information transmission method, a bullet screen information display device, a bullet screen information terminal, and a storage medium.
Background
With the rapid development of computer technology and various electronic book applications, more and more users read electronic books, such as novels, comics, and the like, on the internet. When a user reads the electronic book, comments can be published in the comment area of the electronic book for the author or other users to watch, and interaction with the author or other users is realized. But the comment area is actively opened by the author or other users to see the comments made by the users, so that the interactivity is poor. Therefore, how to improve the interactivity between users based on electronic books has become an urgent problem to be solved.
Disclosure of Invention
The present disclosure provides a bullet screen information display method, a bullet screen information display device, a terminal, and a storage medium, which implement a bullet screen display function and improve interactivity between users.
According to an aspect of the embodiments of the present disclosure, there is provided a bullet screen information display method, including:
displaying pages and bullet screen marks in the electronic book in an electronic book display interface, wherein the bullet screen marks comprise the number of bullet screen information corresponding to the displayed pages;
responding to the trigger operation of the bullet screen mark, sending a bullet screen information display request to a server, wherein the bullet screen information display request carries a page identifier corresponding to the page, the server is used for responding to the bullet screen information display request and returning a bullet screen set, and the bullet screen set comprises the page identifier, bullet screen information and a coordinate bound with the bullet screen information;
in response to receiving the set of barrage, displaying the barrage information in the page based on the coordinates.
According to the method provided by the embodiment of the disclosure, the bullet screen marks are displayed in the page, the number of bullet screen information is displayed in the bullet screen marks, so that a user can visually know the condition of the bullet screen information corresponding to the current page, the bullet screen information corresponding to the page is acquired from the server by triggering the bullet screen marks, the detailed bullet screen information is displayed in the page, the bullet screen display function of an electronic book is realized, the user can check the bullet screen information while reading the electronic book, and the interactivity between the users is improved. And the bullet screen information is displayed based on the coordinates bound with the bullet screen information, so that the bullet screen information is displayed at a fixed position in the page, and the display effect of the bullet screen information is improved.
In some embodiments, a first page area of the page is displayed in the electronic book display interface, the barrage information display request carries a page identifier corresponding to the page and a coordinate range corresponding to the first page area, and coordinates included in the barrage set belong to the coordinate range;
the displaying, in response to receiving the set of barrage, the barrage information in the page based on the coordinates includes:
in response to receiving the barrage set, displaying the barrage information in the first page area based on the coordinates bound with the barrage information.
In the embodiment of the disclosure, when the electronic book display interface only displays a partial region of a page, only the bullet screen information corresponding to the partial region needs to be acquired, and not all the bullet screen information corresponding to the page needs to be acquired, so that unnecessary information transmission is reduced.
In some embodiments, at least two pages are displayed in the electronic book display interface, and the bullet screen information display request carries page identifiers corresponding to the at least two pages;
the displaying, in response to receiving the set of barrage, the barrage information in the page based on the coordinates includes:
and responding to the received bullet screen set, and respectively displaying each bullet screen information in the corresponding page based on the coordinate bound with each bullet screen information, wherein bullet screen information corresponding to the next page is displayed after bullet screen information corresponding to the previous page is displayed, and the previous page is positioned in the electronic book before the next page.
In the embodiment of the present disclosure, the bullet screen display function of the electronic book is further applicable to the situation of displaying at least two pages, and the bullet screen information can be sequentially displayed in the at least two pages, so that the operation of displaying the bullet screen information is not required to be performed once when one page is displayed, the user operation is simplified, and the display efficiency of the bullet screen information is improved.
In some embodiments, a first page and a second page area in a second page are displayed in the electronic book display interface, and the bullet screen information display request further carries a coordinate range corresponding to the second page area.
In some embodiments, the displaying the page and the bullet screen mark in the electronic book display interface includes:
responding to the display of the page in the electronic book display interface, sending a bullet screen quantity acquisition request to the server, wherein the bullet screen quantity acquisition request carries the page identification, and the server is used for responding to the bullet screen quantity acquisition request and returning the quantity of bullet screen information corresponding to the page;
in response to receiving the quantity, displaying the bullet screen mark on an upper layer of the page, and displaying the quantity in the bullet screen mark.
In the embodiment of the disclosure, before the detailed bullet screen information is displayed, the number of the bullet screen information is displayed to the user, so that the user can more intuitively know the condition of the bullet screen information corresponding to the current page.
In some embodiments, the sending a bullet screen number obtaining request to the server in response to displaying the page in the electronic book display interface includes:
responding to a first page area in the page displayed in the electronic book interface, and sending the bullet screen quantity acquisition request to the server, wherein the bullet screen quantity acquisition request carries a page identifier corresponding to the page and a coordinate range corresponding to the first page area, and the quantity is the quantity of bullet screen information bound with coordinates in the coordinate range.
In the embodiment of the disclosure, only the number of the bullet screen information corresponding to the page area displayed in the electronic book display interface needs to be acquired, and the number of all the bullet screen information corresponding to the page does not need to be acquired, so that a user can more intuitively know the condition of the bullet screen information corresponding to the current electronic book display interface.
In some embodiments, the sending a bullet screen number obtaining request to the server in response to displaying the page in the electronic book display interface includes:
responding to at least two pages displayed in the electronic book display interface, and sending the bullet screen quantity acquisition request to the server, wherein the bullet screen quantity acquisition request carries page identifications corresponding to the at least two pages, and the quantity is the sum of the quantity of bullet screen information bound with the coordinates in the at least two pages.
In the embodiment of the present disclosure, the bullet screen display function of the electronic book is further applicable to the situation of displaying at least two pages, and the number of bullet screen information corresponding to the at least two pages can be obtained simultaneously, so that the number of bullet screen information obtained once per page is not required to be displayed, and the data obtaining efficiency is improved.
In some embodiments, the sending a bullet screen number obtaining request to the server in response to displaying the page in the electronic book display interface includes:
responding to a second page area in a first page and a second page displayed in the electronic book interface, and sending the bullet screen quantity acquisition request to the server, wherein the bullet screen quantity acquisition request carries a page identifier corresponding to each page and a coordinate range corresponding to the second page area, the quantity is the sum of a first quantity and a second quantity, the first quantity is the quantity of bullet screen information bound with coordinates in the first page, and the second quantity is the quantity of bullet screen information bound with coordinates in the coordinate range.
In the embodiment of the present disclosure, the bullet screen display function of the electronic book is further applicable to displaying two pages, and one page of the two pages only displays a part of the pages, so that the number of bullet screen information corresponding to the two pages can be simultaneously obtained, and the number of bullet screen information obtained once per page is not required to be displayed, thereby improving the data obtaining efficiency, and enabling a user to more intuitively know the condition of bullet screen information corresponding to the current electronic book display interface.
In some embodiments, said displaying said bullet screen indicia on an upper layer of said page and said quantity in said bullet screen indicia in response to receiving said quantity comprises:
in response to receiving the number, displaying the bullet screen mark on an upper layer of any page of the at least two pages, and displaying the number in the bullet screen mark.
In the embodiment of the disclosure, the barrage mark is displayed in any page of at least two pages, but the barrage mark is not limited to be displayed in the fixed page, so that the flexibility of display of the barrage mark is improved.
In some embodiments, the sending a bullet screen number obtaining request to the server in response to displaying the page in the electronic book display interface includes:
and under the condition that the bullet screen display function is in an opening state, responding to the display of the page in the electronic book display interface, and sending the bullet screen quantity acquisition request to the server.
In the embodiment of the disclosure, the bullet screen display function is in the open state, which indicates that the user needs to check the bullet screen information, and the number of the bullet screen information is obtained from the server in the open state, so that unnecessary operations are reduced, and the user is prevented from obtaining the number from the server when the bullet screen information is not required to be checked.
In some embodiments, after the receiving the number, displaying the bullet screen mark on the upper layer of the page, and displaying the number in the bullet screen mark, the bullet screen information display method further includes:
responding to the dragging operation of the bullet screen mark, and displaying the bullet screen mark according to the track of the dragging operation;
and responding to the termination of the dragging operation, and displaying the bullet screen mark at the termination position of the dragging operation.
In the embodiment of the disclosure, the bullet screen mark displayed in the page can be dragged, and the user can drag the bullet screen mark to any position, so that the bullet screen mark is prevented from being displayed at a fixed position, and the electronic book reading of the user is influenced.
In some embodiments, said displaying, in response to receiving the set of barrages, the barrage information in the page based on the coordinates includes:
and responding to the received bullet screen set, and displaying the bullet screen information in the page based on the coordinates so that the target position point of the bubble where the bullet screen information is located at the position point corresponding to the coordinates.
In the embodiment of the present disclosure, when the bullet screen information is displayed based on the coordinate bound with the bullet screen information, since the display range of the bubble is large, the target position point of the bubble is located at the position point corresponding to the coordinate, and the display position of the bullet screen information can be more accurate.
In some embodiments, the including in the barrage set a plurality of barrage information, the displaying in the page the barrage information based on the coordinates in response to receiving the barrage set includes:
the bullet screen set also comprises sending time corresponding to bullet screen information, the bullet screen information is sequentially displayed in the page on the basis of the coordinates bound by the bullet screen information and the corresponding sending time in response to the receipt of the bullet screen set, and a first reference time interval is reserved between the display time of two adjacent bullet screen information of the sending time; alternatively, the first and second electrodes may be,
the bullet screen set further comprises audit passing time corresponding to the bullet screen information, the bullet screen set is responded to and received, the bullet screen information is sequentially displayed in the page on the basis of the coordinates bound by the bullet screen information and the corresponding audit passing time, and second reference time is arranged between the display time of two adjacent bullet screen information in the audit passing time.
In the embodiment of the disclosure, according to the sending time or the order of examining and verifying the passing time, a plurality of bullet screen information are displayed in sequence, and a period of time is kept between two adjacent bullet screen information, so that the display effect of the bullet screen information is improved, a plurality of bullet screen information are prevented from being displayed simultaneously, and the bullet screen information is shielded mutually.
In some embodiments, the bullet screen set includes a plurality of bullet screen information, and after the bullet screen information is displayed in the page based on the coordinates in response to receiving the bullet screen set, the bullet screen information display method further includes:
and circularly displaying the bullet screen information under the condition that the bullet screen information is displayed completely and the page is continuously displayed in the electronic book display interface.
In the embodiment of the disclosure, the bullet screen information is displayed in a circulating manner, the display times of the bullet screen information are increased, a user can check the bullet screen information for many times, and the display effect of the bullet screen information is improved.
In some embodiments, said displaying, in response to receiving the set of barrages, the barrage information in the page based on the coordinates includes:
and canceling the display of the bullet screen information after the display duration of the bullet screen information reaches a third reference duration, wherein the display duration refers to the duration of an interval between disappearance time and appearance time of the bullet screen information.
In the embodiment of the disclosure, the bullet screen information disappears after being displayed for a period of time, so that the phenomenon that the bullet screen information displayed in the page is too much to influence the user to read the electronic book due to the fact that a plurality of bullet screen information are simultaneously displayed in the page can be avoided.
According to another aspect of the embodiments of the present disclosure, there is provided a bullet screen information display method, including:
receiving a bullet screen information display request sent by a terminal, wherein the terminal is used for responding to triggering operation of bullet screen marks in an electronic book display interface and sending the bullet screen information display request, and the bullet screen information display request carries a page identification corresponding to a page in the electronic book display interface;
responding to the bullet screen information display request, sending a bullet screen set to the terminal, wherein the bullet screen set comprises the page identification, bullet screen information and coordinates bound with the bullet screen information, and the terminal is used for responding to the receipt of the bullet screen set and displaying the bullet screen information in the page based on the coordinates.
According to the method provided by the embodiment of the disclosure, the acquired bullet screen information corresponding to the page is sent to the terminal, so that the terminal displays the bullet screen information in the page, the bullet screen display function of the electronic book is realized, a user can check the bullet screen information while reading the electronic book, and the interactivity between the users is improved. And the terminal displays the bullet screen information based on the coordinates bound with the bullet screen information, so that the bullet screen information is displayed at a fixed position in the page, and the display effect of the bullet screen information is improved.
In some embodiments, before receiving the barrage information display request sent by the terminal, the barrage information display method further includes:
receiving a bullet screen quantity acquisition request sent by the terminal, wherein the terminal is used for responding to the page displayed in the electronic book display interface and sending the bullet screen quantity acquisition request, and the bullet screen quantity acquisition request carries the page identifier;
and responding to the bullet screen quantity acquisition request, sending the quantity of the bullet screen information corresponding to the page to the terminal, wherein the terminal is used for responding to the received quantity, displaying the bullet screen mark on the upper layer of the page and displaying the quantity in the bullet screen mark.
In the embodiment of the disclosure, before the terminal displays the detailed bullet screen information, the number of the bullet screen information is sent to the terminal first, so that the terminal displays the number of the bullet screen information first, and a user can know the condition of the bullet screen information corresponding to the current page more intuitively.
In some embodiments, the sending, to the terminal, the number of the bullet screen information corresponding to the page includes:
and sending the number to the terminal under the condition that the number is greater than 0.
In the embodiment of the present disclosure, when the number of the bullet screen information is 0, even if the number is sent to the terminal, the terminal does not display the bullet screen information, and therefore, the number is sent only when the number is greater than 0, which can reduce unnecessary operations.
In some embodiments, the sending, to the terminal, a bullet screen set in response to the bullet screen information display request includes:
responding to the bullet screen information display request, and inquiring bullet screen information corresponding to the page identification;
and responding to the condition that the bullet screen information meets the sending condition, and adding the page identification, the bullet screen information and the coordinate bound with the bullet screen information into the bullet screen set.
In the embodiment of the disclosure, the bullet screen information meeting the sending condition is sent to the terminal, so that the quality of the sent bullet screen information is improved.
In some embodiments, the transmission condition comprises at least one of:
the bullet screen information has a corresponding audit passing mark, and the audit passing mark indicates that the bullet screen information is approved; alternatively, the first and second electrodes may be,
the bullet screen information is provided with a corresponding unexpired mark, the unexpired mark indicates that the duration does not exceed a fourth reference duration, and the duration refers to the duration of an interval between the current time and the sending time corresponding to the bullet screen information.
In the embodiment of the disclosure, the bullet screen information which passes the audit is sent to the terminal, so that the bullet screen information displayed by the terminal is allowed, the unexpired bullet screen information is sent to the terminal, the bullet screen information with longer duration can be filtered, and the quality of the sent bullet screen information is improved.
According to another aspect of the embodiments of the present disclosure, there is provided a method for sending a bullet screen information, where the method includes:
displaying pages in the electronic book in an electronic book display interface;
responding to a bullet screen sending operation in the electronic book display interface, and displaying a movable bullet screen window, wherein the bullet screen window comprises bullet screen information to be sent;
responding to the confirmation operation of the bullet screen window, and binding the coordinates of the bullet screen window in the page with the bullet screen information;
and sending a bullet screen information sending request to a server, wherein the bullet screen information sending request carries the page identification corresponding to the page, the bullet screen information and the coordinates, and the server is used for responding to the bullet screen information sending request and correspondingly storing the page identification, the bullet screen information and the coordinates.
According to the method provided by the embodiment of the disclosure, when the bullet screen information is sent based on the currently displayed page, the bullet screen information is sent, and the bullet screen information and the coordinates corresponding to the bullet screen window are bound, so that the display position of the bullet screen information in the page is determined, the bullet screen information can be displayed based on the bound coordinates, and the display effect of the bullet screen information is improved.
In some embodiments, the binding the coordinates of the bullet screen window in the page with the bullet screen information in response to the confirmation operation on the bullet screen window includes:
responding to the dragging operation of the bullet screen window, and displaying the bullet screen window according to the track of the dragging operation;
and under the condition that the dragging operation is terminated, responding to the confirmation operation of the bullet screen window, and binding the coordinates corresponding to the termination position of the dragging operation with the bullet screen information.
In the embodiment of the disclosure, by dragging the bullet screen window, the bullet screen window is moved to the position where the user wants to display the bullet screen information, and the bullet screen information is bound with the coordinates of the position, so that the bullet screen information has pertinence.
In some embodiments, the bullet screen window includes a bubble and bullet screen information, the bullet screen information is located in the bubble, and the binding of the coordinates of the bullet screen window in the page with the bullet screen information in response to the confirmation operation on the bullet screen window includes:
and responding to the confirmation operation of the bullet screen window, and binding the coordinates corresponding to the target position point of the bubble with the bullet screen information.
In the embodiment of the disclosure, because the display range of the bubble is large, the coordinate corresponding to the target position point of the bubble is bound with the bullet screen information, and the display position of the bullet screen information can be determined more accurately.
In some embodiments, after sending the barrage information sending request to the server, the barrage information sending method further includes:
and displaying the bullet screen information in the page based on the coordinates.
In the embodiment of the disclosure, after the user sends the bullet screen information, the sent bullet screen information can be directly displayed in the current page, so that the user can determine that the bullet screen information is successfully sent.
In some embodiments, the displaying a movable bullet screen window in response to a bullet screen sending operation in the electronic book display interface includes:
responding to the bullet screen sending operation, displaying a covering layer on the upper layer of the page, and displaying the bullet screen window in the covering layer;
after the bullet screen information sending request is sent to the server, the bullet screen information sending method further comprises the following steps:
and canceling the display of the cover layer.
In the embodiment of the disclosure, the screen window is guaranteed to be operated at present by displaying the screen layer on the page, and misoperation to the page is avoided when the screen window is operated.
In some embodiments, the binding the coordinates of the bullet screen window in the page with the bullet screen information in response to the confirmation operation on the bullet screen window includes:
and responding to the trigger operation of determining a sending control in the bullet screen window, and binding the coordinates of the bullet screen window in the page with the bullet screen information.
In the embodiment of the disclosure, under the condition that the sending control is triggered, the coordinates and the bullet screen information are bound, so that the coordinates of the current position of the bullet screen window and the bullet screen information are only bound, and the bullet screen window is prevented from being bound with a plurality of coordinates when being displayed.
In some embodiments, after the displaying of the movable bullet screen window in response to the bullet screen sending operation in the electronic book display interface, the bullet screen information sending method further includes:
and canceling the display of the bullet screen window in response to the cancellation of the trigger operation of the sending control in the bullet screen window.
In the embodiment of the disclosure, the bullet screen window is cancelled, so that the sending of the bullet screen information is cancelled, and the sending can be cancelled in time under the condition that the user generates misoperation when sending the bullet screen information.
According to still another aspect of the embodiments of the present disclosure, there is provided a bullet screen information display device including:
the page display unit is configured to be executed in an electronic book display interface, and display pages in the electronic book and bullet screen marks, wherein the bullet screen marks comprise the number of bullet screen information corresponding to the displayed pages;
a display request sending unit, configured to execute a trigger operation in response to the barrage mark, and send a barrage information display request to a server, where the barrage information display request carries a page identifier corresponding to the page, and the server is configured to return a barrage set in response to the barrage information display request, where the barrage set includes the page identifier, the barrage information, and a coordinate bound to the barrage information;
a bullet screen information display unit configured to perform displaying the bullet screen information in the page based on the coordinates in response to receiving the bullet screen set.
In some embodiments, a first page area of the page is displayed in the electronic book display interface, the barrage information display request carries a page identifier corresponding to the page and a coordinate range corresponding to the first page area, and coordinates included in the barrage set belong to the coordinate range;
a bullet screen information display unit configured to perform, in response to receiving the bullet screen set, displaying the bullet screen information in the first page area based on the coordinates bound with the bullet screen information.
In some embodiments, at least two pages are displayed in the electronic book display interface, and the bullet screen information display request carries page identifiers corresponding to the at least two pages;
the bullet screen information display unit is configured to execute, in response to receiving the bullet screen set, displaying each bullet screen information in a corresponding page respectively based on a coordinate bound with each bullet screen information, wherein bullet screen information corresponding to a next page is displayed after bullet screen information corresponding to a previous page is displayed, and the previous page is located in the electronic book before the next page.
In some embodiments, a first page and a second page area in a second page are displayed in the electronic book display interface, and the bullet screen information display request further carries a coordinate range corresponding to the second page area.
In some embodiments, the page display unit includes:
the quantity obtaining subunit is configured to execute sending a bullet screen quantity obtaining request to the server in response to the page being displayed in the electronic book display interface, where the bullet screen quantity obtaining request carries the page identifier, and the server is configured to return the quantity of bullet screen information corresponding to the page in response to the bullet screen quantity obtaining request;
a mark display subunit configured to perform, in response to receiving the number, displaying the bullet screen mark on an upper layer of the page and displaying the number in the bullet screen mark.
In some embodiments, the quantity obtaining subunit is configured to execute, in response to displaying a first page area in the page in the electronic book interface, sending, to the server, the bullet screen quantity obtaining request, where the bullet screen quantity obtaining request carries a page identifier corresponding to the page and a coordinate range corresponding to the first page area, and the quantity is a quantity of bullet screen information bound to coordinates in the coordinate range.
In some embodiments, the quantity obtaining subunit is configured to execute, in response to displaying at least two pages in the electronic book display interface, sending the barrage quantity obtaining request to the server, where the barrage quantity obtaining request carries page identifiers corresponding to the at least two pages, and the quantity is a sum of quantities of barrage information bound to coordinates in the at least two pages.
In some embodiments, the quantity obtaining subunit is configured to execute, in response to displaying a first page and a second page area in a second page in the electronic book interface, sending, to the server, the barrage quantity obtaining request, where the barrage quantity obtaining request carries a page identifier corresponding to each page and a coordinate range corresponding to the second page area, where the quantity is a sum of a first quantity and a second quantity, the first quantity is a quantity of barrage information bound to coordinates in the first page, and the second quantity is a quantity of barrage information bound to coordinates in the coordinate range.
In some embodiments, the mark displaying subunit is configured to perform, in response to receiving the number, displaying the bullet screen mark on an upper layer of any one of the at least two pages, and displaying the number in the bullet screen mark.
In some embodiments, the quantity obtaining subunit is configured to send the bullet screen quantity obtaining request to the server in response to displaying the page in the electronic book display interface when a bullet screen display function is in an on state.
In some embodiments, the page display unit further includes:
a dragging subunit configured to perform a dragging operation in response to the bullet screen mark, and display the bullet screen mark according to a track of the dragging operation;
the mark display subunit is further configured to perform displaying the bullet screen mark at a termination position of the drag operation in response to termination of the drag operation.
In some embodiments, the bullet screen information display device further comprises:
a mark cancellation display unit configured to perform cancellation of display of the bullet screen mark.
In some embodiments, the barrage information display unit is configured to perform, in response to receiving the barrage set, displaying the barrage information in the page based on the coordinates, so that a target position point of a bubble where the barrage information is located at a position point corresponding to the coordinates.
In some embodiments, the barrage set includes a plurality of barrage information, and the barrage information display unit is configured to perform:
the bullet screen set also comprises sending time corresponding to bullet screen information, the bullet screen information is sequentially displayed in the page on the basis of the coordinates bound by the bullet screen information and the corresponding sending time in response to the receipt of the bullet screen set, and a first reference time interval is reserved between the display time of two adjacent bullet screen information of the sending time; alternatively, the first and second electrodes may be,
the bullet screen set further comprises audit passing time corresponding to the bullet screen information, the bullet screen set is responded to and received, the bullet screen information is sequentially displayed in the page on the basis of the coordinates bound by the bullet screen information and the corresponding audit passing time, and second reference time is arranged between the display time of two adjacent bullet screen information in the audit passing time.
In some embodiments, the barrage set includes a plurality of barrage information, and the barrage information display unit is further configured to perform display of the plurality of barrage information in a loop when the display of the plurality of barrage information is completed and the page continues to be displayed in the electronic book display interface.
In some embodiments, the bullet screen information display unit is configured to perform cancellation of displaying the bullet screen information after a display duration of the bullet screen information reaches a third reference duration, where the display duration refers to a duration of an interval between a disappearance time and a appearance time of the bullet screen information.
According to still another aspect of the embodiments of the present disclosure, there is provided a bullet screen information display device including:
the display request receiving unit is configured to execute a bullet screen information display request sent by a receiving terminal, wherein the terminal is used for responding to triggering operation of bullet screen marks in an electronic book display interface and sending the bullet screen information display request, and the bullet screen information display request carries a page identifier corresponding to a page in the electronic book display interface;
and the bullet screen set sending unit is configured to execute responding to the bullet screen information display request and send a bullet screen set to the terminal, wherein the bullet screen set comprises the page identification, bullet screen information and coordinates bound with the bullet screen information, and the terminal is used for responding to the receipt of the bullet screen set and displaying the bullet screen information in the page based on the coordinates.
In some embodiments, the bullet screen information display device further comprises:
an obtaining request receiving unit configured to execute receiving of a bullet screen quantity obtaining request sent by the terminal, where the terminal is configured to send the bullet screen quantity obtaining request in response to displaying the page in the electronic book display interface, and the bullet screen quantity obtaining request carries the page identifier;
the quantity sending unit is configured to execute sending the quantity of the bullet screen information corresponding to the page to the terminal in response to the bullet screen quantity obtaining request, and the terminal is used for displaying the bullet screen marks on the upper layer of the page in response to receiving the quantity and displaying the quantity in the bullet screen marks.
In some embodiments, the number transmitting unit is configured to perform transmitting the number to the terminal if the number is greater than 0.
In some embodiments, the barrage set sending unit is configured to perform:
responding to the bullet screen information display request, and inquiring bullet screen information corresponding to the page identification;
and responding to the condition that the bullet screen information meets the sending condition, and adding the page identification, the bullet screen information and the coordinate bound with the bullet screen information into the bullet screen set.
In some embodiments, the transmission condition comprises at least one of:
the bullet screen information has a corresponding audit passing mark, and the audit passing mark indicates that the bullet screen information is approved; alternatively, the first and second electrodes may be,
the bullet screen information is provided with a corresponding unexpired mark, the unexpired mark indicates that the duration does not exceed a fourth reference duration, and the duration refers to the duration of an interval between the current time and the sending time corresponding to the bullet screen information.
According to still another aspect of the embodiments of the present disclosure, there is provided a bullet screen information transmitting apparatus including:
the page display unit is configured to be executed in an electronic book display interface and display pages in the electronic book;
a window display unit configured to perform a bullet screen sending operation in response to the electronic book display interface, and display a movable bullet screen window, where the bullet screen window includes bullet screen information to be sent;
a coordinate binding unit configured to perform binding of coordinates of the bullet screen window in the page with the bullet screen information in response to a confirmation operation of the bullet screen window;
the bullet screen information sending unit is configured to execute sending of a bullet screen information sending request to a server, the bullet screen information sending request carries the page identification, the bullet screen information and the coordinates corresponding to the page, and the server is used for responding to the request of the bullet screen information sending device and correspondingly storing the page identification, the bullet screen information and the coordinates.
In some embodiments, the coordinate binding unit is configured to perform:
responding to the dragging operation of the bullet screen window, and displaying the bullet screen window according to the track of the dragging operation;
and under the condition that the dragging operation is terminated, responding to the confirmation operation of the bullet screen window, and binding the coordinates corresponding to the termination position of the dragging operation with the bullet screen information.
In some embodiments, the barrage window includes bubbles and barrage information, the barrage information is located in the bubbles, and the coordinate binding unit is configured to perform a confirmation operation on the barrage window, and bind coordinates corresponding to a target position point of the bubbles with the barrage information.
In some embodiments, the bullet screen information sending device further includes:
a bullet screen information display unit configured to perform displaying the bullet screen information in the page based on the coordinates.
In some embodiments, the window display unit is further configured to perform:
responding to the bullet screen sending operation, displaying a covering layer on the upper layer of the page, and displaying the bullet screen window in the covering layer;
and canceling the display of the cover layer.
In some embodiments, the coordinate binding unit is configured to perform a trigger operation on the determined sending control in the bullet screen window, and bind the coordinates of the bullet screen window in the page with the bullet screen information.
In some embodiments, the bullet screen information sending device further includes:
and the cancellation display unit is configured to execute the triggering operation of the cancellation sending control in response to the bullet screen window, and cancel the display of the bullet screen window.
According to still another aspect of the embodiments of the present disclosure, there is provided a terminal, including:
one or more processors;
a memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to execute the bullet screen information display method or the bullet screen information transmission method of the above aspects.
According to still another aspect of the embodiments of the present disclosure, there is provided a server including:
one or more processors;
a memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to execute the bullet screen information display method or the bullet screen information transmission method of the above aspects.
According to still another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the bullet screen information display method or the bullet screen information transmission method according to the above aspect.
According to still another aspect of the embodiments of the present disclosure, there is provided a computer program product including a computer program executed by a processor to implement the bullet screen information display method or the bullet screen information transmission method of the above aspect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram illustrating one implementation environment in accordance with an example embodiment.
Fig. 2 is a flowchart illustrating a bullet screen information display method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating another bullet screen information display method according to an example embodiment.
Fig. 4 is a flowchart illustrating another bullet screen information display method according to an example embodiment.
FIG. 5 is a schematic diagram illustrating an electronic book presentation interface in accordance with an exemplary embodiment.
FIG. 6 is a schematic diagram illustrating another ebook display interface, according to an example embodiment.
FIG. 7 is a schematic diagram illustrating another ebook display interface, according to an example embodiment.
FIG. 8 is a schematic diagram illustrating another ebook display interface, according to an example embodiment.
Fig. 9 is a flowchart illustrating a bullet screen information sending method according to an exemplary embodiment.
Fig. 10 is a flowchart illustrating another bullet screen information sending method according to an exemplary embodiment.
FIG. 11 is a schematic diagram illustrating another ebook display interface, according to an example embodiment.
Fig. 12 is a block diagram illustrating a bullet screen information display device according to an exemplary embodiment.
Fig. 13 is a block diagram illustrating another bullet screen information display device according to an exemplary embodiment.
Fig. 14 is a block diagram illustrating another bullet screen information display device according to an exemplary embodiment.
Fig. 15 is a block diagram illustrating a bullet screen information transmitting apparatus according to an exemplary embodiment.
Fig. 16 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment.
Fig. 17 is a block diagram illustrating a configuration of a server according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the description of the above-described figures are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
As used in this disclosure, the terms "at least one," "a plurality," "each," "any," at least one includes one, two, or more than two, and a plurality includes two or more than two, each referring to each of the corresponding plurality, and any referring to any one of the plurality. For example, the plurality of bullet screen information includes 3 bullet screen information, each of which refers to each of the 3 bullet screen information, and any one of which refers to any one of the 3 bullet screen information, which can be the first, the second, or the third.
It should be noted that the user information (including but not limited to user device information, user personal information, etc.) referred to in the present disclosure is information authorized by the user or sufficiently authorized by each party.
FIG. 1 is a schematic illustration of an implementation environment provided in accordance with an example embodiment, the implementation environment comprising: a terminal 101 and a server 102, wherein the terminal 101 and the server 102 are connected through a network, and can interact with the server 102 through the network connection.
The terminal 101 is a portable, pocket, hand-held terminal, such as a mobile phone, a computer, a tablet computer, and the like. The server 102 is a server, or a server cluster composed of several servers, or a cloud computing service center.
In some embodiments, the terminal 101 has installed thereon an application served by the server 102, through which the terminal 101 can implement functions such as data transmission, message interaction, bullet screen information display, and the like. For example, the application is a reading application having a function of displaying an electronic book such as a novel or a cartoon, and of course, the reading application may have other functions such as a comment function and a shopping function. In some embodiments, the application is an application in the terminal 101 operating system or an application provided by a third party. In some embodiments, the server 102 is a background server for the application or a cloud server providing services such as cloud computing and cloud storage.
In some embodiments, the terminal 101 interacts with the server 102, stores the bullet screen sent by the user based on the terminal 101 into the server 102, or the terminal 101 acquires the bullet screen sent by the user from the server 102 and displays the acquired bullet screen.
The barrage information display method and the barrage information sending method provided by the embodiment of the disclosure can be applied to the scene of reading electronic books.
For example, in the context of reading caricatures. When a user reads an electronic cartoon, the electronic cartoon is opened through a target application, a first page in the electronic cartoon is displayed, if the user wants to check a bullet screen corresponding to the first page, a bullet screen display function is started, bullet screen information corresponding to the first page is acquired from a server by adopting the bullet screen information display method provided by the embodiment of the disclosure, and the bullet screen information is displayed on the upper layer of the first page according to coordinates bound with the bullet screen information, so that the user can check the bullet screen information while reading the cartoon.
If the user wants to send the bullet screen information based on the first page, the bullet screen information sending method provided by the embodiment of the disclosure is adopted, the bullet screen information is sent through the bullet screen window, the bullet screen information is bound with the coordinates corresponding to the bullet screen window, and the page identification, the bullet screen information and the coordinates corresponding to the first page are sent to the server, so that the bullet screen information is sent.
Fig. 2 is a flowchart illustrating a bullet screen information display method according to an exemplary embodiment, and referring to fig. 2, an execution subject of the method is a terminal, and the method includes the following steps:
201. and displaying the page and the bullet screen mark in the electronic book display interface.
The electronic book display interface is used for displaying any page in the electronic book, the bullet screen marks comprise the number of bullet screen information corresponding to the displayed page, and the bullet screen marks are located at any position in the electronic book display interface.
202. Responding to the trigger operation of the bullet screen mark, sending a bullet screen information display request to a server, wherein the server is used for responding to the bullet screen information display request and returning a bullet screen set.
The bullet screen information display request carries a page identification corresponding to a page, the bullet screen set comprises the page identification, bullet screen information and coordinates bound with the bullet screen information, and if the bullet screen set comprises a plurality of bullet screen information, each bullet screen information has the corresponding page identification and the coordinates bound with the bullet screen information, namely, one piece of bullet screen information, the page identification corresponding to the bullet screen information and the coordinates bound with the bullet screen information are used as one piece of information, and the bullet screen set comprises a plurality of pieces of information.
203. In response to receiving the set of barrages, barrage information is displayed in the page based on the coordinates.
Determining a page corresponding to the coordinates based on the bullet screen set including the page identification corresponding to the bullet screen information and the coordinates bound with the bullet screen information, and displaying the bullet screen information at the position corresponding to the coordinates in the determined page.
According to the method provided by the embodiment of the disclosure, the bullet screen marks are displayed in the page, the number of bullet screen information is displayed in the bullet screen marks, so that a user can visually know the condition of the bullet screen information corresponding to the current page, the bullet screen information corresponding to the page is acquired from the server by triggering the bullet screen marks, the detailed bullet screen information is displayed in the page, the bullet screen display function of an electronic book is realized, the user can check the bullet screen information while reading the electronic book, and the interactivity between the users is improved. And the bullet screen information is displayed based on the coordinates bound with the bullet screen information, so that the bullet screen information is displayed at a fixed position in the page, and the display effect of the bullet screen information is improved.
In some embodiments, a first page area in a page is displayed in an electronic book display interface, a bullet screen information display request carries a page identifier corresponding to the page and a coordinate range corresponding to the first page area, and a coordinate included in a bullet screen set belongs to the coordinate range;
in response to receiving the collection of barrages, displaying barrage information in the page based on the coordinates, including:
in response to receiving the barrage set, displaying the barrage information in the first page area based on the coordinates bound with the barrage information.
In some embodiments, at least two pages are displayed in the electronic book display interface, and the bullet screen information display request carries page identifiers corresponding to the at least two pages;
in response to receiving the collection of barrages, displaying barrage information in the page based on the coordinates, including:
and responding to the received bullet screen set, and respectively displaying each bullet screen information in the corresponding page based on the coordinate bound with each bullet screen information, wherein bullet screen information corresponding to the next page is displayed after bullet screen information corresponding to the previous page is displayed, and the previous page is positioned in front of the next page in the electronic book.
In some embodiments, the first page and the second page area in the second page are displayed in the electronic book display interface, and the bullet screen information display request further carries a coordinate range corresponding to the second page area.
In some embodiments, in the electronic book presentation interface, displaying pages in the electronic book and bullet screen marks comprises:
responding to a page displayed in an electronic book display interface, sending a bullet screen quantity acquisition request to a server, wherein the bullet screen quantity acquisition request carries a page identifier, and the server is used for responding to the bullet screen quantity acquisition request and returning the quantity of bullet screen information corresponding to the page;
in response to receiving the quantity, a bullet screen marker is displayed on an upper layer of the page, and the quantity is displayed in the bullet screen marker.
In some embodiments, in response to displaying a page in the electronic book display interface, sending a bullet screen quantity obtaining request to a server, including:
responding to a first page area in a display page in an electronic book interface, and sending a bullet screen quantity obtaining request to a server, wherein the bullet screen quantity obtaining request carries a page identification corresponding to the page and a coordinate range corresponding to the first page area, and the quantity is the quantity of bullet screen information bound with coordinates in the coordinate range.
In some embodiments, in response to displaying a page in the electronic book display interface, sending a bullet screen quantity obtaining request to a server, including:
responding to the display of at least two pages in the electronic book display interface, and sending a bullet screen quantity obtaining request to a server, wherein the bullet screen quantity obtaining request carries page identifications corresponding to the at least two pages, and the quantity is the sum of the quantity of bullet screen information of coordinates in the at least two pages.
In some embodiments, in response to displaying a page in the electronic book display interface, sending a bullet screen quantity obtaining request to a server, including:
responding to the fact that a first page and a second page area in the second page are displayed in an electronic book interface, and sending a bullet screen quantity obtaining request to a server, wherein the bullet screen quantity obtaining request carries a page identification corresponding to each page and a coordinate range corresponding to the second page area, the quantity is the sum of a first quantity and a second quantity, the first quantity is the quantity of bullet screen information bound with coordinates in the first page, and the second quantity is the quantity of bullet screen information bound with coordinates in the coordinate range.
In some embodiments, in response to receiving the quantity, displaying a bullet screen marker on an upper layer of the page and displaying the quantity in the bullet screen marker, comprising:
in response to receiving the number, a bullet screen mark is displayed on an upper layer of any one of the at least two pages, and the number is displayed in the bullet screen mark.
In some embodiments, in response to displaying a page in the electronic book display interface, sending a bullet screen quantity obtaining request to a server, including:
and under the condition that the bullet screen display function is in an open state, responding to a display page in the electronic book display interface, and sending a bullet screen quantity acquisition request to the server.
In some embodiments, in response to receiving the number, displaying a bullet screen mark on an upper layer of the page, and after displaying the number in the bullet screen mark, the bullet screen information display method further includes:
responding to the dragging operation of the bullet screen mark, and displaying the bullet screen mark according to the track of the dragging operation;
and responding to the termination of the dragging operation, and displaying the bullet screen mark at the termination position of the dragging operation.
In some embodiments, in response to receiving the collection of barrage, displaying barrage information in the page based on the coordinates, including:
and responding to the received bullet screen set, and displaying bullet screen information in the page based on the coordinates so that the target position point of the bubble where the bullet screen information is located at the position point corresponding to the coordinates.
In some embodiments, the bullet screen set includes a plurality of bullet screen information, and in response to receiving the bullet screen set, displaying the bullet screen information in the page based on the coordinates includes:
the bullet screen set also comprises sending time corresponding to the bullet screen information, and the bullet screen information is displayed in the page in sequence on the basis of the coordinates bound by the bullet screen information and the corresponding sending time in response to the receipt of the bullet screen set, wherein a first reference time length is arranged between the display time of two adjacent bullet screen information at the sending time; alternatively, the first and second electrodes may be,
the bullet screen set further comprises audit passing time corresponding to the bullet screen information, the bullet screen set is responded to and received, the bullet screen information is sequentially displayed in the page on the basis of the coordinates bound by the bullet screen information and the corresponding audit passing time, and second reference time is arranged between the display time of two adjacent bullet screen information in the audit passing time.
In some embodiments, the bullet screen set includes a plurality of bullet screen information, and in response to receiving the bullet screen set, after the bullet screen information is displayed in the page based on the coordinates, the bullet screen information display method further includes:
and circularly displaying the plurality of bullet screen information under the condition that the plurality of bullet screen information are displayed and the pages are continuously displayed in the electronic book display interface.
In some embodiments, in response to receiving the collection of barrage, displaying barrage information in the page based on the coordinates, including:
and after the display duration of the bullet screen information reaches a third reference duration, canceling the display of the bullet screen information, wherein the display duration refers to the duration of the interval between the disappearance time and the appearance time of the bullet screen information.
Fig. 3 is a flowchart illustrating a bullet screen information display method according to an exemplary embodiment, and referring to fig. 3, the method is applied to a server and includes the following steps:
301. and receiving a bullet screen information display request sent by the terminal.
The bullet screen information display request is sent by a terminal in response to a trigger operation of a bullet screen mark in an electronic book display interface, and carries a page identification corresponding to a page in the electronic book display interface;
302. and responding to the bullet screen information display request, and sending a bullet screen set to the terminal.
The bullet screen set comprises a page identification, bullet screen information and a coordinate bound with the bullet screen information. And the terminal receives the bullet screen set sent by the server, responds to the receipt of the bullet screen set and displays bullet screen information in the page based on the coordinates.
According to the method provided by the embodiment of the disclosure, the acquired bullet screen information corresponding to the page is sent to the terminal, so that the terminal displays the bullet screen information in the page, the bullet screen display function of the electronic book is realized, a user can check the bullet screen information while reading the electronic book, and the interactivity between the users is improved. And the terminal displays the bullet screen information based on the coordinates bound with the bullet screen information, so that the bullet screen information is displayed at a fixed position in the page, and the display effect of the bullet screen information is improved.
In some embodiments, before receiving the barrage information display request sent by the terminal, the barrage information display method further includes:
receiving a bullet screen quantity acquisition request sent by a terminal, wherein the terminal is used for responding to a display page in an electronic book display interface and sending the bullet screen quantity acquisition request which carries a page identifier;
responding to the bullet screen quantity acquisition request, sending the quantity of bullet screen information corresponding to the page to the terminal, wherein the terminal is used for responding to the received quantity, displaying bullet screen marks on the upper layer of the page and displaying the quantity in the bullet screen marks.
In some embodiments, sending the number of bullet screen information corresponding to the page to the terminal includes:
and in the case that the number is greater than 0, transmitting the number to the terminal.
In some embodiments, in response to the barrage information display request, sending a barrage set to the terminal, including:
responding to the bullet screen information display request, and inquiring bullet screen information corresponding to the page identification;
and responding to the condition that the bullet screen information meets the sending condition, and adding the page identification, the bullet screen information and the coordinate bound with the bullet screen information into the bullet screen set.
In some embodiments, the transmission condition comprises at least one of:
the bullet screen information has a corresponding audit passing mark, and the audit passing mark indicates that the bullet screen information is approved; alternatively, the first and second electrodes may be,
the bullet screen information has a corresponding unexpired mark, the unexpired mark indicates that the duration does not exceed the fourth reference duration, and the duration refers to the duration of an interval between the current time and the sending time corresponding to the bullet screen information.
Fig. 4 is a flowchart illustrating a bullet screen information display method according to an exemplary embodiment, and referring to fig. 4, an interaction subject of the method is a terminal and a server, and the method includes the following steps:
401. and the terminal responds to the display page in the electronic book display interface and sends a bullet screen quantity acquisition request to the server.
The electronic book display interface is used for displaying an electronic book, any page in the electronic book can be displayed in the electronic book display interface, and the page comprises Chinese characters, paintings or other contents. And opening any electronic book by the terminal, and displaying any page in the electronic book in an electronic book display interface. For example, the first page in an electronic book is displayed, or the last page that the user read last time is displayed, etc.
In the embodiment of the disclosure, when bullet screen information is displayed, the terminal may display the number of bullet screen information corresponding to a page first, and then display detailed bullet screen information, so that the terminal sends a bullet screen number acquisition request to the server, and the bullet screen number acquisition request carries a page identifier corresponding to the displayed page to indicate the number of bullet screen information in the page corresponding to the page identifier. Wherein, the page identifier is the number of pages of the page in the electronic book, the name of the page or other identifiers.
In some embodiments, a complete page is displayed in the electronic book display interface, in this case, the bullet screen number obtaining request only carries the page identifier corresponding to the page, so as to indicate that the number of all bullet screen information corresponding to the page is obtained.
In some embodiments, only a first page area in a page is displayed in the electronic book display interface, where the first page area is a partial page area in the page, and in this case, the bullet screen number obtaining request carries a page identifier corresponding to the page and a coordinate range corresponding to the first page area, so as to indicate that the number of bullet screen information bound to coordinates in the coordinate range is obtained. The first page area is any partial area in the page, for example, the first page area is an upper half area, a middle part area or a lower half area in the page; the coordinate range is used to indicate the coordinates included in the first page area, for example, the coordinate range is (50, 100, 150, 200), i.e., the range of the abscissa in the first page area is from 50 to 100, and the range of the ordinate is from 150 to 200.
In some embodiments, the terminal is provided with a target application, displays the electronic book display interface and the pages in the electronic book display interface through the target application, and sends a bullet screen quantity acquisition request to a server corresponding to the target application. For example, the target application is a reading application, the target application has a barrage function in addition to a reading function, and a user is reading an electronic book based on the target application.
In some embodiments, the terminal sends a bullet screen quantity acquisition request to the server in response to displaying a page in the electronic book display interface when the bullet screen display function is in an on state. That is to say, the operation of displaying the bullet screen information can be executed only by starting the bullet screen display function first, and if the bullet screen display function is in the closed state, the terminal only displays the page in the electronic book display interface, and does not send the bullet screen number acquisition request to the server, thereby avoiding unnecessary operations.
For example, referring to fig. 5, in a case where the terminal does not turn on the pop-up display function, any electronic book is opened, an electronic book display interface is displayed, then, any position of the electronic book display interface is clicked, a function bar is displayed at the lowermost part of the electronic book display interface, the pop-up display function is turned on in the function bar, and a circle in front of "pop-up" in fig. 5 is in a selected state, which indicates that the pop-up display function is turned on. And then the user clicks any position in the electronic book display interface again, and the function bar disappears.
In some embodiments, after the terminal starts the barrage display function in any electronic book display interface, if other electronic books are opened, the barrage display function is also started by the other electronic books. Similarly, after the terminal closes the barrage display function in any electronic book display interface, if other electronic books are opened, the barrage display function is also closed by the other electronic books. That is, the operation performed by the terminal on the bullet screen display function in the electronic book display interface corresponding to any electronic book is also applicable to other electronic books in the target application.
In addition, when any electronic book is opened by the terminal, a page acquisition request carrying book identification of the electronic book is sent to the server, the server responds to the page acquisition request and sends a page to be displayed in the electronic book to the terminal, and the terminal displays the received page.
402. And the server responds to the received bullet screen quantity acquisition request, acquires the quantity of bullet screen information corresponding to the page and sends the quantity to the terminal.
The method comprises the steps that bullet screen information and page identification in a server are correspondingly stored, the server responds to bullet screen quantity obtaining requests, obtains the page identification carried in the bullet screen quantity obtaining requests according to the page identification, obtains the quantity of the bullet screen information corresponding to the page identification, and sends the quantity to a terminal.
In some embodiments, each time the server receives the bullet screen information sent by the terminal, the server counts the number of the bullet screen information corresponding to the page at one time, stores the number, queries the counted number after receiving the bullet screen number obtaining request, and sends the number to the terminal. Or after receiving the bullet screen quantity acquisition request, the server counts the quantity of the bullet screen information corresponding to the page.
In some embodiments, when the bullet screen quantity acquisition request only carries the page identifier corresponding to the page, the server responds to the bullet screen quantity acquisition request, counts the quantity of all bullet screen information corresponding to the page identifier, and sends the quantity to the terminal.
In some embodiments, when the bullet screen quantity acquisition request further carries a coordinate range corresponding to the first page area, the server, in response to the bullet screen quantity acquisition request, counts the quantity of bullet screen information bound to coordinates within the coordinate range, that is, both an abscissa and an ordinate in the coordinates bound to the bullet screen information are within the coordinate range, so as to obtain the quantity of bullet screen information corresponding to the first page area, and sends the obtained quantity to the terminal.
In some embodiments, the server sends the number to the terminal if the number is greater than 0; and under the condition that the number is equal to 0, sending a bullet-screen-free information notification to the terminal, and displaying a bullet-screen-free information prompt by the subsequent terminal in response to the received bullet-screen-free information notification to prompt a user that the currently displayed page has no corresponding bullet-screen information.
403. And the terminal responds to the received number of the bullet screen information, displays bullet screen marks on the upper layer of the page, and displays the number in the bullet screen marks.
The bullet screen mark comprises the number of bullet screen information corresponding to the displayed page, and prompts the number of bullet screen information corresponding to the current page of the user, so that the user can know the condition of the bullet screen information corresponding to the current page more intuitively. For example, referring to fig. 5, a bullet screen mark is displayed on the upper layer of the page, and a number of "37 bullet screens" is displayed in the bullet screen mark.
In some embodiments, when a complete page is displayed in the electronic book display interface, the number of all bullet screen information corresponding to the page is displayed in the bullet screen mark; and under the condition that only a first page area in a page is displayed in the electronic book display interface, the number of bullet screen information corresponding to the first page area is displayed in the bullet screen mark. That is to say, the number in the bullet screen marks is the number of bullet screen information corresponding to the currently displayed page area in the electronic book display interface, so that the user can more intuitively know the condition of the bullet screen information corresponding to the current electronic book display interface. For example, if the number of all bullet screen information corresponding to a certain page is 50, and a complete page is displayed in the electronic book display interface, the number of "50 bullet screens" is displayed in the bullet screen mark, a partial page area is displayed in the electronic book display interface, and the number of bullet screen information corresponding to the partial page area is 34, then the number of "34 bullet screens" is displayed in the bullet screen mark.
In some embodiments, the bullet screen mark is draggable, the terminal responds to the dragging operation of the bullet screen mark, displays the bullet screen mark according to the track of the dragging operation, and responds to the termination of the dragging operation, and displays the bullet screen mark at the termination position of the dragging operation. The user can drag the barrage mark to an arbitrary position, thereby avoiding the barrage mark from being displayed at a fixed position and influencing the reading of electronic books by the user.
In some embodiments, the bullet screen mark is displayed at any position when the bullet screen mark is first displayed in the electronic book display interface, or the position of the bullet screen mark when the bullet screen mark is first displayed is fixed, for example, the bullet screen mark first appears at the rightmost edge of the electronic book display interface from top to bottom two thirds, or appears at the center of the electronic book display interface, or appears at the top of the electronic book display interface.
For example, referring to the electronic book display interface shown in fig. 6, a page displayed in the electronic book display interface is a cartoon, a bullet screen mark is displayed in the electronic book display interface, and "37 bullet screens" are displayed in the bullet screen mark, the bullet screen mark is initially located at the rightmost position of two lines of three thirds from top to bottom of the electronic book display interface, then the user presses the bullet screen mark, drags the bullet screen mark, the dragging track is a track shown by a dotted line in the electronic book display interface, and after the dragging of the bullet screen mark is stopped, the bullet screen mark is stopped at the uppermost position of the electronic book display interface.
In some embodiments, the bullet screen marks and the number displayed in the bullet screen marks have transparency, which enables the user to see the content in the page below the bullet screen marks while the bullet screen marks are displayed.
404. And the terminal responds to the trigger operation of the bullet screen mark and sends a bullet screen information display request to the server.
After the terminal displays the bullet screen mark, if a user wants to check detailed bullet screen information, the user executes triggering operation on the bullet screen mark, the terminal responds to the triggering operation to generate a bullet screen information display request, and the bullet screen information display request is sent to the server to obtain bullet screen information corresponding to the page. The bullet screen information display request carries a page identifier corresponding to a page, and the triggering operation is single-click operation, double-click operation, sliding operation or other operations.
In some embodiments, in a case that a complete page is displayed in the electronic book display interface, the bullet screen information display request only carries a page identifier corresponding to the page, so as to instruct to acquire all bullet screen information corresponding to the page identifier; or, under the condition that only the first page area in the page is displayed in the electronic book display interface, the barrage information display request also carries the coordinate range corresponding to the first page area so as to indicate that the acquired barrage information of which the bound coordinate belongs to the coordinate range is obtained.
In some embodiments, after the user triggers the bullet screen mark, the terminal acquires detailed bullet screen information from the server and can display bullet screen information to the user, the bullet screen mark is displayed at the moment, the user is encumbred, the terminal cancels the bullet screen mark, the page can be simplified, and the bullet screen mark can be prevented from shielding the bullet screen information.
405. And the server responds to the received bullet screen information display request and sends a bullet screen set to the terminal.
After receiving the bullet screen information display request, the server acquires bullet screen information corresponding to the page identification and coordinates bound with the bullet screen information according to the page identification carried in the bullet screen information display request, and adds the page identification, the bullet screen information and the coordinates bound with the bullet screen information to a bullet screen set. The bullet screen set comprises a page identifier, at least one bullet screen message corresponding to the page identifier and a coordinate bound with the at least one bullet screen message, the bullet screen message at least comprises a bullet screen content, the bullet screen content at least comprises a text content, the coordinate bound with the bullet screen message is used for indicating the display position of the bullet screen message in the page, and for example, the coordinate is a coordinate with the upper left corner of the page as the origin.
In some embodiments, under the condition that the bullet screen information display request only carries the page identifier corresponding to the page, the server obtains all bullet screen information corresponding to the page identifier and the coordinates bound with each bullet screen information, and adds the bullet screen information and the coordinates to the bullet screen set; or, under the condition that the bullet screen information display request also carries a coordinate range corresponding to the first page area, the server acquires bullet screen information bound with the coordinates in the coordinate range and coordinates bound with each piece of bullet screen information, and adds the bullet screen information and the coordinates to the bullet screen set.
In some embodiments, the bullet screen information further includes a display style of the bullet screen content, for example, a color, a font, and the like of the bullet screen content when displayed; or the bullet screen information also comprises a head portrait of the user account sending the bullet screen information. The bullet screen content also includes expressions.
In some embodiments, after receiving the barrage information sent by the user, the server correspondingly stores the page identifier, the barrage information, and the coordinates, so that the server responds to the barrage information display request, queries the barrage information corresponding to the page identifier from at least one piece of stored barrage information, and responds to that the barrage information meets the sending condition, and adds the page identifier, the barrage information, and the coordinates bound with the barrage information to the barrage set.
Wherein the transmission condition includes at least one of: the bullet screen information has a corresponding audit passing mark, and the audit passing mark indicates that the bullet screen information is approved, that is, the bullet screen information sent by the user needs to be audited, and only the bullet screen information which is approved can be sent to other terminals and displayed to other users; or the barrage information has a corresponding unexpired mark, the unexpired mark indicates that the duration time does not exceed the fourth reference time, the duration time refers to the time interval between the current time and the sending time corresponding to the barrage information, that is, the barrage information is filtered according to the sending time of the barrage information, and the barrage information with the duration time exceeding the fourth reference time is filtered. Wherein the fourth reference time period is any time period, for example, the fourth reference time period is 12 months, 24 months, etc.
406. And the terminal responds to the received bullet screen set and displays bullet screen information in the page based on the coordinates in the bullet screen set.
In the embodiment of the disclosure, the terminal displays each bullet screen information corresponding to the page at the coordinate bound with the bullet screen information in the page.
In some embodiments, in the case where only the first page area is displayed in the electronic book presentation interface, the terminal displays the bullet screen information in the first page area based on the coordinates in the bullet screen set.
In some embodiments, the barrage information is displayed in the bubbles, and the terminal displays the barrage information in the page, so that the target position point of the bubble where the barrage information is located at the position point corresponding to the coordinates, and the display position of the barrage information is more accurate. For example, the target position point of the bubble is the upper left corner of the bubble, when the barrage information is displayed, the upper left corner of the bubble is aligned with the position point corresponding to the coordinate, and then the bubble and the barrage information in the bubble are displayed. For example, referring to fig. 7, the target position point is the upper left corner of the bubble, and the coordinates are (50, 100), the upper left corner of the bubble is aligned with the coordinates (50, 100), and then the bubble and the bullet screen information "this is a bullet screen" in the bubble are displayed.
In some embodiments, the bubble and the bullet screen information displayed in the bubble have transparency, which enables the user to see the content in the page below the bullet screen information while the bullet screen information is displayed.
In some embodiments, the bullet screen set includes a plurality of bullet screen information, and the bullet screen information is sequentially displayed when displayed.
Under the condition that the bullet screen set further comprises sending time corresponding to the bullet screen information, responding to the received bullet screen set, and sequentially displaying a plurality of bullet screen information in the page based on the coordinates bound by the plurality of bullet screen information and the corresponding sending time, wherein a first reference time interval is arranged between the displaying time of two adjacent bullet screen information of the sending time. The plurality of bullet screen information are displayed in the order of the sending time from late to early, or in the order of the sending time from early to late, and the first reference time length is any time length, for example, the first reference time length is 0.05 second, 0.1 second, and the like. For example, if there are three pieces of bullet screen information, and the transmission times of the three pieces of bullet screen information are 10, 12, and 15 points on the same day, the bullet screen information with the transmission time of 15 points is displayed first, then the bullet screen information with the transmission time of 12 points is displayed at intervals of 0.05 seconds, and then the bullet screen information with the transmission time of 10 points is displayed at intervals of 0.05 seconds.
Or under the condition that the bullet screen set further comprises audit passing time corresponding to the bullet screen information, the terminal responds to the received bullet screen set, and displays the bullet screen information in the page in sequence based on the coordinates bound by the bullet screen information and the corresponding audit passing time, wherein a second reference time is arranged between the display time of two adjacent bullet screen information of the audit passing time. The plurality of bullet screen information are displayed in the order from late to early according to the passing time of the audit, or displayed in the order from early to late according to the passing time of the audit, and the second reference time length is any time length, for example, the second reference time length is 0.05 second, 0.1 second, and the like.
In the embodiment of the disclosure, according to the sending time or the order of examining and verifying the passing time, a plurality of bullet screen information are displayed in sequence, and a period of time is kept between two adjacent bullet screen information, so that the display effect of the bullet screen information is improved, a plurality of bullet screen information are prevented from being displayed simultaneously, and the bullet screen information is shielded mutually.
In some embodiments, the terminal displays the multiple bullet screen information in a circulating manner under the condition that the multiple bullet screen information is displayed and the pages are continuously displayed in the electronic book display interface, so that the display times of the bullet screen information are increased, and a user can check the bullet screen information for multiple times. For example, the page corresponds to 30 barrage information, the display is started from the first barrage information, and after the last barrage information is displayed, if the page is displayed in the electronic book display interface, the display is started from the first barrage information.
In some embodiments, the display duration of each bullet screen information is fixed, that is, after the display duration of each bullet screen information reaches the third reference duration, the bullet screen information is cancelled, so that the phenomenon that the electronic book is read by a user due to excessive bullet screen information displayed in a page due to the fact that a plurality of bullet screen information are simultaneously displayed in the page is avoided. The display duration refers to the duration of the interval between the disappearance time and the appearance time of the bullet screen information. For example, the display duration of the bullet screen information is 5 seconds, and the bullet screen information is not displayed after the display duration of the bullet screen information reaches 5 seconds.
In some embodiments, the number of bullet screen information displayed in a page at a time is upper-limited, i.e., at most, does not exceed the reference number. For example, the terminal displays 15 bullet screen information at most each time, and if the terminal wants to continue to display the next bullet screen information, it is necessary to display the 16 th bullet screen information after the first bullet screen information displayed in the 15 bullet screen information disappears.
It should be noted that, in the embodiment of the present disclosure, only one page is taken as an example for description, in another embodiment, when one page is displayed and the next page of the page is displayed, the above 401 and 403 are repeated, that is, the bullet screen mark is displayed in the next page, and the number of bullet screen information corresponding to the next page is displayed in the bullet screen mark. Or when the terminal displays the next page, the terminal directly sends a bullet screen information display request to the server, and the number of bullet screen information is not acquired any more.
It should be noted that the above embodiment is only described by taking the example of displaying one page in the electronic book display interface. In another embodiment, at least two pages can be displayed simultaneously in the ebook display interface.
Under the condition that at least two pages are displayed in an electronic book display interface, a terminal responds to the display of the at least two pages in the electronic book display interface, a bullet screen quantity acquisition request is sent to a server, the bullet screen quantity acquisition request carries page identifications corresponding to the at least two pages, the server receives the bullet screen quantity acquisition request, then the quantity of bullet screen information corresponding to each page is respectively acquired, then the quantity of the bullet screen information corresponding to the at least two pages is determined, the data is sent to the terminal, namely the quantity sent to the terminal is the sum of the quantity of the bullet screen information corresponding to the at least two pages, the terminal responds to the received quantity, bullet screen marks are displayed on the upper layer of any one of the at least two pages, and the quantity is displayed in the bullet screen marks. The bullet screen mark is displayed in any page of the at least two pages, the bullet screen mark is not limited to be displayed in the fixed page, and the flexibility of displaying the bullet screen mark is improved.
For example, referring to fig. 8, the electronic book display interface displays two pages, the first page displays the lower half and the second page displays the upper half, and a bullet screen mark is displayed in the middle of the two pages, and the bullet screen mark displays a total number of "80 bullet screens" corresponding to the two pages.
The terminal responds to the trigger operation of the bullet screen mark, page identifiers corresponding to the at least two pages are carried in a bullet screen information display request sent by the server, the server responds to the bullet screen information display request, bullet screen sets corresponding to the at least two pages are sent to the terminal, and the terminal responds to the received bullet screen sets and displays each bullet screen information in the corresponding page respectively based on the coordinate bound with each bullet screen information.
In some embodiments, one or both of the at least two pages displayed in the ebook display interface display only a partial region. For example, a first page and a second page area in a second page are completely displayed in an electronic book display interface, in this case, a terminal responds to the first page and the second page area in the second page displayed in the electronic book interface, and sends a bullet screen quantity obtaining request to a server, where the bullet screen quantity obtaining request carries a page identifier corresponding to each page and a coordinate range corresponding to the second page area, and the server responds to the bullet screen quantity obtaining request and returns a quantity to the terminal, where the quantity is a sum of a first quantity and a second quantity, the first quantity is a quantity of bullet screen information bound to coordinates in the first page, and the second quantity is a quantity of bullet screen information bound to coordinates in the coordinate range. Then, the terminal displays the number in the bullet screen mark, after the bullet screen mark is triggered, a bullet screen information display request is sent to the server, the bullet screen information display request carries a page identifier corresponding to each page and a coordinate range corresponding to the second page, coordinates included in a bullet screen set returned to the terminal by the server belong to the coordinate range corresponding to the first page or the second page area, and the terminal displays bullet screen information at the corresponding coordinate position in the first page or the second page area.
As another example, a third page area in the first page and a second page area in the second page are displayed in the electronic book display interface, in this case, the terminal responds to the third page area in the first page and the second page area in the second page displayed in the electronic book interface, sends a bullet screen quantity obtaining request to the server, the bullet screen quantity obtaining request carries the page identification corresponding to each page, the coordinate range corresponding to the third page area and the coordinate range corresponding to the second page area, the server responds to the bullet screen quantity obtaining request, returns the quantity to the terminal, the quantity is the sum of the first quantity and the second quantity, the first number is the number of the barrage information bound with the coordinates in the coordinate range corresponding to the third page area, and the second number is the number of the barrage information bound with the coordinates in the coordinate range corresponding to the second page area. Then, the terminal displays the number in the bullet screen mark, after the bullet screen mark is triggered, a bullet screen information display request is sent to the server, the bullet screen information display request carries a page identifier corresponding to each page, a coordinate range corresponding to a third page area and a coordinate range corresponding to a second page, coordinates included in a bullet screen set returned to the terminal by the server belong to the coordinate range corresponding to the third page area or the coordinate range corresponding to the second page area, and the terminal displays bullet screen information at the corresponding coordinates in the third page area or the second page area.
For another example, three pages are displayed in the electronic book display interface, where the first page of the three pages only displays a partial region and the second and third pages display a complete page, or the first page and the second page display a complete page and the third page only displays a partial region, or the first page and the third page display only a partial region and the second page displays a complete page. Under these circumstances, the number of the bullet screen information displayed in the electronic book display interface and the manner of displaying the bullet screen information are the same as those of the above two pages, and are not described herein again.
In the embodiment of the present disclosure, the bullet screen display function of the electronic book is further applicable to the situation of displaying at least two pages, and the number of bullet screen information corresponding to the at least two pages can be obtained simultaneously, so that the number of bullet screen information obtained once per page is not required to be displayed, and the data obtaining efficiency is improved. Moreover, the bullet screen information is sequentially displayed in at least two pages, the operation of displaying the bullet screen information is not required to be executed once when one page is displayed, the user operation is simplified, and the display efficiency of the bullet screen information is improved.
In some embodiments, a server sends a bullet screen set to a terminal, wherein the bullet screen set comprises two page identifiers, bullet screen information corresponding to the two page identifiers, and coordinates bound with each bullet screen information; or the server sends the bullet screen set corresponding to each page identifier to the terminal respectively.
In some embodiments, when the terminal displays the bullet screen information corresponding to at least two pages, the bullet screen information corresponding to a page arranged in front of the at least two pages is displayed first, and the bullet screen information corresponding to a next page is displayed after the bullet screen information corresponding to a previous page is displayed. For example, when the terminal displays a first page and a second page of the electronic book in the electronic book display interface, the bullet screen information corresponding to the first page is displayed first, and then the bullet screen information corresponding to the second page is displayed.
According to the method provided by the embodiment of the disclosure, the bullet screen marks are displayed in the page, the number of bullet screen information is displayed in the bullet screen marks, so that a user can visually know the condition of the bullet screen information corresponding to the current page, the bullet screen information corresponding to the page is acquired from the server by triggering the bullet screen marks, the detailed bullet screen information is displayed in the page, the bullet screen display function of an electronic book is realized, the user can check the bullet screen information while reading the electronic book, and the interactivity between the users is improved. And the bullet screen information is displayed based on the coordinates bound with the bullet screen information, so that the bullet screen information is displayed at a fixed position in the page, and the display effect of the bullet screen information is improved.
The above-mentioned embodiments of fig. 2, 3 and 4 describe the display process of bullet screen information. Before displaying the bullet screen information, the terminal needs to send the bullet screen information first, and the following describes a sending process of the bullet screen information.
Fig. 9 is a flowchart illustrating a bullet screen information display method according to an exemplary embodiment, and referring to fig. 9, an execution subject of the method is a terminal, and the method includes the following steps:
901. in the electronic book display interface, pages in the electronic book are displayed.
902. And responding to the bullet screen sending operation in the electronic book display interface, and displaying a movable bullet screen window.
The method comprises the steps that a user inputs bullet screen information to be sent in an electronic book display interface, bullet screen sending operation is executed on the bullet screen information, and a terminal responds to the bullet screen sending operation and displays a bullet screen window comprising the bullet screen information to be sent. The bullet screen window is movable, so that a user can move the bullet screen window to any position, even if the user decides the display position of bullet screen information in a page.
903. And responding to the confirmation operation of the bullet screen window, and binding the coordinates of the bullet screen window in the page with the bullet screen information.
And after the user determines the position of the bullet screen window, executing confirmation operation, responding to the confirmation operation by the terminal, determining the coordinate of the bullet screen window in the page, binding the coordinate with bullet screen information, and displaying the bullet screen information according to the bound coordinate when the bullet screen information is subsequently displayed.
904. And sending a bullet screen information sending request to the server.
The bullet screen information sending request carries a page identification, bullet screen information and coordinates corresponding to the page. The terminal sends the bullet screen information sending request to the server to achieve sending of bullet screen information, the server responds to the received bullet screen information sending request and correspondingly stores the page identification, the bullet screen information and the coordinates, and other follow-up terminals can acquire the bullet screen information sent by the terminal from the server to display.
According to the method provided by the embodiment of the disclosure, when the bullet screen information is sent based on the currently displayed page, the bullet screen information is sent, and the bullet screen information and the coordinates corresponding to the bullet screen window are bound, so that the display position of the bullet screen information in the page is determined, the bullet screen information can be displayed based on the bound coordinates, and the display effect of the bullet screen information is improved.
In some embodiments, in response to a confirmation operation on the bullet screen window, binding coordinates of the bullet screen window in the page with bullet screen information includes:
responding to the dragging operation of the bullet screen window, and displaying the bullet screen window according to the track of the dragging operation;
and under the condition that the dragging operation is terminated, responding to the confirmation operation of the bullet screen window, and binding the coordinates corresponding to the termination position of the dragging operation with the bullet screen information.
In the embodiment of the disclosure, by dragging the bullet screen window, the bullet screen window is moved to the position where the user wants to display the bullet screen information, and the bullet screen information is bound with the coordinates of the position, so that the bullet screen information has pertinence.
In some embodiments, the bullet screen window includes bubbles and bullet screen information, the bullet screen information is located in the bubbles, and in response to the confirmation operation on the bullet screen window, the coordinates of the bullet screen window in the page are bound with the bullet screen information, including:
and responding to the confirmation operation of the bullet screen window, and binding the coordinates corresponding to the target position point of the bubble with bullet screen information.
In some embodiments, after sending the barrage information sending request to the server, the barrage information sending method further includes:
and displaying the bullet screen information in the page based on the coordinates.
In some embodiments, in response to a bullet screen sending operation in the electronic book display interface, displaying a movable bullet screen window includes:
responding to the bullet screen sending operation, displaying a covering layer on the upper layer of the page, and displaying a bullet screen window in the covering layer;
after sending the barrage information sending request to the server, the barrage information sending method further comprises the following steps:
the display mask is cancelled.
In some embodiments, in response to a confirmation operation on the bullet screen window, binding coordinates of the bullet screen window in the page with bullet screen information includes:
and responding to the trigger operation of determining the sending control in the bullet screen window, and binding the coordinates of the bullet screen window in the page with bullet screen information.
In some embodiments, after the mobile barrage window is displayed in response to a barrage sending operation in the electronic book display interface, the barrage information sending method further includes:
and canceling the display of the bullet screen window in response to the cancellation of the trigger operation of the sending control in the bullet screen window.
Fig. 10 is a flowchart illustrating a bullet screen information sending method according to an exemplary embodiment, and referring to fig. 10, an interaction subject of the method is a terminal and a server, and the method includes the following steps:
1001. and the terminal displays the pages in the electronic book display interface.
The page display mode of the terminal is the same as that of the page display mode 401, and is not described herein again.
1002. And the terminal inputs bullet screen information in a bullet screen input box in the electronic book display interface.
After the terminal displays a page, clicking any position in an electronic book display interface, displaying a function bar comprising a bullet screen input frame at the lowest part of the electronic book display interface, and inputting bullet screen information in the bullet screen input frame.
For example, referring to fig. 11, the terminal displays a function bar including a bullet screen input box, a bullet screen sending control is displayed on the right side of the bullet screen input box, when the user has not input bullet screen information, a file "to load a bullet screen" is displayed in the bullet screen input box, and the bullet screen sending control is an inoperable control, so that the user cannot operate the bullet screen sending control. And then, clicking the bullet screen input box by the user, inputting bullet screen information 'cheering' in the bullet screen input box, and changing the bullet screen sending control into an operable control.
In some embodiments, the terminal sends the bullet screen information under the condition that the bullet screen information is displayed, and the sending process of the bullet screen information does not affect the display process of the bullet screen information.
1003. And the terminal responds to the bullet screen sending operation in the electronic book display interface and displays a movable bullet screen window.
The bullet screen window comprises bullet screen information to be sent, bubbles for displaying the bullet screen information, a sending determining control and a display canceling control.
In some embodiments, the position where the bullet screen window is displayed for the first time is fixed, for example, in the middle of the top-to-bottom third line in the electronic book display interface. And then, the user can drag the bullet screen window to move the bullet screen window. And the terminal responds to the dragging operation of the bullet screen window and displays the bullet screen window according to the track of the dragging operation. By dragging the bullet screen window, the bullet screen window can be moved to a position where a user wants to display the bullet screen information. For example, when a user wants to give a comment to a certain character in a cartoon, the pop-up window can be moved to the position of the character.
In some embodiments, the terminal responds to the bullet screen sending operation, a covering layer is displayed on the upper layer of the page, and a bullet screen window is displayed in the covering layer, so that the user cannot operate other areas except the bullet screen window in the electronic book display interface, and misoperation is avoided. For example, referring to fig. 11, the user clicks a bullet screen sending control, a bullet screen window including bubbles and bullet screen information is displayed in the electronic book presentation interface, the bullet screen information is displayed in the bubbles, and a cancel sending control "x" and a confirm sending control "check" are displayed below the bullet screen information.
1004. And the terminal responds to the confirmation operation of the bullet screen window and binds the coordinates of the bullet screen window in the page with the bullet screen information.
The confirmation operation on the bullet screen window refers to a trigger operation on a determination sending control in the bullet screen window.
The user triggers the determined sending control in the bullet screen window, the terminal responds to the triggering operation of the determined sending control, obtains the coordinate corresponding to the current display position of the bullet screen window, and binds the coordinate with bullet screen information, so that the coordinate of the current position of the bullet screen window is only bound with the bullet screen information, and the bullet screen window is prevented from being bound with a plurality of coordinates when being displayed.
In some embodiments, the terminal drags the bullet screen window, and when the dragging operation is terminated, the coordinates corresponding to the termination position of the dragging operation are bound with the bullet screen information in response to the confirmation operation on the bullet screen window.
In some embodiments, in a case where the bullet screen window includes the bubble, the terminal binds the coordinate corresponding to the target position point of the bubble in the bullet screen window with the bullet screen information in response to the confirmation operation on the bullet screen window. For example, the target position point of the bubble is the upper left corner of the bubble, the terminal acquires the coordinate corresponding to the upper left corner, the coordinate is bound with the bullet screen information, and the bullet screen information is displayed according to the coordinate during subsequent display.
In addition, in some embodiments, the terminal cancels the display of the bullet screen window and the transmission of the bullet screen information in response to the triggering operation of the cancellation transmission control in the bullet screen window, and does not execute the subsequent steps. After the terminal cancels the display of the bullet screen window, the terminal can return to the previous state, namely the state of inputting bullet screen information in the bullet screen input frame. By canceling the bullet screen window, the transmission of the bullet screen information is cancelled, so that the user can cancel the transmission in time under the condition that misoperation is generated when the bullet screen information is transmitted.
1005. And the terminal sends a bullet screen information sending request to the server.
The bullet screen information sending request carries a page identification, bullet screen information and coordinates corresponding to the page.
In some embodiments, after the terminal sends the barrage information sending request to the server, the barrage information is displayed in the page based on the coordinates bound by the barrage information. For example, referring to FIG. 11, a "cheering" is shown in the page. At this time, the bullet screen information sent by the user is not checked by other terminals, and the other terminals cannot display the bullet screen information.
In some embodiments, after the terminal sends the bullet screen information sending request to the server, the covering layer on the upper layer of the display page is cancelled, so that the user can operate the electronic book display interface.
In some embodiments, after the terminal sends the bullet screen information sending request to the server, a sending success prompt is displayed in the electronic book display interface. For example, referring to fig. 11, "send successful" is displayed below the electronic book presentation interface.
1006. And the server responds to the received bullet screen information sending request and correspondingly stores the page identification, the bullet screen information and the coordinates.
The server correspondingly stores the page identification, the bullet screen information and the coordinates sent by the terminal, so that other subsequent terminals can acquire the bullet screen information sent by the terminal from the server to display, and interaction between a user using the terminal and other users is realized.
In some embodiments, the server may further adopt an automatic review mechanism to review the bullet screen information, determine whether the bullet screen information is the bullet screen information allowed to be sent, and if so, add a corresponding review passing mark to the bullet screen information, so that the bullet screen information can be acquired by other terminals. Or the server sends the bullet screen information to a technician, and the technician performs manual review on the bullet screen information.
According to the method provided by the embodiment of the disclosure, when the bullet screen information is sent based on the currently displayed page, the bullet screen information is sent, and the bullet screen information and the coordinates corresponding to the bullet screen window are bound, so that the display position of the bullet screen information in the page is determined, the bullet screen information can be displayed based on the bound coordinates, and the display effect of the bullet screen information is improved.
Fig. 12 is a block diagram illustrating a bullet screen information display device according to an exemplary embodiment. Referring to fig. 12, the apparatus includes:
the page display unit 1201 is configured to be executed in an electronic book display interface, and display pages in the electronic book and bullet screen marks, wherein the bullet screen marks comprise the number of bullet screen information corresponding to the displayed pages;
a display request sending unit 1202, configured to execute a trigger operation in response to a bullet screen mark, and send a bullet screen information display request to a server, where the bullet screen information display request carries a page identifier corresponding to a page, and the server is configured to return a bullet screen set in response to the bullet screen information display request, where the bullet screen set includes the page identifier, bullet screen information, and a coordinate bound to the bullet screen information;
and a bullet screen information display unit 1203 configured to perform displaying bullet screen information in the page based on the coordinates in response to receiving the bullet screen set.
The device that this disclosed embodiment provided, through show the barrage mark in the page, and show the quantity of barrage information in the barrage mark, make the user know the condition of the barrage information that current page corresponds directly perceivedly, through triggering this barrage mark, obtain the barrage information that this page corresponds from the server, show detailed this barrage information in the page, realized electronic books's barrage display function, make the user when reading electronic books, can look over barrage information, the interactivity between the user has been improved. And the bullet screen information is displayed based on the coordinates bound with the bullet screen information, so that the bullet screen information is displayed at a fixed position in the page, and the display effect of the bullet screen information is improved.
In some embodiments, a first page area in a page is displayed in an electronic book display interface, a bullet screen information display request carries a page identifier corresponding to the page and a coordinate range corresponding to the first page area, and a coordinate included in a bullet screen set belongs to the coordinate range;
and a bullet screen information display unit 1203 configured to perform displaying bullet screen information in the first page area based on the coordinates bound with the bullet screen information in response to receiving the bullet screen set.
In some embodiments, at least two pages are displayed in the electronic book display interface, and the bullet screen information display request carries page identifiers corresponding to the at least two pages;
and the bullet screen information display unit 1203 is configured to perform, in response to receiving the bullet screen set, displaying each piece of bullet screen information in a corresponding page respectively based on the coordinates bound to each piece of bullet screen information, wherein bullet screen information corresponding to a next page is displayed after the bullet screen information corresponding to a previous page is displayed, and the previous page is located before the next page in the electronic book.
In some embodiments, the first page and the second page area in the second page are displayed in the electronic book display interface, and the bullet screen information display request further carries a coordinate range corresponding to the second page area.
In some embodiments, referring to fig. 13, a page display unit 1201 includes:
a quantity obtaining subunit 1211, configured to execute sending, in response to displaying a page in the electronic book display interface, a bullet screen quantity obtaining request to a server, where the bullet screen quantity obtaining request carries a page identifier, and the server is configured to return, in response to the bullet screen quantity obtaining request, a quantity of bullet screen information corresponding to the page;
a mark display sub-unit 1221 configured to perform, in response to the received number, displaying a bullet screen mark on an upper layer of the page and displaying the number in the bullet screen mark.
In some embodiments, referring to fig. 13, the quantity obtaining subunit 1211 is configured to execute sending, to the server, a bullet screen quantity obtaining request in response to displaying the first page area in the page in the electronic book interface, where the bullet screen quantity obtaining request carries a page identifier corresponding to the page and a coordinate range corresponding to the first page area, and the quantity is a quantity of bullet screen information bound to coordinates in the coordinate range.
In some embodiments, referring to fig. 13, the quantity obtaining subunit 1211 is configured to perform sending, to the server, a bullet screen quantity obtaining request in response to displaying at least two pages in the electronic book exhibition interface, where the bullet screen quantity obtaining request carries a page identifier corresponding to the at least two pages, and the quantity is a sum of quantities of bullet screen information bound to coordinates in the at least two pages.
In some embodiments, referring to fig. 13, the quantity obtaining subunit 1211 is configured to perform sending, in response to displaying the first page and the second page area in the second page in the electronic book interface, a barrage quantity obtaining request to the server, where the barrage quantity obtaining request carries a page identifier corresponding to each page and a coordinate range corresponding to the second page area, and the quantity is a sum of a first quantity and a second quantity, the first quantity is a quantity of barrage information bound to coordinates in the first page, and the second quantity is a quantity of barrage information bound to coordinates in the coordinate range.
In some embodiments, referring to fig. 13, the mark display subunit 1221 is configured to perform, in response to receiving the number, displaying a bullet screen mark on an upper layer of any one of the at least two pages, and displaying the number in the bullet screen mark.
In some embodiments, referring to fig. 13, the number obtaining subunit 1211 is configured to execute, in a case where the bullet screen display function is in an on state, sending a bullet screen number obtaining request to the server in response to displaying a page in the electronic book presentation interface.
In some embodiments, the page display unit 1201 further includes:
a drag subunit configured to perform a drag operation in response to the bullet screen mark, and display the bullet screen mark in accordance with a trajectory of the drag operation;
and the mark display subunit is also configured to execute the step of displaying the bullet screen mark at the termination position of the dragging operation in response to the termination of the dragging operation.
In some embodiments, the barrage information display unit 1203 is configured to perform, in response to receiving the barrage set, displaying the barrage information in the page based on the coordinates, so that a target position point of the bubble where the barrage information is located at a position point corresponding to the coordinates.
In some embodiments, the bullet screen set includes a plurality of bullet screen information, and the bullet screen information display unit 1203 is configured to perform:
the bullet screen set also comprises sending time corresponding to the bullet screen information, and the bullet screen information is displayed in the page in sequence on the basis of the coordinates bound by the bullet screen information and the corresponding sending time in response to the receipt of the bullet screen set, wherein a first reference time length is arranged between the display time of two adjacent bullet screen information at the sending time; alternatively, the first and second electrodes may be,
the bullet screen set further comprises audit passing time corresponding to the bullet screen information, the bullet screen set is responded to and received, the bullet screen information is sequentially displayed in the page on the basis of the coordinates bound by the bullet screen information and the corresponding audit passing time, and second reference time is arranged between the display time of two adjacent bullet screen information in the audit passing time.
In some embodiments, the bullet screen set includes a plurality of bullet screen information, and the bullet screen information display unit 1203 is further configured to perform circular display of the plurality of bullet screen information when the display of the plurality of bullet screen information is completed and the pages are continuously displayed in the electronic book display interface.
In some embodiments, the bullet screen information display unit 1203 is configured to perform canceling the display of the bullet screen information after the display duration of the bullet screen information reaches the third reference duration, where the display duration refers to a duration of an interval between a disappearance time and an appearance time of the bullet screen information.
With regard to the apparatus in the above-described embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
Fig. 14 is a block diagram illustrating a bullet screen information display device according to an exemplary embodiment. Referring to fig. 14, the apparatus includes:
a display request receiving unit 1401 configured to execute a bullet screen information display request sent by a receiving terminal, where the terminal is configured to send a bullet screen information display request in response to a trigger operation on a bullet screen mark in an electronic book display interface, and the bullet screen information display request carries a page identifier corresponding to a page in the electronic book display interface;
a bullet screen set sending unit 1402 configured to execute sending, in response to the bullet screen information display request, a bullet screen set to a terminal, where the bullet screen set includes a page identifier, bullet screen information, and coordinates bound to the bullet screen information, and the terminal is configured to, in response to receiving the bullet screen set, display the bullet screen information in the page based on the coordinates.
The device provided by the embodiment of the disclosure sends the acquired bullet screen information corresponding to the page to the terminal, so that the terminal displays the bullet screen information in the page, the bullet screen display function of the electronic book is realized, a user can check the bullet screen information while reading the electronic book, and the interactivity between the users is improved. And the terminal displays the bullet screen information based on the coordinates bound with the bullet screen information, so that the bullet screen information is displayed at a fixed position in the page, and the display effect of the bullet screen information is improved.
In some embodiments, the bullet screen information display device further comprises:
the acquisition request receiving unit is configured to execute a bullet screen quantity acquisition request sent by a receiving terminal, wherein the terminal is used for responding to a display page in an electronic book display interface and sending the bullet screen quantity acquisition request, and the bullet screen quantity acquisition request carries a page identifier;
and the quantity sending unit is configured to execute sending the quantity of the bullet screen information corresponding to the page to the terminal in response to the bullet screen quantity obtaining request, and the terminal is used for displaying bullet screen marks on the upper layer of the page in response to the received quantity and displaying the quantity in the bullet screen marks.
In some embodiments, the number transmitting unit is configured to perform transmitting the number to the terminal in a case where the number is greater than 0.
In some embodiments, the bullet screen set sending unit 1402 is configured to perform:
responding to the bullet screen information display request, and inquiring bullet screen information corresponding to the page identification;
and responding to the condition that the bullet screen information meets the sending condition, and adding the page identification, the bullet screen information and the coordinate bound with the bullet screen information into the bullet screen set.
In some embodiments, the transmission condition comprises at least one of:
the bullet screen information has a corresponding audit passing mark, and the audit passing mark indicates that the bullet screen information is approved; alternatively, the first and second electrodes may be,
the bullet screen information has a corresponding unexpired mark, the unexpired mark indicates that the duration does not exceed the fourth reference duration, and the duration refers to the duration of an interval between the current time and the sending time corresponding to the bullet screen information.
With regard to the apparatus in the above-described embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
Fig. 15 is a block diagram illustrating a bullet screen information display device according to an exemplary embodiment. Referring to fig. 15, the apparatus includes:
a page display unit 1501 configured to execute displaying a page in an electronic book presentation interface;
a window display unit 1502 configured to perform a bullet screen sending operation in response to an electronic book display interface, and display a movable bullet screen window, where the bullet screen window includes bullet screen information to be sent;
a coordinate binding unit 1503 configured to perform binding of coordinates of the bullet screen window in the page with bullet screen information in response to a confirmation operation on the bullet screen window;
the bullet screen sending unit 1504 is configured to execute sending of a bullet screen information sending request to the server, wherein the bullet screen information sending request carries the page identifier, the bullet screen information and the coordinates corresponding to the page, and the server is used for responding to the bullet screen information sending device request and correspondingly storing the page identifier, the bullet screen information and the coordinates.
The device that this disclosed embodiment provided, when sending bullet screen information based on the page that shows at present, not only send bullet screen information, still can bind bullet screen information and the coordinate that bullet screen window corresponds to confirm the display position of bullet screen information in the page, make bullet screen information can show based on the coordinate that binds, improve the display effect of bullet screen information.
In some embodiments, the coordinate binding unit 1503 is configured to perform:
responding to the dragging operation of the bullet screen window, and displaying the bullet screen window according to the track of the dragging operation;
and under the condition that the dragging operation is terminated, responding to the confirmation operation of the bullet screen window, and binding the coordinates corresponding to the termination position of the dragging operation with the bullet screen information.
In some embodiments, the bullet screen window includes bubbles and bullet screen information, the bullet screen information is located in the bubbles, and the coordinate binding unit 1503 is configured to perform binding of coordinates corresponding to the target position point of the bubbles and the bullet screen information in response to a confirmation operation on the bullet screen window.
In some embodiments, the bullet screen information sending device further includes:
and a bullet screen information display unit configured to perform displaying bullet screen information in the page based on the coordinates.
In some embodiments, the window display unit 1502 is further configured to perform:
responding to the bullet screen sending operation, displaying a covering layer on the upper layer of the page, and displaying a bullet screen window in the covering layer;
the display mask is cancelled.
In some embodiments, the coordinate binding unit 1503 is configured to perform a trigger operation on the determination of the sending control in the bullet screen window, and bind the coordinates of the bullet screen window in the page with the bullet screen information.
In some embodiments, the bullet screen information sending device further includes:
and the cancellation display unit is configured to execute the trigger operation of responding to the cancellation of the sending control in the bullet screen window and cancel the display of the bullet screen window.
With regard to the apparatus in the above-described embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
In an exemplary embodiment, an electronic device is provided that includes one or more processors, and a memory to store instructions executable by the one or more processors; wherein the one or more processors are configured to execute the bullet screen information display method or the bullet screen information transmission method in the above embodiments.
In one possible implementation, the electronic device is provided as a terminal. Fig. 16 is a block diagram illustrating a structure of a terminal 1600 according to an example embodiment. The terminal 1600 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 1600 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
The terminal 1600 includes: a processor 1601, and a memory 1602.
Processor 1601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 1601 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). Processor 1601 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, the processor 1601 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1602 may include one or more computer-readable storage media, which may be non-transitory. The memory 1602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 1602 is used to store at least one program code for execution by the processor 1601 to implement the bullet screen information display method or bullet screen information transmission method provided by the method embodiments in the present disclosure.
In some embodiments, the terminal 1600 may also optionally include: peripheral interface 1603 and at least one peripheral. Processor 1601, memory 1602 and peripheral interface 1603 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 1603 via buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1604, a display 1605, a camera assembly 1606, audio circuitry 1607, a positioning assembly 1608, and a power supply 1609.
Peripheral interface 1603 can be used to connect at least one I/O (Input/Output) related peripheral to processor 1601 and memory 1602. In some embodiments, processor 1601, memory 1602, and peripheral interface 1603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1601, the memory 1602 and the peripheral device interface 1603 may be implemented on a separate chip or circuit board, which is not limited by this embodiment.
The Radio Frequency circuit 1604 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1604 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 1604 converts the electrical signal into an electromagnetic signal to be transmitted, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1604 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1604 may also include NFC (Near Field Communication) related circuitry, which is not limited by this disclosure.
The display 1605 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1605 is a touch display screen, the display screen 1605 also has the ability to capture touch signals on or over the surface of the display screen 1605. The touch signal may be input to the processor 1601 as a control signal for processing. At this point, the display 1605 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1605 can be one, disposed on the front panel of the terminal 1600; in other embodiments, the display screens 1605 can be at least two, respectively disposed on different surfaces of the terminal 1600 or in a folded design; in other embodiments, display 1605 can be a flexible display disposed on a curved surface or a folded surface of terminal 1600. Even further, the display 1605 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 1605 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or other materials.
The camera assembly 1606 is used to capture images or video. Optionally, camera assembly 1606 includes a front camera and a rear camera. The front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1606 can also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 1607 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1601 for processing or inputting the electric signals to the radio frequency circuit 1604 to achieve voice communication. For stereo sound acquisition or noise reduction purposes, the microphones may be multiple and disposed at different locations of terminal 1600. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1601 or the radio frequency circuit 1604 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1607 may also include a headphone jack.
The positioning component 1608 is configured to locate a current geographic Location of the terminal 1600 for purposes of navigation or LBS (Location Based Service). The Positioning component 1608 may be a Positioning component based on a Global Positioning System (GPS) in the united states, a beidou System in china, a greiner Positioning System in russia, or a galileo Positioning System in the european union.
Power supply 1609 is used to provide power to the various components of terminal 1600. Power supply 1609 may be alternating current, direct current, disposable or rechargeable. When power supply 1609 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1600 also includes one or more sensors 1610. The one or more sensors 1610 include, but are not limited to: acceleration sensor 1611, gyro sensor 1612, pressure sensor 1613, fingerprint sensor 1614, optical sensor 1615, and proximity sensor 1616.
Acceleration sensor 1611 may detect acceleration in three coordinate axes of a coordinate system established with terminal 1600. For example, the acceleration sensor 1611 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1601 may control the display screen 1605 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1611. The acceleration sensor 1611 may also be used for acquisition of motion data of a game or a user.
Gyroscope sensor 1612 can detect the organism direction and the turned angle of terminal 1600, and gyroscope sensor 1612 can gather the 3D action of user to terminal 1600 with acceleration sensor 1611 in coordination. From the data collected by the gyro sensor 1612, the processor 1601 may perform the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 1613 may be disposed on the side frames of terminal 1600 and/or underlying display 1605. When the pressure sensor 1613 is disposed on the side frame of the terminal 1600, a user's holding signal of the terminal 1600 can be detected, and the processor 1601 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1613. When the pressure sensor 1613 is disposed at the lower layer of the display 1605, the processor 1601 controls the operability control on the UI interface according to the pressure operation of the user on the display 1605. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1614 is configured to collect a fingerprint of the user, and the processor 1601 is configured to identify the user based on the fingerprint collected by the fingerprint sensor 1614, or the fingerprint sensor 1614 is configured to identify the user based on the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 1601 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 1614 may be disposed on the front, back, or side of the terminal 1600. When a physical key or vendor Logo is provided on the terminal 1600, the fingerprint sensor 1614 may be integrated with the physical key or vendor Logo.
The optical sensor 1615 is used to collect ambient light intensity. In one embodiment, the processor 1601 may control the display brightness of the display screen 1605 based on the ambient light intensity collected by the optical sensor 1615. Specifically, when the ambient light intensity is high, the display luminance of the display screen 1605 is increased; when the ambient light intensity is low, the display brightness of the display screen 1605 is adjusted down. In another embodiment, the processor 1601 may also dynamically adjust the shooting parameters of the camera assembly 1606 based on the ambient light intensity collected by the optical sensor 1615.
A proximity sensor 1616, also referred to as a distance sensor, is disposed on the front panel of terminal 1600. The proximity sensor 1616 is used to collect the distance between the user and the front surface of the terminal 1600. In one embodiment, the processor 1601 controls the display 1605 to switch from the light screen state to the clear screen state when the proximity sensor 1616 detects that the distance between the user and the front surface of the terminal 1600 is gradually decreased; when the proximity sensor 1616 detects that the distance between the user and the front surface of the terminal 1600 is gradually increased, the display 1605 is controlled by the processor 1601 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 16 is not intended to be limiting of terminal 1600, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
In another possible implementation, the electronic device is provided as a server. Fig. 17 is a block diagram illustrating a server, according to an exemplary embodiment, where the server 1700 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1701 and one or more memories 1702, where the memory 1702 stores at least one program code, and the at least one program code is loaded and executed by the processors 1701 to implement the methods provided by the above method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, a computer-readable storage medium is further provided, and when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the steps executed by a terminal or a server in the bullet screen information display method or the bullet screen information transmission method. Alternatively, the computer-readable storage medium may be a ROM (Read Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product including a computer program executed by a processor to implement the bullet screen information display method or the bullet screen information transmission method described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A bullet screen information display method is characterized by comprising the following steps:
displaying pages and bullet screen marks in the electronic book in an electronic book display interface, wherein the bullet screen marks comprise the number of bullet screen information corresponding to the displayed pages;
responding to the trigger operation of the bullet screen mark, sending a bullet screen information display request to a server, wherein the bullet screen information display request carries a page identifier corresponding to the page, the server is used for responding to the bullet screen information display request and returning a bullet screen set, and the bullet screen set comprises the page identifier, bullet screen information and a coordinate bound with the bullet screen information;
in response to receiving the set of barrage, displaying the barrage information in the page based on the coordinates.
2. A bullet screen information display method is characterized by comprising the following steps:
receiving a bullet screen information display request sent by a terminal, wherein the terminal is used for responding to triggering operation of bullet screen marks in an electronic book display interface and sending the bullet screen information display request, and the bullet screen information display request carries a page identification corresponding to a page in the electronic book display interface;
responding to the bullet screen information display request, sending a bullet screen set to the terminal, wherein the bullet screen set comprises the page identification, bullet screen information and coordinates bound with the bullet screen information, and the terminal is used for responding to the receipt of the bullet screen set and displaying the bullet screen information in the page based on the coordinates.
3. A bullet screen information sending method is characterized by comprising the following steps:
displaying pages in the electronic book in an electronic book display interface;
responding to a bullet screen sending operation in the electronic book display interface, and displaying a movable bullet screen window, wherein the bullet screen window comprises bullet screen information to be sent;
responding to the confirmation operation of the bullet screen window, and binding the coordinates of the bullet screen window in the page with the bullet screen information;
and sending a bullet screen information sending request to a server, wherein the bullet screen information sending request carries the page identification corresponding to the page, the bullet screen information and the coordinates, and the server is used for responding to the bullet screen information sending request and correspondingly storing the page identification, the bullet screen information and the coordinates.
4. The bullet screen information display device, its characterized in that, bullet screen information display device includes:
the page display unit is configured to be executed in an electronic book display interface, and display pages in the electronic book and bullet screen marks, wherein the bullet screen marks comprise the number of bullet screen information corresponding to the displayed pages;
a display request sending unit, configured to execute a trigger operation in response to the barrage mark, and send a barrage information display request to a server, where the barrage information display request carries a page identifier corresponding to the page, and the server is configured to return a barrage set in response to the barrage information display request, where the barrage set includes the page identifier, the barrage information, and a coordinate bound to the barrage information;
a bullet screen information display unit configured to perform displaying the bullet screen information in the page based on the coordinates in response to receiving the bullet screen set.
5. The bullet screen information display device, its characterized in that, bullet screen information display device includes:
the display request receiving unit is configured to execute a bullet screen information display request sent by a receiving terminal, wherein the terminal is used for responding to triggering operation of bullet screen marks in an electronic book display interface and sending the bullet screen information display request, and the bullet screen information display request carries a page identifier corresponding to a page in the electronic book display interface;
and the bullet screen set sending unit is configured to execute responding to the bullet screen information display request and send a bullet screen set to the terminal, wherein the bullet screen set comprises the page identification, bullet screen information and coordinates bound with the bullet screen information, and the terminal is used for responding to the receipt of the bullet screen set and displaying the bullet screen information in the page based on the coordinates.
6. A bullet screen information transmission device, characterized in that it comprises:
the page display unit is configured to be executed in an electronic book display interface and display pages in the electronic book;
a window display unit configured to perform a bullet screen sending operation in response to the electronic book display interface, and display a movable bullet screen window, where the bullet screen window includes bullet screen information to be sent;
a coordinate binding unit configured to perform binding of coordinates of the bullet screen window in the page with the bullet screen information in response to a confirmation operation of the bullet screen window;
the bullet screen information sending unit is configured to execute sending of a bullet screen information sending request to a server, the bullet screen information sending request carries the page identification, the bullet screen information and the coordinates corresponding to the page, and the server is used for responding to the request of the bullet screen information sending device and correspondingly storing the page identification, the bullet screen information and the coordinates.
7. A terminal, characterized in that the terminal comprises:
one or more processors;
a memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the bullet screen information display method of claim 1 or to perform the bullet screen information transmission method of claim 3.
8. A server, characterized in that the server comprises:
one or more processors;
a memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the bullet screen information display method of claim 2.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the bullet screen information display method of claim 1, or to perform the bullet screen information display method of claim 2, or to perform the bullet screen information transmission method of claim 3.
10. A computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the bullet screen information display method of claim 1, or implements the bullet screen information display method of claim 2, or implements the bullet screen information transmission method of claim 3.
CN202110272536.9A 2021-03-12 2021-03-12 Barrage information display method, transmission method, device, terminal and storage medium Pending CN113157172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110272536.9A CN113157172A (en) 2021-03-12 2021-03-12 Barrage information display method, transmission method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110272536.9A CN113157172A (en) 2021-03-12 2021-03-12 Barrage information display method, transmission method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN113157172A true CN113157172A (en) 2021-07-23

Family

ID=76886972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110272536.9A Pending CN113157172A (en) 2021-03-12 2021-03-12 Barrage information display method, transmission method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113157172A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805992A (en) * 2021-09-01 2021-12-17 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN113986421A (en) * 2021-10-14 2022-01-28 上海呵呵呵文化传播有限公司 Bullet screen display method and device for electronic books
WO2022142295A1 (en) * 2020-12-30 2022-07-07 游艺星际(北京)科技有限公司 Bullet comment display method and electronic device
CN115103212A (en) * 2022-06-10 2022-09-23 咪咕文化科技有限公司 Bullet screen display method, bullet screen processing method and device and electronic equipment
CN115237301A (en) * 2022-09-20 2022-10-25 深圳市人马互动科技有限公司 Method and device for processing bullet screen in interactive novel
CN116800705A (en) * 2023-05-06 2023-09-22 福州畅昕信息科技有限公司 E-book barrage control method, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843815A (en) * 2015-01-14 2016-08-10 腾讯科技(深圳)有限公司 Method and device for processing page comment, and browser
WO2018000636A1 (en) * 2016-06-27 2018-01-04 乐视控股(北京)有限公司 Bullet-screen information processing method and apparatus
CN107734373A (en) * 2017-10-12 2018-02-23 网易(杭州)网络有限公司 Barrage sending method and device, storage medium, electronic equipment
CN109684589A (en) * 2018-12-25 2019-04-26 北京微播视界科技有限公司 Processing method, device and the computer storage medium of the comment data of client
CN109729414A (en) * 2019-01-18 2019-05-07 北京达佳互联信息技术有限公司 A kind of transmission, display methods, device, server and terminal for commenting on message
CN111294663A (en) * 2020-02-10 2020-06-16 腾讯科技(深圳)有限公司 Bullet screen processing method and device, electronic equipment and computer readable storage medium
CN111479157A (en) * 2020-04-07 2020-07-31 北京字节跳动网络技术有限公司 Bullet screen display method and device, electronic equipment and computer storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843815A (en) * 2015-01-14 2016-08-10 腾讯科技(深圳)有限公司 Method and device for processing page comment, and browser
WO2018000636A1 (en) * 2016-06-27 2018-01-04 乐视控股(北京)有限公司 Bullet-screen information processing method and apparatus
CN107734373A (en) * 2017-10-12 2018-02-23 网易(杭州)网络有限公司 Barrage sending method and device, storage medium, electronic equipment
CN109684589A (en) * 2018-12-25 2019-04-26 北京微播视界科技有限公司 Processing method, device and the computer storage medium of the comment data of client
CN109729414A (en) * 2019-01-18 2019-05-07 北京达佳互联信息技术有限公司 A kind of transmission, display methods, device, server and terminal for commenting on message
CN111294663A (en) * 2020-02-10 2020-06-16 腾讯科技(深圳)有限公司 Bullet screen processing method and device, electronic equipment and computer readable storage medium
CN111479157A (en) * 2020-04-07 2020-07-31 北京字节跳动网络技术有限公司 Bullet screen display method and device, electronic equipment and computer storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022142295A1 (en) * 2020-12-30 2022-07-07 游艺星际(北京)科技有限公司 Bullet comment display method and electronic device
CN113805992A (en) * 2021-09-01 2021-12-17 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN113986421A (en) * 2021-10-14 2022-01-28 上海呵呵呵文化传播有限公司 Bullet screen display method and device for electronic books
CN115103212A (en) * 2022-06-10 2022-09-23 咪咕文化科技有限公司 Bullet screen display method, bullet screen processing method and device and electronic equipment
CN115103212B (en) * 2022-06-10 2023-09-05 咪咕文化科技有限公司 Bullet screen display method, bullet screen processing device and electronic equipment
CN115237301A (en) * 2022-09-20 2022-10-25 深圳市人马互动科技有限公司 Method and device for processing bullet screen in interactive novel
CN116800705A (en) * 2023-05-06 2023-09-22 福州畅昕信息科技有限公司 E-book barrage control method, electronic equipment and storage medium
CN116800705B (en) * 2023-05-06 2023-11-10 福州畅昕信息科技有限公司 E-book barrage control method, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108776568B (en) Webpage display method, device, terminal and storage medium
CN110674022B (en) Behavior data acquisition method and device and storage medium
CN109660855B (en) Sticker display method, device, terminal and storage medium
CN113157172A (en) Barrage information display method, transmission method, device, terminal and storage medium
CN108737897B (en) Video playing method, device, equipment and storage medium
CN109327608B (en) Song sharing method, terminal, server and system
CN109859102B (en) Special effect display method, device, terminal and storage medium
CN108897597B (en) Method and device for guiding configuration of live broadcast template
CN112751679B (en) Instant messaging message processing method, terminal and server
CN109144346B (en) Song sharing method and device and storage medium
CN110300274B (en) Video file recording method, device and storage medium
CN112181572A (en) Interactive special effect display method and device, terminal and storage medium
CN112044065B (en) Virtual resource display method, device, equipment and storage medium
CN111880888B (en) Preview cover generation method and device, electronic equipment and storage medium
CN113411680A (en) Multimedia resource playing method, device, terminal and storage medium
CN112667835A (en) Work processing method and device, electronic equipment and storage medium
CN107656794B (en) Interface display method and device
CN111083526B (en) Video transition method and device, computer equipment and storage medium
CN111368114A (en) Information display method, device, equipment and storage medium
CN111131867B (en) Song singing method, device, terminal and storage medium
CN110286839B (en) Message sending method, device, terminal and storage medium
CN111796990A (en) Resource display method, device, terminal and storage medium
CN112230910A (en) Page generation method, device, equipment and storage medium of embedded program
CN112637624B (en) Live stream processing method, device, equipment and storage medium
CN109189525B (en) Method, device and equipment for loading sub-page and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination