WO2019134294A1 - 直播推荐信息处理方法、装置及终端设备 - Google Patents

直播推荐信息处理方法、装置及终端设备 Download PDF

Info

Publication number
WO2019134294A1
WO2019134294A1 PCT/CN2018/082468 CN2018082468W WO2019134294A1 WO 2019134294 A1 WO2019134294 A1 WO 2019134294A1 CN 2018082468 W CN2018082468 W CN 2018082468W WO 2019134294 A1 WO2019134294 A1 WO 2019134294A1
Authority
WO
WIPO (PCT)
Prior art keywords
live broadcast
live
dictionary
information
recommendation
Prior art date
Application number
PCT/CN2018/082468
Other languages
English (en)
French (fr)
Inventor
汪刚
陈少杰
张文明
Original Assignee
武汉斗鱼网络科技有限公司
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 武汉斗鱼网络科技有限公司 filed Critical 武汉斗鱼网络科技有限公司
Publication of WO2019134294A1 publication Critical patent/WO2019134294A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Definitions

  • the present disclosure relates to the field of information processing technologies, and in particular, to a live recommendation information processing method, apparatus, and terminal device.
  • the application range of terminal devices continues to expand.
  • terminal equipment has been widely used in the field of live broadcasting.
  • the recommendation information needs to be processed by the server, which causes the server to be overloaded, which leads to unstable work.
  • an object of the present disclosure is to provide a method, an apparatus, and a terminal device for processing live recommendation information, so as to improve the problem that the server is unstable due to excessive load in the prior art.
  • a method for processing live recommendation information including:
  • the live broadcast controller determines whether the recommended state information meets the preset condition, and when the preset condition is met, the recommender information of the live broadcast room is played in the corresponding live broadcast.
  • the step of obtaining the recommendation status information in the cover of the live broadcast and sending the information to the preset component scheduling center includes:
  • the field is wrapped to get a dictionary and the dictionary is sent to a preset component dispatch center.
  • the step of packaging the field to obtain a dictionary and sending the dictionary to the preset component scheduling center includes:
  • the dictionary is assigned according to the field, and the assigned dictionary is sent to a preset component scheduling center.
  • the method further includes: before performing the step of acquiring the recommendation status information in the cover of the live broadcast and sending the information to the preset component scheduling center, the method further includes:
  • a first jump function is created inside the component scheduling center to receive recommendation status information in the cover of the live broadcast.
  • the step of forwarding the recommended status information to the live broadcast controller corresponding to the cover of the live broadcast by the component scheduling center includes:
  • the recommendation status information is sent to the determined live broadcast controller.
  • the live broadcast controller determines whether the recommended status information satisfies a preset condition, and when the preset condition is met, corresponding to
  • the steps for playing the referrer information of the live room in the live broadcast room include:
  • the recommender name is played by the live broadcast controller in a corresponding live broadcast room.
  • the step of playing the recommender name in the corresponding live broadcast by the live broadcast controller includes:
  • the recommended special effect function is called by the live broadcast controller to play the recommended bullet.
  • the embodiment of the present disclosure further provides a live recommendation information processing apparatus, including:
  • the status information acquiring module is configured to obtain the recommended status information in the cover of the live broadcast and send the information to the preset component dispatching center;
  • the status information forwarding module is configured to forward the recommended status information to the live broadcast controller corresponding to the cover of the live broadcast through the component dispatching center;
  • the recommender information playing module is configured to determine whether the recommended status information satisfies a preset condition by using the live broadcast controller, and play the recommender information of the live broadcast room in the corresponding live broadcast when the preset condition is met.
  • the status information acquisition module includes:
  • the field obtaining sub-module is configured to obtain a field corresponding to the recommended status information in the cover of the live broadcast;
  • a field wrapper sub-module configured to wrap the field to get a dictionary and send the dictionary to a preset component dispatch center.
  • the embodiment of the present disclosure further provides a terminal device, including a memory, a processor, and a live recommendation information processing device, where the live recommendation information processing device includes one or more stored in the memory and executed by the processor.
  • a software function module wherein the software function module comprises:
  • the status information acquiring module is configured to obtain the recommended status information in the cover of the live broadcast and send the information to the preset component dispatching center;
  • the status information forwarding module is configured to forward the recommended status information to the live broadcast controller corresponding to the cover of the live broadcast through the component dispatching center;
  • the recommender information playing module is configured to determine whether the recommended status information satisfies a preset condition by using the live broadcast controller, and play the recommender information of the live broadcast room in the corresponding live broadcast when the preset condition is met.
  • the live recommendation information processing method, device and terminal device provided by the present disclosure can realize the information transmission of the recommendation state information of the cover between the live broadcast and the controller of the live broadcast by setting the component dispatching center, thereby avoiding that the recommendation state information needs to be processed by the server.
  • the server has a problem of excessive load, thereby improving the problem that the server in the prior art is unstable due to excessive load.
  • the information transfer through the component dispatching center can reduce the coupling degree of code in different components, thereby facilitating the effective implementation of componentization in the application development process, and greatly improving the reliability of the live recommendation information processing method, device and terminal device.
  • the recommendation status information can be conveniently transmitted, and other information can be transmitted, thereby effectively improving the live recommendation information.
  • FIG. 1 is a structural block diagram of a terminal device according to an embodiment of the present disclosure.
  • FIG. 2 is a schematic flowchart diagram of a method for processing live recommendation information according to an embodiment of the present disclosure.
  • FIG. 3 is another schematic flowchart of a method for processing live recommendation information according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic flow chart of step S110 in FIG. 2.
  • FIG. 5 is a schematic flow chart of step S113 in FIG.
  • FIG. 6 is a schematic flow chart of step S130 in FIG. 2.
  • FIG. 7 is a schematic flow chart of step S150 in FIG. 2.
  • FIG. 8 is a schematic flow chart of step S153 in FIG. 7.
  • FIG. 9 is a structural block diagram of a live recommendation information processing apparatus according to an embodiment of the present disclosure.
  • FIG. 10 is a structural block diagram of a state information acquiring module according to an embodiment of the present disclosure.
  • FIG. 11 is a structural block diagram of a field packing sub-module according to an embodiment of the present disclosure.
  • FIG. 12 is another structural block diagram of a live recommendation information processing apparatus according to an embodiment of the present disclosure.
  • Icon 10-terminal device; 12-memory; 14-processor; 100-live recommendation information processing device; 110-status information acquisition module; 111-field acquisition sub-module; 113-field packaging sub-module; 113a-dictionary creation unit ; 113b - dictionary assignment unit; 130 - status information forwarding module; 150 - recommender information playback module; 170 - component creation module; 190 - function creation module.
  • the terms “set”, “connected”, and “connected” are to be understood broadly, and may be, for example, a fixed connection, a detachable connection, or an integral Connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, which can be the internal connection of the two elements.
  • the specific meanings of the above terms in the present disclosure can be understood in the specific circumstances by those skilled in the art.
  • an embodiment of the present disclosure provides a terminal device 10 including a memory 12, a processor 14, and a live recommendation information processing apparatus 100.
  • the memory 12 and the processor 14 are electrically connected directly or indirectly to implement data transmission or interaction.
  • the components can be electrically connected to one another via one or more communication buses or signal lines.
  • the live recommendation information processing apparatus 100 includes at least one software function module that can be stored in the memory 12 in the form of software or firmware.
  • the processor 14 is configured to execute an executable computer program stored in the memory 12, for example, a software function module and a computer program included in the live recommendation information processing apparatus 100, to implement a live recommendation information processing method.
  • the memory 12 can be, but not limited to, a random access memory (RAM), a read only memory (ROM), and a programmable read-only memory (PROM). Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EEPROM), and the like.
  • RAM random access memory
  • ROM read only memory
  • PROM programmable read-only memory
  • EPROM Erasable Programmable Read-Only Memory
  • EEPROM Electric Erasable Programmable Read-Only Memory
  • the memory 12 is for storing a program, and the processor 14 executes the program after receiving the execution instruction.
  • the processor 14 may be an integrated circuit chip with signal processing capabilities.
  • the processor 14 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; or may be a digital signal processor (DSP) or an application specific integrated circuit (ASIC). ), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present disclosure may be implemented or carried out.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • FIG. 1 is merely illustrative, and the terminal device 10 may further include more or less components than those shown in FIG. 1, or have a different configuration from that shown in FIG.
  • the components shown in Figure 1 can be implemented in hardware, software, or a combination thereof.
  • the specific type of the terminal device 10 is not limited, and may be, for example, but not limited to, a smart phone, a personal computer (PC), a tablet computer, or a personal digital assistant (PDA).
  • An electronic device with data processing functions such as a mobile Internet device (MID).
  • MID mobile Internet device
  • the embodiment of the present disclosure further provides a live recommendation information processing method applicable to the terminal device 10 described above.
  • the method steps defined by the process related to the method may be implemented by the processor 14. The specific flow shown in FIG. 2 will be described in detail below.
  • Step S110 Obtain recommendation status information in the cover of the live broadcast and send the information to the preset component dispatch center.
  • Step S130 the recommended status information is forwarded to the live broadcast controller corresponding to the cover of the live broadcast by the component dispatching center.
  • step S150 the live broadcast controller determines whether the recommended status information satisfies a preset condition, and when the preset condition is met, the recommender information of the live broadcast room is played in the corresponding live broadcast.
  • the terminal device 10 may display a current live broadcast list, where the live broadcast list includes a live broadcast cover corresponding to the live broadcast currently being broadcasted.
  • the cover of the live broadcast room generally includes a plurality of information to identify the live broadcast room, thereby facilitating the user to select, for example, including, but not limited to, whether there is a lottery, whether there is a recommendation, and whether there is a continuous wheat.
  • step S110 can be performed to obtain the recommended status information in the cover of the live broadcast (whether there is a recommendation between the corresponding live broadcasts), and the information is obtained.
  • live broadcast list, the live broadcast cover, the component dispatch center, and the live broadcast controller may be programs stored in the memory 12.
  • the live broadcast list, the live broadcast cover, the component dispatching center, and the live broadcast controller may be combined to form one or more components, or may be separately formed into components for development.
  • the component scheduling center may be created by a preset rule after the terminal device 10 receives the user's selection (click) of the live room cover before performing step S110, or may be created and stored in advance.
  • Memory 12 in this embodiment, in conjunction with FIG. 3, the live recommendation information processing method may further include step S170 and step S190 before performing step S110.
  • Step S170 creating a component scheduling center by using an instance sharing method.
  • Step S190 creating a first jump function inside the component scheduling center to receive recommendation state information in the cover of the live broadcast.
  • the component scheduling center is created by the shared instans method.
  • the component scheduling center is created by using the singleton feature of the Apple language, and the component scheduling center can implement the receiving and forwarding of the recommended state information.
  • a first jump function may be created in the component dispatching center, and the function may be defined as kActionGotoNormalRoom.
  • the first jump function requires some parameters that can be used to receive recommendation status information in the cover of the live broadcast.
  • the first jump function may be defined as a GotoNormalRoom. Considering that the GotoNormalRoom is a static constant, the prefix may be spliced for the constant to obtain a kActionGotoNormalRoom.
  • step S190 the first jump function of the component scheduling center and its parameters perform the jump action, and if the jump fails, a result is returned.
  • step S110 may include step S111 and step S113 to implement the sending of the recommended state information.
  • Step S111 Obtain a field corresponding to the recommended status information in the cover of the live broadcast.
  • the corresponding fields are different according to the specific content of the recommended status information.
  • the corresponding field may be isEmpRcmd.
  • step S113 the field is wrapped to obtain a dictionary, and the dictionary is sent to a preset component scheduling center.
  • the acquired field may be transmitted in the form of a dictionary by wrapping the field to obtain a corresponding dictionary.
  • the dictionary stores a key-value pair, and the field is wrapped by a key-value pair.
  • the field is passed to the component dispatching center.
  • the purpose is to let the live broadcast room know in advance whether there is an emperor recommendation.
  • the coupling degree of the code is reduced.
  • step S113 may include step S113a and step S113b.
  • step S113a a dictionary is created by the variable dictionary class.
  • a dictionary params can be created by an allocation (alloc) function of a variable dictionary class (NSMutableDictionary), and the dictionary can be initialized by an init function.
  • Step S113b Perform assignment processing on the dictionary according to the field, and send the assigned dictionary to a preset component scheduling center.
  • the dictionary assigns a value to the dictionary by using a dictionary assignment function (addEntriesFromDictionary), and the assignment process is described by taking the field asEmpRcmd as an example.
  • the key of the dictionary is assigned to isEmpRcmd, and the corresponding value (value) is assigned to the attribute of isEmpRcmd.
  • the value is YES when there is an emperor recommendation, and is NO when there is no emperor recommendation.
  • isEmpRcmd is a Boolean value. In order to be added to the dictionary, this boolean type isEmpRcmd is wrapped into an object variable.
  • the created dictionary can add some other key and value values to pass other values.
  • step S113 the emperor recommendation is directly constructed into a dictionary.
  • the reason why the dictionary is built here is because the dictionary is convenient to expand, and the dictionary is obtained from the list, and is sent to the component dispatching center, and the live broadcast is not needed again, saving The interface to get the status, reducing the number of requests.
  • step S130 may include step S131 and step S133 to implement forwarding of the recommended state information.
  • Step S131 the second jump function is called by the component scheduling center to determine a live broadcast controller corresponding to the cover of the live broadcast.
  • the second jump function may be gotoNormalRoomWith, and the function is located in the live jump tool class DYTabBarManager. Because the internal jump controller can determine the inter-live broadcast controller, the component dispatching center can call the second jump function by calling the inter-live jump tool class to determine the live broadcast room corresponding to the cover between the live broadcasts. Controller. After determining the controller of the live broadcast, you can use the push method of the live broadcast controller to complete the jump to the live broadcast room.
  • Step S133 the recommendation status information is sent to the determined inter-live room controller.
  • the recommendation information is sent to the determined live broadcast controller, and the recommended information is processed by the live broadcast controller.
  • the recommendation information is transmitted through the created dictionary params, the evaluation process is performed for the live broadcast controller according to the dictionary params, so that the controller between the live broadcasts can obtain the value (value) corresponding to the isEmpRcmd.
  • the data in the component dispatching center is obtained in the live broadcast room, and the comparison is made to know whether there is recommended data in the component dispatching center, and the data delivery is distributed through the component dispatching center to reduce the coupling of the code.
  • step S150 may include step S151 and step S153 to implement processing of the recommended status information.
  • step S151 the live broadcast controller determines that the recommended status information satisfies a preset condition, and obtains a recommender name corresponding to the live broadcast when the preset condition is met.
  • the preset condition may be set according to specific content of the recommended status information. For example, when the recommendation status information is that there is a recommendation between the corresponding live broadcasts, the preset condition may be that there is a recommendation between the corresponding live broadcasts.
  • the corresponding recommender's account number, image, and name may be used to effectively identify the corresponding recommender's information as the recommender information.
  • the name of the recommender can be obtained as the recommender information.
  • Step S153 playing the recommender name in the corresponding live broadcast by the live broadcast controller.
  • step S153 may include step S153a and step S153b.
  • Step S153a Send the recommender name to the barrage model through the live broadcast controller to obtain a recommended barrage.
  • Step S153b calling the recommended special effect function by the live broadcast controller to play the recommended bullet.
  • the recommended special effects function may have different choices for the specific content of the recommendation.
  • the recommended barrage may be played by calling the emperor recommendation special effect function.
  • the embodiment of the present disclosure further provides a live recommendation information processing apparatus 100 that can be applied to the terminal device 10 described above.
  • the live recommendation information processing apparatus 100 includes a status information acquisition module 110, a status information forwarding module 130, and a recommender information playing module 150.
  • the status information obtaining module 110 is configured to obtain the recommended status information in the cover of the live broadcast and send the information to the preset component dispatch center.
  • the state information acquiring module 110 may be configured to perform step S110 shown in FIG. 2, and the specific description of the state information acquiring module 110 may refer to the foregoing description of step S110.
  • the status information forwarding module 130 is configured to forward the recommended status information to the live broadcast controller corresponding to the cover of the live broadcast through the component scheduling center.
  • the state information forwarding module 130 may be configured to perform step S130 shown in FIG. 2, and the specific description of the state information forwarding module 130 may refer to the foregoing description of step S130.
  • the recommender information playing module 150 is configured to determine, by the live broadcast controller, whether the recommended state information meets a preset condition, and when the preset condition is met, play the recommender of the live broadcast room in the corresponding live broadcast room. information.
  • the recommender information playing module 150 may be configured to perform step S150 shown in FIG. 2, and the specific description of the recommender information playing module 150 may refer to the foregoing description of step S150.
  • the state information obtaining module 110 may include a field obtaining submodule 111 and a field wrapping submodule 113.
  • the field obtaining sub-module 111 is configured to obtain a field corresponding to the recommended status information in the cover of the live broadcast.
  • the field obtaining sub-module 111 may be configured to perform step S111 shown in FIG. 4, and the specific description of the field obtaining sub-module 111 may refer to the foregoing description of step S111.
  • the field wrapping sub-module 113 is configured to wrap the field to obtain a dictionary and send the dictionary to a preset component scheduling center.
  • the field wrapping sub-module 113 may be configured to perform step S113 shown in FIG. 4.
  • step S113 For a detailed description of the field wrapping sub-module 113, reference may be made to the foregoing description of step S113.
  • the field wrapping sub-module 113 may include a dictionary creating unit 113a and a dictionary evaluating unit 113b.
  • the dictionary creating unit 113a is configured to create a dictionary by a variable dictionary class.
  • the dictionary creating unit 113a may be configured to execute step S113a shown in FIG. 5.
  • step S113a For a detailed description of the dictionary creating unit 113a, reference may be made to the description of step S113a.
  • the dictionary assignment unit 113b is configured to perform an assignment process on the dictionary according to the field, and send the assigned dictionary to a preset component scheduling center.
  • the dictionary assignment unit 113b may be configured to perform step S113b shown in FIG. 5.
  • step S113b For a detailed description of the dictionary assignment unit 113b, reference may be made to the description of step S113b.
  • the live recommendation information processing apparatus 100 may further include a component creation module 170 and a function creation module 190.
  • the component creation module 170 is configured to create a component dispatch center by sharing an instance method.
  • the component creation module 170 may be configured to perform step S170 shown in FIG. 3, and the specific description of the component creation module 170 may refer to the foregoing description of step S170.
  • the function creation module 190 is configured to create a first jump function inside the component scheduling center to receive recommendation status information in a cover between the live broadcasts.
  • the function creation module 190 can be configured to perform step S190 shown in FIG. 3.
  • step S190 For a detailed description of the function creation module 190, reference may be made to the previous description of step S190.
  • the live recommendation information processing method, apparatus, and terminal device 10 can implement the information transfer of the recommendation status information of the cover between the live broadcast and the controller of the live broadcast by setting the component dispatching center, thereby avoiding the recommendation state.
  • the information needs to be processed by the server, which causes the server to have a problem of excessive load, thereby improving the problem that the server in the prior art is unstable due to excessive load.
  • the information transfer through the component dispatching center can reduce the coupling degree of the code in different components, thereby facilitating the effective implementation of componentization in the application development process, greatly improving the reliability of the live recommendation information processing method, device and terminal device 10. .
  • the recommendation status information can be conveniently transmitted, and other information can be transmitted, thereby effectively improving the live recommendation information processing.
  • the method, device and terminal device 10 are practical.
  • each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may also occur in a different order than those illustrated in the drawings.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions.
  • each functional module in various embodiments of the present disclosure may be integrated to form a separate part, or each module may exist separately, or two or more modules may be integrated to form a separate part.
  • the functions, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable storage medium.
  • a computer readable storage medium including: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like.
  • the method and device for processing the live recommendation information provided by the embodiment of the present disclosure, and the terminal device 10, by setting the component scheduling center, to realize the information of the recommendation state of the cover between the live broadcast and the controller of the live broadcast controller, can avoid the need to pass the recommendation state information.
  • the problem that the server is overloaded due to the processing of the server improves the problem that the server in the prior art is unstable due to excessive load.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明提供的直播推荐信息处理方法、装置及终端设备,涉及信息处理技术领域。其中,直播推荐信息处理方法包括:获取直播间封面中的推荐状态信息并发送至预设的组件调度中心;通过所述组件调度中心将所述推荐状态信息转发至所述直播间封面对应的直播间控制器;通过所述直播间控制器判断所述推荐状态信息是否满足预设条件,并在满足预设条件时,在对应的直播间播放该直播间的推荐人信息。通过上述方法,可以改善现有技术中服务器因负载过大而存在不稳定的问题。

