CN107066342B - Information display method and device - Google Patents

Information display method and device Download PDF

Info

Publication number
CN107066342B
CN107066342B CN201710271040.3A CN201710271040A CN107066342B CN 107066342 B CN107066342 B CN 107066342B CN 201710271040 A CN201710271040 A CN 201710271040A CN 107066342 B CN107066342 B CN 107066342B
Authority
CN
China
Prior art keywords
information
displayed
terminal
queue
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710271040.3A
Other languages
Chinese (zh)
Other versions
CN107066342A (en
Inventor
陈军宏
张培养
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Black Mirror Technology Co., Ltd.
Original Assignee
Xiamen Black Mirror 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 Xiamen Black Mirror Technology Co ltd filed Critical Xiamen Black Mirror Technology Co ltd
Priority to CN201710271040.3A priority Critical patent/CN107066342B/en
Publication of CN107066342A publication Critical patent/CN107066342A/en
Application granted granted Critical
Publication of CN107066342B publication Critical patent/CN107066342B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an information display method and device. One embodiment of the method comprises: the method comprises the steps of responding to received information to be displayed sent by a first terminal, and obtaining state information of an information queue to be displayed; determining whether the information queue to be displayed is in the locking state according to the state information; in response to determining that the information queue to be presented is not in the locked state, adding the information to be presented to the tail of the information queue to be presented; and for each information to be displayed in the information queue to be displayed, sending the information to be displayed to a first terminal and/or a second terminal according to the position of the information to be displayed in the information queue to be displayed, so that the first terminal and the second terminal can display the information to be displayed at the same time. The embodiment can display the information to be displayed in time.

Description

Information display method and device
Technical Field
The application relates to the technical field of computers, in particular to the technical field of internet, and particularly relates to an information display method and device.
Background
With the development of the internet, different users can interact with each other by using terminals. The user can send the information to be displayed to the terminals used by other users through the terminal. However, in the interaction process, the situation that two or more parties send information to be displayed at the same time often occurs, so that the information to be displayed is blocked, and the information to be displayed sent by the user cannot be displayed in time.
Therefore, the existing information display mode has the problem of untimely information display.
Disclosure of Invention
The present application is directed to an improved information displaying method and apparatus, so as to solve the technical problems mentioned in the background section above.
In a first aspect, the present application provides an information displaying method, where the method includes: the method comprises the steps that in response to receiving information to be displayed sent by a first terminal, state information of an information queue to be displayed is obtained, wherein the state information is used for indicating whether the information queue to be displayed is in a locked state or not, and the locked state is a state that the information to be displayed cannot be added; determining whether the information queue to be displayed is in the locking state according to the state information; in response to determining that the information queue to be displayed is not in the locked state, adding the information to be displayed to the tail of the information queue to be displayed; and for each information to be displayed in the information queue to be displayed, sending the information to be displayed to a first terminal and/or a second terminal according to the position of the information to be displayed in the information queue to be displayed, so that the first terminal and the second terminal can simultaneously display the information to be displayed.
In some embodiments, the sending, for each piece of information to be displayed in the information to be displayed queue, the information to be displayed to the first terminal and/or the second terminal according to the position of the information to be displayed in the information to be displayed queue includes: sending the information to be displayed at the head of the queue of the information to be displayed to the first terminal and the second terminal so that the first terminal and the second terminal can simultaneously display the information to be displayed at the head of the queue; and the above method further comprises: determining whether the first terminal and the second terminal finish displaying the information to be displayed at the head of the queue; and deleting the information to be displayed at the head of the queue from the information to be displayed queue in response to the fact that the first terminal and the second terminal finish displaying the information to be displayed at the head of the queue.
In some embodiments, the determining whether the first terminal and the second terminal finish displaying the information to be displayed at the head of line includes: determining the display duration of the information to be displayed at the head of the team; determining whether the first terminal and the second terminal finish displaying the information to be displayed at the head of the team according to the display duration and the time point of sending the information to be displayed at the head of the team; or in response to determining that the first terminal and the second terminal receive the information to be displayed at the head of the line, the background executes an operation for displaying the information to be displayed at the head of the line; and responding to the end of the background executing the operation, and determining that the first terminal and the second terminal finish displaying the information to be displayed at the head of the queue.
In some embodiments, the above method further comprises: in response to determining that a preset unlocking condition is met, modifying the state information into information for indicating that the information queue to be displayed is not in the locking state, wherein the preset unlocking condition comprises at least one of the following items: the information number of the information queue to be displayed is less than a preset unlocking threshold value; the information number is smaller than the preset unlocking threshold, and the time length from the last time when the information number is equal to the preset unlocking threshold is larger than a preset first time length threshold; at a preset time point, the number of the messages is smaller than the preset unlocking threshold value.
In some embodiments, the above method further comprises: counting the unlocking times of the information queue to be displayed in a preset time period, wherein the unlocking times are the times of modifying the state information into information for indicating that the information queue to be displayed is not in the locking state; and in response to the unlocking times being larger than a preset first time threshold value, improving the preset first time threshold value.
In some embodiments, the above method further comprises: in response to determining that a preset locking condition is met, modifying the state information into information for indicating that the information queue to be displayed is in the locking state, wherein the preset locking condition comprises: the information number of the information queue to be displayed is not less than a preset locking threshold value.
In some embodiments, the information to be displayed sent by the first terminal includes a plurality of information to be displayed fragments; and the sending the information to be displayed to the first terminal and/or the second terminal according to the position of the information to be displayed in the information queue to be displayed for each information to be displayed in the information queue to be displayed, including: in response to determining that the information queue to be displayed is not in the locked state and the information queue to be displayed is empty, forwarding the information fragment sequence to be displayed and the time point sequence to be transmitted, which are transmitted by the first terminal, to the second terminal, wherein: the sending time point sequence comprises the time point when the first terminal sends each information fragment to be displayed, the second terminal determines to receive the receiving time point sequence of each information fragment to be displayed in response to receiving each information fragment to be displayed and sends receipt information back to the first terminal, wherein the receipt information is information for indicating that each information fragment to be displayed is received, for each information fragment to be displayed in the information fragment sequences to be displayed except the first one, the first terminal sends the information fragment to be displayed and the sending time point in response to the receipt information corresponding to the previous information fragment to be displayed of the information fragment to be displayed, and the second terminal determines the average transmission duration of the receipt information according to the sending time point sequence and the receiving time point sequence, and in response to determining that the received information fragment to be displayed is the last information fragment to be displayed of the sequence of the information fragments to be displayed, displaying the information to be displayed sent by the first terminal after waiting for the average transmission duration, and in response to receiving receipt information corresponding to the last information fragment to be displayed, displaying the information to be displayed sent by the first terminal.
In some embodiments, the above method further comprises: receiving the information to be displayed and the corresponding information type sent by the first terminal; and the above-mentioned response receives waiting to demonstrate the information that the first terminal sends, obtain waiting to demonstrate the state information of the information queue, including: determining whether the time length for receiving the information to be displayed sent by the first terminal is greater than a second time length threshold preset for the type of the information; and in response to the fact that the time length from the time when the information to be displayed is received is larger than the second time length threshold value, acquiring the state information of the information queue to be displayed.
In some embodiments, the above method further comprises: and in response to determining that the information queue to be displayed is in the locked state, sending a message for indicating that the information queue to be displayed is refused to be displayed to the first terminal.
In a second aspect, the present application provides an information display apparatus, the apparatus comprising: the display device comprises a first obtaining unit, a second obtaining unit and a display unit, wherein the first obtaining unit is used for responding to the received information to be displayed sent by a first terminal and obtaining the state information of an information queue to be displayed, the state information is used for indicating whether the information queue to be displayed is in a locked state or not, and the locked state is a state that the information to be displayed cannot be added; a determining unit, configured to determine whether the information queue to be displayed is in the locked state according to the state information; the adding unit is used for responding to the condition that the information queue to be displayed is not in the locking state, and adding the information to be displayed to the tail of the information queue to be displayed; and the sending unit is used for sending the information to be displayed to a first terminal and/or a second terminal according to the position of the information to be displayed in the information queue to be displayed, so that the information to be displayed can be simultaneously displayed by the first terminal and the second terminal.
According to the information display method and device provided by the embodiment of the application, the information queue to be displayed is preset at the server side, the rhythm of sending the information to be displayed to the terminal can be controlled by setting the locking state of the information queue to be displayed, and the server receives the information to be displayed sent by the terminal; if the information queue to be displayed is in a locked state, refusing to display and receive the information to be displayed; if the information queue to be displayed is not in a locked state, receiving the information to be displayed and arranging the received information to be displayed to the tail of the queue; for each information to be displayed in the information queue to be displayed, the information to be displayed is sent to the first terminal and/or the second terminal according to the position of the information to be displayed in the information queue to be displayed, so that the first terminal and the second terminal can display the information to be displayed at the same time, the condition of information congestion can be avoided, and the information to be displayed can be displayed in time.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of an information presentation method according to the present application;
FIG. 3 is a schematic diagram of an application scenario of an information presentation method according to the present application;
FIG. 4 is a flow chart of yet another embodiment of an information presentation method according to the present application;
FIG. 5 is a flow chart of yet another embodiment of an information presentation method according to the present application;
FIG. 6 is a schematic block diagram of one embodiment of an information presentation device according to the present application;
FIG. 7 is a block diagram of a computer system suitable for use in implementing a server according to embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture to which embodiments of the information presentation method or the information presentation apparatus of the present application may be applied.
As shown in fig. 1, the system architecture may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various communication client applications, such as game applications, search applications, instant messaging tools, mailbox clients, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio L player iii, mpeg compressed standard Audio layer 3), MP4 players (Moving Picture Experts Group Audio L layer IV, mpeg compressed standard Audio layer 4), laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for information presented on the terminal devices 101, 102, 103. The background server can determine the sending time of the received data such as the information to be displayed and the like, and send the data to the plurality of terminal devices at the determined time.
It should be noted that the information displaying method provided in the embodiment of the present application is generally executed by the server 105, and accordingly, the information displaying apparatus is generally disposed in the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of an information presentation method according to the present application is shown. The information display method comprises the following steps:
step 201, in response to receiving the information to be displayed sent by the first terminal, obtaining the state information of the information queue to be displayed.
In this embodiment, an electronic device (for example, a server shown in fig. 1) on which the information presentation method operates may receive information to be presented, which is sent by a first terminal and is input by a user, and obtain state information of an information queue to be presented in response to receiving the information to be presented, which is sent by the first terminal.
In this embodiment, the information to be presented may be information that can be presented separately, such as audio, video, and the like. The information to be presented may also be information presented by means of some models or templates, such as animation information, and the animation information may be information indicating how the models or templates present animation effects.
In this embodiment, the queue of information to be presented may be a queue configured according to a first-in-first-out principle. The queue to be displayed may preset the number of information to be displayed that can be accommodated.
In this embodiment, the status information is used to indicate whether the queue of information to be shown is in a locked state, where the locked state is a state where information to be shown cannot be added. Here, the state information may be information that changes depending on whether or not the information queue to be presented is in a locked state. The status information may be two preset status indication information, for example, the status information may be "0" and "1", where "0" is used to indicate that the queue of information to be presented is in the locked state, and "1" is used to indicate that the queue of information to be presented is not in the locked state.
Step 202, determining whether the information queue to be displayed is in a locked state according to the state information.
In this embodiment, the electronic device may determine whether the queue of information to be displayed is in the locked state according to the status information.
As an example, if the status information acquired by the electronic device is "1", it is determined that the information queue to be presented is not in the locked state according to a preset rule that "1" is used to indicate that the information queue to be presented is not in the locked state.
Step 203, in response to determining that the information queue to be displayed is not in the locked state, adding the information to be displayed to the tail of the information queue to be displayed.
In this embodiment, the electronic device may add the information to be presented to the tail of the information queue to be presented in response to determining that the information queue to be presented is not in the locked state.
And 204, for each information to be displayed in the information queue to be displayed, sending the information to be displayed to the first terminal and/or the second terminal according to the position of the information to be displayed in the information queue to be displayed.
In this embodiment, for each piece of information to be displayed in the information queue to be displayed, the electronic device may send the piece of information to be displayed to the first terminal and/or the second terminal according to the position of the piece of information to be displayed in the information queue to be displayed, so that the first terminal and the second terminal can simultaneously display the piece of information to be displayed.
It should be noted that before the information to be displayed is added to the tail of the information to be displayed queue in step 203, the information to be displayed queue may not have the information to be displayed, or may have one or more pieces of information to be displayed. If there are one or more pieces of information to be presented in the information to be presented queue, then the one or more pieces of information to be presented may be added to the information to be presented queue via the same process as shown in steps 201-203.
It is understood that the information to be presented in the information to be presented queue may be sent by the first terminal to the electronic device, or may be sent by the second terminal to the electronic device.
In some optional implementation manners of this embodiment, the electronic device may not distinguish which terminal the information to be displayed is sent by, and the electronic device sends the information to be displayed to the first terminal and the second terminal when sending the information to be displayed to the terminals for displaying. The electronic equipment can also distinguish which terminal sends the information to be displayed, and when the electronic equipment sends the information to be displayed to the terminal for displaying, the information to be displayed is only sent to the terminal which does not send the information to be displayed, namely only sent to the first terminal or the second terminal.
As an example, if the information to be displayed is at the head of the information queue to be displayed, the information to be displayed is at the first position of the information queue to be displayed; and if the information to be displayed is not at the tail of the information queue to be displayed, sequentially counting backwards by taking the information to be displayed at the head of the queue as the first digit, and determining the number of digits of the information to be displayed in the information queue to be displayed.
In this embodiment, the electronic device may send one or more pieces of information to be displayed each time the electronic device sends the information to be displayed to the first terminal and the second terminal. According to the position of the information to be displayed in the information queue to be displayed, the information to be displayed is sent to the first terminal and/or the second terminal, and the method can be realized in the following way: and selecting a preset number of information to be displayed from the head of the information to be displayed to send, and not sending the unselected information to be displayed.
In this embodiment, the second terminal may be one or more terminals different from the first terminal.
In this embodiment, the first terminal and the second terminal simultaneously display the information to be displayed. As an example, the same animation model may be stored in the first terminal and the second terminal, and in the case that the information to be presented is animation information, the first terminal and the second terminal may call the animation model to present the same animation effect using the animation information at the same time.
With continuing reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the information presentation method according to the present embodiment. In the application scenario of fig. 3, a user first sends information to be displayed to a server through a first terminal, and receives the information to be displayed sent by the first terminal to obtain state information of an information queue to be displayed as an example; then, the server can determine whether the information queue to be displayed is in the locking state according to the state information; then, the server may add the information to be displayed to the tail of the information queue to be displayed in response to determining that the information queue to be displayed is not in the locked state; finally, the server may send, to each piece of information to be displayed in the information queue to be displayed, the piece of information to be displayed to the first terminal and/or the second terminal according to the position of the piece of information to be displayed in the information queue to be displayed, so that the first terminal and the second terminal display the piece of information to be displayed at the same time, for example, the first terminal and the second terminal may call a task model to dance at the same time by using the animation information.
In the information display method provided by this embodiment, a to-be-displayed information queue is preset at a server, and a locking state of the to-be-displayed information queue is set to determine whether to add the to-be-displayed information sent by a receiving terminal to the to-be-displayed information queue for display; if the information queue to be displayed is not in a locked state, receiving the information to be displayed, arranging the received information to be displayed to the tail of the queue, and waiting for display; for each information to be displayed in the information queue to be displayed, the information to be displayed is sent to the first terminal and/or the second terminal according to the position of the information to be displayed in the information queue to be displayed, so that the first terminal and the second terminal can display the information to be displayed at the same time, the condition of information congestion can be avoided, and the information to be displayed can be displayed in time.
With further reference to FIG. 4, a flow 400 of yet another embodiment of an information presentation method is shown. The process 400 of the information display method includes the following steps:
step 401, in response to receiving the information to be displayed sent by the first terminal, obtaining the state information of the information queue to be displayed.
In this embodiment, an electronic device (for example, a server shown in fig. 1) on which the information presentation method operates may obtain status information of an information queue to be presented in response to receiving information to be presented sent by the first terminal. Here, the status information is used to indicate whether the queue of information to be presented is in a locked state, where the locked state is a state where information to be presented cannot be added.
In some optional implementation manners of this embodiment, the information display method shown in this embodiment may further include: and receiving the information to be displayed and the corresponding information type sent by the first terminal.
As an example, the information type of the information to be presented may be an audio type, a video type. The second duration threshold may be set in advance for the audio type, which may be 3 seconds, for example. The second duration threshold may be set in advance for the video type, which may be 5 seconds, for example.
In some optional implementations of this embodiment, the method shown in this embodiment may further include: in response to receiving information to be displayed sent by a first terminal and type information of the information to be displayed, determining whether the time length from the time when the information to be displayed sent by the first terminal is received is greater than a second time length threshold preset for the type of the information; and in response to the fact that the time length from the time when the information to be displayed is received is larger than the second time length threshold value, acquiring the state information of the information queue to be displayed.
As an example, if the received information to be presented is audio, and the second duration threshold is 3 seconds, when the duration from the current time point to the time point at which the information to be presented is received is greater than 3 seconds, the electronic device obtains the state information of the information queue to be presented.
Here, if the information to be presented is not added to the information to be presented queue, the user may withdraw the information to be presented. The information to be displayed can be added to the information queue to be displayed by delaying the time for acquiring the state information of the information queue to be displayed, and the time for considering whether the information to be displayed is withdrawn by the user is reserved, so that the effectiveness of the information sent by the user is improved, and the possibility of invalid communication in the interactive process is reduced.
In the method, different time is delayed according to different information types, so that different consideration time can be left for users, and the timeliness of information display is improved to a greater extent. As an example, for audio, a shorter latency may be set, and for video, a longer latency may be set. If the user sends audio that is intended to be recalled but does not have time to recall, it does not take too much of the presentation time. If the user sends a video that wants to be revoked but does not have time to be revoked, it takes too much presentation time.
Step 402, determining whether the information queue to be displayed is in a locked state according to the state information.
In this embodiment, the electronic device may determine whether the queue of information to be displayed is in the locked state according to the status information.
In some optional implementation manners of this embodiment, the electronic device may send, to the first terminal, a message indicating that the display of the information to be displayed is rejected in response to determining that the information to be displayed queue is in the locked state.
Step 403, in response to determining that the information queue to be displayed is not in the locked state, adding the information to be displayed to the tail of the information queue to be displayed.
In this embodiment, the electronic device may add the information to be presented to the tail of the information queue to be presented in response to determining that the information queue to be presented is not in the locked state.
Step 404, sending the information to be displayed at the head of the queue of the information to be displayed to the first terminal and the second terminal.
In this embodiment, the electronic device may send the head to-be-displayed information located at the head of the queue of the to-be-displayed information to the first terminal and the second terminal, so that the first terminal and the second terminal can simultaneously display the head to-be-displayed information.
Step 405, determining whether the information to be displayed at the head of the display queue of the first terminal and the second terminal is finished.
In this embodiment, the electronic device may determine whether the information to be displayed at the head of the display queue of the first terminal and the second terminal is finished.
In some optional implementations of this embodiment, step 405 may be implemented by: determining the display duration of the information to be displayed at the head of the team; and determining whether the first terminal and the second terminal finish displaying the information to be displayed at the head of the team according to the display duration and the time point of sending the information to be displayed at the head of the team.
Here, if the information type of the information to be displayed at the head of the team is an audio type or a video type, since the audio or video is usually displayed (played) in its own time, the display time of the information to be displayed at the head of the team can be directly determined. The electronic device may determine a display end time point of the information to be displayed at the head of the team by adding the determined time length to the time point of sending the information to be displayed at the head of the team. And at the display ending time point, the first terminal and the second terminal are considered to end displaying the information to be displayed at the head of the team.
In some optional implementations of this embodiment, step 405 may be implemented by: in response to determining that the first terminal and the second terminal receive the information to be displayed at the head of the line, the background executes an operation for displaying the information to be displayed at the head of the line; and responding to the end of the background executing the operation, and determining that the first terminal and the second terminal finish displaying the information to be displayed at the head of the queue.
It should be noted that, for some information to be displayed, the display duration of the information to be displayed may not be determined before the information to be displayed is not displayed, for example, for animation information, how long it takes to execute the entire animation information may not be determined before the animation model is not moved according to the animation information. The electronic equipment can build the same execution environment with the first terminal and the second terminal in the background. Then, the electronic device may execute, in response to determining that the first terminal and the second terminal receive the information to be shown at the head of the line, an operation for showing the information to be shown at the head of the line, for example, an operation for showing animation information, in a background of the electronic device. The electronic device may determine that the first terminal and the second terminal finish displaying the information to be displayed at the head of the line in response to the end of the operation of displaying the information to be displayed at the head of the line executed by the background.
And step 406, in response to determining that the information to be displayed at the head of the queue displayed by the first terminal and the second terminal is finished, deleting the information to be displayed at the head of the queue from the information queue to be displayed.
In this embodiment, the electronic device may delete the information to be shown at the head of the queue from the information to be shown queue in response to determining that the first terminal and the second terminal finish showing the information to be shown at the head of the queue.
It should be noted that, after the information to be displayed at the head of the queue is deleted from the information to be displayed queue, the information to be displayed one bit after the information to be displayed at the head of the queue becomes new information to be displayed at the head of the queue.
In some optional implementation manners of this embodiment, in response to determining that a preset unlocking condition is satisfied, the electronic device modifies the state information to information indicating that the information queue to be displayed is not in the locked state.
In some optional implementations of the present embodiment, the preset unlocking condition includes, but is not limited to: the information number of the information queue to be displayed is less than a preset unlocking threshold value; the information number is smaller than the preset unlocking threshold, and the time length from the last time when the information number is equal to the preset unlocking threshold is larger than a preset first time length threshold; at a preset time point, the number of the messages is smaller than the preset unlocking threshold value.
Here, the preset unlocking threshold may be equal to or less than the number of information to be displayed that can be accommodated by the information to be displayed queue. As an example, the number of the information to be displayed that can be accommodated by the information to be displayed queue may be 3, and the preset unlocking threshold may be 3, or may be 2 or 1.
Here, the electronic device may further unlock the information queue to be displayed immediately after determining that the number of the information queue to be displayed is smaller than the preset unlocking threshold, and wait for a predetermined first time period to unlock the information queue to be displayed, that is, when the time period from the last time when the number of the information queue to be displayed is equal to the preset unlocking threshold is greater than the preset first time period threshold, unlock the information queue to be displayed.
Here, the electronic device may determine whether the electronic device can be unlocked at a preset time point, such as 6 click, 12 click, 18 click, and 24 click every day, and if so, unlock the electronic device, otherwise, the electronic device may keep the queue of information to be displayed in a locked state, even if the number of information in the queue of information to be displayed is smaller than the preset unlocking threshold.
In some optional implementation manners of this embodiment, the number of times of unlocking the to-be-displayed information queue within a preset time period is counted, where the number of times of unlocking is the number of times of modifying the state information into information used for indicating that the to-be-displayed information queue is not in the locked state; and in response to the unlocking times being larger than a preset first time threshold value, improving the preset first time threshold value.
It should be noted that, the electronic device may count the number of times of unlocking the information queue to be displayed within a preset time period, and if the unlocking is too frequent, the operation pressure of the electronic device may be increased. In this case, increasing the number threshold may alleviate the computational burden of the electronic device. Moreover, if the unlocking is too frequent, the user may send too much useless information, that is, too much invalid communication may exist between users, so that the communication efficiency between users is low. In this case, increasing the threshold of times can reduce the blindness and the randomness of information transmission of users, and improve the communication efficiency between users.
In some optional implementation manners of this embodiment, in response to determining that a preset locking condition is satisfied, the state information is modified to information indicating that the information queue to be displayed is in the locked state, where the preset locking condition includes: the information number of the information queue to be displayed is not less than a preset locking threshold value.
As an example, the preset locking threshold may be set to 3, and if the number of the information in the information queue to be presented is 3, the status information of the information queue to be presented is modified to information indicating that the information queue to be presented is in the locking state.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the process 400 of the information display method in this embodiment highlights the step of deleting the information to be displayed in the information queue to be displayed and unlocking or locking the information queue to be displayed. Therefore, the scheme described in the embodiment can more comprehensively utilize the information queue to be displayed to control the terminal to display the information to be displayed.
With continued reference to FIG. 5, a flow 500 of one embodiment of an information presentation method according to the present application is shown. The information display method comprises the following steps:
step 501, in response to receiving the information to be displayed fragment sent by the first terminal, obtaining the state information of the information to be displayed queue.
In this embodiment, an electronic device (for example, a server shown in fig. 1) on which the information presentation method operates may obtain the state information of the information queue to be presented in response to receiving the information fragment to be presented sent by the first terminal. Here, the status information is used to indicate whether the queue of information to be presented is in a locked state, where the locked state is a state where information to be presented cannot be added.
In this embodiment, the information to be presented sent by the first terminal may include a plurality of information to be presented segments. When the electronic equipment receives a first information fragment to be displayed sent by a first terminal, state information of an information queue to be displayed is obtained. Here, the information to be presented may be obtained by the first terminal dividing the pre-stored complete information to be presented into a plurality of pieces. The information fragment to be displayed may also be obtained by the first terminal in real time when the first terminal does not generate complete information to be displayed, for example, a user records audio or video. When the recording operation of the user is finished, the first terminal can obtain the complete information to be displayed, which is to be composed of a plurality of information fragments to be displayed.
Step 502, according to the state information, determining whether the information queue to be displayed is in a locked state.
In this embodiment, the electronic device may determine whether the queue of information to be displayed is in the locked state according to the status information.
Step 503, in response to determining that the information queue to be displayed is not in the locked state and the information queue to be displayed is empty, forwarding the information fragment sequence to be displayed and the transmission time point sequence, which are sent by the first terminal, to the second terminal.
In this embodiment, the electronic device may forward the to-be-displayed information fragment sequence and the sending time point sequence S sent by the first terminal in response to determining that the to-be-displayed information queue is not in the locked state and the to-be-displayed information queue is emptyTaTo the second terminal. Here, that the information queue to be presented is empty means that the number of information to be presented in the information queue to be presented is 0.
In this embodiment, the time point T when the first terminal sends each information fragment to be displayed includesa1,Ta2,...,TanWherein, Ta1Is the time point, T, at which the first terminal sends the first information fragment to be displayeda2Is the time point, T, at which the first terminal sends the second information fragment to be displayedanIs the time point when the first terminal sends the last information fragment to be displayed. It will be appreciated that here the information to be presented is divided into n slices, so TanIs the time point when the first terminal sends the last information fragment to be displayed.
In this embodiment, the second stepThe terminal responds to the reception of each information fragment to be displayed, and determines the receiving time point sequence S of each information fragment to be displayedTbAnd sending receipt information back to the first terminal, wherein the receipt information is information for indicating that the information fragments to be displayed are received.
In this embodiment, the time point T when the second terminal receives each information fragment to be displayed is includedb1,Tb2,...,TbnWherein, Tb1Is the time point, T, at which the second terminal receives the first information fragment to be displayedb2Is the time point, T, at which the second terminal receives the second information fragment to be displayedbnIs the time point when the second terminal receives the last information fragment to be displayed.
In this embodiment, for each information fragment to be displayed in the information fragment sequence to be displayed except for the first one, the first terminal sends the information fragment to be displayed and the sending time point in response to receiving the receipt information corresponding to the previous information fragment to be displayed of the information fragment to be displayed.
It can be understood that the first terminal sends the second information fragment to be presented in response to receiving the first receipt information, where the first receipt information is information indicating that the second terminal receives the first information fragment to be presented. And the first terminal responds to the received second receipt information to send a third information fragment to be displayed, wherein the second receipt information is used for indicating that the second terminal receives the information fragment to be displayed. And so on.
In this embodiment, the second terminal determines the average transmission duration of the response piece information according to the sending time point sequence and the receiving time point sequence
Figure GDA0002543554840000151
Ta2And Tb1Is the first transmission duration of the first receipt information. T isa3And Tb2The difference value of (a) is a second sending duration for sending the second information fragment to be displayed. And so on, the second terminal receivesAnd when the last information fragment to be displayed is obtained, the transmission time of the (n-1) th receipt information can be determined. The second terminal can obtain the average value of the transmission time of the first n-1 receipt information to obtain the average transmission time length
Figure GDA0002543554840000152
In this embodiment, in response to determining that the received information fragment to be displayed is the last information fragment to be displayed in the sequence of information fragments to be displayed, the second terminal displays the information to be displayed sent by the first terminal after waiting for the average transmission duration.
In this embodiment, the first terminal displays the information to be displayed sent by the first terminal in response to receiving the receipt information corresponding to the last information to be displayed fragment.
In the information display method shown in this embodiment, when the terminals communicate with each other, the first terminal and the second terminal are accurately controlled to simultaneously display the information to be displayed by using the receipt information.
With further reference to fig. 6, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of an information presentation apparatus, which corresponds to the method embodiment shown in fig. 2, and which can be applied to various electronic devices.
As shown in fig. 6, the information display apparatus 600 of the present embodiment includes: a first acquisition unit 601, a determination unit 602, an addition unit 603, and a transmission unit 604. The first obtaining unit is configured to obtain state information of an information queue to be displayed in response to receiving information to be displayed sent by a first terminal, where the state information is used to indicate whether the information queue to be displayed is in a locked state, and the locked state is a state where the information queue to be displayed cannot be added; a determining unit, configured to determine whether the information queue to be displayed is in the locked state according to the state information; the adding unit is used for responding to the condition that the information queue to be displayed is not in the locking state, and adding the information to be displayed to the tail of the information queue to be displayed; and the sending unit is used for sending the information to be displayed to a first terminal and/or a second terminal according to the position of the information to be displayed in the information queue to be displayed, so that the information to be displayed can be simultaneously displayed by the first terminal and the second terminal.
In this embodiment, the specific processing of the first obtaining unit 601, the determining unit 602, the adding unit 603, and the sending unit 604 of the apparatus 600 may refer to step 201, step 202, step 203, and step 204 in the corresponding embodiment of fig. 2, and is not described herein again.
In some optional implementation manners of this embodiment, the sending unit is further configured to: sending the information to be displayed at the head of the queue of the information to be displayed to the first terminal and the second terminal so that the first terminal and the second terminal can simultaneously display the information to be displayed at the head of the queue; and the above apparatus further includes a deletion unit (not shown) for: determining whether the first terminal and the second terminal finish displaying the information to be displayed at the head of the queue; and deleting the information to be displayed at the head of the queue from the information to be displayed queue in response to the fact that the first terminal and the second terminal finish displaying the information to be displayed at the head of the queue.
In some optional implementation manners of this embodiment, the deleting unit is further configured to: determining the display duration of the information to be displayed at the head of the team; determining whether the first terminal and the second terminal finish displaying the information to be displayed at the head of the team according to the display duration and the time point of sending the information to be displayed at the head of the team; or in response to determining that the first terminal and the second terminal receive the information to be displayed at the head of the line, the background executes an operation for displaying the information to be displayed at the head of the line; and responding to the end of the background executing the operation, and determining that the first terminal and the second terminal finish displaying the information to be displayed at the head of the queue.
In some optional implementations of this embodiment, the apparatus further includes an unlocking unit (not shown) configured to: in response to determining that a preset unlocking condition is met, modifying the state information into information for indicating that the information queue to be displayed is not in the locking state, wherein the preset unlocking condition comprises at least one of the following items: the information number of the information queue to be displayed is less than a preset unlocking threshold value; the information number is smaller than the preset unlocking threshold, and the time length from the last time when the information number is equal to the preset unlocking threshold is larger than a preset first time length threshold; at a preset time point, the number of the messages is smaller than the preset unlocking threshold value.
In some optional implementations of this embodiment, the apparatus further includes an unlocking adjustment unit (not shown) configured to: counting the unlocking times of the information queue to be displayed in a preset time period, wherein the unlocking times are the times of modifying the state information into information for indicating that the information queue to be displayed is not in the locking state; and in response to the unlocking times being larger than a preset first time threshold value, improving the preset first time threshold value.
In some optional implementations of this embodiment, the apparatus further includes a locking unit (not shown) configured to: in response to determining that a preset locking condition is met, modifying the state information into information for indicating that the information queue to be displayed is in the locking state, wherein the preset locking condition comprises: the information number of the information queue to be displayed is not less than a preset locking threshold value.
In some optional implementation manners of this embodiment, the information to be displayed sent by the first terminal includes a plurality of information fragments to be displayed; and a transmitting unit further configured to: in response to determining that the information queue to be displayed is not in the locked state and the information queue to be displayed is empty, forwarding the information fragment sequence to be displayed and the time point sequence to be transmitted, which are transmitted by the first terminal, to the second terminal, wherein: the sending time point sequence comprises the time point when the first terminal sends each information fragment to be displayed, the second terminal determines to receive the receiving time point sequence of each information fragment to be displayed in response to receiving each information fragment to be displayed and sends receipt information back to the first terminal, wherein the receipt information is information for indicating that each information fragment to be displayed is received, for each information fragment to be displayed in the information fragment sequences to be displayed except the first one, the first terminal sends the information fragment to be displayed and the sending time point in response to the receipt information corresponding to the previous information fragment to be displayed of the information fragment to be displayed, and the second terminal determines the average transmission duration of the receipt information according to the sending time point sequence and the receiving time point sequence, and in response to determining that the received information fragment to be displayed is the last information fragment to be displayed of the sequence of the information fragments to be displayed, displaying the information to be displayed sent by the first terminal after waiting for the average transmission duration, and in response to receiving receipt information corresponding to the last information fragment to be displayed, displaying the information to be displayed sent by the first terminal.
In some optional implementations of this embodiment, the apparatus further includes a second obtaining unit (not shown) configured to: receiving the information type of the information to be displayed sent by the first terminal; and the obtaining unit is further configured to: determining whether the time length for receiving the information to be displayed sent by the first terminal is greater than a second time length threshold preset for the type of the information; and in response to the fact that the time length from the time when the information to be displayed is received is larger than the second time length threshold value, acquiring the state information of the information queue to be displayed.
In some optional implementations of this embodiment, the apparatus further includes a rejection presenting unit (not shown) configured to: and in response to determining that the information queue to be displayed is in the locked state, sending a message for indicating that the information queue to be displayed is refused to be displayed to the first terminal.
For details of implementation and technical effects of each unit of the apparatus provided in this embodiment, reference may be made to descriptions in other embodiments of the present application, and details are not described herein again.
Referring now to FIG. 7, shown is a block diagram of a computer system 700 suitable for use in implementing a server according to embodiments of the present application. The server shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
To the I/O interface 705, AN input section 706 including a keyboard, a mouse, and the like, AN output section 707 including a keyboard such as a Cathode Ray Tube (CRT), a liquid crystal display (L CD), and the like, a speaker, and the like, a storage section 708 including a hard disk and the like, and a communication section 709 including a network interface card such as a L AN card, a modem, and the like, the communication section 709 performs communication processing via a network such as the internet, a drive 710 is also connected to the I/O interface 705 as necessary, a removable medium 711 such as a magnetic disk, AN optical disk, a magneto-optical disk, a semiconductor memory, and the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program, when executed by a Central Processing Unit (CPU)701, performs the above-described functions defined in the method of the present application.
It should be noted that the computer readable medium mentioned above in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first acquisition unit, a determination unit, an addition unit, and a transmission unit. The names of the units do not form a limitation to the unit itself in some cases, for example, the first obtaining unit may also be described as a "unit for obtaining status information of the information queue to be presented".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: the method comprises the steps that in response to receiving information to be displayed sent by a first terminal, state information of an information queue to be displayed is obtained, wherein the state information is used for indicating whether the information queue to be displayed is in a locked state or not, and the locked state is a state that the information to be displayed cannot be added; determining whether the information queue to be displayed is in the locking state according to the state information; in response to determining that the information queue to be displayed is not in the locked state, adding the information to be displayed to the tail of the information queue to be displayed; and for each information to be displayed in the information queue to be displayed, sending the information to be displayed to a first terminal and/or a second terminal according to the position of the information to be displayed in the information queue to be displayed, so that the first terminal and the second terminal can simultaneously display the information to be displayed.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (9)

