CN110392311B - Connecting wheat display method, storage medium, connecting wheat server, client and system - Google Patents

Connecting wheat display method, storage medium, connecting wheat server, client and system Download PDF

Info

Publication number
CN110392311B
CN110392311B CN201810348760.XA CN201810348760A CN110392311B CN 110392311 B CN110392311 B CN 110392311B CN 201810348760 A CN201810348760 A CN 201810348760A CN 110392311 B CN110392311 B CN 110392311B
Authority
CN
China
Prior art keywords
wheat
live broadcast
microphone
room
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
CN201810348760.XA
Other languages
Chinese (zh)
Other versions
CN110392311A (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 CN201810348760.XA priority Critical patent/CN110392311B/en
Publication of CN110392311A publication Critical patent/CN110392311A/en
Application granted granted Critical
Publication of CN110392311B publication Critical patent/CN110392311B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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/254Management at additional data server, e.g. shopping server, rights management server
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Graphics (AREA)
  • General Engineering & Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a connecting wheat display method, which relates to the technical field of internet video live broadcast and comprises the following steps: s101, a connecting wheat server inquires the number of a room in a connecting wheat and sets connecting wheat state failure time for each room in the connecting wheat; s102, writing the room number, the connecting mark and the connecting state failure time in the connecting microphone into a corner mark database of a live broadcast list; s103, periodically executing the step S101 and the step S102, wherein the execution period is less than the failure time of the wheat connecting state; and S104, the client selects the live broadcast room with the live broadcast state as effective to display the live broadcast identification according to the information in the live broadcast list. By using the connected wheat display method provided by the invention, the technical problem that the rooms in the connected wheat are timely displayed to the user in the Internet live broadcast is solved.

Description

Connecting wheat display method, storage medium, connecting wheat server, client and system
Technical Field
The invention relates to the technical field of internet video live broadcast, in particular to a connecting wheat display method, a storage medium, a connecting wheat server, a client and a system.
Background
In the field of internet live broadcast, a live broadcast platform often provides a microphone connecting function in order to improve user experience and enhance the interaction effect of a main broadcast and a user. The microphone connecting function enables a user to interact with a plurality of anchor broadcasters in a live broadcast room, and the interest of live broadcast and the diversity of interaction are improved.
The method comprises the steps that the main broadcasting and the wheat connecting time are carried out according to the intention of the main broadcasting, so that the wheat connecting time is uncontrollable for a user, when the user wants to watch the rooms in the wheat connecting, the rooms in the wheat connecting need to be found in a live broadcasting list page, and at the moment, if special marks are given to the rooms in the wheat connecting in the list page, the user can easily find the rooms in the wheat connecting, so that the user can select the live broadcasting room in the wheat connecting to watch the live broadcasting video.
Disclosure of Invention
The invention aims to overcome the defects of the background invention, provides a method, a storage medium, equipment and a system for displaying live video link ergot marks on a list page, and solves the technical problem that rooms in link wheat are displayed to users in time in the existing internet video live broadcast.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows:
a Lian Mai display method comprises the following steps:
s101, a connecting wheat server inquires the number of a room in a connecting wheat and sets connecting wheat state failure time for each room in the connecting wheat;
s102, writing the room number, the connecting mark and the connecting state failure time in the connecting microphone into a corner mark database of a live broadcast list;
s103, periodically executing the step S101 and the step S102, wherein the execution period is less than the failure time of the wheat connecting state;
and S104, the client selects the live broadcast room with the live broadcast state as effective to display the live broadcast identification according to the information in the live broadcast list.
The live broadcast room in the live broadcast room is inquired through the microphone connecting server, the microphone connecting information of the live broadcast room can be effectively and accurately acquired, the microphone connecting state can be conveniently updated after subsequent refreshing by setting the microphone connecting state failure time, the corner mark database which can be continuously updated in the step S101 and the step S102 is periodically executed, and the microphone connecting identification of the live broadcast room in the live broadcast list displayed by the client side is periodically refreshed due to the fact that the corner mark database is periodically updated. Therefore, the wheat connecting identification is displayed on the live broadcast list finally.
In step S101, the querying, by the microphone connecting server, the room number in the microphone connecting includes:
and inquiring the number of rooms in the microphone in succession, and periodically inquiring the number of the rooms in the microphone in succession when the number of the rooms in the microphone exceeds a threshold value.
Setting the threshold value can avoid processing timeout caused by too large data volume.
On the basis of the technical scheme, the method further comprises the step of setting a global switch, and when the global switch is turned on, the room number, the microphone connecting identification and the microphone connecting state failure time in the live broadcast list can be written into a corner mark database.
The global switch is arranged to facilitate overall management, and the function of connecting the wheat can be integrally closed and opened.
On the basis of the above technical solution, the step S103 specifically includes,
on the basis of the above technical solution, the method for periodically executing step S101 and step S102 includes:
and packaging the programs corresponding to the step S101 and the step S102 into a function, and periodically calling the function through the timing task system.
After the steps S101 and S102 are packaged, the whole recall is facilitated to perform periodic step repetition.
On the basis of the technical scheme, when the client is a WEB side, the connecting microphone identification picture link is placed in a corresponding live broadcast room in the live broadcast room list to complete connecting microphone display.
When the client is a mobile terminal, adding an identification field into live broadcast room information in a live broadcast room list, inquiring whether a room number of the live broadcast room is in a room number in the connected wheat and whether the connected wheat state is effective, assigning a value to the identification field according to an inquiry result, and rendering a corresponding live broadcast room according to the value of the identification field by the mobile terminal so as to finish connected wheat display.
Different display modes are provided for different clients, and the applicability of the display modes on different clients is further improved.
The present invention also provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
J101. inquiring the room number in the connected wheat, and setting the failure time of the connected wheat state for each room in the connected wheat;
J102. writing the room number, the connecting mark and the connecting state failure time in the connecting into a corner mark database of a live broadcast list;
J103. packaging the programs corresponding to the steps J101 and J102 into a function, and calling the function periodically, wherein the period is less than the failure time of the microphone connecting state;
J104. and providing the corner mark database information for the client.
On the basis of the technical scheme, when the room number in the microphone is inquired, the computer program further realizes the following steps when being executed by the processor: and inquiring the number of rooms in the microphone in succession, and periodically inquiring the number of the rooms in the microphone in succession when the number of the rooms in the microphone exceeds a threshold value.
On the basis of the above technical solution, when being executed by a processor, the computer program further implements the following steps: and setting a global switch, wherein when the global switch is turned on, the room number, the connecting mark and the connecting state failure time in the connecting microphone can be written into a corner mark database of the live broadcast list.
On the basis of the above technical solution, when being executed by a processor, the computer program further implements the following steps: and (5) packaging the programs corresponding to the step (j 101) and the step (j 102) into a function, and periodically calling the function through a timing task system.
On the basis of the above technical solution, when being executed by a processor, the computer program further implements the following steps:
when the client is a WEB side, placing the connecting mark picture link in a corresponding live broadcast room in a live broadcast room list;
and when the client is a mobile terminal, adding an identification field into the live broadcast room information in the live broadcast room list, inquiring whether the room number of the live broadcast room is in the room number in the connected microphone and the connected microphone state is valid, and assigning a value to the identification field according to an inquiry result.
The present invention also provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
sending a request for acquiring a live broadcast list to a microphone server;
receiving corner mark database information which is sent by a continuous microphone server and contains a room number, a continuous microphone identification and continuous microphone state failure time, wherein the period is less than the continuous microphone state failure time;
and selecting the connecting microphone state as an effective live broadcast room according to the information in the live broadcast list to display the connecting microphone identification.
The invention provides a connecting wheat server, which comprises:
the first unit is used for inquiring the room numbers in the connected wheat and setting the failure time of the connected wheat state for each room in the connected wheat;
the second unit is used for writing the room number, the connecting mark and the connecting state failure time in the connecting microphone into a corner mark database of the live broadcast list;
the third unit is used for packaging the first unit and the second unit into a function and calling the function periodically, and the period is less than the failure time of the connected microphone state;
a fourth unit for providing the client with the corner mark database information.
On the basis of the technical scheme, the first unit is further used for inquiring the number of the rooms in the microphone in succession, and when the number of the rooms in the microphone in succession exceeds a threshold value, the number of the rooms in the microphone in succession is periodically inquired.
On the basis of the technical scheme, the connecting microphone server further comprises a fifth unit, wherein the fifth unit is used for setting a global switch, and when the global switch is turned on, the room number, the connecting microphone identification and the connecting microphone state failure time in the connecting microphone can be written into a corner mark database of a live broadcast list.
On the basis of the above technical solution, the microphone connecting server further includes a sixth unit, where the sixth unit is configured to encapsulate the programs corresponding to step S101 and step S102 into a function, and periodically call the function through the timing task system.
On the basis of the technical scheme, the microphone connecting server further comprises a seventh unit, and the seventh unit is used for placing the microphone connecting identification picture link in the corresponding live broadcast room in the live broadcast room list to complete microphone connecting display when the client is a WEB side.
On the basis of the technical scheme, the wheat connecting server further comprises an eighth unit, wherein the eighth unit is used for adding an identification field to the live broadcast room information in the live broadcast room list when the client is the mobile terminal, and inquiring whether the room number of the live broadcast room is effective or not according to the inquiry result and assigning a value to the identification field.
The present invention also provides a client, which includes:
the first module is used for sending a request for acquiring a live broadcast list to the microphone connecting server;
the second module is used for periodically receiving the corner mark database information which is sent by the continuous microphone server and contains the room number, the continuous microphone identification and the continuous microphone state failure time, and the period is less than the continuous microphone state failure time;
a third module for selecting the live broadcast room with the live broadcast state as effective to display the live broadcast identification according to the information in the live broadcast list
A live listing microphone-connecting display system, comprising:
the query storage module runs in the wheat connecting server and is used for querying the room numbers in the wheat connecting server and setting the failure time of the wheat connecting state for each room in the wheat connecting server;
the data writing module runs in the connecting wheat server and is used for writing the room number, the connecting wheat identification and the connecting wheat state failure time in the connecting wheat into a corner mark database of the live broadcast list;
the circulation module runs on the wheat connecting server and is used for enabling the query storage module and the data writing module to execute circularly in a set period, and the set period is less than the wheat connecting state failure time;
and the display module runs at the client and is used for selecting the connecting state as an effective live broadcast room display connecting identification according to the information in the live broadcast list.
On the basis of the technical scheme, the query storage module is further used for querying the number of the rooms in the microphone in succession, and when the number of the rooms in the microphone in succession exceeds a threshold value, the number of the rooms in the microphone in succession is periodically queried.
On the basis of the technical scheme, the system further comprises a global switch module, wherein the global switch module is used for setting a global switch, and when the global switch is turned on, the room number, the connecting mark and the connecting state failure time in the connecting microphone can be written into a corner mark database of the live broadcast list.
On the basis of the technical scheme, the system further comprises an encapsulating module, wherein the encapsulating module is used for encapsulating the programs corresponding to the step S101 and the step S102 into a function and periodically calling the function through the timing task system.
On the basis of the technical scheme, the system further comprises a display module, and the seventh unit is used for placing the linkman identification picture link in the corresponding live broadcast room in the live broadcast room list to complete the linkman display when the client is a WEB side.
On the basis of the technical scheme, the wheat connecting server further comprises an eighth unit, wherein the eighth unit is used for adding an identification field to the live broadcast room information in the live broadcast room list when the client is the mobile terminal, and inquiring whether the room number of the live broadcast room is effective or not according to the inquiry result and assigning a value to the identification field.
The invention has the beneficial effects that: the invention provides a method for displaying live video of a list page with ergot marks, which solves the problem that the live internet video in the prior art timely displays rooms in the live television to a user.
The embodiment of the invention can flexibly carry out global control on the Liangwei target by showing whether the room number of Liangmai is displayed or not.
Drawings
FIG. 1 is a flow chart of a method for live video link icon display on a listing page in accordance with an embodiment of the present invention;
FIG. 2 is a diagram of a connecting server according to an embodiment of the present invention;
FIG. 3 is a client according to an embodiment of the present invention;
fig. 4 is a connecting display system in an embodiment of the invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Referring to fig. 1, a method for displaying Lian Mai in an embodiment of the present invention includes the following steps:
s101, a connecting wheat server inquires the number of a room in a connecting wheat and sets connecting wheat state failure time for each room in the connecting wheat; for convenience of setting, the failure time of the wheat connecting state of each room is equal.
Specifically, data of a microphone connecting room provided by a microphone connecting server is read by adopting an hget () method, the microphone connecting server stores the microphone connecting room by adopting Redis, and an hzset (data) mode is adopted to store the ordered set. Meanwhile, the failure time of the microphone connecting state of each microphone connecting room is set to be 65 s.
In an embodiment of the present invention, a REmote DIctionary Server (Redis) is a key-value storage system written by Salvator Sanfilippo. Redis provides a number of rich data structures, including lists, sets, ordered sets, and hashes, and of course strings as Memcached. Redis has a high performance as a high-efficiency network cache data function, and can support the read-write frequency of more than 100K + per second.
S102, writing the room number, the connecting mark and the connecting state failure time in the connecting microphone into a corner mark database of a live broadcast list;
specifically, the data of the connected microphone room, i.e., the room number, the connected microphone identifier and the connected microphone state failure time in the connected microphone are stored in the database Redis of the corner mark service. The method is adopted to continuously write in the microphone server, and data support is provided for the invention.
S103, periodically executing the step S101 and the step S102, wherein the execution period is less than the failure time of the wheat connecting state;
the reason that the execution cycle is less than the connected-microphone state failure time is that if the execution cycle is greater than the connected-microphone state failure time, a room which is always in the connected microphone will have a part of time period without displaying the connected-microphone identifier.
And S104, the client selects the live broadcast room with the live broadcast state as effective to display the live broadcast identification according to the information in the live broadcast list.
The haymaker server, here acting as a data provider for the haymaker room, provides the room number to the haymaker that needs to be known. The live broadcast room in the live broadcast room is inquired through the microphone connecting server, the microphone connecting information of the live broadcast room can be effectively and accurately acquired, the microphone connecting state can be conveniently updated after subsequent refreshing by setting the microphone connecting state failure time, the corner mark database which can be continuously updated in the step S101 and the step S102 is periodically executed, and the microphone connecting identification of the live broadcast room in the live broadcast list displayed by the client side is periodically refreshed due to the fact that the corner mark database is periodically updated. Therefore, the wheat connecting identification is displayed on the live broadcast list finally.
As an optional implementation manner, in step S101, the querying, by the microphone connecting server, the room number in the microphone connecting includes:
the method further comprises inquiring the number of rooms in the microphone chain, and periodically inquiring the number of the rooms in the microphone chain when the number of the rooms in the microphone chain exceeds a threshold value.
The threshold is set in the embodiment of the invention, so that the processing overtime caused by overlarge data volume can be avoided. In the embodiment of the invention, a zcount (speedmark) method is adopted to read the total number of connected rooms from connected rooms redis stored in a connected wheat server. The advantage of reading the total number is that the number is larger than a threshold, specifically, in this embodiment, 1000 is preferred. At this time, the connected wheat rooms are inquired in a circulating mode. The situation that the timeout is caused by overlarge data volume when room data is fully measured is avoided. In the embodiment of the invention, a for loop mode is used, and rooms in all connected wheat are circularly inquired by using a zrange () method.
As an optional implementation manner, the method further comprises the step of setting a global switch, and when the global switch is turned on, the room number, the microphone connecting identification and the microphone connecting state failure time in the microphone connecting can be written into a corner mark database of the live broadcast list.
In the embodiment of the invention, the global switch is arranged, so that the ergot-connected target can be controlled globally and flexibly. The switch value is stored by Redis, and is set by adopting an hset (switch) method, wherein the switch is 0 to mark the closed state, and the switch is 1 to mark the open state. This state will mark the global microphone room switch. When the switch is 0, the connected logo is not displayed even if there is a room with a microphone, when the switch is 1, the connected logo is displayed according to whether there is a room with a microphone, and a specific method for displaying the connected logo when the switch is 1 will be described below. In the invention, an hget () method is adopted to read the data of the connected wheat room provided by the connected wheat server and store the data into the redis of the corner mark service, the method firstly obtains the global switch in the step 1 by an isenableflag (speedmark) method, and the room number in the connected wheat is written into the redis of the corner mark service only when the global switch is 1.
As an optional implementation manner, the step S103 specifically includes,
the method for periodically executing step S101 and step S102 is as follows:
and step S101 and step S102 are packaged into a function, and the function is periodically called by the timing task system. After the steps S101 and S102 are encapsulated in the embodiment of the present invention, the whole recall is facilitated to perform the periodic step repetition. As a preferred embodiment, step S101 and step S102 are packaged into a cronMarkProcess () method, and the method is called once per minute by the timed task system, i.e. the flow is implemented once per minute.
And when the client is a WEB side, placing the connecting mark picture link in a corresponding live broadcast room in the live broadcast room list to finish connecting display. The Web end display mechanism is different from the mobile end, and can be directly rendered on the page through the embodiment of the invention.
Specifically, the rendering method comprises the following steps: when the live list also queries a room of the current page, the live list queries whether the current time exists or not by using hget (roommd), if so, the room is identified to need to display the continuous caption, namely, the caption picture link is placed in the room, and then the display of the caption picture can be realized. If the current room does not exist, the room is not a room connected with the microphone, and no processing is needed.
When the client is a mobile terminal, adding an identification field into live broadcast room information in a live broadcast room list, inquiring whether a room number of the live broadcast room is in a room number in the connected wheat and whether the connected wheat state is effective, assigning a value to the identification field according to an inquiry result, and rendering a corresponding live broadcast room according to the value of the identification field by the mobile terminal so as to finish connected wheat display.
Specifically, for the mobile terminal, the rendering of the corner mark is processed by the client terminal, and in the embodiment of the present invention, the client terminal needs to be informed of which rooms can display the corner mark. A new field rmf2 needs to be added to the room information in the interface provided to the client to inform the client whether the room needs to be presented with a corner mark. The setting of the value of the rmf2 field queries whether the current room exists through hget (roommd), if so, the rmf2 is set to 1, and if not, the rmf2 is set to 0; when rmf2 is 1 then the room needs to show the ergot scale and when rmf2 is 0 then this need not. At this time, the client takes the room information and the value of the field rmf2 in the interface to decide whether to display the link icon or not through the judgment of the value.
Through the series of processes, the link caption display of the live list pages of the web end and the mobile end (android and ios) is completed. Different display modes are provided for different clients, and the applicability of the display modes on different clients is further improved.
An embodiment of the present invention further provides a storage medium, configured to be installed on a microphone server, and having a computer program stored thereon, where the computer program, when executed by a processor, implements the following steps:
J101. inquiring the room number in the connected wheat, and setting the failure time of the connected wheat state for each room in the connected wheat;
J102. writing the room number, the connecting mark and the connecting state failure time in the connecting into a corner mark database of a live broadcast list;
J103. packaging the programs corresponding to the steps J101 and J102 into a function, and calling the function periodically, wherein the period is less than the failure time of the microphone connecting state;
J104. and providing the corner mark database information for the client.
Further, when querying the room number in the connected wheat, the computer program when being executed by the processor further realizes the following steps: and inquiring the number of rooms in the microphone in succession, and periodically inquiring the number of the rooms in the microphone in succession when the number of the rooms in the microphone exceeds a threshold value.
Further, the computer program when executed by the processor further performs the steps of: and setting a global switch, wherein when the global switch is turned on, the room number, the connecting mark and the connecting state failure time in the connecting microphone can be written into a corner mark database of the live broadcast list.
Further, the computer program when executed by the processor further performs the steps of: and (4) packaging the programs corresponding to the step J101 and the step J102 into a function, and periodically calling the function through a timing task system.
Further, the computer program when executed by the processor further performs the steps of:
when the client is a WEB side, placing the connecting mark picture link in a corresponding live broadcast room in a live broadcast room list;
and when the client is a mobile terminal, adding an identification field into the live broadcast room information in the live broadcast room list, inquiring whether the room number of the live broadcast room is in the room number in the connected microphone and the connected microphone state is valid, and assigning a value to the identification field according to an inquiry result.
By using the storage medium applied to the wheat-connecting server provided by the embodiment of the invention, the wheat-connecting server inquires the live broadcast room in the wheat-connecting server, the wheat-connecting information of the live broadcast room can be effectively and accurately acquired, the wheat-connecting state can be conveniently updated after subsequent refreshing by setting the failure time of the wheat-connecting state, the corner mark database can be continuously updated in the step J101 and the step J102 periodically, and the corner mark database is periodically updated, so that the wheat-connecting identification of the wheat-connecting live broadcast room in the live broadcast list displayed by the client is periodically refreshed. Therefore, the wheat connecting identification is displayed on the live broadcast list finally.
The present invention also provides a storage medium for installation on a client, having stored thereon a computer program which, when executed by a processor, performs the steps of:
sending a request for acquiring a live broadcast list to a microphone server;
receiving corner mark database information which is sent by a continuous microphone server and contains a room number, a continuous microphone identification and continuous microphone state failure time, wherein the period is less than the continuous microphone state failure time;
and selecting the connecting microphone state as an effective live broadcast room according to the information in the live broadcast list to display the connecting microphone identification.
The following describes in detail a microphone server provided by an embodiment of the present invention.
Referring to fig. 2, in an embodiment of the present invention, a microphone server 200 includes:
the first unit 201 is used for inquiring the room numbers in the connected wheat and setting the failure time of the connected wheat state for each room in the connected wheat;
a second unit 202, where the second unit 202 is configured to write a room number, a connected wheat identifier, and a connected wheat state failure time in a live broadcast list into a corner mark database;
a third unit 203, where the third unit 203 is configured to encapsulate the first unit and the second unit into a function, and call the function periodically, and the period is less than the failure time of the connected microphone state;
a fourth unit 204, where the fourth unit 204 is configured to provide the client with the information of the corner mark database.
Further, the first unit is also used for inquiring the number of rooms in the microphone, and when the number of the rooms in the microphone exceeds a threshold value, the number of the rooms in the microphone is periodically inquired.
Furthermore, the connecting microphone server also comprises a fifth unit, wherein the fifth unit is used for setting a global switch, and when the global switch is turned on, the room number, the connecting microphone identification and the connecting microphone state failure time in the connecting microphone can be written into a corner mark database of the live broadcast list.
Further, the mic server further includes a sixth unit, where the sixth unit is configured to encapsulate the programs corresponding to step S101 and step S102 into a function, and periodically call the function through the timing task system.
Further, the connecting microphone server further comprises a seventh unit, and the seventh unit is used for placing the connecting microphone identification picture link in the corresponding live broadcast room in the live broadcast room list to complete connecting microphone display when the client is a WEB terminal.
Furthermore, the wheat connecting server further comprises an eighth unit, wherein the eighth unit is used for adding an identification field to the live broadcast room information in the live broadcast room list when the client is the mobile terminal, and inquiring whether the room number of the live broadcast room is in an effective condition or not according to the inquiry result, and assigning a value to the identification field.
The client provided by the embodiment of the present invention will be described in detail below.
Referring to fig. 3, a client 300, comprising:
a first module 301, where the first module 301 is configured to send a request for obtaining a live list to a wheat-connected server;
a second module 302, where the second module 302 is configured to periodically receive, from the connected wheat server, information of a corner mark database that includes a room number, a connected wheat identifier, and a connected wheat state failure time in the connected wheat, and the period is less than the connected wheat state failure time;
and a third module 303, where the third module 303 selects a live broadcast room with a live broadcast status as an effective live broadcast room to display the live broadcast identification according to the information in the live broadcast list.
The following describes in detail the connected wheat display system provided by the embodiment of the present invention.
Finally, an embodiment of the present invention further provides a display system for connecting with a wheat, including:
the system comprises an inquiry storage module 401, an inquiry storage module 401 and a connecting wheat server, wherein the inquiry storage module 401 runs in the connecting wheat server and is used for inquiring the room number in the connecting wheat and setting the failure time of the connecting wheat state for each room in the connecting wheat;
a data writing module 402, wherein the data writing module 402 operates in a connecting wheat server, and the data writing module is used for writing the room number, the connecting wheat identification and the connecting wheat state failure time in the connecting wheat into a corner mark database of a live broadcast list;
a circulation module 403, where the circulation module 403 operates in the wheat-connecting server, and the circulation module is configured to cause the query storage module and the data writing module to execute in a circulation manner in a set period, and the set period is less than the wheat-connecting state failure time;
and the display module 404 runs on the client, and selects the connecting state as an effective live broadcast room to display the connecting mark according to the information in the live broadcast list. .
In conclusion, the invention provides a method for displaying live video link ergot marks on a list page, which solves the problem that the live internet video in the prior invention timely displays rooms in link wheat to users.
The embodiment of the invention can flexibly carry out global control on the Liangwei target by showing whether the room number of Liangmai is displayed or not.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
The present invention is not limited to the above-described embodiments, and it will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and such modifications and improvements are also considered to be within the scope of the present invention. Those not described in detail in this specification are within the skill of the art.

Claims (10)

1. A Lian Mai display method is characterized by comprising the following steps:
s101, a connecting wheat server inquires the number of a room in a connecting wheat and sets connecting wheat state failure time for each room in the connecting wheat;
s102, writing the room number, the connecting mark and the connecting state failure time in the connecting microphone into a corner mark database of a live broadcast list;
s103, periodically executing the step S101 and the step S102, wherein the execution period is less than the failure time of the wheat connecting state;
and S104, the client selects the live broadcast room with the live broadcast state as effective to display the live broadcast identification according to the information in the corner mark database of the live broadcast list.
2. The method as claimed in claim 1, wherein the step S101, the querying the room number in the connected microphone by the connected microphone server further comprises:
and inquiring the number of rooms in the microphone in succession, and periodically inquiring the number of the rooms in the microphone in succession when the number of the rooms in the microphone exceeds a threshold value.
3. The method as claimed in claim 1, wherein the method further comprises the step of setting a global switch, when the global switch is turned on, the room number, the connected-to-microphone identifier and the connected-to-microphone state failure time in the live list can be written into the corner mark database.
4. The method according to claim 1, wherein said step S103 comprises,
the method for periodically executing step S101 and step S102 is as follows:
and step S101 and step S102 are packaged into a function, and the function is periodically called by the timing task system.
5. The method of claim 1, wherein:
when the client is a WEB side, placing the connecting mark picture link in a corresponding live broadcast room in a live broadcast room list to finish connecting display;
when the client is a mobile terminal, adding an identification field into live broadcast room information in a live broadcast room list, inquiring whether a room number of the live broadcast room is in a room number in the connected wheat and whether the connected wheat state is effective, assigning a value to the identification field according to an inquiry result, and rendering a corresponding live broadcast room according to the value of the identification field by the mobile terminal so as to finish connected wheat display.
6. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of:
J101. inquiring the room number in the connected wheat, and setting the failure time of the connected wheat state for each room in the connected wheat;
J102. writing the room number, the connecting mark and the connecting state failure time in the connecting into a corner mark database of a live broadcast list;
J103. packaging the programs corresponding to the steps J101 and J102 into a function, and calling the function periodically, wherein the period is less than the failure time of the microphone connecting state;
J104. and providing the information of the corner mark database for the client.
7. A storage medium having a computer program stored thereon, the computer program, when executed by a processor, performing the steps of:
sending a request for acquiring a live broadcast list to a microphone server;
periodically receiving information of a corner mark database which is sent by a continuous microphone server and contains a room number, a continuous microphone identification and continuous microphone state failure time, wherein the period is less than the continuous microphone state failure time;
and selecting the connecting microphone state as an effective live broadcast room according to the information in the corner mark database of the live broadcast list to display the connecting microphone identification.
8. A microphone server, comprising:
the first unit is used for inquiring the room numbers in the connected wheat and setting the failure time of the connected wheat state for each room in the connected wheat;
the second unit is used for writing the room number, the connecting mark and the connecting state failure time in the connecting microphone into a corner mark database of the live broadcast list;
the third unit is used for packaging the first unit and the second unit into a function and calling the function periodically, and the period is less than the failure time of the connected microphone state;
and the fourth unit is used for providing the information of the corner mark database for the client.
9. A client, comprising:
the first module is used for sending a request for acquiring a live broadcast list to the microphone connecting server;
the second module is used for periodically receiving information of a corner mark database which contains a room number, a connecting mark and connecting state failure time in the connecting microphone and is sent by a connecting microphone server, and the period is less than the connecting microphone state failure time;
and the third module is used for selecting the connecting state as an effective live broadcast room to display the connecting mark according to the information in the corner mark database of the live broadcast list.
10. A barley-connecting display system, comprising:
the query storage module runs in the wheat connecting server and is used for querying the room numbers in the wheat connecting server and setting the failure time of the wheat connecting state for each room in the wheat connecting server;
the data writing module runs in the connecting wheat server and is used for writing the room number, the connecting wheat identification and the connecting wheat state failure time in the connecting wheat into a corner mark database of the live broadcast list;
the circulation module runs on the wheat connecting server and is used for enabling the query storage module and the data writing module to execute circularly in a set period, and the set period is less than the wheat connecting state failure time;
and the display module runs at the client and is used for selecting the connecting state as an effective live broadcast room display connecting mark according to the information in the corner mark database of the live broadcast list.
CN201810348760.XA 2018-04-18 2018-04-18 Connecting wheat display method, storage medium, connecting wheat server, client and system Active CN110392311B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810348760.XA CN110392311B (en) 2018-04-18 2018-04-18 Connecting wheat display method, storage medium, connecting wheat server, client and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810348760.XA CN110392311B (en) 2018-04-18 2018-04-18 Connecting wheat display method, storage medium, connecting wheat server, client and system

Publications (2)

Publication Number Publication Date
CN110392311A CN110392311A (en) 2019-10-29
CN110392311B true CN110392311B (en) 2021-11-09

Family

ID=68283168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810348760.XA Active CN110392311B (en) 2018-04-18 2018-04-18 Connecting wheat display method, storage medium, connecting wheat server, client and system

Country Status (1)

Country Link
CN (1) CN110392311B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113068060A (en) * 2021-03-24 2021-07-02 北京达佳互联信息技术有限公司 Video account matching method and device and electronic equipment
CN115412772A (en) * 2021-05-26 2022-11-29 武汉斗鱼鱼乐网络科技有限公司 Cross-room live broadcast establishment method, exiting method and live broadcast client
CN117294864A (en) * 2022-06-16 2023-12-26 抖音视界(北京)有限公司 Message processing method, device, communication apparatus, storage medium and program product
CN117376590A (en) * 2022-06-30 2024-01-09 北京字跳网络技术有限公司 View rendering method, view rendering device, electronic device, storage medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841353A (en) * 2014-02-24 2014-06-04 广州华多网络科技有限公司 Video interaction method, terminal, server and system
CN105933375A (en) * 2016-03-30 2016-09-07 广州华多网络科技有限公司 Method, device and server for monitoring microphone connecting conversation
CN106454404A (en) * 2016-09-29 2017-02-22 广州华多网络科技有限公司 Live video playing method, device and system
CN106713945A (en) * 2016-12-06 2017-05-24 广州华多网络科技有限公司 Client microbonding live processing method and device, live server and live system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841353A (en) * 2014-02-24 2014-06-04 广州华多网络科技有限公司 Video interaction method, terminal, server and system
CN105933375A (en) * 2016-03-30 2016-09-07 广州华多网络科技有限公司 Method, device and server for monitoring microphone connecting conversation
CN106454404A (en) * 2016-09-29 2017-02-22 广州华多网络科技有限公司 Live video playing method, device and system
CN106713945A (en) * 2016-12-06 2017-05-24 广州华多网络科技有限公司 Client microbonding live processing method and device, live server and live system

Also Published As

Publication number Publication date
CN110392311A (en) 2019-10-29

Similar Documents

Publication Publication Date Title
CN110392311B (en) Connecting wheat display method, storage medium, connecting wheat server, client and system
CN110659121B (en) Task data acquisition method and device, task configuration method and device and server
CN112333474B (en) Screen projection method, system, equipment and storage medium
CN102571940B (en) Application program remote installation system, method, intelligent terminal, application server
CN104581171A (en) Method and device for playing videos on browser as well as mobile terminal
CN104135670A (en) Video playing method and device
CN102790911A (en) Method and system for playback of live broadcast
CN103347220A (en) Method and device for watching back live-telecast files
CN102929672B (en) Application upgrade system and method
CN102364956A (en) Method for realizing advertising in starting of Internet protocol television (IPTV) system
CN104104971A (en) Video file processing method and system
CN114466216B (en) Live broadcast room display method, server side and live broadcast client side
CN105589705A (en) File updating method and device, and equipment
CN112689170B (en) Content playing method of display terminal, display terminal and readable storage medium
CN103702182A (en) Video playing method and device
CN108111921B (en) A kind of barrage processing method, electronic equipment and computer readable storage medium
CN103702218A (en) Video playing method and device
CN106230948A (en) Service end and advertisement pushing device and method
CN111050217B (en) Video playing method and device
CN103297516A (en) Multi-type providing method, multi-type providing system and multi-type providing device of applications
CN105681875A (en) Television channel list updating method and device
CN108966034B (en) Virtual article display method, device and storage medium
CN102137081B (en) Method, device and system for inserting advertisements
US20130019269A1 (en) Method, system and apparatus for delivering data to a mobile electronic device
US11405674B2 (en) Methods and apparatus to identify media for ahead of time watermark encoding

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