Description

直播推荐信息处理方法、装置及终端设备
相关申请的交叉引用
本申请要求于2018年01月02日提交中国专利局的申请号为CN201810000889.1、名称为“直播推荐信息处理方法、装置及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及信息处理技术领域,具体而言,涉及一种直播推荐信息处理方法、装置及终端设备。
背景技术
随着信息处理技术的不断发展,终端设备的应用范围不断扩展。其中,终端设备在直播领域得到了广泛的使用。经发明人研究发现,在现有的直播技术中,因推荐信息需要通过服务器进行处理而导致服务器存在负载过大的问题,进而导致工作不稳定的问题。
发明内容
有鉴于此,本公开的目的在于提供一种直播推荐信息处理方法、装置及终端设备,以改善现有技术中服务器因负载过大而存在不稳定的问题。
为实现上述目的,本公开实施例采用如下技术方案:
一种直播推荐信息处理方法,包括:
获取直播间封面中的推荐状态信息并发送至预设的组件调度中心;
通过所述组件调度中心将所述推荐状态信息转发至所述直播间封面对应的直播间控制器;
通过所述直播间控制器判断所述推荐状态信息是否满足预设条件,并在满足预设条件时,在对应的直播间播放该直播间的推荐人信息。
在本公开实施例较佳的选择中,在上述直播推荐信息处理方法中,获取直播间封面中的推荐状态信息并发送至预设的组件调度中心的步骤包括:
获取直播间封面中推荐状态信息对应的字段;
对该字段进行包装以得到字典,并将该字典发送至预设的组件调度中心。
在本公开实施例较佳的选择中,在上述直播推荐信息处理方法中,对该字段进行包装以得到字典,并将该字典发送至预设的组件调度中心步骤包括:
通过可变字典类创建一个字典;
根据该字段对所述字典进行赋值处理,并将赋值后的字典发送至预设的组件调度中心。
在本公开实施例较佳的选择中,在上述直播推荐信息处理方法中,在执行获取直播间封面中的推荐状态信息并发送至预设的组件调度中心的步骤之前,所述方法还包括:
通过实例共享方法创建组件调度中心;
在所述组件调度中心内部创建第一跳转函数,以接收直播间封面中的推荐状态信息。
在本公开实施例较佳的选择中,在上述直播推荐信息处理方法中,通过所述组件调度中心将所述推荐状态信息转发至所述直播间封面对应的直播间控制器的步骤包括:
通过所述组件调度中心调用第二跳转函数,以确定所述直播间封面对应的直播间控制器;
将所述推荐状态信息发送至确定的直播间控制器。
在本公开实施例较佳的选择中,在上述直播推荐信息处理方法中,通过所述直播间控制器判断所述推荐状态信息是否满足预设条件,并在满足预设条件时,在对应的直播间播放该直播间的推荐人信息的步骤包括:
通过所述直播间控制器判断所述推荐状态信息满足预设条件,并在满足预设条件时,获取对应直播间的推荐人名称;
通过所述直播间控制器在对应的直播间播放所述推荐人名称。
在本公开实施例较佳的选择中,在上述直播推荐信息处理方法中,通过所述直播间控制器在对应的直播间播放所述推荐人名称的步骤包括:
通过所述直播间控制器将所述推荐人名称发送至弹幕模型,以得到推荐弹幕;
通过所述直播间控制器调用推荐特效函数以播放所述推荐弹幕。
本公开实施例还提供了一种直播推荐信息处理装置,包括:
状态信息获取模块,配置成获取直播间封面中的推荐状态信息并发送至预设的组件调度中心;
状态信息转发模块,配置成通过所述组件调度中心将所述推荐状态信息转发至所述直播间封面对应的直播间控制器;
推荐人信息播放模块,配置成通过所述直播间控制器判断所述推荐状态信息是否满足预设条件,并在满足预设条件时,在对应的直播间播放该直播间的推荐人信息。
在本公开实施例较佳的选择中,在上述直播推荐信息处理装置中,所述状态信息获取模块包括:
字段获取子模块,配置成获取直播间封面中推荐状态信息对应的字段;
字段包装子模块,配置成对该字段进行包装以得到字典,并将该字典发送至预设的组件调度中心。
本公开实施例还提供了一种终端设备,包括存储器、处理器和直播推荐信息处理装置,所述直播推荐信息处理装置包括一个或多个存储于所述存储器中并由所述处理器执行的软件功能模块,其中,所述软件功能模块包括:
状态信息获取模块,配置成获取直播间封面中的推荐状态信息并发送至预设的组件调度中心;
状态信息转发模块,配置成通过所述组件调度中心将所述推荐状态信息转发至所述直播间封面对应的直播间控制器;
推荐人信息播放模块,配置成通过所述直播间控制器判断所述推荐状态信息是否满足预设条件,并在满足预设条件时,在对应的直播间播放该直播间的推荐人信息。
本公开提供的直播推荐信息处理方法、装置及终端设备,通过设置组件调度中心,以实现直播间封面的推荐状态信息与直播间控制器的信息传递,可以避免因推荐状态信息需要通过服务器进行处理而导致服务器存在负载过大的问题,进而改善现有技术中服务器因负载过大而存在工作不稳定的问题。其中,通过组件调度中心传递信息,可以降低不同组件中代码的耦合度,进而便于应用程序开发过程中组件化的有效进行,极大地提高了直播推荐信息处理方法、装置及终端设备的可靠性。
进一步地,通过将推荐状态信息中的字段包装成字典以传递,利用字典便于扩充的功能,可以便捷的对推荐状态信息进行传递,并且还可以实现其他信息的传递,有效地提高了直播推荐信息处理方法、装置及终端设备的实用性。
为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。
附图说明
图1为本公开实施例提供的终端设备的结构框图。
图2为本公开实施例提供的直播推荐信息处理方法的流程示意图。
图3为本公开实施例提供的直播推荐信息处理方法的另一流程示意图。
图4为图2中步骤S110的流程示意图。
图5为图4中步骤S113的流程示意图。
图6为图2中步骤S130的流程示意图。
图7为图2中步骤S150的流程示意图。
图8为图7中步骤S153的流程示意图。
图9为本公开实施例提供的直播推荐信息处理装置的结构框图。
图10为本公开实施例提供的状态信息获取模块的结构框图。
图11为本公开实施例提供的字段包装子模块的结构框图。
图12为本公开实施例提供的直播推荐信息处理装置的另一结构框图。
图标:10-终端设备;12-存储器;14-处理器;100-直播推荐信息处理装置;110-状态信息获取模块;111-字段获取子模块;113-字段包装子模块;113a-字典创建单元;113b-字典 赋值单元;130-状态信息转发模块;150-推荐人信息播放模块;170-组件创建模块;190-函数创建模块。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例只是本公开的一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。
因此,以下对在附图中提供的本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。在本公开的描述中,术语“第一”、“第二”、“第三”、“第四”等仅用于区分描述,而不能理解为只是或暗示相对重要性。
在本公开的描述中,除非另有明确的规定和限定,术语“设置”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本公开中的具体含义。
如图1所示,本公开实施例提供了一种终端设备10,包括存储器12、处理器14和直播推荐信息处理装置100。
所述存储器12和处理器14之间直接或间接地电性连接,以实现数据的传输或交互。例如,这些元件相互之间可通过一条或多条通讯总线或信号线实现电性连接。所述直播推荐信息处理装置100包括至少一个可以软件或固件(firmware)的形式存储于所述存储器12中的软件功能模块。所述处理器14配置成执行所述存储器12中存储的可执行的计算机程序,例如,所述直播推荐信息处理装置100所包括的软件功能模块及计算机程序等,以实现直播推荐信息处理方法。
其中,所述存储器12可以是,但不限于,随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(Programmable Read-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EEPROM)等。其中,存储器12用于存储程序,所述处理器14在接收到执行指 令后,执行所述程序。
所述处理器14可能是一种集成电路芯片,具有信号的处理能力。上述的处理器14可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本公开实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
可以理解,图1所示的结构仅为示意,所述终端设备10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。图1中所示的各组件可以采用硬件、软件或其组合实现。
可选地,所述终端设备10的具体类型不受限制,例如,可以是,但不限于,智能手机、个人电脑(personal computer,PC)、平板电脑、个人数字助理(personal digital assistant,PDA)、移动上网设备(mobile Internet device,MID)等具有数据处理功能的电子设备。
结合图2,本公开实施例还提供一种可应用于上述终端设备10的直播推荐信息处理方法。其中,所述方法有关的流程所定义的方法步骤可以由所述处理器14实现。下面将对图2所示的具体流程进行详细阐述。
步骤S110,获取直播间封面中的推荐状态信息并发送至预设的组件调度中心。
步骤S130,通过所述组件调度中心将所述推荐状态信息转发至所述直播间封面对应的直播间控制器。
步骤S150,通过所述直播间控制器判断所述推荐状态信息是否满足预设条件,并在满足预设条件时,在对应的直播间播放该直播间的推荐人信息。
在本实施例中,用户进入直播平台后,终端设备10可以显示当前的直播列表,所述直播列表包括有当前正在直播的直播间对应的直播间封面。其中,所述直播间封面一般包括有多种信息,以对该直播间进行标识,进而便于用户进行选择,例如,可以包括,但不限于是否存在抽奖、是否存在推荐以及是否存在连麦。
在用户根据需求选择(点击)对应的直播间封面,以进入直播间时,可以通过执行步骤S110,以获取直播间封面中的推荐状态信息(对应的直播间是否存在推荐),并将该信息发送至预设的组件调度中心以转发至直播间控制器进行处理,并在用户进入直播间后,若存在推荐可以对该推荐相关的信息进行播放。
可以理解的是,所述直播列表、直播间封面、组件调度中心及直播间控制器可以是存储于存储器12的程序。其中,所述直播列表、直播间封面、组件调度中心及直播间控制器既可以是进行相互组合形成一个或多个组件,也可以是分别形成组件以便于开发。
可选地,所述组件调度中心既可以是在执行步骤S110之前、终端设备10接收到用户选择(点击)直播间封面之后,通过预设的规则进行创建,也可以是预先进行创建并存储于存储器12。在本实施例中,结合图3,在执行步骤S110之前,所述直播推荐信息处理方法还可以包括步骤S170和步骤S190。
步骤S170,通过实例共享方法创建组件调度中心。
步骤S190,在所述组件调度中心内部创建第一跳转函数,以接收直播间封面中的推荐状态信息。
在本实施例中,通过实例共享(shared instans)方法创建组件调度中心,可选地,使用苹果语言的单例特性创建组件调度中心,组件调度中心可以实现对推荐状态信息的接收和转发。为便于所述组件调度中心接收推荐状态信息,可以在所述组件调度中心创建第一跳转函数,该函数可以定义为kActionGotoNormalRoom。第一跳转函数需要一些参数,这些参数可以用于接收直播间封面中的推荐状态信息。其中,可以将所述第一跳转函数定义为GotoNormalRoom,考虑到GotoNormalRoom为静态常量,可以为该常量拼接前缀,以得到kActionGotoNormalRoom。
步骤S190中,组件调度中心的第一跳转函数及其参数去执行跳转的动作,如果跳转失败,会返回一个结果。
可选地,在执行步骤S110时发送推荐状态信息的方式不受限制,在本实施例中,结合图4,步骤S110可以包括步骤S111和步骤S113以实现对推荐状态信息的发送。
步骤S111,获取直播间封面中推荐状态信息对应的字段。
在本实施例中,根据推荐状态信息的具体内容不同,对应的字段不同。例如,在所述推荐状态信息为是否为皇帝推荐时,对应的字段可以为isEmpRcmd。
步骤S113,对该字段进行包装以得到字典,并将该字典发送至预设的组件调度中心。
在本实施例中,为便于该字段的传递以及实现其他信息的传递,可以通过将字段进行包装以得到对应的字典,从而以字典的形式传送获取的字段。其中,字典中存储有键值对(key-value),并通过键值对实现对字段的包装。
此处将字段传给组件调度中心中,目的也是让直播间提前知道是否存在皇帝推荐,为了节约php接口或者c++网络请求的需要,降低代码的耦合程度。
可选地,执行步骤S113对字段进行包装的方式不受限制,在本实施例中,结合图5,步骤S113可以包括步骤S113a和步骤S113b。
步骤S113a,通过可变字典类创建一个字典。
在本实施例中,可以通过可变字典类(NSMutableDictionary)的分配(alloc)函数创建一个字典params,并可以通过初始化(init)函数将该字典进行初始化。
步骤S113b,根据该字段对所述字典进行赋值处理,并将赋值后的字典发送至预设的组 件调度中心。
在本实施例中,字典(params)通过为字典赋值函数(addEntriesFromDictionary),为这个字典赋值,以该字段为isEmpRcmd为例对赋值处理进行说明。其中,将所述字典的键(key)赋值为isEmpRcmd,对应的值(value)赋值为isEmpRcmd的属性,例如,在存在皇帝推荐时赋值为YES,在不存在皇帝推荐时赋值为NO。isEmpRcmd是一个布尔类型的值,为了能够加入到字典中,将这个布尔类型的isEmpRcmd包装成一个对象型的变量,创建的字典可以添加一些其他的key值和value值,用来传递其他的值。
步骤S113中,将皇帝推荐直接构建成一个字典,此处之所以构建字典是因为构建字典方便扩充功能,此处从列表中获取到字典,传入组件调度中心中,无需直播间再次获取,节约了获取状态的接口,减少请求的次数。
可选地,在执行步骤S130时转发推荐状态信息的方式不受限制,在本实施例中,结合图6,步骤S130可以包括步骤S131和步骤S133以实现对推荐状态信息的转发。
步骤S131,通过所述组件调度中心调用第二跳转函数,以确定所述直播间封面对应的直播间控制器。
在本实施例中,所述第二跳转函数可以为gotoNormalRoomWith,且该函数位于直播间跳转工具类DYTabBarManager。因为第二跳转函数的内部可以确定直播间控制器,所以,所述组件调度中心可以通过调用直播间跳转工具类以调用所述第二跳转函数,以确定直播间封面对应的直播间控制器。确定直播间控制器后,就可以用直播间控制器的push方法完成跳转到直播间。
步骤S133,将所述推荐状态信息发送至确定的直播间控制器。
在本实施例中,通过将推荐信息发送至确定的直播间控制器,并通过直播间控制器对该推荐信息进行处理。其中,以所述推荐信息通过创建的字典params传递时,根据该字典params为直播间控制器进行赋值处理,以使直播间控制器可以获取键(key)为isEmpRcmd对应的值(value)。
直播间中拿到组件调度中心中的数据,进行比较获知组件调度中心中是否存在推荐的数据,数据传递通过组件调度中心派发还可以减少代码的耦合。
可选地,在执行步骤S150时对推荐状态信息进行处理的方式不受限制,在本实施例中,结合图7,步骤S150可以包括步骤S151和步骤S153以实现对推荐状态信息的处理。
步骤S151,通过所述直播间控制器判断所述推荐状态信息满足预设条件,并在满足预设条件时,获取对应直播间的推荐人名称。
在本实施例中,所述预设条件可以根据所述推荐状态信息的具体内容进行设置。例如,在所述推荐状态信息为对应的直播间是否存在推荐时,所述预设条件可以为对应的直播间 存在推荐。
其中,为直接、有效地对推荐人信息进行播放,例如,可以将对应的推荐人的帐号、图像和名称等可以有效地标识对应的推荐人的信息作为推荐人信息。在本实施例中,可以获取推荐人的名称以作为推荐人信息。
步骤S153,通过所述直播间控制器在对应的直播间播放所述推荐人名称。
可选地,在执行步骤S153时播放推荐人名称的方式不受限制,例如,可以通过弹幕的形式进行播放,也可以是通过页面渲染至直播间。在本实施例中,为提高播放的效果,结合图8,步骤S153可以包括步骤S153a和步骤S153b。
步骤S153a,通过所述直播间控制器将所述推荐人名称发送至弹幕模型,以得到推荐弹幕。
步骤S153b,通过所述直播间控制器调用推荐特效函数以播放所述推荐弹幕。
在本实施例中,针对推荐的具体的内容不同,推荐特效函数可以有不同的选择,例如,针对皇帝推荐,可以通过调用皇帝推荐特效函数以播放所述推荐弹幕。
结合图9,本公开实施例还提供一种可应用于上述终端设备10的直播推荐信息处理装置100。其中,所述直播推荐信息处理装置100包括状态信息获取模块110、状态信息转发模块130和推荐人信息播放模块150。
所述状态信息获取模块110,配置成获取直播间封面中的推荐状态信息并发送至预设的组件调度中心。在本实施例中,所述状态信息获取模块110可配置成执行图2所示的步骤S110,关于所述状态信息获取模块110的具体描述可以参照前文对步骤S110的描述。
所述状态信息转发模块130,配置成通过所述组件调度中心将所述推荐状态信息转发至所述直播间封面对应的直播间控制器。在本实施例中,所述状态信息转发模块130可配置成执行图2所示的步骤S130,关于所述状态信息转发模块130的具体描述可以参照前文对步骤S130的描述。
所述推荐人信息播放模块150,配置成通过所述直播间控制器判断所述推荐状态信息是否满足预设条件,并在满足预设条件时,在对应的直播间播放该直播间的推荐人信息。在本实施例中,所述推荐人信息播放模块150可配置成执行图2所示的步骤S150,关于所述推荐人信息播放模块150的具体描述可以参照前文对步骤S150的描述。
结合图10,在本实施例中,所述状态信息获取模块110可以包括字段获取子模块111和字段包装子模块113。
所述字段获取子模块111,配置成获取直播间封面中推荐状态信息对应的字段。在本实施例中,所述字段获取子模块111可配置成执行图4所示的步骤S111,关于所述字段获取子模块111的具体描述可以参照前文对步骤S111的描述。
所述字段包装子模块113,配置成对该字段进行包装以得到字典,并将该字典发送至预设的组件调度中心。在本实施例中,所述字段包装子模块113可配置成执行图4所示的步骤S113,关于所述字段包装子模块113的具体描述可以参照前文对步骤S113的描述。
结合图11,在本实施例中,所述字段包装子模块113可以包括字典创建单元113a和字典赋值单元113b。
所述字典创建单元113a,配置成通过可变字典类创建一个字典。在本实施例中,所述字典创建单元113a可配置成执行图5所示的步骤S113a,关于所述字典创建单元113a的具体描述可以参照前文对步骤S113a的描述。
所述字典赋值单元113b,配置成根据该字段对所述字典进行赋值处理,并将赋值后的字典发送至预设的组件调度中心。在本实施例中,所述字典赋值单元113b可配置成执行图5所示的步骤S113b,关于所述字典赋值单元113b的具体描述可以参照前文对步骤S113b的描述。
结合图12,在本实施例中,所述直播推荐信息处理装置100还可以包括组件创建模块170和函数创建模块190。
所述组件创建模块170,配置成通过共享实例方法创建组件调度中心。在本实施例中,所述组件创建模块170可配置成执行图3所示的步骤S170,关于所述组件创建模块170的具体描述可以参照前文对步骤S170的描述。
所述函数创建模块190,配置成在所述组件调度中心内部创建第一跳转函数,以接收直播间封面中的推荐状态信息。在本实施例中,所述函数创建模块190可配置成执行图3所示的步骤S190,关于所述函数创建模块190的具体描述可以参照前文对步骤S190的描述。
综上所述,本公开提供的直播推荐信息处理方法、装置及终端设备10,通过设置组件调度中心,以实现直播间封面的推荐状态信息与直播间控制器的信息传递,可以避免因推荐状态信息需要通过服务器进行处理而导致服务器存在负载过大的问题,进而改善现有技术中服务器因负载过大而存在工作不稳定的问题。其中,通过组件调度中心传递信息,可以降低不同组件中代码的耦合度,进而便于应用程序开发过程中组件化的有效进行,极大地提高了直播推荐信息处理方法、装置及终端设备10的可靠性。其次,通过将推荐状态信息中的字段包装成字典以传递,利用字典便于扩充的功能,可以便捷的对推荐状态信息进行传递,并且还可以实现其他信息的传递,有效地提高了直播推荐信息处理方法、装置及终端设备10的实用性。
在本公开实施例所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置和方法实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本公开的多个实施例的装置、方法和计算机程序产品的可能实现 的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
另外,在本公开各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,电子设备,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅为本公开的优选实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。
工业实用性
本公开实施例提供的直播推荐信息处理方法、装置及终端设备10,通过设置组件调度中心,以实现直播间封面的推荐状态信息与直播间控制器的信息传递,可以避免因推荐状态信息需要通过服务器进行处理而导致服务器存在负载过大的问题,进而改善现有技术中服务器因负载过大而存在工作不稳定的问题。