1. An information presentation method, the method comprising:
the method comprises the steps that in response to receiving information to be displayed sent by a first terminal, state information of an information queue to be displayed is obtained, wherein the state information is used for indicating whether the information queue to be displayed is in a locked state or not, and the locked state is a state that the information to be displayed cannot be added;
determining whether the information queue to be displayed is in the locking state or not according to the state information;
in response to determining that the information queue to be displayed is not in the locked state, adding the information to be displayed to the tail of the information queue to be displayed;
for each information to be displayed in the information queue to be displayed, according to the position of the information to be displayed in the information queue to be displayed, sending the information to be displayed to a first terminal and a second terminal so that the first terminal and the second terminal can simultaneously display the information to be displayed;
the method further comprises the following steps:
receiving information to be displayed and a corresponding information type sent by the first terminal; the information types include: audio type, video type, animation type for calling model or template display;
and the step of obtaining the state information of the information queue to be displayed in response to the received information to be displayed sent by the first terminal comprises the following steps:
determining whether the time length from the time when the information to be displayed sent by the first terminal is received is greater than a time length threshold value preset for the information type;
and in response to the fact that the time length from the time when the information to be displayed is received is larger than the preset time length threshold value, acquiring the state information of the information queue to be displayed.
2. The method according to claim 1, wherein the sending, for each piece of information to be shown in the information to be shown queue, the piece of information to be shown to the first terminal and the second terminal according to the position of the piece of information to be shown in the information to be shown queue comprises:
sending the information to be displayed at the head of the queue of the information to be displayed to the first terminal and the second terminal so that the first terminal and the second terminal can simultaneously display the information to be displayed at the head of the queue; and
the method further comprises the following steps:
determining whether the information to be displayed at the head of the queue displayed by the first terminal and the second terminal is finished;
and in response to the fact that the first terminal and the second terminal are determined to finish displaying the information to be displayed at the head of the queue, deleting the information to be displayed at the head of the queue from the information queue to be displayed.
3. The method according to claim 2, wherein the determining whether the first terminal and the second terminal finish displaying the information to be displayed at the head of the queue comprises:
determining the display duration of the information to be displayed at the head of the team; determining whether the first terminal and the second terminal finish displaying the information to be displayed at the head of the team according to the display duration and the time point of sending the information to be displayed at the head of the team; or
In response to determining that the first terminal and the second terminal receive the information to be displayed at the head of the line, a background executes an operation for displaying the information to be displayed at the head of the line; and responding to the end of the background executing the operation, and determining that the first terminal and the second terminal finish displaying the information to be displayed at the head of the queue.
4. The method of claim 3, further comprising:
in response to determining that a preset unlocking condition is met, modifying the state information into information for indicating that the information queue to be displayed is not in the locking state, wherein the preset unlocking condition comprises at least one of the following items: the information number of the information queue to be displayed is less than a preset unlocking threshold value; the information number is smaller than the preset unlocking threshold, and the time length from the last time when the information number is equal to the preset unlocking threshold is larger than a preset first time length threshold; at a preset time point, the information number is smaller than the preset unlocking threshold value.
5. The method of claim 4, further comprising:
counting the unlocking times of the information queue to be displayed in a preset time period, wherein the unlocking times are the times of modifying the state information into information for indicating that the information queue to be displayed is not in the locking state;
and in response to the unlocking times being larger than a preset first time threshold value, improving the preset first time threshold value.
6. The method of claim 1, further comprising:
in response to determining that a preset locking condition is met, modifying the state information into information for indicating that the information queue to be displayed is in the locking state, wherein the preset locking condition comprises: and the information number of the information queue to be displayed is not less than a preset locking threshold value.
7. The method according to claim 1, wherein the information to be presented sent by the first terminal comprises a plurality of information to be presented slices; and
for each information to be displayed in the information queue to be displayed, sending the information to be displayed to a first terminal and a second terminal according to the position of the information to be displayed in the information queue to be displayed, including:
in response to determining that the information queue to be displayed is not in the locked state and the information queue to be displayed is empty, forwarding the information fragment sequence to be displayed and the time point sequence to be transmitted by the first terminal to the second terminal, wherein: the sending time point sequence comprises the time point of sending each information fragment to be displayed by the first terminal, the second terminal determines to receive the receiving time point sequence of each information fragment to be displayed in response to receiving each information fragment to be displayed, and sends receipt information back to the first terminal, wherein the receipt information is information for indicating that each information fragment to be displayed is received, for each information fragment to be displayed except the first one in the information fragment sequence to be displayed, the first terminal sends the information fragment to be displayed and the sending time point in response to receiving the receipt information corresponding to the previous information fragment to be displayed of the information fragment to be displayed, and the second terminal determines the average transmission duration of the receipt information according to the sending time point sequence and the receiving time point sequence, and in response to the fact that the received information fragment to be displayed is determined to be the last information fragment to be displayed of the information fragment sequence to be displayed, displaying the information to be displayed sent by the first terminal after waiting for the average transmission time, and displaying the information to be displayed sent by the first terminal in response to the receipt information corresponding to the last information fragment to be displayed.
8. The method of claim 1, further comprising:
and responding to the condition that the information queue to be displayed is in the locking state, and sending a message for indicating that the information queue to be displayed is refused to be displayed to the first terminal.
9. An information presentation device, the device comprising:
the information display device comprises a first obtaining unit, a second obtaining unit and a display unit, wherein the first obtaining unit is used for responding to received information to be displayed sent by a first terminal and obtaining state information of an information queue to be displayed, the state information is used for indicating whether the information queue to be displayed is in a locked state or not, and the locked state is a state that the information to be displayed cannot be added;
the determining unit is used for determining whether the information queue to be displayed is in the locking state according to the state information;
the adding unit is used for responding to the fact that the information queue to be displayed is not in the locking state, and adding the information to be displayed to the tail of the information queue to be displayed;
the sending unit is used for sending the information to be displayed to a first terminal and a second terminal according to the position of the information to be displayed in the information queue to be displayed for the first terminal and the second terminal to display the information to be displayed simultaneously;
the information presentation device further comprises:
receiving information to be displayed and a corresponding information type sent by the first terminal; the information types include: audio type, video type, animation type for calling model or template display;
and the step of obtaining the state information of the information queue to be displayed in response to the received information to be displayed sent by the first terminal comprises the following steps:
determining whether the time length from the time when the information to be displayed sent by the first terminal is received is greater than a time length threshold value preset for the information type;
and in response to the fact that the time length from the time when the information to be displayed is received is larger than the preset time length threshold value, acquiring the state information of the information queue to be displayed.
CN201710271040.3A 2017-04-24 2017-04-24 Information display method and device Active CN107066342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710271040.3A CN107066342B (en) 2017-04-24 2017-04-24 Information display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710271040.3A CN107066342B (en) 2017-04-24 2017-04-24 Information display method and device

