Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for processing a live broadcast service according to an embodiment of the present invention. The embodiment can be suitable for judging whether the live broadcast service component needs to be updated in real time when the client loads the live broadcast room, and recording the scene of the live broadcast service interface adaptive to the live broadcast room according to the required service group. The method is applied to a live client and is executed by a processing device of a live service, and the device can be realized by software and/or hardware and is generally configured on an electronic device.
Referring to fig. 1, the method includes the steps of:
s101, loading a live broadcast room.
In a specific implementation mode, a client detects the behavior of a user, and when the behavior of the user accords with the preset behavior, the client sends a request for live broadcast page data and information of a live broadcast service component to a server, and loads a live broadcast room.
The behavior of the user according to the preset behavior may be: clicking to enter a certain live broadcasting room in the homepage of the live broadcasting platform, searching for the certain live broadcasting room in the homepage of the live broadcasting platform, clicking to enter the live broadcasting room or directly entering the certain live broadcasting room through a link.
In one embodiment, live page data is defaulted to the live room frame and underlying live room service interface. When the live broadcast page data are all loaded on the client side, the loading of the live broadcast room is completed, but the live broadcast room is not necessarily directly rendered after the loading is completed, generally, the live broadcast service component is required to be called to load a live broadcast service interface adaptive to the live broadcast room, and then the live broadcast service interface is rendered to the screen together, so that a user can know the complete live broadcast service interface of the live broadcast room rendered to the screen.
S102, downloading a live broadcast service component which is configured for the live broadcast room and is adaptive to the live broadcast client from a server.
In a specific implementation mode, a client downloads a live broadcast service component of a live broadcast room which is selected by a user and needs to be loaded from a server, and the live broadcast service component is a live broadcast service component which is adaptive to both a live broadcast client and the live broadcast room. One specific expression of the live broadcast service component is a DLL (Dynamic Link Library) file. It can be realized that when a program needs to call a function, the DLL needs to be loaded first, then the address of the function is obtained, and finally the call is performed. The principle of realizing the plug-in mode based on the common DLL is to open a specified dynamic link library by using a LoadLibrary function, and then obtain the address of the specified function in the library by using a GetProcAddress function and call the function of the specified function. When designing a plug-in, the functions should be classified and an interface should be formulated, and the plug-in manager is programmed for the interface.
In one embodiment, it can be understood that the client downloads a live service component corresponding to the client version from the server and also being a live room requirement selected by the user.
S103, calling the live broadcast service component to load a live broadcast service interface adaptive to the live broadcast room.
In a specific implementation mode, after the live broadcast service component is loaded, the live broadcast room can request data of a specific live broadcast service interface from the server through the live broadcast service component which is loaded successfully, after the data of the live broadcast service interface is requested successfully, whether the data meets the processing condition or not is judged, and when the data meets the processing condition, the live broadcast service interface is loaded in the live broadcast room.
The live service Interface may be understood as a UI (User Interface) of the live service. It should be clear that the live service interface is not limited to a UI.
The embodiment of the invention loads the live broadcast room; downloading a live broadcast service component which is configured for the live broadcast room and is adaptive to the live broadcast client from a server; and calling the live broadcast service component to load a live broadcast service interface adaptive to the live broadcast room. The problem that the revenue service is integrated in the software function as a common module and is released through software updating is solved. The method and the device realize flexible background configuration, increase of revenue service issuing modes, display of different revenue activities in different live broadcast rooms, and reduction of revenue service issuing cost and risk through real-time and gray scale online modes.
Example two
Fig. 2 is a flowchart of a processing method for live broadcast service according to a second embodiment of the present invention. The present embodiment is a refinement performed on the basis of the first embodiment, and mainly describes a specific manner of downloading a live broadcast service component configured for the live broadcast room and adapted to the live broadcast client from a server. Referring to fig. 2, the present embodiment includes the following steps:
s201, loading a live broadcast room.
S202, reading a live broadcast service component from a position appointed in an installation directory where the live broadcast client is located.
In particular embodiments, a live client reads a live service component from a specified location. At this time, the live broadcast service component is read to acquire whether the live broadcast service component exists in the specified position, and (when the live broadcast service component exists), the component identification number and the version information of the live broadcast service component.
S203, judging whether the live broadcast service component is in a designated version. If yes, go to step S206; if not, go to step S204.
In a specific embodiment, the live service component is determined according to whether the component identification number and the version information of the live service component are the specified version. If the version is the appointed version, downloading of the live broadcast service component from the server is not needed; if the version is not the specified version, the live broadcast service component of the local (client) needs to be updated through the live broadcast service component of the specified version from the server.
In a specific embodiment, whether the live service component is a specified version may be determined at the server side. Namely: sending the first version information of the live broadcast room to a server; and receiving response information which is returned by the server and is used for judging whether the first version information is the appointed version.
In one embodiment, it may be determined at the client whether the live service component is a designated version. Namely: when loading a live broadcast room, sending the live broadcast room information of the live broadcast room to a server; receiving the version number of the specified version of the live broadcast room returned by the server; the client judges whether the version number of the specified version is consistent with the version number of the local live broadcast service component (client).
And S204, the live broadcast service component which is configured for the live broadcast room and is adaptive to the live broadcast client side is downloaded from the server.
In a specific embodiment, a live broadcast room identifier of the live broadcast room is sent to a server; receiving component downloading information returned by the server aiming at the live broadcast room identifier, wherein the component downloading information comprises a downloading address and a first content identifier; accessing the download address to download a live broadcast service component configured for the live broadcast room and adapted to the live broadcast client; generating a second content identifier for the live broadcast service component; and if the first content identifier is the same as the second content identifier, storing the live broadcast service component to a specified position in an installation directory where the live broadcast client is located.
In one embodiment, the room number of the live room is sent to the server as a live identification of the live room. Searching a live broadcast service component corresponding to the live broadcast room identifier, wherein the live broadcast service component has release conditions and component downloading information; and if the release condition is met, sending the component download information to the live broadcast client. The client analyzes the component downloading information to obtain a downloading address and a first content identifier. And the client downloads and obtains the live broadcast service component by accessing the download address. And the client calculates and downloads a second content identifier of the live broadcast service component by adopting the same algorithm as the preset first content identifier. And if the first content identifier is the same as the second content identifier, storing the live broadcast service component to a specified position in an installation directory where the live broadcast client is located.
The first content identifier and the second content identifier may be hash values or values obtained by a message digest algorithm.
S205, calling the live broadcast service component to load a live broadcast service interface adaptive to the live broadcast room.
On the basis of the above embodiment, the method further includes: receiving a live broadcast service broadcast sent by a server; and updating the live broadcast service interface according to the live broadcast service.
In one embodiment, when a preset user behavior (such as a user gift sending, a change of a main broadcasting state, etc.) triggers the server to broadcast data or the server actively generates broadcast data, the server sends a live broadcasting service broadcast all over the network. And the client receives the live broadcast service broadcast sent by the server and updates the live broadcast service interface according to the live broadcast service broadcast.
In a specific embodiment, the live broadcast service interface is updated according to the live broadcast service, and a first service protocol number may be extracted from the live broadcast service; determining a second service protocol number of the live broadcast client; if the first service protocol number is the same as the second service protocol number and the live broadcast client does not have a shielding identifier, extracting broadcast content from the service broadcast; and loading the broadcast content into the live broadcast service interface.
Whether the client has the shielding identification is preset, and the client with the shielding identification can be regarded as an online stable client version; clients without mask identification may be considered clients of the tested version. The protocol number is a manually set classification number for distinguishing live broadcast categories of the live broadcast rooms, and can be understood as that the live broadcast room A and the live broadcast room B respectively carry out different activities, if the live broadcast room is a game live broadcast room, the live broadcast room B is an entertainment live broadcast room, and therefore the two live broadcast rooms respectively operate different live broadcast service components. During the operation of the two live broadcast rooms, the server has global broadcast data push, and the live broadcast room A can filter the broadcast of the live broadcast service only belonging to the live broadcast room A. The filtering mode is that the first service protocol number is the same as the second service protocol number or has an inclusion relation.
The embodiment of the invention loads the live broadcast room; downloading a live broadcast service component which is configured for the live broadcast room and is adaptive to the live broadcast client from a server; and calling the live broadcast service component to load a live broadcast service interface adaptive to the live broadcast room. The problem that the revenue service is integrated in the software function as a common module and is released through software updating is solved. The method and the device realize flexible background configuration, increase of revenue service issuing modes, display of different revenue activities in different live broadcast rooms, and reduction of revenue service issuing cost and risk through real-time and gray scale online modes.
EXAMPLE III
Fig. 3 is a flowchart of a processing method for live broadcast service according to a third embodiment of the present invention. The embodiment can be suitable for a server to send live broadcast page data to a live broadcast client, and simultaneously send a scene of a live broadcast service component configured in the live broadcast room and adapted to the live broadcast client. The method is applied to a server and is executed by a processing device of the live broadcast service, and the device can be realized by software and/or hardware and is generally configured on an electronic device.
Referring to fig. 3, the method includes the steps of:
s301, sending live broadcast page data to a live broadcast client to load a live broadcast room.
In one embodiment, the server receives a live room identification sent by the client. And the server sends live broadcast page data to the client according to the live broadcast room identifier. And the client loads the live broadcast room according to the live broadcast page data.
S302, sending a live broadcast service component configured for the live broadcast room and adapted to the live broadcast client so as to call the live broadcast service component to load a live broadcast service interface adapted to the live broadcast room.
In one embodiment, the room number of the live room is sent to the server as a live identification of the live room. Searching a live broadcast service component corresponding to the live broadcast room identifier, wherein the live broadcast service component has release conditions and component downloading information; and if the release condition is met, sending the component download information to the live broadcast client. The client analyzes the component downloading information to obtain a downloading address and a first content identifier. And the client downloads and obtains the live broadcast service component by accessing the download address.
The embodiment of the invention sends the live broadcast page data to the live broadcast client, and simultaneously sends the live broadcast service component which is configured for the live broadcast room and is adaptive to the live broadcast client. The problem that the revenue service is integrated in the software function as a common module and is released through software updating is solved. The method and the device realize flexible background configuration, increase of revenue service issuing modes, display of different revenue activities in different live broadcast rooms, and reduction of revenue service issuing cost and risk through real-time and gray scale online modes.
Example four
Fig. 4 is a flowchart of a processing method for live broadcast service according to a fourth embodiment of the present invention. The present embodiment is a refinement performed on the basis of the third embodiment, and mainly describes a specific manner of sending a live broadcast service component configured for the live broadcast room and adapted to the live broadcast client. Referring to fig. 4, the present embodiment includes the steps of:
s401, sending live broadcast page data to a live broadcast client to load a live broadcast room.
S402, receiving the live broadcast room identification of the live broadcast room sent by the client.
S403, searching a live broadcast service component corresponding to the live broadcast room identifier, wherein the live broadcast service component has release conditions and component download information.
In a specific embodiment, the server stores live service components with publishing conditions and component download information. The publishing condition may be a time period for the live service component to publish, which is set by an administrator. The component download information includes attribute information and download address of the live service component, and the attribute information may include a first content identifier for verifying integrity of the service component, an identifier number for identifying the service group, and a version number.
S404, if the release condition is met, sending the component download information to the live broadcast client, so as to download the live broadcast service components configured for the live broadcast room and adapted to the live broadcast client according to the component download information.
In a specific embodiment, after the service component information meeting the release condition is found according to the live broadcast room label, the component download information of the corresponding live broadcast service component is sent to the client.
On the basis of the above embodiment, the method further includes: generating a live broadcast service; and sending the live broadcast service to the live broadcast client to update the live broadcast service interface.
In one embodiment, when a user action (such as a user gift sending, a change of a main broadcasting state, etc.) triggers the server to broadcast data, the server generates a live broadcasting service broadcast and sends the broadcast all over the network.
The generation of the live broadcast service comprises the following steps: determining a first service protocol number and broadcast content; and writing the first service protocol number and the broadcast content into a live broadcast service. And sending the live broadcast service to the live broadcast client so as to load the broadcast content into the live broadcast service interface when the first service protocol number is the same as the second service protocol number of the live broadcast client.
On the basis of the embodiment, the method further comprises the step that the administrator sends the live business component to the service. The administrator uploads the live broadcast service component passing the test to the server, and the uploaded live broadcast service component comprises: a Program Database File (PDB), a first content identifier, a distribution condition (push time), a second service agreement number (push channel), and a download address (and its backup address).
The embodiment of the invention sends the live broadcast page data to the live broadcast client, and simultaneously sends the live broadcast service component which is configured for the live broadcast room and is adaptive to the live broadcast client. The problem that the revenue service is integrated in the software function as a common module and is released through software updating is solved. The method and the device realize flexible background configuration, increase of revenue service issuing modes, display of different revenue activities in different live broadcast rooms, and reduction of revenue service issuing cost and risk through real-time and gray scale online modes.
EXAMPLE five
Fig. 5 is a flowchart of a method for processing a live broadcast service according to a fifth embodiment of the present invention. The method and the device can be suitable for a scene that when the client loads the live broadcast room, the live broadcast service component configured for the live broadcast room and adaptive to the live broadcast client is locally identified and tested. The method is applied to a live client and is executed by a processing device of a live service, and the device can be realized by software and/or hardware and is generally configured on an electronic device.
Referring to fig. 5, the method includes the steps of:
s501, loading the live broadcast room.
In a specific implementation mode, a client detects the behavior of a user, and when the behavior of the user accords with the preset behavior, the client sends a request for live broadcast page data and information of a live broadcast service component to a server, and loads a live broadcast room.
S502, identifying a live broadcast service component configured for the live broadcast room and adapted to the live broadcast client from the local.
In a specific embodiment, since the client is in the debug mode, the live service component configured for the live broadcast room and adapted to the live broadcast client is directly identified from the local. Of course, if the required live service component is not directly identifiable from the local, it is obtained from the server.
S503, determining live broadcast testing activities.
In a particular embodiment, live activity is specified for a testing client by sending a testing activity flag number or sending a default activity flag number to the client.
S504, the live broadcast service component is called according to the test live broadcast activity to load a live broadcast service interface adaptive to the live broadcast room.
In a specific implementation mode, after the live broadcast service component is loaded, the live broadcast room can request data of a specific live broadcast service interface from the server through the live broadcast service component which is loaded successfully and the mark number of the test live broadcast activity, judge whether the data meets the processing condition after the data of the live broadcast service interface is requested successfully, and load the live broadcast service interface in the live broadcast room when the data meets the processing condition.
The embodiment of the invention loads the live broadcast room; identifying a live broadcast service component configured for the live broadcast room and adapted to a live broadcast client from a local place; determining a test live broadcast activity; and calling a live broadcast service component to load a live broadcast service interface adaptive to the live broadcast room according to the test live broadcast activity. The problem that the revenue service is integrated in the software function as a common module and is released through software updating is solved. The method and the device realize flexible background configuration, increase of revenue service issuing modes, display of different revenue activities in different live broadcast rooms, and reduction of revenue service issuing cost and risk through real-time and gray scale online modes.
EXAMPLE six
Fig. 6 is a flowchart of a processing method for live broadcast service according to a sixth embodiment of the present invention. The present embodiment is a refinement performed on the basis of the fifth embodiment, and mainly describes a specific manner of receiving a live broadcast service sent by a server and updating a live broadcast service interface according to the live broadcast service. Referring to fig. 6, the present embodiment includes the steps of:
s601, loading a live broadcast room.
S602, identifying a live broadcast service component configured for the live broadcast room and adapted to the live broadcast client from local.
And S603, determining live broadcast testing activities.
S604, calling the live broadcast service component to load a live broadcast service interface adaptive to the live broadcast room according to the test live broadcast activity.
And S605, receiving the live broadcast service broadcast sent by the server.
In one embodiment, when a preset user behavior (such as a user gift sending, a change of a main broadcasting state, etc.) triggers the server to broadcast data or the server actively generates broadcast data, the server sends a live broadcasting service broadcast all over the network. And the client receives the live broadcast service broadcast sent by the server and updates the live broadcast service interface according to the live broadcast service broadcast.
And S606, updating the live broadcast service interface according to the live broadcast service.
In a specific embodiment, a first service protocol number is extracted from the live broadcast service; determining a second service protocol number of the live broadcast client; if the first service protocol number is the same as the second service protocol number and the first protocol number or the second protocol number is a preset white list, extracting broadcast content from the service broadcast; and loading the broadcast content into the live broadcast service interface.
The embodiment of the invention loads the live broadcast room; identifying a live broadcast service component configured for the live broadcast room and adapted to a live broadcast client from a local place; determining a test live broadcast activity; and calling a live broadcast service component to load a live broadcast service interface adaptive to the live broadcast room according to the test live broadcast activity. The problem that the revenue service is integrated in the software function as a common module and is released through software updating is solved. The method and the device realize flexible background configuration, increase of revenue service issuing modes, display of different revenue activities in different live broadcast rooms, and reduction of revenue service issuing cost and risk through real-time and gray scale online modes.
EXAMPLE seven
Fig. 7 is a structural diagram of a processing apparatus for live broadcast service according to a seventh embodiment of the present invention. The device is applied to a live client and comprises: a livebroadcast loading module 71, a servicecomponent downloading module 72 and a serviceinterface calling module 73. Wherein:
a live broadcastroom loading module 71, configured to load a live broadcast room;
a servicecomponent downloading module 72, configured to download, from a server, a live broadcast service component configured for the live broadcast room and adapted to the live broadcast client;
and the serviceinterface calling module 73 is used for calling the live broadcast service component to load the live broadcast service interface adaptive to the live broadcast room.
The embodiment of the invention loads the live broadcast room; downloading a live broadcast service component which is configured for the live broadcast room and is adaptive to the live broadcast client from a server; and calling the live broadcast service component to load a live broadcast service interface adaptive to the live broadcast room. The problem that the revenue service is integrated in the software function as a common module and is released through software updating is solved. The method and the device realize flexible background configuration, increase of revenue service issuing modes, display of different revenue activities in different live broadcast rooms, and reduction of revenue service issuing cost and risk through real-time and gray scale online modes.
On the basis of the above embodiment, the servicecomponent downloading module 72 is further configured to:
sending the live broadcast room identification of the live broadcast room to a server;
receiving component downloading information returned by the server aiming at the live broadcast room identifier, wherein the component downloading information comprises a downloading address and a first content identifier;
accessing the download address to download a live broadcast service component configured for the live broadcast room and adapted to the live broadcast client;
generating a second content identifier for the live broadcast service component;
and if the first content identifier is the same as the second content identifier, storing the live broadcast service component to a specified position in an installation directory where the live broadcast client is located.
On the basis of the above embodiment, the device further includes a component determining module, configured to:
reading a live broadcast service component from a position appointed in an installation directory where the live broadcast client is located;
judging whether the live broadcast service component is in a specified version or not;
if yes, executing the live broadcast service component to load a live broadcast service interface adaptive to the live broadcast room;
and if not, the slave server downloads a live broadcast service component which is configured for the live broadcast room and is adaptive to the live broadcast client.
On the basis of the above embodiment, determining whether the live service component is a designated version includes:
sending the first version information of the live broadcast room to a server;
and receiving response information which is returned by the server and is used for judging whether the first version information is the appointed version.
On the basis of the above embodiment, the mobile terminal further includes a broadcast receiving module, configured to:
receiving a live broadcast service broadcast sent by a server;
and updating the live broadcast service interface according to the live broadcast service.
On the basis of the above embodiment, updating the live broadcast service interface according to the live broadcast service broadcast includes:
extracting a first service protocol number from the live broadcast service;
determining a second service protocol number of the live broadcast client;
if the first service protocol number is the same as the second service protocol number and the live broadcast client does not have a shielding identifier, extracting broadcast content from the service broadcast;
and loading the broadcast content into the live broadcast service interface.
The information pushing device for the exhibit provided by the embodiment can be used for executing the processing method of the live broadcast service provided by the first embodiment and the second embodiment, and has corresponding functions and beneficial effects.
Example eight
Fig. 8 is a structural diagram of a processing apparatus for a live broadcast service according to an eighth embodiment of the present invention. The device is applied to a server and comprises: a pagedata transmission module 81 and a businesscomponent transmission module 82. Wherein:
the pagedata sending module 81 is configured to send live broadcast page data to a live broadcast client to load a live broadcast room;
and the servicecomponent sending module 82 is used for sending the live broadcast service component configured for the live broadcast room and adapted to the live broadcast client so as to call the live broadcast service component to load a live broadcast service interface adapted to the live broadcast room.
The embodiment of the invention sends the live broadcast page data to the live broadcast client, and simultaneously sends the live broadcast service component which is configured for the live broadcast room and is adaptive to the live broadcast client. The problem that the revenue service is integrated in the software function as a common module and is released through software updating is solved. The method and the device realize flexible background configuration, increase of revenue service issuing modes, display of different revenue activities in different live broadcast rooms, and reduction of revenue service issuing cost and risk through real-time and gray scale online modes.
On the basis of the foregoing embodiment, the servicecomponent sending module 82 is further configured to:
receiving a live broadcast room identifier of the live broadcast room sent by a client;
searching a live broadcast service component corresponding to the live broadcast room identifier, wherein the live broadcast service component has release conditions and component downloading information;
and if the release condition is met, sending the component download information to the live broadcast client so as to download the live broadcast service component which is configured for the live broadcast room and is adaptive to the live broadcast client according to the component download information.
On the basis of the above embodiment, the system further comprises a broadcast data generation module, configured to generate broadcast data;
generating a live broadcast service;
and sending the live broadcast service to the live broadcast client to update the live broadcast service interface.
On the basis of the above embodiment, the generating a live broadcast service includes:
determining a first service protocol number and broadcast content;
writing the first service protocol number and the broadcast content into a live broadcast service;
the sending the live broadcast service to the live broadcast client to update the live broadcast service interface includes:
and sending the live broadcast service to the live broadcast client so as to load the broadcast content into the live broadcast service interface when the first service protocol number is the same as the second service protocol number of the live broadcast client.
The information pushing device for the exhibit provided by the embodiment can be used for executing the processing method of the live broadcast service provided by the third embodiment and the fourth embodiment, and has corresponding functions and beneficial effects.
Example nine
Fig. 9 is a structural diagram of a processing apparatus for live broadcast service according to a ninth embodiment of the present invention. The device is applied to a live client and comprises: the live testroom loading module 91, the testcomponent obtaining module 92, the testactivity determining module 93 and the testinterface calling module 94. Wherein:
a test live broadcastroom loading module 91, configured to load a live broadcast room;
a testcomponent obtaining module 92, configured to locally identify a live broadcast service component configured for the live broadcast room and adapted to the live broadcast client;
a testactivity determination module 93, configured to determine a test live broadcast activity;
and the testinterface calling module 94 is configured to call the live broadcast service component to load a live broadcast service interface adapted to the live broadcast room according to the test live broadcast activity.
The embodiment of the invention loads the live broadcast room; identifying a live broadcast service component configured for the live broadcast room and adapted to a live broadcast client from a local place; determining a test live broadcast activity; and calling a live broadcast service component to load a live broadcast service interface adaptive to the live broadcast room according to the test live broadcast activity. The problem that the revenue service is integrated in the software function as a common module and is released through software updating is solved. The method and the device realize flexible background configuration, increase of revenue service issuing modes, display of different revenue activities in different live broadcast rooms, and reduction of revenue service issuing cost and risk through real-time and gray scale online modes.
On the basis of the above embodiment, the apparatus further includes a broadcast testing module, configured to:
receiving a live broadcast service broadcast sent by a server;
and updating the live broadcast service interface according to the live broadcast service.
On the basis of the foregoing embodiment, the updating the live broadcast service interface according to the live broadcast service broadcast includes:
extracting a first service protocol number from the live broadcast service;
determining a second service protocol number of the live broadcast client;
if the first service protocol number is the same as the second service protocol number and the first protocol number or the second protocol number is a preset white list, extracting broadcast content from the service broadcast;
and loading the broadcast content into the live broadcast service interface.
The information pushing device for the exhibit provided by the embodiment can be used for executing the processing method of the live broadcast service provided by the fifth embodiment and the sixth embodiment, and has corresponding functions and beneficial effects.
Example ten
Fig. 10 is a schematic structural diagram of an electronic device according to a tenth embodiment of the present invention. As shown in fig. 10, the electronic apparatus includes aprocessor 10, amemory 11, acommunication module 12, aninput device 13, and anoutput device 14; the number of theprocessors 10 in the electronic device may be one or more, and oneprocessor 10 is taken as an example in fig. 10; theprocessor 10, thememory 11, thecommunication module 12, theinput device 13 and theoutput device 14 in the electronic apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 10.
Thememory 11 is used as a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and modules, such as modules corresponding to the processing method of a live broadcast service in this embodiment (for example, a livebroadcast loading module 71, a servicecomponent downloading module 72, and a serviceinterface calling module 73 in a processing apparatus of a live broadcast service, or a pagedata sending module 81 and a servicecomponent sending module 82 in a processing apparatus of a live broadcast service, or a livebroadcast loading module 91, a testcomponent acquiring module 92, a testactivity determining module 93, and a testinterface calling module 94 in a processing apparatus of a live broadcast service). Theprocessor 10 executes various functional applications and data processing of the electronic device by running software programs, instructions and modules stored in thememory 11, that is, implements the processing method of the live broadcast service.
Thememory 11 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, thememory 11 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples,memory 11 may further include memory located remotely fromprocessor 10, which may be connected to electronic devices over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
And thecommunication module 12 is used for establishing connection with the display screen and realizing data interaction with the display screen. Theinput device 13 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus.
The electronic device provided in this embodiment of the present invention can execute the processing method of the live broadcast service provided in any embodiment of the present invention, and has corresponding functions and beneficial effects.
EXAMPLE eleven
An eleventh embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions, when executed by a computer processor, are configured to perform a processing method for a live broadcast service, where the method includes:
loading a live broadcast room;
downloading a live broadcast service component which is configured for the live broadcast room and is adaptive to the live broadcast client from a server;
and calling the live broadcast service component to load a live broadcast service interface adaptive to the live broadcast room.
The method further comprises the following steps:
sending live broadcast page data to a live broadcast client to load a live broadcast room;
and sending a live broadcast service component configured for the live broadcast room and adapted to the live broadcast client so as to call the live broadcast service component to load a live broadcast service interface adapted to the live broadcast room.
The method further comprises the following steps:
loading a live broadcast room;
identifying a live service component configured for the live broadcast room and adapted to the live broadcast client from a local place;
determining a test live broadcast activity;
and calling the live broadcast service component to load a live broadcast service interface adaptive to the live broadcast room according to the test live broadcast activity.
Of course, the storage medium provided in the embodiments of the present invention includes computer-executable instructions, where the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the processing method of the live broadcast service provided in any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes instructions for enabling a computer electronic device (which may be a personal computer, a server, or a network electronic device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the processing apparatus for live broadcast service, each unit and each module included in the embodiment are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.