Claims (15)

  1. 一种直播推荐信息处理方法,其特征在于,包括:
    获取直播间封面中的推荐状态信息并发送至预设的组件调度中心;
    通过所述组件调度中心将所述推荐状态信息转发至所述直播间封面对应的直播间控制器;
    通过所述直播间控制器判断所述推荐状态信息是否满足预设条件,并在满足预设条件时,在对应的直播间播放该直播间的推荐人信息。
  2. 根据权利要求1所述的直播推荐信息处理方法,其特征在于,获取直播间封面中的推荐状态信息并发送至预设的组件调度中心的步骤包括:
    获取直播间封面中推荐状态信息对应的字段;
    对该字段进行包装以得到字典,并将该字典发送至预设的组件调度中心。
  3. 根据权利要求2所述的直播推荐信息处理方法,其特征在于,对该字段进行包装以得到字典,并将该字典发送至预设的组件调度中心步骤包括:
    通过可变字典类创建一个字典;
    根据该字段对所述字典进行赋值处理,并将赋值后的字典发送至预设的组件调度中心。
  4. 根据权利要求3所述的直播推荐信息处理方法,其特征在于,通过可变字典类创建一个字典步骤包括:
    通过可变字典类的分配函数创建一个字典,并可以通过初始化函数将该字典进行初始化。
  5. 根据权利要求1-4任意一项所述的直播推荐信息处理方法,其特征在于,在执行获取直播间封面中的推荐状态信息并发送至预设的组件调度中心的步骤之前,所述方法还包括:
    通过实例共享方法创建组件调度中心;
    在所述组件调度中心内部创建第一跳转函数,以接收直播间封面中的推荐状态信息。
  6. 根据权利要求5所述的直播推荐信息处理方法,其特征在于,所述第一跳转函数定义为kActionGotoNormalRoom。
  7. 根据权利要求1-4任意一项所述的直播推荐信息处理方法,其特征在于,通过所述组件调度中心将所述推荐状态信息转发至所述直播间封面对应的直播间控制器的步骤包括:
    通过所述组件调度中心调用第二跳转函数,以确定所述直播间封面对应的直播间控制器;
    将所述推荐状态信息发送至确定的直播间控制器。
  8. 根据权利要求7所述的直播推荐信息处理方法,其特征在于,通过所述组件调度中心 调用第二跳转函数,以确定所述直播间封面对应的直播间控制器步骤包括:
    所述第二跳转函数为gotoNormalRoomWith,且该函数位于直播间跳转工具类DYTabBarManager,所述组件调度中心通过调用直播间跳转工具类以调用所述第二跳转函数,以确定直播间封面对应的直播间控制器。
  9. 根据权利要求1-4任意一项所述的直播推荐信息处理方法,其特征在于,通过所述直播间控制器判断所述推荐状态信息是否满足预设条件,并在满足预设条件时,在对应的直播间播放该直播间的推荐人信息的步骤包括:
    通过所述直播间控制器判断所述推荐状态信息满足预设条件,并在满足预设条件时,获取对应直播间的推荐人名称;
    通过所述直播间控制器在对应的直播间播放所述推荐人名称。
  10. 根据权利要求9所述的直播推荐信息处理方法,其特征在于,通过所述直播间控制器在对应的直播间播放所述推荐人名称的步骤包括:
    通过所述直播间控制器将所述推荐人名称发送至弹幕模型,以得到推荐弹幕;
    通过所述直播间控制器调用推荐特效函数以播放所述推荐弹幕。
  11. 一种直播推荐信息处理装置,其特征在于,包括:
    状态信息获取模块,配置成获取直播间封面中的推荐状态信息并发送至预设的组件调度中心;
    状态信息转发模块,配置成通过所述组件调度中心将所述推荐状态信息转发至所述直播间封面对应的直播间控制器;
    推荐人信息播放模块,配置成通过所述直播间控制器判断所述推荐状态信息是否满足预设条件,并在满足预设条件时,在对应的直播间播放该直播间的推荐人信息。
  12. 根据权利要求11所述的直播推荐信息处理装置,其特征在于,所述状态信息获取模块包括:
    字段获取子模块,配置成获取直播间封面中推荐状态信息对应的字段;
    字段包装子模块,配置成对该字段进行包装以得到字典,并将该字典发送至预设的组件调度中心。
  13. 根据权利要求12所述的直播推荐信息处理装置,其特征在于,所述字段包装子模块包括:
    字典创建单元,配置成通过可变字典类创建一个字典;
    字典赋值单元,配置成根据该字段对所述字典进行赋值处理,并将赋值后的字典发送至预设的组件调度中心。
  14. 根据权利要求11-13任意一项所述的直播推荐信息处理装置,其特征在于,所述直 播推荐信息处理装置还包括:
    组件创建模块,配置成通过共享实例方法创建组件调度中心;
    函数创建模块,配置成在所述组件调度中心内部创建第一跳转函数,以接收直播间封面中的推荐状态信息。
  15. 一种终端设备,其特征在于,包括存储器、处理器和直播推荐信息处理装置,所述直播推荐信息处理装置包括一个或多个存储于所述存储器中并由所述处理器执行的软件功能模块,其中,所述软件功能模块包括:
    状态信息获取模块,配置成获取直播间封面中的推荐状态信息并发送至预设的组件调度中心;
    状态信息转发模块,配置成通过所述组件调度中心将所述推荐状态信息转发至所述直播间封面对应的直播间控制器;
    推荐人信息播放模块,配置成通过所述直播间控制器判断所述推荐状态信息是否满足预设条件,并在满足预设条件时,在对应的直播间播放该直播间的推荐人信息。