Publications (2)

Publication Number Publication Date
CN107066342A CN107066342A (en) 2017-08-18
CN107066342B true CN107066342B (en) 2020-07-31

Family

ID=59603525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710271040.3A Active CN107066342B (en) 2017-04-24 2017-04-24 Information display method and device

Country Status (1)

Country Link
CN (1) CN107066342B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111125465B (en) * 2018-10-31 2023-05-23 北京字节跳动网络技术有限公司 Information display quantity adjusting method and device, electronic equipment and readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761245A (en) * 2004-10-11 2006-04-19 华为技术有限公司 Method for treating alarm message
CN102045654A (en) * 2009-10-10 2011-05-04 上海中兴通讯技术有限责任公司 Asynchronous socket communication method and mobile phone positioning system using same
US8543771B1 (en) * 2006-08-22 2013-09-24 Sawyer Law Group, P.C. Method for maintaining cache coherence using a distributed directory with event driven updates
CN105282110A (en) * 2014-07-09 2016-01-27 北京合众思壮科技股份有限公司 Mobile phone streaming media transmission method fusing GPS positioning information and system thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761245A (en) * 2004-10-11 2006-04-19 华为技术有限公司 Method for treating alarm message
US8543771B1 (en) * 2006-08-22 2013-09-24 Sawyer Law Group, P.C. Method for maintaining cache coherence using a distributed directory with event driven updates
CN102045654A (en) * 2009-10-10 2011-05-04 上海中兴通讯技术有限责任公司 Asynchronous socket communication method and mobile phone positioning system using same
CN105282110A (en) * 2014-07-09 2016-01-27 北京合众思壮科技股份有限公司 Mobile phone streaming media transmission method fusing GPS positioning information and system thereof

