CN108810602A - A kind of method, apparatus and computer equipment for showing direct broadcasting room information - Google Patents
A kind of method, apparatus and computer equipment for showing direct broadcasting room information Download PDFInfo
- Publication number
- CN108810602A CN108810602A CN201810292273.6A CN201810292273A CN108810602A CN 108810602 A CN108810602 A CN 108810602A CN 201810292273 A CN201810292273 A CN 201810292273A CN 108810602 A CN108810602 A CN 108810602A
- Authority
- CN
- China
- Prior art keywords
- room
- live broadcast
- target live
- information
- live
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Computer Graphics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明提供了一种用于显示直播间信息的方法,方法包括:在直播页面的房间列表层中监听是否接收到观看目标直播间直播视频的触发操作信号;若接收到所述触发操作信号,则获取目标直播间的房间ID及房间序号;根据目标直播间的房间ID及房间序号确定目标直播间在直播页面中的坐标信息;其中,直播页面包括房间列表层及视频播放层,当显示视频播放层时,房间列表层处于隐藏状态;根据目标直播间在所述直播页面中的坐标信息确定所述目标直播间的显示坐标值;以目标直播间的显示坐标值为基准调整所述视频播放层的位置,使得所述视频播放层相对所述目标直播间处于居中状态;获取所述目标直播间的房间信息,在所述视频播放层中显示所述房间信息。
The present invention provides a method for displaying live room information. The method includes: monitoring in the room list layer of the live page whether a trigger operation signal for watching the live video of the target live room is received; if the trigger operation signal is received, Then obtain the room ID and room serial number of the target live broadcast room; determine the coordinate information of the target live broadcast room in the live page according to the room ID and room serial number of the target live broadcast room; wherein, the live broadcast page includes a room list layer and a video playback layer, when displaying video When playing the layer, the room list layer is in a hidden state; determine the display coordinate value of the target live room according to the coordinate information of the target live room in the live page; adjust the video playback based on the display coordinate value of the target live room layer position, so that the video playback layer is in the center state relative to the target live broadcast room; acquire room information of the target live broadcast room, and display the room information in the video playback layer.
Description
技术领域technical field
本发明属于视频直播的技术领域,尤其涉及一种用于显示直播间信息的方法、装置及计算机设备。The invention belongs to the technical field of video live broadcast, and in particular relates to a method, device and computer equipment for displaying information in a live broadcast room.
背景技术Background technique
随着网络通信技术的进步和宽带网络的提速,视频直播技术得到了越来越多的发展和应用。With the advancement of network communication technology and the speed up of broadband network, live video technology has been more and more developed and applied.
目前,随着直播用户的增多,直播类型越来越多,每个直播间的房间信息也越来越多。一般用户在观看直播视频时,是可以从直播窗口界面中看到直播间的房间信息的,但是在房间信息过多且冗长的情况下,直播窗口界面往往不能显示完整的房间信息。At present, with the increase of live broadcast users, there are more and more types of live broadcasts, and the room information of each live broadcast room is also more and more. Generally, when a user is watching a live video, they can see the room information of the live room from the live window interface, but when the room information is too much and lengthy, the live window interface often cannot display complete room information.
可见,现有技术中存在进行视频直播时,不能在直播窗口界面显示完整的房间信息的技术问题。It can be seen that there is a technical problem in the prior art that complete room information cannot be displayed on the live broadcast window interface during live video broadcasting.
发明内容Contents of the invention
针对现有技术存在的问题,本发明实施例提供了一种用于显示直播间信息的方法、装置及计算机设备,用于解决现有技术中直播网站观看直播视频时,直播窗口界面不能显示完整的直播间信息的技术问题。Aiming at the problems existing in the prior art, the embodiment of the present invention provides a method, device and computer equipment for displaying the information of the live broadcast room, which is used to solve the problem that the live window interface cannot be completely displayed when the live broadcast website is watching the live video in the prior art technical problems with the live room information.
本发明提供一种用于显示直播间信息的方法,所述方法包括:The present invention provides a method for displaying live room information, the method comprising:
在直播页面的房间列表层中监听是否接收到观看目标直播间直播视频的触发操作信号;In the room list layer of the live broadcast page, monitor whether the trigger operation signal for watching the live video of the target live room is received;
若监听到所述触发操作信号,则获取所述目标直播间的房间ID及房间序号;If the trigger operation signal is monitored, then obtain the room ID and room number of the target live broadcast room;
根据所述目标直播间的房间ID及房间序号确定所述目标直播间在所述直播页面中的坐标信息;其中,所述直播页面包括所述房间列表层及视频播放层,当显示所述视频播放层时,所述房间列表层处于隐藏状态;Determine the coordinate information of the target live room in the live page according to the room ID and room number of the target live room; wherein, the live page includes the room list layer and the video playback layer, when the video is displayed When playing a layer, the room list layer is hidden;
根据所述目标直播间在所述直播页面中的坐标信息确定所述目标直播间的显示坐标值;determining the display coordinate value of the target live room according to the coordinate information of the target live room in the live page;
以所述目标直播间的显示坐标值为基准调整所述视频播放层的位置,使得所述视频播放层相对所述目标直播间处于居中状态;Adjusting the position of the video playback layer based on the display coordinate value of the target live room, so that the video playback layer is centered relative to the target live room;
获取所述目标直播间的房间信息,在所述视频播放层中显示所述房间信息。Obtain room information of the target live broadcast room, and display the room information in the video playback layer.
上述方案中,所述根据所述目标直播间的房间ID及房间序号确定所述目标直播间在所述直播页面中的坐标信息,包括:In the above scheme, determining the coordinate information of the target live room on the live page according to the room ID and room number of the target live room includes:
根据x=index%columnCount*cellWidth确定所述目标直播间在所述直播页面中的横坐标;Determine the abscissa of the target live room in the live page according to x=index%columnCount*cellWidth;
根据y=(cellHeight*((index-index%columnCount)/.columnCount))-contentY确定所述目标直播间在所述直播页面中的纵坐标;Determine the ordinate of the target live room in the live page according to y=(cellHeight*((index-index%columnCount)/.columnCount))-contentY;
其中,所述x为所述横坐标,所述y为所述纵坐标,所述index为所述房间序号,cellWidth为所述目标直播间的宽度,所述columnCount一行中直播间的个数,cellHeight为所述目标直播间的高度,contentY为所述目标直播间所在直播页面的房间列表的高度。Wherein, the x is the abscissa, the y is the ordinate, the index is the room number, cellWidth is the width of the target live room, the columnCount is the number of live rooms in a row, cellHeight is the height of the target live room, and contentY is the height of the room list on the live page where the target live room is located.
上述方案中,所述获取所述目标直播间的房间信息,在所述视频播放层中显示所述房间信息,包括:In the above solution, the acquiring the room information of the target live broadcast room, and displaying the room information in the video playback layer include:
基于所述目标直播间的房间ID,生成房间信息获取请求,并将所述房间信息获取请求发送至服务器,获取所述目标直播房间的房间信息;Generate a room information acquisition request based on the room ID of the target live room, and send the room information acquisition request to a server to acquire room information of the target live room;
在所述视频播放层中,通过房间信息显示控件加载所述房间信息,在所述视频播放层中显示所述房间信息。In the video playing layer, the room information is loaded through a room information display control, and the room information is displayed in the video playing layer.
上述方案中,所述获取所述目标直播间的房间ID及房间序号,包括:In the above solution, the acquisition of the room ID and room number of the target live broadcast room includes:
根据所述触发操作信号抛出的消息获取所述目标直播间的房间ID及房间序号,所述消息中携带有所述目标直播间的房间ID及房间序号。Obtain the room ID and room number of the target live broadcast room according to the message thrown by the trigger operation signal, and the message carries the room ID and room number of the target live broadcast room.
上述方案中,当检测到所述观看目标直播间直播视频的触发操作信号移除时,隐藏所述视频播放层。In the above solution, when it is detected that the trigger operation signal for viewing the live video in the target live room is removed, the video playback layer is hidden.
本发明还提供一种用于显示直播间信息的装置,所述装置包括:The present invention also provides a device for displaying live room information, the device comprising:
监听单元,用于在直播页面的房间列表层中监听是否接收到观看目标直播间直播视频的触发操作信号;The monitoring unit is used to monitor in the room list layer of the live broadcast page whether a trigger operation signal for watching the live video of the target live room is received;
获取单元,用于在接收到所述触发操作信号时,获取所述目标直播间的房间ID及房间序号;An acquisition unit, configured to acquire the room ID and room number of the target live broadcast room when the trigger operation signal is received;
确定单元,用于根据所述目标直播间的房间ID及房间序号确定所述目标直播间在所述直播页面中的坐标信息;其中,所述直播页面包括所述房间列表层及视频播放层,当显示所述视频播放层时,所述房间列表层处于隐藏状态;A determining unit, configured to determine the coordinate information of the target live room on the live page according to the room ID and room number of the target live room; wherein, the live page includes the room list layer and the video playback layer, When the video playback layer is displayed, the room list layer is hidden;
根据所述目标直播间在所述直播页面中的坐标信息确定所述目标直播间的显示坐标值;determining the display coordinate value of the target live room according to the coordinate information of the target live room in the live page;
调整单元,用于以所述目标直播间的显示坐标值为基准调整所述视频播放层的位置,使得所述视频播放层相对所述目标直播间处于居中状态;An adjustment unit, configured to adjust the position of the video playback layer based on the display coordinate value of the target live broadcast room, so that the video playback layer is in a centered state relative to the target live broadcast room;
显示单元,用于获取所述目标直播间的房间信息,在所述视频播放层中显示所述房间信息。A display unit, configured to acquire room information of the target live broadcast room, and display the room information in the video playback layer.
上述方案中,所述确定单元具体用于:In the above solution, the determination unit is specifically used for:
根据x=index%columnCount*cellWidth确定所述目标直播间在所述直播页面中的横坐标;Determine the abscissa of the target live room in the live page according to x=index%columnCount*cellWidth;
根据y=(cellHeight*((index-index%columnCount)/.columnCount))-contentY确定所述目标直播间在所述直播页面中的纵坐标;Determine the ordinate of the target live room in the live page according to y=(cellHeight*((index-index%columnCount)/.columnCount))-contentY;
其中,所述x为所述横坐标,所述y为所述纵坐标,所述index为所述房间序号,cellWidth为所述目标直播间的宽度,所述columnCount一行中直播间的个数,cellHeight为所述目标直播间的高度,contentY为所述目标直播间所在直播页面的房间列表的高度。Wherein, the x is the abscissa, the y is the ordinate, the index is the room number, cellWidth is the width of the target live room, the columnCount is the number of live rooms in a row, cellHeight is the height of the target live room, and contentY is the height of the room list on the live page where the target live room is located.
上述方案中,所述显示单元具体用于:In the above solution, the display unit is specifically used for:
基于所述目标直播间的房间ID,生成房间信息获取请求,并将所述房间信息获取请求发送至服务器,获取所述目标直播房间的房间信息;Generate a room information acquisition request based on the room ID of the target live room, and send the room information acquisition request to a server to acquire room information of the target live room;
在所述视频播放层中,通过房间信息显示控件加载所述房间信息,在所述视频播放层中显示所述房间信息。In the video playing layer, the room information is loaded through a room information display control, and the room information is displayed in the video playing layer.
本发明还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述任一项所述的方法。The present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method described in any one of the above-mentioned methods is realized.
本发明还提供一种一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述任一项所述的方法。The present invention also provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the method described in any one of the above when executing the program .
本发明提供了一种用于显示直播间信息的方法,所述方法包括:在直播页面的房间列表层中监听是否接收到观看目标直播间直播视频的触发操作信号;若接收到所述触发操作信号,则获取所述目标直播间的房间ID及房间序号;根据所述目标直播间的房间ID及房间序号确定所述目标直播间在所述直播页面中的坐标信息;其中,所述直播页面包括房间列表层及视频播放层,当显示所述视频播放层时,所述房间列表层处于隐藏状态;根据所述目标直播间在所述直播页面中的坐标信息确定所述目标直播间的显示坐标值;以所述目标直播间的显示坐标值为基准调整所述视频播放层的位置,使得所述视频播放层相对所述目标直播间处于居中状态;获取所述目标直播间的房间信息,在所述视频播放层中显示所述房间信息;如此,因直播页面包括房间列表层及视频播放层,在需要观看或预览目标直播间的直播视频时,在房间列表层中将鼠标移入至目标直播间或点击目标直播间,这样就会监听到一个触发操作信号,当监听到这个触发操作信号后,根据所述目标直播间的房间ID及房间序号确定所述目标直播间在所述直播页面中的坐标信息,以所述目标直播间的显示坐标值为基准调整所述视频播放层的位置,使得所述视频播放层相对所述目标直播间处于居中状态;这样无论直播间信息是多么冗长,因视频播放层相对所述目标直播间一直处于居中状态,因此可以完整地显示出房间信息。The present invention provides a method for displaying information of a live broadcast room, the method comprising: monitoring whether a trigger operation signal for watching live video of a target live broadcast room is received in the room list layer of the live broadcast page; if the trigger operation signal is received signal, then obtain the room ID and room serial number of the target live broadcast room; determine the coordinate information of the target live broadcast room in the live page according to the room ID and room serial number of the target live broadcast room; wherein, the live page It includes a room list layer and a video playback layer. When the video playback layer is displayed, the room list layer is in a hidden state; the display of the target live room is determined according to the coordinate information of the target live room in the live page coordinate value; adjust the position of the video playback layer based on the display coordinate value of the target live room, so that the video playback layer is in the center state relative to the target live room; obtain the room information of the target live room, Display the room information in the video playback layer; like this, because the live broadcast page includes a room list layer and a video playback layer, when you need to watch or preview the live video of the target live room, move the mouse to the target in the room list layer Live room or click on the target live room, so that a trigger operation signal will be monitored, and when the trigger operation signal is monitored, according to the room ID and room number of the target live room, it is determined that the target live room is in the live page Coordinate information of the target live broadcast room, adjust the position of the video playback layer based on the display coordinate value of the target live broadcast room, so that the video playback layer is in the center state relative to the target live broadcast room; so no matter how long the live broadcast room information is, Since the video playback layer is always in the center state relative to the target live broadcast room, room information can be completely displayed.
附图说明Description of drawings
图1为本发明实施例一提供的用于显示直播间信息的方法流程示意图;FIG. 1 is a schematic flow chart of a method for displaying live room information provided by Embodiment 1 of the present invention;
图2为本发明实施例二提供的用于显示直播间信息的装置结构示意图;FIG. 2 is a schematic structural diagram of a device for displaying live room information provided by Embodiment 2 of the present invention;
图3为本发明实施例三提供的用于显示直播间信息的计算机设备整体结构示意图。FIG. 3 is a schematic diagram of the overall structure of a computer device for displaying live room information provided by Embodiment 3 of the present invention.
具体实施方式Detailed ways
本发明提供了一种用于显示直播间信息的方法、装置及计算机设备,用于解决现有技术中在直播网站观看直播视频时,直播窗口界面不能显示完整的直播间信息的技术问题。The present invention provides a method, device and computer equipment for displaying live room information, which is used to solve the technical problem in the prior art that when watching live video on a live broadcast website, the live window interface cannot display complete live room information.
本申请实施例中的技术方案,总体思路如下:The general idea of the technical solution in the embodiment of the application is as follows:
在直播页面的房间列表层中监听是否接收到观看目标直播间直播视频的触发操作信号;若接收到所述触发操作信号,则获取所述目标直播间的房间ID及房间序号;根据所述目标直播间的房间ID及房间序号确定所述目标直播间在所述直播页面中的坐标信息;其中,所述直播页面包括房间列表层及视频播放层,当显示所述视频播放层时,所述房间列表层处于隐藏状态;根据所述目标直播间在所述直播页面中的坐标信息确定所述目标直播间的显示坐标值;以所述目标直播间的显示坐标值为基准调整所述视频播放层的位置,使得所述视频播放层相对所述目标直播间处于居中状态;获取所述目标直播间的房间信息,在所述视频播放层中显示所述房间信息。In the room list layer of the live broadcast page, monitor whether the trigger operation signal for watching the live video of the target live room is received; if the trigger operation signal is received, then obtain the room ID and the room sequence number of the target live room; according to the target The room ID and room serial number of the live room determine the coordinate information of the target live room in the live page; wherein, the live page includes a room list layer and a video playback layer, and when the video playback layer is displayed, the The room list layer is in a hidden state; determine the display coordinate value of the target live room according to the coordinate information of the target live room in the live page; adjust the video playback based on the display coordinate value of the target live room layer position, so that the video playback layer is in the center state relative to the target live broadcast room; acquire room information of the target live broadcast room, and display the room information in the video playback layer.
下面通过附图及具体实施例对本发明的技术方案做进一步的详细说明。The technical solution of the present invention will be further described in detail below with reference to the drawings and specific embodiments.
实施例一Embodiment one
本实施例提供一种用于显示直播间信息的方法,如图1所示,所述方法包括:This embodiment provides a method for displaying live room information, as shown in Figure 1, the method includes:
S101,在直播页面的房间列表层中监听是否接收到观看目标直播间直播视频的触发操作信号;S101, monitor in the room list layer of the live broadcast page whether a trigger operation signal for watching the live video in the target live room is received;
本步骤中,因直播间包括多个,因此服务器具有roomManager房间管理器,每个直播间则具有直播间网络接口room接口,服务器会通过roomManager与终端上的room网络接口进行通信,并实现对各个直播间的管理。直播页面可以通过下述方式来实现:In this step, since there are multiple live rooms, the server has a roomManager room manager, and each live room has a room interface of the live room network interface, and the server communicates with the room network interface on the terminal through the roomManager, and implements each Live room management. The live page can be implemented in the following ways:
A1:创建窗口对象Qt,并使窗口对象继承QQuickView并实例化,A1: Create a window object Qt, and make the window object inherit QQuickView and instantiate it,
A2:在Qt中创建一个QQmlApplicationEngine引擎对象,用于解析和创建界面控件,程序实现如下:A2: Create a QQmlApplicationEngine engine object in Qt for parsing and creating interface controls. The program is implemented as follows:
m_engine=new QQmlApplicationEngine(this);m_engine = new QQmlApplicationEngine(this);
其中,所述m_engine为引擎对象,QQmlApplicationEngine为引擎,this,是QQmlApplicationEngine的父类。Wherein, the m_engine is the engine object, QQmlApplicationEngine is the engine, and this is the parent class of QQmlApplicationEngine.
A3:获取QQmlApplicationEngine对象中的QQmlContext地址,用于绑定Qt中的对象,程序实现如下:A3: Obtain the QQmlContext address in the QQmlApplicationEngine object, which is used to bind the object in Qt. The program is implemented as follows:
QQmlContext*context=m_engine->rootContext();QQmlContext*context=m_engine->rootContext();
其中,所述QQmlContext*context是qml文件的上下文,rootContext()是获取Contex根节点上下文的调用方法;Wherein, the QQmlContext*context is the context of the qml file, and rootContext () is the calling method for obtaining the Context root node context;
A4:设置预设的qml文件路径,实现如下:A4: Set the preset qml file path, as follows:
context->setContextPdoperty("_app_path",appPath);context->setContextPdoperty("_app_path", appPath);
其中,context->setContextPdoperty为调用文件路径的方法,appPath为窗口对象中主窗口文件路径。Among them, context->setContextPdoperty is the method of calling the file path, and appPath is the file path of the main window in the window object.
通过该路径来加载直播页面的所有的ui界面控件Use this path to load all ui interface controls of the live page
A5:将roomManager对象绑定到QML上下文中方便在QML调用roomManager的方法,由于每一个直播界面都需要请求网络接口,所有每个每一个直播界面都具有一个请求服务器的接口room接口,而roomManager里有一个所有room接口(房间网络接口)的列表。A5: Bind the roomManager object to the QML context to facilitate calling the roomManager method in QML. Since each live interface needs to request a network interface, each live interface has an interface room interface that requests the server, and in roomManager There is a list of all room interfaces (room network interfaces).
直播页面包括两层,即包括房间列表层及视频播放层,当显示所述视频播放层时,所述房间列表层处于隐藏状态;方便用户观看视频播放层的直播视频。视频播放层中包括有视频播放控件,房间信息显示控件、房间标题、热度信息及标签信息等。其中,所述直播页面包括房间列表层及视频播放层,当显示所述视频播放层时,所述房间列表层处于隐藏状态。The live broadcast page includes two layers, that is, a room list layer and a video playback layer. When the video playback layer is displayed, the room list layer is hidden; it is convenient for users to watch the live video of the video playback layer. The video playback layer includes video playback controls, room information display controls, room titles, popularity information, and label information. Wherein, the live broadcast page includes a room list layer and a video play layer, and when the video play layer is displayed, the room list layer is hidden.
在具体的实施过程中,房间列表层包括列表实现部分和数据实现部分,其中列表实现部分具体如下:In the specific implementation process, the room list layer includes a list realization part and a data realization part, and the list realization part is as follows:
B1:在预设的qml脚本文件中添加一个视图显示控件:gridView控件,用于显示直播间面板样式;B1: Add a view display control in the preset qml script file: gridView control, which is used to display the panel style of the live room;
B2:设置gridView控件的一般属性,用于设置直播间面板样式的格式,例如位置,大小及每个节点的大小;每个节点就是指直播页面中的每个直播间;B2: Set the general properties of the gridView control, which is used to set the format of the panel style of the live room, such as the position, size and size of each node; each node refers to each live room in the live page;
B3:添加视图显示代理,用来实现所有直播间的面板样式,每个直播间面板样式是相同的,只有数据不同。房间面板样式是指的是列表中每一个直播间间节点的样式,面板样式是固定的。而数据由gridView控件设置的模型来提供。B3: Add a view display proxy to implement the panel styles of all live rooms. The panel styles of each live room are the same, only the data is different. The room panel style refers to the style of each live room node in the list, and the panel style is fixed. The data is provided by the model set by the gridView control.
数据实现部分具体实现如下:The specific implementation of the data implementation part is as follows:
C1:当直播页面的窗口对象创建完成后,向服务器发送一个get请求获取所有直播间列表信息;C1: When the window object of the live page is created, send a get request to the server to obtain the list information of all live rooms;
C2:获取到服务器返回json格式(JavaScript Object Notation,JS对象标记,是一种轻量级的数据交换格式)的房间列表信息,并对房间列表信息进行解析;其中,服务器返回的是json格式的数组信息,因此需要对数组信息进行解析,获取每一个房间的列表信息;所述列表信息包括:房间名称、主播名称、在线人数等。C2: Get the room list information returned by the server in json format (JavaScript Object Notation, JS object tag, which is a lightweight data exchange format), and parse the room list information; among them, the server returns the json format Array information, so it is necessary to parse the array information to obtain the list information of each room; the list information includes: room name, host name, online number, etc.
C3:构建视图显示模型,并将解析后的列表信息添加到视图显示模型中,C3: Construct the view display model, and add the parsed list information to the view display model,
C4:将构建的视图显示模型设置到视图显示控件:gridView控件中,然后设置视图显示模型的数据,并将数据补充至房间列表中。C4: Set the built view display model to the view display control: gridView control, then set the data of the view display model, and add the data to the room list.
在介绍了房间列表层的实现后,下面介绍视频播放层的实现过程:After introducing the implementation of the room list layer, the following describes the implementation process of the video playback layer:
D1:在预设的qml文件中添加一个控制面板;D1: Add a control panel to the preset qml file;
D2:在控制面板中添加播放控件,用于播放直播视频;D2: Add playback controls in the control panel for playing live video;
D3:在控制面板中添加房间信息显示控件,房间标题,热度,分类及标签信息等。D3: Add room information display controls, room title, heat, classification and label information, etc. in the control panel.
设置好以上信息后,gridView控件在直播页面的房间列表层中监听是否接收到观看目标直播间直播视频的触发操作信号;所述触发操作信号包括:鼠标点击信号或者鼠标移入信号;也即用户直接观看目标直播间的直播视频时,监听到的是鼠标点击信号;当用户预览目标直播间的直播视频时,监听到的是鼠标移入信号。After the above information is set, the gridView control monitors in the room list layer of the live broadcast page whether it receives a trigger operation signal to watch the live video in the target live room; the trigger operation signal includes: a mouse click signal or a mouse move-in signal; that is, the user directly When watching the live video of the target live room, what is monitored is the mouse click signal; when the user previews the live video of the target live room, what is monitored is the mouse move signal.
S102,若监听到所述触发操作信号,则获取所述目标直播间的房间ID及房间序号;S102, if the trigger operation signal is monitored, obtain the room ID and room number of the target live broadcast room;
若监听到所述触发操作信号,则获取目标直播间的房间ID及房间序号;这里,若用户将鼠标移至或点击房间列表层中的目表直播间时,触发操作信号就会被触发,触发操作信号就会抛出一个消息,根据所述触发操作信号抛出的消息获取所述目标直播间的房间ID及房间序号,所述消息中携带有所述目标直播间的房间ID及房间序号。比如在直播页面上有9个直播房间,类似九宫格的格式,那么各个房间的顺序就是从左至右,从上至下依次排列。If the trigger operation signal is monitored, the room ID and room serial number of the target live room are obtained; here, if the user moves the mouse to or clicks on the target live room in the room list layer, the trigger operation signal will be triggered, A message will be thrown when the operation signal is triggered, and the room ID and room number of the target live room are obtained according to the message thrown by the trigger operation signal, and the room ID and room number of the target live room are carried in the message . For example, there are 9 live rooms on the live page, similar to the format of Jiugongge, then the order of each room is from left to right and from top to bottom.
S103,根据所述目标直播间的房间ID及房间序号确定所述目标直播间在所述直播页面中的坐标信息;S103. Determine the coordinate information of the target live room on the live page according to the room ID and room number of the target live room;
获取到目标直播间的房间ID及房间序号后,将目标直播间的房间ID及房间下标传递至gridView控件中,并根据所述目标直播间的房间ID及房间序号确定所述目标直播间在所述直播页面中的坐标信息;具体实施过程如下:After obtaining the room ID and room serial number of the target live broadcast room, pass the room ID and room subscript of the target live broadcast room to the gridView control, and determine the location of the target live broadcast room according to the room ID and room serial number of the target live broadcast room The coordinate information in the live broadcast page; the specific implementation process is as follows:
根据x=index%columnCount*cellWidth确定所述目标直播间在所述直播页面中的横坐标信息;Determine the abscissa information of the target live room in the live page according to x=index%columnCount*cellWidth;
根据y=(cellHeight*((index-index%columnCount)/.columnCount))-contentY确定所述目标直播间在所述直播页面中的纵坐标信息;其中,所述x为所述横坐标,所述y为所述纵坐标,所述index为所述房间序号,cellWidth为所述目标直播间的宽度,所述columnCount一行中直播间的个数,cellHeight为所述目标直播间的高度,contentY为所述目标直播间所在直播页面的房间列表的高度。Determine the ordinate information of the target live room in the live page according to y=(cellHeight*((index-index%columnCount)/.columnCount))-contentY; wherein, the x is the abscissa, the The y is the ordinate, the index is the room number, cellWidth is the width of the target live room, the columnCount is the number of live rooms in a row, cellHeight is the height of the target live room, and contentY is The height of the room list on the live page where the target live room is located.
S104,根据所述目标直播间在所述直播页面中的坐标信息确定所述目标直播间的显示坐标值;S104. Determine the display coordinate value of the target live room according to the coordinate information of the target live room on the live page;
确定出目标直播间的房间ID及房间序号后,根据所述目标直播间在所述直播页面中的坐标信息确定所述目标直播间的显示坐标值(x,y)。After the room ID and room number of the target live room are determined, the display coordinate values (x, y) of the target live room are determined according to the coordinate information of the target live room on the live page.
S105,以所述目标直播间的显示坐标值为基准调整所述视频播放层的位置,使得所述视频播放层相对所述目标直播间处于居中状态;S105. Adjust the position of the video playback layer based on the display coordinate value of the target live broadcast room, so that the video playback layer is centered relative to the target live broadcast room;
获取到了目标直播间的显示坐标值,然后在房间信息显示控件中设置显示坐标值,在预览或播放视频时,以显示坐标值为基准,实时调整视频播放层的位置,使得视频播放层相对该目标直播间的位置一直处于居中状态,即视频播放层在上,目标直播间在下,视频播放层的中心点与目标直播间的中心点重合。Get the display coordinate value of the target live room, and then set the display coordinate value in the room information display control. When previewing or playing the video, use the display coordinate value as the reference to adjust the position of the video playback layer in real time, so that the video playback layer is relative to the The position of the target live room is always in the center state, that is, the video playback layer is on top, the target live room is below, and the center point of the video playback layer coincides with the center point of the target live room.
S106,获取所述目标直播间的房间信息,在所述视频播放层中显示所述房间信息。S106. Acquire room information of the target live broadcast room, and display the room information in the video playback layer.
然后基于所述目标直播间的房间ID,生成房间信息获取请求,roomManager对象将通过目标直播间的网络接口向服务器发送房间信息获取请求来请求获取目标直播间的房间信息,所述请求中携带有目标直播间的房间ID。服务器会基于房间ID返回该房间的房间信息,终端接收到房间信息后,将房间信息显示在视频播放层中。这里,所述房间信息包括:房间名称、主播名称、房间标签信息、在线人数等信息;所述房间信息为json格式的信息。Then based on the room ID of the target live room, a room information acquisition request is generated, and the roomManager object will send a room information acquisition request to the server through the network interface of the target live room to request the room information of the target live room, and the request carries The room ID of the target live room. The server will return the room information of the room based on the room ID, and the terminal will display the room information in the video playback layer after receiving the room information. Here, the room information includes: room name, host name, room label information, number of online people and other information; the room information is information in json format.
在具体的实施过程中,当终端接收到目标直播间的房间信息后,将该房间信息反馈至视频播放层的房间信息显示控件中,在所述视频播放层中,通过房间信息显示控件加载所述房间信息,在所述视频播放层中显示所述房间信息。这样视频播放层相对目标直播间的坐标位置一直处于居中位置,因此房间信息可以完全显示在直播界面中。In the specific implementation process, when the terminal receives the room information of the target live broadcast room, it feeds back the room information to the room information display control of the video playback layer. In the video playback layer, the room information display control loads all The room information is displayed in the video playback layer. In this way, the coordinate position of the video playback layer relative to the target live broadcast room is always in the center position, so the room information can be completely displayed in the live broadcast interface.
作为一种可选实施方式,当检测到所述观看目标直播间直播视频的触发操作信号移除时,隐藏所述视频播放层。As an optional implementation manner, when it is detected that the trigger operation signal for viewing the live video in the target live room is removed, the video playback layer is hidden.
另外,按照以上方式在对目标直播间进行视频预览时,预览视频会连续播放,实施如下:In addition, when previewing the video of the target live broadcast room according to the above method, the preview video will be played continuously, and the implementation is as follows:
当获取到目标直播间的房间ID后,可以基于所述目标直播间的房间ID,生成直播视频预览请求,并将所述直播视频预览请求发送至服务器,获取所述目标直播房间的视频流地址。After obtaining the room ID of the target live room, a live video preview request can be generated based on the room ID of the target live room, and the live video preview request can be sent to the server to obtain the video stream address of the target live room .
当终端获取到视频流地址后,在所述视频播放层中,基于所述视频流地址播放并预览所述目标直播间的直播视频。After obtaining the video stream address, the terminal plays and previews the live video of the target live broadcast room based on the video stream address in the video playback layer.
具体的实施过程如下:基于所述视频流地址获取所述目标直播间的视频流信息;将所述视频流信息加载至所述视频播放层中的播放器控件中,通过所述播放器控件播放所述视频流信息,预览所述目标直播间的直播视频。这样因播放器控件可以连续播放直播视频,因此用户就可以连续预览该直播视频。The specific implementation process is as follows: obtain the video stream information of the target live room based on the video stream address; load the video stream information into the player control in the video playback layer, and play it through the player control The video stream information previews the live video of the target live room. In this way, the user can continuously preview the live video because the player control can continuously play the live video.
作为一种可选实施方式,当检测到所述目标直播房间的直播视频预览触发操作信号移除时,隐藏所述视频播放层并暂停播放所述目标直播房间的直播视频。As an optional implementation manner, when it is detected that the live video preview of the target live room room triggers the removal of the operation signal, the video playback layer is hidden and the live video of the target live room room is paused.
基于同样的发明构思,本发明还提供了一种用于显示直播间信息的装置,具体参见实施例二。Based on the same inventive concept, the present invention also provides a device for displaying live room information, see Embodiment 2 for details.
实施例二Embodiment two
本实施例提供一种用于显示直播间信息的装置,参见图2,所述装置包括:监听单元21、获取单元22、确定单元23、调整单元24及显示单元25;其中,This embodiment provides a device for displaying information in a live broadcast room. Referring to FIG. 2, the device includes: a monitoring unit 21, an acquisition unit 22, a determination unit 23, an adjustment unit 24, and a display unit 25; wherein,
所述监听单元21用于在直播页面的房间列表层中监听是否接收到观看目标直播间直播视频的触发操作信号;The monitoring unit 21 is used to monitor in the room list layer of the live page whether a trigger operation signal for watching the live video of the target live room is received;
具体地,因直播间包括多个,因此服务器具有roomManager房间管理器,每个直播间则具有直播间网络接口room接口,服务器会通过roomManager与终端上的room网络接口进行通信,并实现对各个直播间的管理。直播页面可以通过下述方式来实现:Specifically, since there are multiple live rooms, the server has a roomManager room manager, and each live room has a room interface, the network interface of the live room. The server communicates with the room network interface on the terminal through the roomManager, and realizes the room management. The live page can be implemented in the following ways:
A1:创建窗口对象Qt,并使窗口对象继承QQuickView并实例化,A1: Create a window object Qt, and make the window object inherit QQuickView and instantiate it,
A2:在Qt中创建一个QQmlApplicationEngine引擎对象,用于解析和创建界面控件,程序实现如下:A2: Create a QQmlApplicationEngine engine object in Qt for parsing and creating interface controls. The program is implemented as follows:
m_engine=new QQmlApplicationEngine(this);m_engine = new QQmlApplicationEngine(this);
其中,所述m_engine为引擎对象,QQmlApplicationEngine为引擎,this,是QQmlApplicationEngine的父类。Wherein, the m_engine is the engine object, QQmlApplicationEngine is the engine, and this is the parent class of QQmlApplicationEngine.
A3:获取QQmlApplicationEngine对象中的QQmlContext地址,用于绑定Qt中的对象,程序实现如下:A3: Obtain the QQmlContext address in the QQmlApplicationEngine object, which is used to bind the object in Qt. The program is implemented as follows:
QQmlContext*context=m_engine->rootContext();QQmlContext*context=m_engine->rootContext();
其中,所述QQmlContext*context是qml文件的上下文,rootContext()是获取Contex根节点上下文的调用方法;Wherein, the QQmlContext*context is the context of the qml file, and rootContext () is the calling method for obtaining the Context root node context;
A4:设置预设的qml文件路径,实现如下:A4: Set the preset qml file path, as follows:
context->setContextPdoperty("_app_path",appPath);context->setContextPdoperty("_app_path", appPath);
其中,context->setContextPdoperty为调用文件路径的方法,appPath为窗口对象中主窗口文件路径。Among them, context->setContextPdoperty is the method of calling the file path, and appPath is the file path of the main window in the window object.
通过该路径来加载直播页面的所有的ui界面控件Use this path to load all ui interface controls of the live page
A5:将roomManager对象绑定到QML上下文中方便在QML调用roomManager的方法,由于每一个直播界面都需要请求网络接口,所有每个每一个直播界面都具有一个请求服务器的接口room接口,而roomManager里有一个所有room接口(房间网络接口)的列表。A5: Bind the roomManager object to the QML context to facilitate calling the roomManager method in QML. Since each live interface needs to request a network interface, each live interface has an interface room interface that requests the server, and in roomManager There is a list of all room interfaces (room network interfaces).
直播页面包括两层,即包括房间列表层及视频播放层,当显示所述视频播放层时,所述房间列表层处于隐藏状态;方便用户观看视频播放层的直播视频。视频播放层中包括有视频播放控件,房间信息显示控件、房间标题、热度信息及标签信息等。其中,所述直播页面包括房间列表层及视频播放层,当显示所述视频播放层时,所述房间列表层处于隐藏状态。The live broadcast page includes two layers, that is, a room list layer and a video playback layer. When the video playback layer is displayed, the room list layer is hidden; it is convenient for users to watch the live video of the video playback layer. The video playback layer includes video playback controls, room information display controls, room titles, popularity information, and label information. Wherein, the live broadcast page includes a room list layer and a video play layer, and when the video play layer is displayed, the room list layer is hidden.
在具体的实施过程中,房间列表层包括列表实现部分和数据实现部分,其中列表实现部分具体如下:In the specific implementation process, the room list layer includes a list realization part and a data realization part, and the list realization part is as follows:
B1:在预设的qml脚本文件中添加一个视图显示控件:gridView控件,用于显示直播间面板样式;B1: Add a view display control in the preset qml script file: gridView control, which is used to display the panel style of the live room;
B2:设置gridView控件的一般属性,用于设置直播间面板样式的格式,例如位置,大小及每个节点的大小;每个节点就是指直播页面中的每个直播间;B2: Set the general properties of the gridView control, which is used to set the format of the panel style of the live room, such as the position, size and size of each node; each node refers to each live room in the live page;
B3:添加视图显示代理,用来实现所有直播间的面板样式,每个直播间面板样式是相同的,只有数据不同。房间面板样式是指的是列表中每一个直播间间节点的样式,面板样式是固定的。而数据由gridView控件设置的模型来提供。B3: Add a view display proxy to implement the panel styles of all live rooms. The panel styles of each live room are the same, only the data is different. The room panel style refers to the style of each live room node in the list, and the panel style is fixed. The data is provided by the model set by the gridView control.
数据实现部分具体实现如下:The specific implementation of the data implementation part is as follows:
C1:当直播页面的窗口对象创建完成后,向服务器发送一个get请求获取所有直播间列表信息;C1: When the window object of the live page is created, send a get request to the server to obtain the list information of all live rooms;
C2:获取到服务器返回json格式(JavaScript Object Notation,JS对象标记,是一种轻量级的数据交换格式)的房间列表信息,并对房间列表信息进行解析;其中,服务器返回的是json格式的数组信息,因此需要对数组信息进行解析,获取每一个房间的列表信息;所述列表信息包括:房间名称、主播名称、在线人数等。C2: Get the room list information returned by the server in json format (JavaScript Object Notation, JS object tag, which is a lightweight data exchange format), and parse the room list information; among them, the server returns the json format Array information, so it is necessary to parse the array information to obtain the list information of each room; the list information includes: room name, host name, online number, etc.
C3:构建视图显示模型,并将解析后的列表信息添加到视图显示模型中,C3: Construct the view display model, and add the parsed list information to the view display model,
C4:将构建的视图显示模型设置到视图显示控件:gridView控件中,然后设置视图显示模型的数据,并将数据补充至房间列表中。C4: Set the built view display model to the view display control: gridView control, then set the data of the view display model, and add the data to the room list.
在介绍了房间列表层的实现后,下面介绍视频播放层的实现过程:After introducing the implementation of the room list layer, the following describes the implementation process of the video playback layer:
D1:在预设的qml文件中添加一个控制面板;D1: Add a control panel to the preset qml file;
D2:在控制面板中添加播放控件,用于播放直播视频;D2: Add playback controls in the control panel for playing live video;
D3:在控制面板中添加房间信息显示控件,房间标题,热度,分类及标签信息等。D3: Add room information display controls, room title, heat, classification and label information, etc. in the control panel.
设置好以上信息后,gridView控件在直播页面的房间列表层中监听是否接收到观看目标直播间直播视频的触发操作信号;所述触发操作信号包括:鼠标点击信号或者鼠标移入信号;也即用户直接观看目标直播间的直播视频时,监听到的是鼠标点击信号;当用于预览目标直播间的直播视频时,监听到的是鼠标移入信号。After the above information is set, the gridView control monitors in the room list layer of the live broadcast page whether it receives a trigger operation signal to watch the live video in the target live room; the trigger operation signal includes: a mouse click signal or a mouse move-in signal; that is, the user directly When watching the live video of the target live room, what is monitored is the mouse click signal; when it is used to preview the live video of the target live room, what is monitored is the mouse move signal.
若监听到所述触发操作信号在监听到所述触发操作信号时,,获取单元22用于获取所述目标直播间的房间ID及房间序号。If the trigger operation signal is detected, the obtaining unit 22 is configured to obtain the room ID and room number of the target live broadcast room.
这里,若用户将鼠标移至或点击房间列表层中的目表直播间时,触发操作信号就会被触发,触发操作信号就会抛出一个消息,根据所述触发操作信号抛出的消息获取所述目标直播间的房间ID及房间序号,所述消息中携带有所述目标直播间的房间ID及房间序号。比如在直播页面上有9个直播房间,类似九宫格的格式,那么各个房间的顺序就是从左至右,从上至下依次排列。Here, if the user moves the mouse to or clicks on the target live room in the room list layer, the trigger operation signal will be triggered, and a message will be thrown out from the trigger operation signal. According to the message thrown by the trigger operation signal, the The room ID and room number of the target live room, the message carries the room ID and room number of the target live room. For example, there are 9 live rooms on the live page, similar to the format of Jiugongge, then the order of each room is from left to right and from top to bottom.
获取到目标直播间的房间ID及房间序号后,第一确定单元23用于根据所述目标直播间的房间ID及房间序号确定所述目标直播间在所述直播页面中的坐标信息;将目标直播间的房间ID及房间下标传递至gridView控件中,并根据所述目标直播间的房间ID及房间序号确定所述目标直播间在所述直播页面中的坐标信息;具体实施过程如下:After obtaining the room ID and the room serial number of the target live broadcast room, the first determination unit 23 is used to determine the coordinate information of the target live broadcast room in the live page according to the room ID and the room serial number of the target live broadcast room; The room ID and room subscript of the live room are passed to the gridView control, and the coordinate information of the target live room on the live page is determined according to the room ID and room number of the target live room; the specific implementation process is as follows:
确定单元23根据x=index%columnCount*cellWidth确定所述目标直播间在所述直播页面中的横坐标信息;The determination unit 23 determines the abscissa information of the target live room in the live page according to x=index%columnCount*cellWidth;
根据y=(cellHeight*((index-index%columnCount)/.columnCount))-contentY确定所述目标直播间在所述直播页面中的纵坐标信息;其中,所述x为所述横坐标,所述y为所述纵坐标,所述index为所述房间序号,cellWidth为所述目标直播间的宽度,所述columnCount一行中直播间的个数,cellHeight为所述目标直播间的高度,contentY为所述目标直播间所在直播页面的房间列表的高度。Determine the ordinate information of the target live room in the live page according to y=(cellHeight*((index-index%columnCount)/.columnCount))-contentY; wherein, the x is the abscissa, the The y is the ordinate, the index is the room number, cellWidth is the width of the target live room, the columnCount is the number of live rooms in a row, cellHeight is the height of the target live room, and contentY is The height of the room list on the live page where the target live room is located.
确定出目标直播间的房间ID及房间序号后,根据所述目标直播间在所述直播页面中的坐标信息确定所述目标直播间的显示坐标值(x,y)。After the room ID and room number of the target live room are determined, the display coordinate values (x, y) of the target live room are determined according to the coordinate information of the target live room on the live page.
获取到了目标直播间的显示坐标值,然后在房间信息显示控件中设置显示坐标值,在预览或播放视频时,调整单元24以显示坐标值为基准,实时调整视频播放层的位置,使得视频播放层相对该目标直播间的位置一直处于居中位置,即视频播放层在上,目标直播间在下,视频播放层的中心点与目标直播间的中心点重合。这样就可以完全显示出直播间信息了。After obtaining the display coordinate value of the target live broadcast room, the display coordinate value is set in the room information display control. When previewing or playing the video, the adjustment unit 24 adjusts the position of the video playback layer in real time based on the display coordinate value, so that the video playback The position of the layer relative to the target live room is always in the middle position, that is, the video playback layer is on top, the target live room is below, and the center point of the video playback layer coincides with the center point of the target live room. In this way, the live room information can be fully displayed.
然后显示单元25用于获取所述目标直播间的房间信息,在所述视频播放层中显示所述房间信息。Then the display unit 25 is used to acquire the room information of the target live broadcast room, and display the room information in the video playing layer.
基于所述目标直播间的房间ID,生成房间信息获取请求,roomManager对象将通过目标直播间的网络接口向服务器发送房间信息获取请求来请求获取目标直播间的房间信息,所述请求中携带有目标直播间的房间ID。服务器会基于房间ID返回该房间的房间信息,终端接收到房间信息后,将房间信息显示在视频播放层中。这里,所述房间信息包括:房间名称、主播名称、房间标签信息、在线人数等信息;所述房间信息为json格式的信息。Based on the room ID of the target live room, a room information acquisition request is generated, and the roomManager object will send a room information acquisition request to the server through the network interface of the target live room to request the room information of the target live room, and the request carries the target The room ID of the live room. The server will return the room information of the room based on the room ID, and the terminal will display the room information in the video playback layer after receiving the room information. Here, the room information includes: room name, host name, room label information, number of online people and other information; the room information is information in json format.
在具体的实施过程中,当显示单元25接收到目标直播间的房间信息后,将该房间信息反馈至视频播放层的房间信息显示控件中,在所述视频播放层中,通过房间信息显示控件加载所述房间信息,在所述视频播放层中显示所述房间信息。这样视频播放层相对目标直播间的坐标位置一直处于居中位置,因此房间信息可以完全显示在直播界面中。In a specific implementation process, when the display unit 25 receives the room information of the target live broadcast room, it feeds back the room information to the room information display control of the video playback layer, and in the video playback layer, through the room information display control Load the room information, and display the room information in the video playing layer. In this way, the coordinate position of the video playback layer relative to the target live broadcast room is always in the center position, so the room information can be completely displayed in the live broadcast interface.
作为一种可选实施方式,当显示单元25检测到所述观看目标直播间直播视频的触发操作信号移除时,隐藏所述视频播放层。As an optional implementation manner, when the display unit 25 detects that the trigger operation signal for viewing the live video in the target live room is removed, the video playback layer is hidden.
另外,按照以上方式在对目标直播间进行视频预览时,预览视频会连续播放,实施如下:In addition, when previewing the video of the target live broadcast room according to the above method, the preview video will be played continuously, and the implementation is as follows:
当获取到目标直播间的房间ID后,确定单元23还可以基于所述目标直播间的房间ID,生成直播视频预览请求,并将所述直播视频预览请求发送至服务器,获取所述目标直播房间的视频流地址。After obtaining the room ID of the target live room, the determination unit 23 can also generate a live video preview request based on the room ID of the target live room, and send the live video preview request to the server to obtain the target live room URL of the video stream.
当显示单元25获取到视频流地址后,在所述视频播放层中,基于所述视频流地址播放并预览所述目标直播间的直播视频。After the display unit 25 acquires the video stream address, in the video playback layer, based on the video stream address, the live video of the target live room is played and previewed.
具体的实施过程如下:显示单元25基于所述视频流地址获取所述目标直播间的视频流信息;将所述视频流信息加载至所述视频播放层中的播放器控件中,通过所述播放器控件播放所述视频流信息,预览所述目标直播间的直播视频。这样因播放器控件可以连续播放直播视频,因此用户就可以连续预览该直播视频。The specific implementation process is as follows: the display unit 25 obtains the video stream information of the target live room based on the video stream address; the video stream information is loaded into the player control in the video playback layer, and through the playback The device control plays the video stream information, and previews the live video in the target live room. In this way, the user can continuously preview the live video because the player control can continuously play the live video.
作为一种可选实施方式,当显示单元25检测到所述目标直播房间的直播视频预览触发操作信号移除时,隐藏所述视频播放层并暂停播放所述目标直播房间的直播视频。As an optional implementation manner, when the display unit 25 detects that the live video preview of the target live broadcast room triggers the operation signal to be removed, the video playback layer is hidden and the live video of the target live broadcast room is paused.
基于同样的发明构思,本发明还提供了一种用于显示直播间信息相对应的计算机可读存储介质及计算机设备,具体参见实施例三。Based on the same inventive concept, the present invention also provides a computer-readable storage medium and computer equipment for displaying information corresponding to a live broadcast room, see Embodiment 3 for details.
实施例三Embodiment three
本实施例还提供一种用于显示直播间信息的计算机设备,如图3所示,所述计算机设备包括:射频(Radio Frequency,RF)电路310、存储器320、输入单元330、显示单元340、音频电路350、WiFi模块360、处理器370、以及电源380等部件。本领域技术人员可以理解,图3中示出的计算机设备结构并不构成对计算机设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。This embodiment also provides a computer device for displaying live room information, as shown in FIG. 3 , the computer device includes: a radio frequency (Radio Frequency, RF) circuit 310, a memory 320, an input unit 330, a display unit 340, Audio circuit 350, WiFi module 360, processor 370, power supply 380 and other components. Those skilled in the art can understand that the structure of the computer device shown in FIG. 3 is not limited to the computer device, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
下面结合图3对计算机设备的各个构成部件进行具体的介绍:The following is a specific introduction to each component of the computer device in conjunction with FIG. 3:
RF电路310可用于信号的接收和发送,特别地,将基站的下行信息接收后,给处理器370处理。通常,RF电路310包括但不限于至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。The RF circuit 310 can be used for receiving and sending signals, especially, after receiving the downlink information of the base station, the processor 370 processes it. Generally, the RF circuit 310 includes, but is not limited to, at least one amplifier, transceiver, coupler, low noise amplifier (Low Noise Amplifier, LNA), duplexer, and the like.
存储器320可用于存储软件程序以及模块,处理器370通过运行存储在存储器320的软件程序以及模块,从而执行计算机设备的各种功能应用以及数据处理。存储器320可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据计算机设备的使用所创建的数据等。此外,存储器320可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 320 can be used to store software programs and modules, and the processor 370 executes various functional applications and data processing of the computer device by running the software programs and modules stored in the memory 320 . The memory 320 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function, etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 320 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
输入单元330可用于接收输入的数字或字符信息,以及产生与计算机设备的用户设置以及功能控制有关的键信号输入。具体地,输入单元330可包括键盘331以及其他输入设备332。键盘331,可收集用户在其上的输入操作,并根据预先设定的程式驱动相应的连接装置。键盘331采集到输出信息后再送给处理器370。除了键盘331,输入单元330还可以包括其他输入设备332。具体地,其他输入设备332可以包括但不限于触控面板、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 330 may be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the computer device. Specifically, the input unit 330 may include a keyboard 331 and other input devices 332 . The keyboard 331 can collect the user's input operations on it, and drive the corresponding connection device according to the preset program. The keyboard 331 collects the output information and then sends it to the processor 370 . In addition to the keyboard 331 , the input unit 330 may also include other input devices 332 . Specifically, other input devices 332 may include but not limited to one or more of a touch panel, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, and the like.
显示单元340可用于显示由用户输入的信息或提供给用户的信息以及计算机设备的各种菜单。显示单元340可包括显示面板341,可选的,可以采用液晶显示器(LiquidCrystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板341。进一步的,键盘331可覆盖显示面板341,当键盘331检测到在其上或附近的触摸操作后,传送给处理器370以确定触摸事件的类型,随后处理器370根据输入事件的类型在显示面板341上提供相应的视觉输出。虽然在图3中键盘331与显示面板341是作为两个独立的部件来实现计算机设备的输入和输入功能,但是在某些实施例中,可以将键盘331与显示面板341集成而实现计算机设备的输入和输出功能。The display unit 340 may be used to display information input by or provided to the user and various menus of the computer device. The display unit 340 may include a display panel 341. Optionally, the display panel 341 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD) or an organic light-emitting diode (Organic Light-Emitting Diode, OLED). Further, the keyboard 331 can cover the display panel 341, and when the keyboard 331 detects a touch operation on or near it, it sends it to the processor 370 to determine the type of the touch event, and then the processor 370 displays the touch event on the display panel according to the type of the input event. 341 provides a corresponding visual output. Although the keyboard 331 and the display panel 341 are used as two independent components to realize the input and input functions of the computer device in FIG. input and output functions.
音频电路350、扬声器351,传声器352可提供用户与计算机设备之间的音频接口。音频电路350可将接收到的音频数据转换后的电信号,传输到扬声器351,由扬声器351转换为声音信号输出;Audio circuit 350, speaker 351, and microphone 352 may provide an audio interface between the user and the computer device. The audio circuit 350 can transmit the electrical signal converted from the received audio data to the speaker 351, and the speaker 351 converts it into a sound signal for output;
WiFi属于短距离无线传输技术,计算机设备通过WiFi模块360可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图3示出了WiFi模块360,但是可以理解的是,其并不属于计算机设备的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. Computer equipment can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 360. It provides users with wireless broadband Internet access. Although FIG. 3 shows the WiFi module 360, it can be understood that it is not a necessary component of the computer equipment, and can be omitted according to needs without changing the essence of the invention.
处理器370是计算机设备的控制中心,利用各种接口和线路连接整个计算机设备的各个部分,通过运行或执行存储在存储器320内的软件程序和/或模块,以及调用存储在存储器320内的数据,执行计算机设备的各种功能和处理数据,从而对计算机设备进行整体监控。可选的,处理器370可包括一个或多个处理单元;优选的,处理器370可集成应用处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等。The processor 370 is the control center of the computer equipment, and uses various interfaces and lines to connect various parts of the entire computer equipment, by running or executing software programs and/or modules stored in the memory 320, and calling data stored in the memory 320 , to perform various functions of computer equipment and process data, so as to monitor the computer equipment as a whole. Optionally, the processor 370 may include one or more processing units; preferably, the processor 370 may integrate an application processor, wherein the application processor mainly processes an operating system, a user interface, an application program, and the like.
计算机设备还包括给各个部件供电的电源380(比如电源适配器),优选的,电源可以通过电源管理系统与处理器370逻辑相连。The computer device also includes a power supply 380 (such as a power adapter) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 370 through a power management system.
本发明实施例提供的视频预览的方法、装置及计算机设备能带来的有益效果至少是:The beneficial effects brought by the video preview method, device and computer equipment provided by the embodiments of the present invention are at least:
本发明提供了一种用于显示直播间信息的方法装置及计算机设备,所述方法包括:在直播页面的房间列表层中监听是否接收到观看目标直播间直播视频的触发操作信号;若接收到所述触发操作信号,则获取所述目标直播间的房间ID及房间序号;根据所述目标直播间的房间ID及房间序号确定所述目标直播间在所述直播页面中的坐标信息;其中,所述直播页面包括房间列表层及视频播放层,当显示所述视频播放层时,所述房间列表层处于隐藏状态;根据所述目标直播间在所述直播页面中的坐标信息确定所述目标直播间的显示坐标值;以所述目标直播间的显示坐标值为基准调整所述视频播放层的位置,使得所述视频播放层相对所述目标直播间处于居中状态;获取所述目标直播间的房间信息,在所述视频播放层中显示所述房间信息;如此,因直播页面包括房间列表层及视频播放层,在需要观看或预览目标直播间的直播视频时,在房间列表层中将鼠标移入至目标直播间或点击目标直播间,这样就会监听到一个触发操作信号,当监听到这个触发操作信号后,根据所述目标直播间的房间ID及房间序号确定所述目标直播间在所述直播页面中的坐标信息,以所述目标直播间的显示坐标值为基准调整所述视频播放层的位置,使得所述视频播放层相对所述目标直播间处于居中状态;这样无论直播间信息是多么冗长,因视频播放层相对所述目标直播间一直处于居中状态,因此可以完整地显示出房间信息,能给用户带来更好的体验;并且,当需要对目标直播间的直播视频进行预览时,鼠标移动至目标直播间上,直播视频预览触发操作就会被触发,获取目标直播间的房间ID;然后根据房间ID向服务器获取该直播间的视频流地址,并将视频流地址反馈至视频播放层中,视频播放层就可以基于所述视频流地址连续播放所述目标直播间的直播视频,这样用于在预览视频时,预览到的就是连续播放的视频画面,从而可以精准判断出该直播间是否是自身感兴趣的直播间。The present invention provides a method device and computer equipment for displaying information of a live broadcast room. The method includes: monitoring in the room list layer of the live broadcast page whether a trigger operation signal for watching the live video of the target live broadcast room is received; The trigger operation signal is to obtain the room ID and room number of the target live room; determine the coordinate information of the target live room in the live page according to the room ID and room number of the target live room; wherein, The live broadcast page includes a room list layer and a video playback layer. When the video playback layer is displayed, the room list layer is in a hidden state; the target is determined according to the coordinate information of the target live room in the live page The display coordinate value of the live broadcast room; adjust the position of the video playback layer based on the display coordinate value of the target live broadcast room, so that the video playback layer is in the center state relative to the target live broadcast room; obtain the target live broadcast room room information, and display the room information in the video playback layer; in this way, because the live broadcast page includes a room list layer and a video playback layer, when you need to watch or preview the live video of the target live room, you will display the room information in the room list layer Move the mouse into the target live broadcast room or click on the target live broadcast room, so that a trigger operation signal will be monitored. When the trigger operation signal is monitored, the target live room is determined according to the room ID and room number of the target live broadcast room. The coordinate information in the live broadcast page, adjust the position of the video playback layer based on the display coordinate value of the target live room, so that the video playback layer is in the center state relative to the target live room; thus regardless of the live room information How long is it? Because the video playback layer is always in the center of the target live room, it can completely display the room information and bring a better experience to the user; When previewing, move the mouse to the target live room, and the live video preview trigger operation will be triggered to obtain the room ID of the target live room; then obtain the video stream address of the live room from the server according to the room ID, and feed back the video stream address In the video playback layer, the video playback layer can continuously play the live video of the target live broadcast room based on the video stream address, so that when previewing the video, what is previewed is the video picture that is continuously played, so that it can be accurately judged Find out whether the live broadcast room is a live broadcast room that you are interested in.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. And form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP,Digital Signal Processing)来实现根据本发明实施例的网关、代理服务器、系统中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读存储介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or a digital signal processor (DSP, Digital Signal Processing) can be used in practice to implement some or all of the gateway, proxy server, and system according to the embodiments of the present invention. Or full functionality. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable storage medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above description is only a preferred embodiment of the present invention, and is not used to limit the protection scope of the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810292273.6A CN108810602B (en) | 2018-03-30 | 2018-03-30 | Method and device for displaying information of live broadcast room and computer equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810292273.6A CN108810602B (en) | 2018-03-30 | 2018-03-30 | Method and device for displaying information of live broadcast room and computer equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108810602A true CN108810602A (en) | 2018-11-13 |
| CN108810602B CN108810602B (en) | 2020-09-04 |
Family
ID=64095601
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810292273.6A Active CN108810602B (en) | 2018-03-30 | 2018-03-30 | Method and device for displaying information of live broadcast room and computer equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108810602B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110475132A (en) * | 2019-08-21 | 2019-11-19 | 广州虎牙科技有限公司 | Direct broadcasting room kind identification method, device and data processing equipment |
| CN112351300A (en) * | 2020-11-05 | 2021-02-09 | 北京字节跳动网络技术有限公司 | Information display method, device, equipment and medium |
| CN114339420A (en) * | 2020-10-09 | 2022-04-12 | 武汉斗鱼鱼乐网络科技有限公司 | Stream pulling method and device, electronic equipment and storage medium |
| WO2022247547A1 (en) * | 2021-05-28 | 2022-12-01 | 北京字节跳动网络技术有限公司 | Virtual live broadcast room display method and apparatus, client, server, and medium |
Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101068235A (en) * | 2006-08-18 | 2007-11-07 | 腾讯科技(深圳)有限公司 | Video frequency program prebrowsing method and system |
| CN101198067A (en) * | 2006-12-07 | 2008-06-11 | 中兴通讯股份有限公司 | Multi-screen video display processing method |
| CN101460992A (en) * | 2006-06-08 | 2009-06-17 | 高通股份有限公司 | Blending multiple display layers |
| CN102938861A (en) * | 2012-09-28 | 2013-02-20 | 深圳市龙视传媒有限公司 | Device, method and terminal for displaying interactive digital television portal |
| WO2014064531A1 (en) * | 2012-10-22 | 2014-05-01 | Spotify Ab | Systems and methods for pre-fetching media content |
| CN104023159A (en) * | 2013-03-01 | 2014-09-03 | 株式会社理光 | Image processing apparatus, image processing system, and image processing method |
| KR101614287B1 (en) * | 2015-04-22 | 2016-04-21 | 주식회사 카카오 | Method and device for providing quick movement between chat rooms |
| CN105898438A (en) * | 2016-04-07 | 2016-08-24 | 广州华多网络科技有限公司 | Live broadcasting room dynamic configuration method, device, system and server |
| CN106303662A (en) * | 2016-08-29 | 2017-01-04 | 网易(杭州)网络有限公司 | Image processing method in net cast and device |
| CN106791894A (en) * | 2016-11-26 | 2017-05-31 | 广州华多网络科技有限公司 | A kind of method and apparatus for playing live video |
| CN107247536A (en) * | 2017-06-02 | 2017-10-13 | 武汉斗鱼网络科技有限公司 | Method of adjustment, storage medium, electronic equipment and the system of live interfacial clarity |
| CN107256142A (en) * | 2017-04-21 | 2017-10-17 | 腾讯科技(深圳)有限公司 | Method and terminal that a kind of page is shown |
-
2018
- 2018-03-30 CN CN201810292273.6A patent/CN108810602B/en active Active
Patent Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101460992A (en) * | 2006-06-08 | 2009-06-17 | 高通股份有限公司 | Blending multiple display layers |
| CN101068235A (en) * | 2006-08-18 | 2007-11-07 | 腾讯科技(深圳)有限公司 | Video frequency program prebrowsing method and system |
| CN101198067A (en) * | 2006-12-07 | 2008-06-11 | 中兴通讯股份有限公司 | Multi-screen video display processing method |
| CN102938861A (en) * | 2012-09-28 | 2013-02-20 | 深圳市龙视传媒有限公司 | Device, method and terminal for displaying interactive digital television portal |
| WO2014064531A1 (en) * | 2012-10-22 | 2014-05-01 | Spotify Ab | Systems and methods for pre-fetching media content |
| CN104023159A (en) * | 2013-03-01 | 2014-09-03 | 株式会社理光 | Image processing apparatus, image processing system, and image processing method |
| KR101614287B1 (en) * | 2015-04-22 | 2016-04-21 | 주식회사 카카오 | Method and device for providing quick movement between chat rooms |
| CN105898438A (en) * | 2016-04-07 | 2016-08-24 | 广州华多网络科技有限公司 | Live broadcasting room dynamic configuration method, device, system and server |
| CN106303662A (en) * | 2016-08-29 | 2017-01-04 | 网易(杭州)网络有限公司 | Image processing method in net cast and device |
| CN106791894A (en) * | 2016-11-26 | 2017-05-31 | 广州华多网络科技有限公司 | A kind of method and apparatus for playing live video |
| CN107256142A (en) * | 2017-04-21 | 2017-10-17 | 腾讯科技(深圳)有限公司 | Method and terminal that a kind of page is shown |
| CN107247536A (en) * | 2017-06-02 | 2017-10-13 | 武汉斗鱼网络科技有限公司 | Method of adjustment, storage medium, electronic equipment and the system of live interfacial clarity |
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110475132A (en) * | 2019-08-21 | 2019-11-19 | 广州虎牙科技有限公司 | Direct broadcasting room kind identification method, device and data processing equipment |
| CN114339420B (en) * | 2020-10-09 | 2024-05-17 | 北京神州数码云科信息技术有限公司 | A streaming method, device, electronic device and storage medium |
| CN114339420A (en) * | 2020-10-09 | 2022-04-12 | 武汉斗鱼鱼乐网络科技有限公司 | Stream pulling method and device, electronic equipment and storage medium |
| US11997322B2 (en) | 2020-11-05 | 2024-05-28 | Beijing Bytedance Network Technology Co., Ltd. | Information display method and apparatus, and device and storage medium |
| JP2023547940A (en) * | 2020-11-05 | 2023-11-14 | 北京字節跳動網絡技術有限公司 | Information display methods, devices, equipment and media |
| WO2022095957A1 (en) * | 2020-11-05 | 2022-05-12 | 北京字节跳动网络技术有限公司 | Information display method and apparatus, and device and storage medium |
| CN112351300A (en) * | 2020-11-05 | 2021-02-09 | 北京字节跳动网络技术有限公司 | Information display method, device, equipment and medium |
| JP7667271B2 (en) | 2020-11-05 | 2025-04-22 | 北京字節跳動網絡技術有限公司 | Information display method, device, equipment, and medium |
| US12342004B2 (en) | 2020-11-05 | 2025-06-24 | Beijing Bytedance Network Technology Co., Ltd. | Information display method and apparatus, and device and storage medium |
| WO2022247547A1 (en) * | 2021-05-28 | 2022-12-01 | 北京字节跳动网络技术有限公司 | Virtual live broadcast room display method and apparatus, client, server, and medium |
| US11876848B2 (en) | 2021-05-28 | 2024-01-16 | Beijing Bytedance Network Technology Co., Ltd. | Method and device for displaying a virtual livestream room, client, server and medium |
| JP2024519312A (en) * | 2021-05-28 | 2024-05-10 | 北京字節跳動網絡技術有限公司 | Virtual live room display method, device, client, server, and medium |
| EP4318197A4 (en) * | 2021-05-28 | 2024-09-11 | Beijing Bytedance Network Technology Co., Ltd. | METHOD AND APPARATUS FOR DISPLAYING VIRTUAL LIVE BROADCAST ROOM, CLIENT, SERVER AND MEDIUM |
| JP7674069B2 (en) | 2021-05-28 | 2025-05-09 | 北京字節跳動網絡技術有限公司 | Virtual live room display method, device, client, server, and medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108810602B (en) | 2020-09-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10841661B2 (en) | Interactive method, apparatus, and system in live room | |
| JP6430656B2 (en) | System, method and apparatus for displaying content items | |
| US20140373052A1 (en) | Current Device Location Advertisement Distribution | |
| CN108810594A (en) | Remote screen projection method, device and system | |
| US9661254B2 (en) | Video viewing system with video fragment location | |
| CN104113787A (en) | Program-based commenting method, terminal, server, and program-based commenting system | |
| CN109600673A (en) | Information processing unit, information processing method and computer-readable medium | |
| CN108810602B (en) | Method and device for displaying information of live broadcast room and computer equipment | |
| CN103703789A (en) | A data display method, terminal and system | |
| CN107391115B (en) | A kind of method, apparatus and computer equipment for realizing pop-up alternative events | |
| WO2018157812A1 (en) | Method and apparatus for implementing video branch selection and playback | |
| US9361787B2 (en) | Information processing apparatus, information processing method, program control target device, and information processing system | |
| CN104581401A (en) | Method and device for playing data | |
| CN103959825A (en) | Method, apparatus and system for enabling the recall of content of interest for subsequent review | |
| CN103648014A (en) | Method and apparatus for pushing resource to mobile communication terminal by intelligent television | |
| CN107659850A (en) | Media information processing method and device | |
| CN108712670A (en) | A kind of method, apparatus and computer equipment for video preview | |
| US9363550B2 (en) | Information processing apparatus, television receiver, information processing method, program, and information processing system | |
| CN108521598B (en) | Method and device for video preview and computer equipment | |
| CN110324692B (en) | Live broadcast room processing method and device for playing videos through small window | |
| CN104809017A (en) | Application program distribution control and execution methods and corresponding devices thereof | |
| US8850491B2 (en) | Wireless distribution system proxy caches | |
| US20130275225A1 (en) | Apparatus and method for efficiently playing advertisement contents | |
| CN108196756B (en) | Method and device for switching input of instant messaging interface, storage medium and terminal equipment | |
| CN110430383A (en) | Terminal, signal server, audio/video communication method and computer storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20240822 Address after: Building 4, Courtyard 2, Sihezhuang Road, Fengtai District, Beijing 100024, Floors 1-17, Unit 101, 11th Floor 1112 Patentee after: TUNGHSU TECHNOLOGY GROUP Co.,Ltd. Country or region after: China Address before: 430000 East Lake Development Zone, Wuhan City, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building Patentee before: WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd. Country or region before: China |
|
| PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A method, device, and computer equipment for displaying information in a live broadcast room Granted publication date: 20200904 Pledgee: Hengshui Jianxin Enterprise Management Center (General Partnership) Pledgor: TUNGHSU TECHNOLOGY GROUP Co.,Ltd. Registration number: Y2024980038664 |
|
| PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
| PC01 | Cancellation of the registration of the contract for pledge of patent right |
Granted publication date: 20200904 Pledgee: Hengshui Jianxin Enterprise Management Center (General Partnership) Pledgor: TUNGHSU TECHNOLOGY GROUP Co.,Ltd. Registration number: Y2024980038664 |
|
| PC01 | Cancellation of the registration of the contract for pledge of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20250428 Address after: Room 606, 6th Floor, Building D and E, Commercial Center, Renmin Road Central Street, Taocheng District, Hengshui City, Hebei Province 053099 Patentee after: Hengshui Hengyin Enterprise Management Co.,Ltd. Country or region after: China Address before: Building 4, Courtyard 2, Sihezhuang Road, Fengtai District, Beijing 100024, Floors 1-17, Unit 101, 11th Floor 1112 Patentee before: TUNGHSU TECHNOLOGY GROUP Co.,Ltd. Country or region before: China |
|
| TR01 | Transfer of patent right |