PCT/CN2018/082468 2018-01-02 2018-04-10 直播推荐信息处理方法、装置及终端设备 WO2019134294A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810000889.1 2018-01-02
CN201810000889.1A CN108234489B (zh) 2018-01-02 2018-01-02 直播推荐信息处理方法、装置及终端设备

Publications (1)

Publication Number Publication Date
WO2019134294A1 true WO2019134294A1 (zh) 2019-07-11

Family

ID=62642426

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/082468 WO2019134294A1 (zh) 2018-01-02 2018-04-10 直播推荐信息处理方法、装置及终端设备

Country Status (2)

Country Link
CN (1) CN108234489B (zh)
WO (1) WO2019134294A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114302156A (zh) * 2021-12-07 2022-04-08 广州方硅信息技术有限公司 主播动态信息推荐方法、设备、系统及存储介质
CN114827645A (zh) * 2021-12-29 2022-07-29 广州方硅信息技术有限公司 基于蒙面互动的直播间进场方法、装置及计算机设备

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110708272B (zh) * 2018-07-10 2022-01-07 武汉斗鱼网络科技有限公司 直播应用分享模块解耦系统、方法、存储介质及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101326823A (zh) * 2005-11-30 2008-12-17 皇家飞利浦电子股份有限公司 产生用于至少一个另外的内容项的推荐的方法和系统
CN103004222A (zh) * 2010-07-19 2013-03-27 阿尔卡特朗讯公司 用于为用户调度电视节目记录的方法
CN104333773A (zh) * 2013-12-18 2015-02-04 乐视网信息技术(北京)股份有限公司 一种视频推荐方法及服务器
CN105681839A (zh) * 2015-12-31 2016-06-15 新奥特(北京)视频技术有限公司 一种多屏内容统一发布的业务系统
CN106658074A (zh) * 2016-11-21 2017-05-10 武汉斗鱼网络科技有限公司 一种直播间推荐策略的评估方法、用户设备和服务器系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9706237B2 (en) * 2013-03-12 2017-07-11 Time Warner Cable Enterprises Llc TV playlist

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101326823A (zh) * 2005-11-30 2008-12-17 皇家飞利浦电子股份有限公司 产生用于至少一个另外的内容项的推荐的方法和系统
CN103004222A (zh) * 2010-07-19 2013-03-27 阿尔卡特朗讯公司 用于为用户调度电视节目记录的方法
CN104333773A (zh) * 2013-12-18 2015-02-04 乐视网信息技术(北京)股份有限公司 一种视频推荐方法及服务器
CN105681839A (zh) * 2015-12-31 2016-06-15 新奥特(北京)视频技术有限公司 一种多屏内容统一发布的业务系统
CN106658074A (zh) * 2016-11-21 2017-05-10 武汉斗鱼网络科技有限公司 一种直播间推荐策略的评估方法、用户设备和服务器系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114302156A (zh) * 2021-12-07 2022-04-08 广州方硅信息技术有限公司 主播动态信息推荐方法、设备、系统及存储介质
CN114827645A (zh) * 2021-12-29 2022-07-29 广州方硅信息技术有限公司 基于蒙面互动的直播间进场方法、装置及计算机设备
CN114827645B (zh) * 2021-12-29 2024-02-06 广州方硅信息技术有限公司 基于蒙面互动的直播间进场方法、装置及计算机设备