Also Published As

Publication number Publication date
CN107066342A (en) 2017-08-18

Similar Documents

Publication Publication Date Title
CN110505141B (en) Instant messaging message processing method and device, readable medium and electronic equipment
US10142480B2 (en) Message storage
CN108965098B (en) Message pushing method, device, medium and electronic equipment based on online live broadcast
CN112035030B (en) Information display method and device and electronic equipment
CN109862100B (en) Method and device for pushing information
CN110619099B (en) Comment content display method, device, equipment and storage medium
CN109905629A (en) Method, apparatus, medium and the equipment of document sharing are realized when audio/video conference
CN111163336B (en) Video resource pushing method and device, electronic equipment and computer readable medium
CN108764866B (en) Method and equipment for allocating resources and drawing resources
CN107066342B (en) Information display method and device
CN111478916B (en) Data transmission method, device and storage medium based on video stream
CN111225255B (en) Target video push playing method and device, electronic equipment and storage medium
CN109348298B (en) Method and equipment for pushing and playing multimedia data stream
CN109672931B (en) Method and apparatus for processing video frames
CN107609852B (en) Method and apparatus for processing payment requests
CN115671723A (en) Resource processing method, device, equipment and medium
US11258838B2 (en) Method, system, and non-transitory computer readable record medium for processing chatroom based on usage
CN111143740B (en) Information processing method and device and electronic equipment
CN113127561B (en) Method and device for generating service single number, electronic equipment and storage medium
CN109889737B (en) Method and apparatus for generating video
CN108882229B (en) Information processing method and device
CN112363782A (en) Chat interface display method and device, electronic equipment and computer readable medium
CN113760678A (en) Statistical method and device for page rendering duration
CN110300048B (en) Audio message sending method, equipment and system based on instant messaging
CN107798718B (en) Animation playback method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190603

Address after: 361000 Fujian Xiamen Torch High-tech Zone Software Park Innovation Building Area C 3F-A193

Applicant after: Xiamen Black Mirror Technology Co., Ltd.

Address before: 361000 South Building 203-59, Torch Square, No. 56-58 Torch Road, Torch Garden, Xiamen High-tech Zone, Fujian Province

Applicant before: XIAMEN HUANSHI NETWORK TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant