CN107071505B - Bullet screen delayed loading method and device - Google Patents

Bullet screen delayed loading method and device Download PDF

Info

Publication number
CN107071505B
CN107071505B CN201710139570.2A CN201710139570A CN107071505B CN 107071505 B CN107071505 B CN 107071505B CN 201710139570 A CN201710139570 A CN 201710139570A CN 107071505 B CN107071505 B CN 107071505B
Authority
CN
China
Prior art keywords
user
loading
privilege
bullet screen
welcome
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
CN201710139570.2A
Other languages
Chinese (zh)
Other versions
CN107071505A (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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710139570.2A priority Critical patent/CN107071505B/en
Publication of CN107071505A publication Critical patent/CN107071505A/en
Application granted granted Critical
Publication of CN107071505B publication Critical patent/CN107071505B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/2625Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for delaying content or additional data distribution, e.g. because of an extended sport event

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Graphics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a bullet screen delayed loading method and a bullet screen delayed loading device, wherein the method comprises the following steps: receiving a login request sent by a user, and acquiring user information; when the fact that the user meets the condition of delayed loading is known according to the user information, a delayed loading mark is added to the user; and according to the delayed loading mark, carrying out delayed loading on the privilege and/or welcome prompt of the user. According to the bullet screen delayed loading method and device provided by the invention, the delayed loading mark is added to the user meeting the delayed loading condition, and the delayed loading processing is carried out on the privilege and/or the welcome prompt of the user, so that the user can see the privilege effect and/or the welcome prompt after successfully logging in the bullet screen server, the user experience is good, and the personalized requirements of the user can be met.

Description

Bullet screen delayed loading method and device
Technical Field
The invention relates to the field of live video, in particular to a bullet screen delayed loading method and device.
Background
With the rapid development of the live broadcast industry, the bullet screen culture also grows rapidly, and the enthusiasm of the user for participating in the bullet screen is higher and higher. In order to improve the interest of the user, the user can acquire corresponding privileges and labels in many ways. The live broadcast software displays the corresponding privilege and mark of the user after the user enters the live broadcast room, so that the mark of the user entering the live broadcast room can be increased, and the individual requirements of the user are met.
However, under some special conditions, especially when the network conditions of the user are poor, the user cannot see the privilege or welcome prompt after entering the live broadcast room, so that the user experience is poor, and the personalized requirements of the user cannot be met.
Disclosure of Invention
The invention provides a bullet screen delayed loading method and device, which can solve the problems that a user cannot see own privilege and/or welcome prompt and the user experience is poor when entering a live broadcast room under certain special conditions.
According to an aspect of the present invention, there is provided a bullet screen delayed loading method, including:
receiving a login request sent by a user, and acquiring user information;
when the fact that the user meets the condition of delayed loading is known according to the user information, a delayed loading mark is added to the user;
and according to the delayed loading mark, carrying out delayed loading on the privilege and/or welcome prompt of the user.
Wherein the user information includes: rating information of the user and/or a gift-fill record of the user.
Wherein the acquiring the user information comprises:
acquiring basic information of a user;
based on the user ID in the basic information of the user, accessing a user server to verify the basic information of the user;
after the user ID is checked to be correct, accessing a user server and acquiring the grade information of the user based on the user ID; and/or the presence of a gas in the gas,
and accessing a gift server and acquiring a gift recharging record of the user based on the user ID.
Wherein, the obtaining that the user meets the condition of delayed loading according to the user information includes:
and if the grade information of the user is larger than or equal to a preset value or if the gift recharging record of the user is not empty, judging that the user meets the condition of delayed loading.
Wherein the deferred loading of the user's privileges and/or welcome prompt comprises:
creating a virtual session of a user, and loading the privilege and/or welcome prompt of the user one by one in the virtual session;
after the user's privilege and/or welcome prompts are completely loaded, the virtual session is made to expire;
and loading and displaying the privilege and/or welcome prompt of the user in the bullet screen service area.
Wherein, before the delayed loading of the user's privilege and/or welcome prompt according to the delayed loading indication, the method further comprises: acquiring the network speed condition of a user; accordingly, the deferred loading of the user's privilege and/or welcome prompt includes:
and delaying and loading the privilege and/or welcome prompt of the user according to the network speed condition of the user.
Wherein the delaying the loading of the user's privilege and/or welcome prompt in combination with the wire speed condition of the user comprises:
creating a virtual session of a user, and loading the privilege and/or welcome prompt of the user one by one in the virtual session;
after the user's privilege and/or welcome prompts are completely loaded, the virtual session is made to expire;
and loading and displaying the privilege and/or welcome prompt of the user in the bullet screen service area in combination with the network speed condition of the user.
Wherein the method further comprises: and if the quit message of the user is received in the virtual session stage, canceling the delayed loading mark of the user.
According to another aspect of the present invention, there is provided a bullet screen delay loading device, including:
the user information acquisition module is used for receiving a login request sent by a user and acquiring user information;
the judging module is used for adding a delayed loading mark for the user when the user is known to meet the delayed loading condition according to the user information;
and the processing module is used for carrying out delayed loading on the privilege and/or welcome prompt of the user according to the delayed loading mark.
Wherein the processing module is specifically configured to: creating a virtual session of a user, and loading the privilege and/or welcome prompt of the user one by one in the virtual session; after the user's privilege and/or welcome prompts are completely loaded, the virtual session is made to expire; and loading and displaying the privilege and/or welcome prompt of the user in the bullet screen service area.
According to the bullet screen delayed loading method and device, the delayed loading mark is added to the user meeting the delayed loading condition, the privilege and/or welcome prompt of the user is delayed and loaded, the user can see the privilege effect and/or welcome prompt after successfully logging in the bullet screen server, the user experience is good, and the personalized requirements of the user can be met.
Drawings
Fig. 1 is a flowchart of a bullet screen delayed loading method according to an embodiment of the present invention;
fig. 2 is a flowchart of obtaining user information according to another embodiment of the present invention, based on the step S11 in fig. 1;
FIG. 3 is a flowchart providing delayed loading of user privileges and/or welcome prompts based on the description in step S13 of FIG. 1 according to another embodiment of the present invention;
fig. 4 is a flowchart of a bullet screen delayed loading method according to another embodiment of the present invention;
FIG. 5 is a flowchart providing for delayed loading of user privileges and/or welcome prompts based on the above-described wire speed profile of the user in conjunction with the user at step S44 of FIG. 4, according to another embodiment of the present invention;
fig. 6 is a structural diagram of a bullet screen delay loading device according to another embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
As shown in fig. 1, a flowchart of a bullet screen delayed loading method according to an embodiment of the present invention includes:
s11, receiving a login request sent by a user to acquire user information;
s12, when the fact that the user meets the condition of delayed loading is known according to the user information, a delayed loading mark is added for the user;
and S13, according to the delayed loading mark, the delayed loading is carried out on the privilege and/or the welcome prompt of the user.
Specifically, the login request in step S11 is a link request sent to the barrage server when the user clicks the login live broadcast room, and the user clicks the live broadcast room, and the first link is a video source, so that the user can see a live broadcast picture and send a request to the barrage server at the same time. The method comprises the steps that after a bullet screen server receives a login request of a user, user information for sending the request is obtained, the user information can be information which can distinguish users of different levels or different types from each other, such as level information of the user or gift recharging records of the user, and the bullet screen server judges whether to provide a delayed loading service of privilege and/or welcome prompt for the user or not according to the user information.
Specifically, the condition of the delayed loading in step S12 is a preset condition for screening the user, for example, if the level of the user is greater than or equal to 20, the bullet screen delayed loading may be performed for the user, and the purpose of setting the delayed loading condition is to perform the bullet screen delayed loading only for a specific user, and not perform the bullet screen delayed loading for users who do not satisfy the condition, so as to satisfy personalized requirements of different users and increase the diversity of user experience. The adding of the deferred loading flag is to flag a user meeting the deferred loading condition, so that the user can be conveniently subjected to deferred loading processing subsequently, for example, when the user enters the bullet screen server, deferred loading is performed for a welcome prompt and/or a privilege effect of the user.
In step S13, according to that the delayed loading flag indicates that the bullet screen server reads the value of the delayed loading flag, it can be determined that the user successfully logs in the bullet screen server, and it is determined that the user meets the condition of delayed loading. The privilege and/or welcome prompt of the user is bullet screen content displayed in a bullet screen service area after the user successfully logs in a bullet screen server for users of different levels or different types, wherein the bullet screen service area is a functional area which is specially designed for the user and provides bullet screen service, and the user can send a bullet screen, click for recharging and send a gift in the bullet screen service area, and see a notification message of a system, the bullet screen sent by other users and a gift animation. The delayed loading means that: and after the user meeting the delayed loading condition successfully logs in the bullet screen server, delaying the loading and displaying of the privilege and/or welcome prompt of the user, so that the user can see the privilege and/or welcome prompt after successfully logging in the bullet screen server. For example, the effect of delaying the loading of these bullet screen contents can be achieved by increasing the privilege of the user and/or the display time of the welcome prompt.
The bullet screen server receives a login request sent by a user and acquires user information for sending the request; when the bullet screen server judges that the user meets the condition of delayed loading according to the user information, adding a delayed loading mark for the user; and the bullet screen server carries out delayed loading on the privilege and/or welcome prompt of the user according to the delayed loading mark.
According to the bullet screen delayed loading method provided by the embodiment of the invention, the delayed loading mark is added to the user meeting the delayed loading condition, so that the delayed loading is carried out, the user can be ensured to see the privilege and/or welcome prompt when entering the live broadcast room, the user experience is enhanced, and the personalized requirements of the user can be met.
In another embodiment of the present invention, based on the above embodiment, the user information includes: rating information of the user and/or a gift-fill record of the user.
Specifically, after receiving a login request of a user, the bullet screen server obtains user information, where the user information may be in three forms: the method comprises the steps that firstly, the level information of users is obtained, the video live broadcast software divides the levels for all the users, the users in different levels correspond to different privileges, and the bullet screen server judges whether the users meet the condition of delayed loading or not according to the obtained user level information; secondly, gift recharging records of the user can be inquired as long as the user has gift recharging behaviors on the video live broadcast software, and the barrage server judges whether the user meets the condition of delayed loading or not based on the gift recharging records of the user; and thirdly, the grade information of the user and the gift recharging record of the user are combined, the bullet screen server judges whether the user meets the condition of delayed loading or not by combining the two kinds of information, and when the user does not meet the condition according to the grade information of the user, the judgment is continuously carried out according to the gift recharging record of the user, and whether the user meets the condition of delayed loading or not is comprehensively obtained.
According to the bullet screen delayed loading method provided by the embodiment of the invention, the grade information of the user and/or the gift record of the user are/is used as a judgment basis for judging whether the bullet screen delayed loading is carried out, so that the difference and diversity of user experience are increased.
On the basis of the above embodiment, as shown in fig. 2, another embodiment of the present invention is a flowchart based on the user information acquisition in step S11 in fig. 1, and includes:
s21, acquiring basic information of the user;
s22, based on the user ID in the basic information of the user, accessing the user server to check the basic information of the user;
s23, after checking, accessing a user server and acquiring the grade information of the user based on the user ID; and/or the presence of a gas in the gas,
and accessing a gift server and acquiring a gift recharging record of the user based on the user ID.
Specifically, the basic information of the user in step S21 includes: user ID, IP address, user entry, user zone, etc. The user ID may be a user name, a mobile phone number of the user, or a mailbox of the user, which can uniquely identify the user identity. And the C + + front-end Service Interface (Service Interface) acquires the basic user information in the request and returns the acquired basic user information to the background barrage server through a callback Interface (Callbacks Interface).
In step S22, the user server stores the relevant information of the user, the bullet screen server accesses the user server, transmits the user ID in the returned user basic information to the user server, and the user server queries the locally stored user relevant information according to the user ID, thereby verifying the acquired user basic information.
In step S23, the bullet screen server accesses the user server, that is, the user ID is transmitted to the user server, and the user server queries the user level information corresponding to the user ID in the user identification table by calling the SQL method and using the user ID as a condition, and returns the queried user level information to the bullet screen server. The barrage server accesses the gift server and transmits the user ID to the gift server, the gift server takes the user ID as a condition by calling an SQL method, whether the user ID corresponds to a gift recharging record is inquired in a user recharging table of the gift server, and the gift recharging record is transmitted back to the barrage server.
If the user information is the user level information, step S23 is: and the bullet screen server accesses the user server and acquires the grade information of the user based on the user ID. If the user information is the gift recharging record of the user, step S23 is: and the barrage server accesses the gift server and acquires the gift recharging record of the user based on the user ID. If the user information is the user 'S level information and the user' S gift recharging record, step S23 is: and the bullet screen server accesses the user server and acquires the grade information of the user based on the user ID, and then accesses the gift server and acquires the gift recharging record of the user based on the user ID.
According to the bullet screen delayed loading method provided by the embodiment of the invention, the grade information of the user and/or the gift recharging record of the user are/is obtained and used as a judgment basis for judging whether the bullet screen delayed loading service is provided or not, so that the user meeting the conditions can see the corresponding privilege and/or welcome prompt after logging in the bullet screen server, and good experience is provided for the user.
In another embodiment of the present invention, on the basis of the above embodiment, the obtaining that the user meets the condition of delayed loading according to the user information includes:
and if the grade information of the user is larger than or equal to a preset value or if the gift recharging record of the user is not empty, judging that the user meets the condition of delayed loading.
Specifically, when the acquired user information is the user level information, the preset value is a preset value, the acquired user level information is compared with the preset value, and if the user level information is greater than or equal to the preset value, it is determined that the user meets the condition of delayed loading, and a delayed loading mark can be added to the user.
When the obtained user information is the gift recharging record of the user, if the obtained gift recharging record of the user is not empty, the gift recharging record of the user exists, the user can be confirmed to meet the condition of delayed loading, and further the delayed loading mark can be added for the user.
When the obtained user information is the grade information of the user and the gift recharging record of the user, the judgment is firstly carried out according to the grade information of the user, if the grade information of the user is larger than or equal to a preset value, the user can be confirmed to meet the condition of delayed loading, and the judgment is not carried out by the gift recharging record of the user. If the grade information of the user is smaller than the preset value, judging according to the gift recharging record of the user, if the gift recharging record of the user is not empty, confirming that the user meets the condition of delayed loading, and further adding a mark of delayed loading for the user; and if the recharging record of the user is empty, the user does not meet the condition of delaying loading.
For example, when the obtained user information is the user level information and the user gift recharging record, IF the preset value is 20, judging whether the user level information LoginIDLevel is greater than 20 levels through an IF statement, and IF the obtained user level information LoginIDLevel is greater than or equal to 20, judging that the user meets the condition of delayed loading; if the user's level information LoginIDLevel is less than 20, further judging according to the user's gift recharging record, if the value of the user's gift recharging record loginidrerge is NULL (NULL), judging to know that the user does not satisfy the condition of delayed loading, if the user's gift recharging record loginidrerge is not NULL, judging to know that the user satisfies the condition of delayed loading.
According to the bullet screen delayed loading method provided by the embodiment of the invention, whether the user meets the condition of delayed loading or not is judged according to the grade information of the user and/or the gift recharging record of the user, and only the user meeting the condition is subjected to delayed loading processing, so that the difference and diversity of user experience are increased, and the individual requirements of the user can be better matched.
Based on the foregoing embodiments, as shown in fig. 3, another embodiment of the present invention is a flowchart for performing delayed loading on the privilege and/or welcome prompt of the user based on the instruction in step S13 in fig. 1, and includes:
s31, creating a virtual session of the user, and loading the privilege and/or welcome prompt of the user one by one in the virtual session;
s32, after the privilege and/or welcome prompt of the user is completely loaded, the virtual session is expired;
and S33, loading and displaying the privilege and/or welcome prompt of the user in the bullet screen service area.
Specifically, in step S31, creating the virtual Session of the user means that the user establishes a virtual Session (Fictionus Session) of the user in the bullet screen server after successfully logging in the bullet screen server, and the privilege and/or welcome prompt display of the user is controlled layer by layer through the virtual Session. After a user's virtual session is created, the user's privileges and/or welcome prompts are loaded one by one in this virtual session.
The step S32 of making the virtual session expire means that after the loading of all the privilege and/or welcome prompts of the user is completed, the virtual session is ended, and all the privilege and/or welcome prompts are sent to the bullet screen server for the bullet screen server to load and display.
The bullet screen service area in step S33 is a functional area specially designed for the user to provide bullet screen service, and the user can send bullet screen, click to recharge and send gift in the bullet screen service area, and see the notification message of the system, bullet screen and gift animation sent by other users. And the barrage server loads the privileges and/or welcome prompts of the users transmitted by the virtual session one by one in the barrage service area and performs appropriate delay display, so that the users can see the privileges and/or welcome prompts in the barrage service area after entering the live broadcast room.
After the user successfully logs in the bullet screen server, the bullet screen server creates a virtual session of the user, and privileges and/or welcome prompts of the user are loaded one by one in the virtual session; after the privilege and/or welcome prompt of the user is completely loaded, the barrage server expires the virtual session; and the bullet screen server loads the privilege and/or welcome prompts of the user one by one in a bullet screen service area and performs appropriate delay display.
According to the barrage delayed loading method provided by the embodiment of the invention, delayed loading is realized by establishing the virtual session, so that the user can see privilege and/or welcome prompt when entering a live broadcast room, the user experience is enhanced, and the individual requirements of the user can be met.
As shown in fig. 4, a flowchart of a bullet screen delayed loading method according to another embodiment of the present invention includes:
s41, receiving a login request sent by a user to acquire user information;
s42, when the fact that the user meets the condition of delayed loading is known according to the user information, a delayed loading mark is added for the user;
s43, acquiring the network speed condition of the user;
and S44, according to the delayed loading mark, combining the network speed condition of the user to carry out delayed loading on the privilege and/or welcome prompt of the user.
Specifically, step S41 is the same as step S11 in fig. 1, and step S42 is the same as step S12 in fig. 1, and will not be described herein again. The step S43 of obtaining the network speed of the user refers to detecting the usage environment of the user when the user who meets the delay loading condition logs in the bullet screen server, and determining the device currently used by the user and the network delay condition of the current user connecting with the bullet screen server.
The delay loading process also needs to be adjusted accordingly for different network speed conditions, so the delay loading process needs to be adjusted accordingly in combination with the network speed condition of the user in step S44. For example, the network speed situation of the user in the current network is obtained by a trafficstats.gettotalrxbytes () method, and is used as a judgment condition loginID _ data for subsequent delayed loading effect processing, and the network speed delay situation is judged, if the network speed is delayed faster, for example, if loginID _ data is greater than 10ms, the bullet screen delayed loading is performed as soon as possible, and the obtained delayed loading effect is better.
The bullet screen server receives a login request sent by a user and acquires user information; when the bullet screen server judges that the user meets the condition of delayed loading according to the user information, the bullet screen server adds a delayed loading mark to the user; the bullet screen server acquires the network speed condition of the user; and the bullet screen server performs delayed loading on the privilege and/or welcome prompt of the user by combining the network speed condition of the user according to the delayed loading mark.
According to the barrage delayed loading method provided by the embodiment of the invention, the virtual session is established, and the delayed loading processing method is adjusted by combining the network speed condition of the user, so that the user can see the privilege and/or welcome prompt when entering the live broadcasting room under different network speed conditions, better delayed loading service is obtained, the user experience is enhanced, and the individual requirements of the user can be met.
Based on the foregoing embodiments, as shown in fig. 5, another embodiment of the present invention is a flowchart for performing delayed loading on the privilege and/or welcome prompt of the user based on the internet speed condition of the user in step S44 in fig. 4, where the flowchart includes:
s51, creating a virtual session of the user, and loading the privilege and/or welcome prompt of the user one by one in the virtual session;
s52, after the privilege and/or welcome prompt of the user is completely loaded, the virtual session is expired;
and S53, loading and displaying the privilege and/or welcome prompt of the user in the bullet screen service area according to the network speed condition of the user.
Specifically, in step S51, a virtual Session (Fictionus Session) of the user is established in the barrage server, and the privilege and/or welcome prompt display of the user is controlled layer by layer through the virtual Session. After a user's virtual session is created, the user's privileges and/or welcome prompts are loaded one by one in this virtual session.
Step S52, the virtual session being expired means that after all the privilege and/or welcome prompts of the user are loaded, the virtual session is ended, and all the privilege and/or welcome prompts are sent to the bullet screen server.
Step S53, the barrage server loads the user privileges and/or welcome prompts transmitted from the virtual session one by one, and correspondingly adjusts the delayed loading processing of the user privileges and/or welcome prompts in the barrage service area according to the network speed condition of the user, for example, adjusts the display duration of the user privileges and/or welcome prompts in the barrage service area, so as to achieve different delayed loading effect processing effects according to different network speed conditions.
After the user successfully logs in the bullet screen server, the bullet screen server creates a virtual session of the user, and privileges and/or welcome prompts of the user are loaded one by one in the virtual session; after the privilege and/or welcome prompt of the user is completely loaded, the barrage server expires the virtual session; and the bullet screen server loads the privilege and/or welcome prompts of the user one by one and performs appropriate delay display according to the network speed condition of the user.
According to the bullet screen delayed loading method provided by the embodiment of the invention, delayed loading is realized by establishing the virtual session, and the delayed loading effect processing is adjusted by combining the network speed condition of the user, so that the user can see privilege and/or welcome prompts when entering a live broadcast room under different network speed conditions, the user experience is enhanced, and the personalized requirements of the user can be met.
In another embodiment of the present invention, based on the above embodiment, the method further includes: and if the quit message of the user is received in the virtual session stage, canceling the delayed loading mark of the user.
Specifically, the virtual session stage refers to a stage of creating a virtual session, a stage of loading a user's privilege and/or welcome prompt, or a stage of expiring a virtual session, because after the virtual session is expired, the barrage server starts to load the user's privilege and/or welcome prompt in the barrage service area and displays the user's privilege and/or welcome prompt in a delayed manner, and if the user exits from the current room in the virtual session stage, i.e., disconnects from the barrage server, for example, the user exits from the live room within 5 seconds after entering the live room, the delayed loading indication of the user needs to be cancelled, and the user is not displayed with the privilege and/or welcome prompt.
Because the creation and loading of the barrage content and the expiration of the virtual session take a certain time, if the barrage server receives the quit message of the user in the virtual session stage, the user is quitted for a second, the delayed loading mark of the user is cancelled, and the barrage server does not load and display the privilege and/or welcome prompt of the user any more.
Canceling the user delayed loading indication means that the user immediately exits the live broadcast room after entering the live broadcast room, the delayed loading indication of the user is cancelled, that is, logiin delay new is equal to "0", the bullet screen server can determine that the user does not meet the condition of delayed loading by reading the value of the delayed loading indication, and further, the privilege and/or welcome prompt of the user is not loaded and displayed.
According to the bullet screen delayed loading method provided by the embodiment of the invention, by judging whether the user quits in the virtual session stage or not, the situation that the privilege and/or the welcome prompt of the user are still displayed when the user quits in seconds can be avoided, and the delayed loading service is provided for the user more pertinently.
As shown in fig. 6, a structure diagram of a bullet screen delayed loading device provided in another embodiment of the present invention includes: a user information acquisition module 601, a judgment module 602 and a processing module 603, wherein,
a user information obtaining module 601, configured to receive a login request sent by a user, and obtain user information;
a determining module 602, configured to add a delayed loading flag to the user when it is known that the user meets the condition of delayed loading according to the user information;
the processing module 603 is configured to perform delayed loading on the privilege and/or the welcome prompt of the user according to the delayed loading flag.
Specifically, the login request is a link request sent to the barrage server when the user clicks the login live broadcast room, the user clicks the live broadcast room, the video source is firstly linked, and the user can see a live broadcast picture and simultaneously sends the request. The user information obtaining module 601 obtains the user information of the request after receiving the login request of the user, where the user information may be information that can distinguish users of different levels or different types from each other, such as the level information of the user or the gift recharging record of the user, so that the determining module 602 determines whether to provide the delayed loading service of the privilege and/or the welcome prompt for the user according to the user information.
Specifically, the determining module 602 determines, according to a preset condition for screening users, for example, if the rank of the user is greater than or equal to 20, whether the user sending the login request meets the condition of delayed loading, and only provides the delayed loading service for the specific user, and does not provide the delayed loading service for the user who does not meet the condition, after the determination is completed, the determining module 602 adds a delayed loading flag to the user who meets the condition of delayed loading, so as to facilitate subsequent delayed loading on the privilege and/or welcome prompt of the user.
The processing module 603 may determine that the user is correctly logged in the bullet screen server by reading the value of the delayed loading flag, and determine that the user meets the condition of delayed loading. The privilege and/or welcome prompt of the user is content displayed in the bullet screen service area after the user successfully logs in the bullet screen server for the users of different levels. The delayed loading means that: and after the user meeting the delayed loading condition successfully logs in the bullet screen server, delaying the loading and displaying of the privilege and/or welcome prompt of the user, so that the user can see the privilege and/or welcome prompt of the user after successfully logging in the bullet screen server. For example, the effect of delaying the loading of these bullet screen contents can be achieved by increasing the privilege of the user and/or the display time of the welcome prompt.
According to the bullet screen delayed loading device provided by the embodiment of the invention, delayed loading is carried out by adding the delayed loading mark to the user meeting the delayed loading condition, so that the user can see the privilege and/or welcome prompt when entering the live broadcast room, and the user experience is improved.
In another embodiment of the present invention, based on the above embodiment, the processing module 603 is specifically configured to: creating a virtual session of a user, and loading the privilege and/or welcome prompt of the user one by one in the virtual session; after the user's privilege and/or welcome prompts are completely loaded, the virtual session is made to expire; and loading and displaying the privilege and/or welcome prompt of the user in the bullet screen service area.
Specifically, the creating of the virtual session of the user refers to establishing the virtual session of the user in the processing module 603 after the user successfully logs in the bullet screen server, and controlling the privilege and/or the welcome prompt display of the user layer by layer through the virtual session. The expiration of the virtual session means that after all the privileges and/or welcome prompts of the user are loaded, the virtual session is ended, all the privileges and/or welcome prompts are sent to the processing module 603, and the processing module 603 loads the privileges and/or welcome prompts. The loading and displaying of the user privilege and/or welcome prompt refers to that the processing module 603 loads the user privilege and/or welcome prompt transmitted from the virtual session one by one in the barrage service area, and performs appropriate delay display.
After the user successfully logs in the bullet screen server, the processing module 603 creates a virtual session of the user, and the privilege and/or welcome prompt of the user is loaded one by one in the virtual session; after the user's privilege and/or welcome prompts are all loaded, the processing module 603 expires the virtual session; the processing module 603 loads the user's privilege and/or welcome prompts one by one in the bullet screen service area, and performs appropriate delay display.
The barrage delay loading device provided by the embodiment of the invention ensures that the user can see the privilege and/or welcome prompt of the user when entering the live broadcast room by creating the virtual session, thereby improving the user experience.
According to the method and the device for delayed loading of the bullet screen, provided by the embodiments of the invention, the level information of the user or the gift recharging record of the user is obtained as the basis for judging whether the delayed loading of the bullet screen is carried out, the delayed loading mark is added to the user meeting the delayed loading condition, and the delayed loading is realized by establishing the virtual session, so that the user can see the privilege and/or welcome prompt when entering the live broadcasting room under different network speeds, and a better delayed loading service can be obtained by combining the network speed conditions of the user, the user experience is effectively improved, and the personalized requirements of the user can be met.
Finally, the method of the present application is only a preferred embodiment and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1. A bullet screen delayed loading method is characterized by comprising the following steps:
receiving a login request sent by a user, and acquiring user information;
when the fact that the user meets the condition of delayed loading is known according to the user information, a delayed loading mark is added to the user;
according to the delayed loading mark, delayed loading is carried out on the privilege and/or welcome prompt of the user;
wherein the deferred loading of the user's privileges and/or welcome prompt comprises:
creating a virtual session of a user, and loading the privilege and/or welcome prompt of the user one by one in the virtual session;
after the user's privilege and/or welcome prompts are completely loaded, the virtual session is made to expire;
loading and displaying the privilege and/or welcome prompt of the user in a bullet screen service area;
before deferring loading of a user's privilege and/or welcome prompt in accordance with the deferral loading indication, the method further comprises:
acquiring the network speed condition of a user;
accordingly, the deferred loading of the user's privilege and/or welcome prompt includes:
delay loading is carried out on the privilege and/or welcome prompt of the user by combining the network speed condition of the user;
wherein the delaying the loading of the user's privilege and/or welcome prompt in combination with the wire speed condition of the user comprises:
creating a virtual session of a user, and loading the privilege and/or welcome prompt of the user one by one in the virtual session;
after the user's privilege and/or welcome prompts are completely loaded, the virtual session is made to expire;
and loading and displaying the privilege and/or welcome prompt of the user in the bullet screen service area in combination with the network speed condition of the user.
2. The bullet screen delayed loading method according to claim 1, wherein the user information comprises: rating information of the user and/or a gift-fill record of the user.
3. The bullet screen delayed loading method according to claim 2, wherein said obtaining user information comprises:
acquiring basic information of a user;
based on the user ID in the basic information of the user, accessing a user server to verify the basic information of the user;
after the user ID is checked to be correct, accessing a user server and acquiring the grade information of the user based on the user ID; and/or the presence of a gas in the gas,
and accessing a gift server and acquiring a gift recharging record of the user based on the user ID.
4. The bullet screen delayed loading method according to claim 2, wherein the obtaining that the user satisfies the delayed loading condition according to the user information comprises:
and if the grade information of the user is larger than or equal to a preset value or if the gift recharging record of the user is not empty, judging that the user meets the condition of delayed loading.
5. The bullet screen delayed loading method of claim 1, further comprising:
and if the quit message of the user is received in the virtual session stage, canceling the delayed loading mark of the user.
6. A bullet screen delay loading device, comprising:
the user information acquisition module is used for receiving a login request sent by a user and acquiring user information;
the judging module is used for adding a delayed loading mark for the user when the user is known to meet the delayed loading condition according to the user information;
the processing module is used for carrying out delayed loading on the privilege and/or welcome prompt of the user according to the delayed loading mark;
wherein the processing module is specifically configured to:
creating a virtual session of a user, and loading the privilege and/or welcome prompt of the user one by one in the virtual session;
after the user's privilege and/or welcome prompts are completely loaded, the virtual session is made to expire;
loading and displaying the privilege and/or welcome prompt of the user in a bullet screen service area;
wherein, still include:
the user network speed acquisition module is used for acquiring the network speed condition of a user;
correspondingly, the processing module is specifically configured to:
delay loading is carried out on the privilege and/or welcome prompt of the user by combining the network speed condition of the user;
wherein the delaying the loading of the user's privilege and/or welcome prompt in combination with the wire speed condition of the user comprises:
creating a virtual session of a user, and loading the privilege and/or welcome prompt of the user one by one in the virtual session;
after the user's privilege and/or welcome prompts are completely loaded, the virtual session is made to expire;
and loading and displaying the privilege and/or welcome prompt of the user in the bullet screen service area in combination with the network speed condition of the user.
CN201710139570.2A 2017-03-09 2017-03-09 Bullet screen delayed loading method and device Active CN107071505B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710139570.2A CN107071505B (en) 2017-03-09 2017-03-09 Bullet screen delayed loading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710139570.2A CN107071505B (en) 2017-03-09 2017-03-09 Bullet screen delayed loading method and device

Publications (2)

Publication Number Publication Date
CN107071505A CN107071505A (en) 2017-08-18
CN107071505B true CN107071505B (en) 2020-03-17

Family

ID=59622904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710139570.2A Active CN107071505B (en) 2017-03-09 2017-03-09 Bullet screen delayed loading method and device

Country Status (1)

Country Link
CN (1) CN107071505B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107820114A (en) * 2017-09-28 2018-03-20 武汉斗鱼网络科技有限公司 Special efficacy methods of exhibiting and device
CN110971985B (en) * 2018-09-30 2021-11-26 武汉斗鱼网络科技有限公司 Method and related device for dynamically scheduling server
CN110290414B (en) * 2019-06-14 2021-09-17 湖南国科微电子股份有限公司 Live television barrage method and system based on set top box
CN111711850A (en) * 2020-07-29 2020-09-25 广州津虹网络传媒有限公司 Method and device for displaying bullet screen and electronic equipment
CN112351300A (en) * 2020-11-05 2021-02-09 北京字节跳动网络技术有限公司 Information display method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104703A (en) * 2013-04-09 2014-10-15 广州华多网络科技有限公司 Multi-person audio and video interaction method and system, client, and server
CN105635180A (en) * 2016-03-04 2016-06-01 广州酷狗计算机科技有限公司 Message pushing method and device
CN106254443A (en) * 2016-07-28 2016-12-21 乐视控股(北京)有限公司 Information push method and device
CN106412341A (en) * 2016-11-30 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Notification information pushing method, device and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016187592A1 (en) * 2015-05-21 2016-11-24 Viviso Inc. Apparatus and method for replacing conventional commercials with targeted advertisements in online live streams

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104703A (en) * 2013-04-09 2014-10-15 广州华多网络科技有限公司 Multi-person audio and video interaction method and system, client, and server
CN105635180A (en) * 2016-03-04 2016-06-01 广州酷狗计算机科技有限公司 Message pushing method and device
CN106254443A (en) * 2016-07-28 2016-12-21 乐视控股(北京)有限公司 Information push method and device
CN106412341A (en) * 2016-11-30 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Notification information pushing method, device and terminal

Also Published As

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

Similar Documents

Publication Publication Date Title
CN107071505B (en) Bullet screen delayed loading method and device
CA2643342C (en) System and method for cross-carrier mobile device capability discovery
CN108476165B (en) Information interaction method, client and device
US7359943B2 (en) Providing instant messaging functionality in non-instant messaging environments
US10701451B2 (en) Program interaction system, method, client, and backend server
CN104463643A (en) Method for presenting user comments on advertisement
US20180114225A1 (en) Method, apparatus and system for voice verification
JP5870471B2 (en) Method, apparatus, and system for sharing software between terminals
US20130104200A1 (en) Apparatus and method for controlling access to multiple services
AU2011360633B2 (en) Methods and apparatus for transmitting data
US20090172154A1 (en) Method for autonomic detection and repair of broken links in web environments
US20150149556A1 (en) Communication method and system, and computer storage medium
CN106934272B (en) Application information verification method and device
US20140128108A1 (en) Session Initiation for Multimedia Services
CN110971447A (en) Test information management method and device, electronic equipment and readable storage medium
CN106911559B (en) Method and device for establishing voice connection
CN113518028A (en) Group chat method and device based on distinguishing group owner and group member
CN107920019A (en) Pay close attention to method and device, computer equipment and the storage medium of good friend
KR20070029594A (en) Device and method for automatically obtaining information relating to the audiences of programs transmitted by a communication network
WO2019071857A1 (en) Method and device preventing gift giving on live streaming platform
CN115119011B (en) Live broadcast room content rebroadcasting method, background server and electronic equipment
CN109831492B (en) Method and device for accessing OTT application and server push message
CN108271033B (en) Video live broadcast method and device
CN113596587B (en) Bullet screen implementation method and device, electronic equipment and readable medium
CN105871972A (en) Video resource distributed cathe method, device and system

Legal Events

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