Also Published As

Publication number Publication date
CN108234489A (zh) 2018-06-29
CN108234489B (zh) 2020-02-07

Similar Documents

Publication Publication Date Title
WO2021238913A1 (zh) 直播数据的展示方法、装置、设备及存储介质
US11871063B2 (en) Intelligent multi-device content distribution based on internet protocol addressing
CN104808983B (zh) 一种应用程序的推送方法及服务器
WO2019134294A1 (zh) 直播推荐信息处理方法、装置及终端设备
US11936922B2 (en) Live streaming room page loading method and apparatus, and terminal, server and storage medium
CN109151514B (zh) 直播间内实现购买商品的方法、存储介质、设备及系统
US11310066B2 (en) Method and apparatus for pushing information
US9807143B2 (en) Systems and methods for event routing and correlation
CN107329976B (zh) 网页分页方法、装置、计算机设备及计算机可读存储介质
EP4210053A1 (en) Application program control method and apparatus, electronic device, and storage medium
CN109862100B (zh) 用于推送信息的方法和装置
EP3676709B1 (en) Controlling the triggering of function calls from content items
CN107409149B (zh) 混合的客户端-服务器数据提供的方法
CN107800611B (zh) 一种页面切换的方法及页面切换装置
WO2020125381A1 (zh) 用于生成信息的方法和装置
CN110928706B (zh) 小程序交互方法、装置、电子设备及存储介质
US20240073488A1 (en) Live video processing method and apparatus, device and medium
US10306323B2 (en) Fast television channel change initiated from a second screen device
CN110647634A (zh) 媒体资源的查找方法、装置、存储介质及电子装置
CN111010453B (zh) 服务请求处理方法、系统、电子设备及计算机可读介质
CN109756488B (zh) 一种数据流获取方法、装置、设备及介质
CN108966160B (zh) 一种短信处理方法、装置及计算机可读存储介质
CN113918849A (zh) 一种页面显示方法、装置、系统、电子设备及存储介质
CN113127683A (zh) 内容推荐方法、装置、电子设备和介质
CN113556370A (zh) 一种服务调用方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18897950

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18897950

Country of ref document: EP

Kind code of ref document: A1