CN111314303A - Live broadcast system, and data processing method and device of live broadcast system - Google Patents

Live broadcast system, and data processing method and device of live broadcast system Download PDF

Info

Publication number
CN111314303A
CN111314303A CN202010053848.6A CN202010053848A CN111314303A CN 111314303 A CN111314303 A CN 111314303A CN 202010053848 A CN202010053848 A CN 202010053848A CN 111314303 A CN111314303 A CN 111314303A
Authority
CN
China
Prior art keywords
type data
data processing
data
type
processing module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010053848.6A
Other languages
Chinese (zh)
Other versions
CN111314303B (en
Inventor
戴婉君
黄智宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010053848.6A priority Critical patent/CN111314303B/en
Publication of CN111314303A publication Critical patent/CN111314303A/en
Application granted granted Critical
Publication of CN111314303B publication Critical patent/CN111314303B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures

Abstract

The application discloses a live broadcast system, and a data processing method and device of the live broadcast system. The data processing method of the live broadcast system comprises the following steps: receiving first type data from a server and displaying the first type data on a first display interface; and responding to the updating request, converting the first type data into second type data, and displaying the second type data on a second display interface, wherein the second type data is different from the first type data in communication protocol. Through the method and the device, the technical problem that server resources are wasted due to a data sending mode of a live broadcast system in the related technology is solved.

Description

Live broadcast system, and data processing method and device of live broadcast system
Technical Field
The application relates to the technical field of live broadcast data processing, in particular to a live broadcast system, and a data processing method and device of the live broadcast system.
Background
When the live broadcast system provides live broadcast for a user, the data transmission mode of the live broadcast system is mainly to transmit the same data simultaneously by using two data transmission modes, wherein one data transmission mode is a real-time transmission mode using a TCP protocol, and the other data transmission mode is a transmission mode using an HTTP protocol and performing non-timing refresh, as shown in fig. 1 specifically.
In the live broadcast, the client is randomly allocated to the idle server, so that each server needs to deploy a module using the TCP protocol and a module using the HTTP protocol at the same time. However, in the actual use process of the client, the TCP protocol is frequently used, and the HTTP protocol is frequently used, which wastes server resources to a certain extent.
Aiming at the technical problem that server resources are wasted due to a data sending mode of a live broadcast system in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The present application mainly aims to provide a live broadcast system, a data processing method and an apparatus for a live broadcast system, so as to solve the technical problem of server resource waste caused by a data sending manner of the live broadcast system in the related art.
In order to achieve the above object, according to an aspect of the present application, a data processing method of a live broadcast system is provided. The method comprises the following steps: receiving first type data from a server, and displaying the first type data on a first display interface; and responding to an updating request, converting the first type data into second type data, and displaying the second type data on a second display interface, wherein the second type data is different from a communication protocol adopted by the first type data.
Optionally, the converting the first type data into the second type data in response to the update request includes: responding to an updating request, and sending a data request to a first type data processing module through a second type data processing module, wherein the first type data processing module is used for receiving first type data from a server; and after the second type data processing module receives the first type data sent by the first type data processing module based on the data request, converting the first type data into second type data through the second type data processing module.
Optionally, sending, by the second type data processing module, a data request to the first type data processing module in response to the update request includes: and when the second display interface is detected to have a data updating requirement, sending a data request to the first type data processing module through the second type data processing module.
Optionally, displaying the first type data on a first display interface includes: sending the first type data to the first display interface through the first type data processing module so that the first display interface can display the first type data; displaying the second type of data on a second display interface, including: and sending the second type data to the second display interface through the second type data processing module so that the second display interface can display the second type data.
Optionally, the first type data is TCP data using a TCP communication protocol; the second type data is HTTP data adopting an HTTP communication protocol.
Optionally, the first type data processing module is a TCP module; the second type data processing module is an HTTP module.
In order to achieve the above object, according to another aspect of the present application, there is provided a data processing apparatus of a live system. The device includes: the receiving unit is used for receiving the first type data from the server and displaying the first type data on a first display interface; and the response unit is used for responding to the updating request, converting the first type data into second type data and displaying the second type data on a second display interface, wherein the second type data and the first type data adopt different communication protocols.
To achieve the above object, according to another aspect of the present application, a live broadcast system is provided. The live broadcast system at least comprises a client connected with a server, and the client comprises: the first type data processing module is in communication connection with the server and used for receiving first type data sent by the server and sending the first type data to a first display interface; the second type data processing module is in communication connection with the first type data processing module and is used for sending a data request to the first type data processing module when detecting that a second display interface has a data updating requirement, receiving the first type data returned by the first type data processing module, converting the first type data into second type data and sending the second type data to the second display interface for display; wherein the second type of data is different from the first type of data in communication protocol.
In order to achieve the above object, according to another aspect of the present application, there is provided a processor including a stored program, wherein the program performs the data processing method of the live broadcast system of any one of the above.
In order to achieve the above object, according to another aspect of the present application, there is provided a storage medium including a stored program, wherein the program executes a data processing method of a live system of any one of the above.
In order to achieve the above object, according to another aspect of the present application, there is provided a terminal including: one or more processors, memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising data processing methods for performing the live system of any of the above.
In order to achieve the above object, according to another aspect of the present application, there is provided an electronic apparatus including: one or more processors, memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising data processing methods for performing the live system of any of the above.
According to the data processing method of the live broadcast system, the first type data from the server is received, and the first type data is displayed on the first display interface; responding to an update request, converting the first type data into second type data, and displaying the second type data on a second display interface, wherein the second type data is different from the first type data in communication protocol, thereby solving the technical problem of server resource waste caused by a data transmission mode of a live broadcast system in the related technology.
It should be noted that: the data processing method of the live system is applied to the client side of the live system.
That is, in the data processing method of the live broadcast system provided in the embodiment of the present application, the processing task of converting the target data in the database into the first type of data is completed at the server, and the processing task of converting the first type of data into the second type of data is completed at the client. At this time, the transmission work of the first type data is carried out between the client and the server, and the transmission work of the second type data is not required, so that the technical effect of saving server resources and network flow resources is achieved.
Further, it should be noted that: in the data processing method of the live broadcast system provided by the embodiment of the application, the client converts the first type data based on the update request. Therefore, the resource occupation of the client is small in the data processing method, and the normal use of the client is not influenced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
fig. 1 is a schematic diagram of a transmission manner of live data in the prior art;
fig. 2 is a flowchart of a data processing method of a live broadcast system provided according to an embodiment of the present application;
fig. 3 is a first schematic diagram of a live broadcast system provided in an embodiment of the present application;
fig. 4 is a second schematic diagram of a live broadcast system provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a data processing apparatus of a live broadcast system according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to the embodiment of the application, a data processing method of a live broadcast system is provided.
Fig. 2 is a flowchart of a data processing method of a live broadcast system according to an embodiment of the present application. As shown in fig. 2, the method comprises the steps of:
step S102, receiving first type data from a server, and displaying the first type data on a first display interface.
Step S104, responding to the update request, converting the first type data into second type data, and displaying the second type data on a second display interface, wherein the second type data is different from the first type data in communication protocol.
According to the data processing method of the live broadcast system, the first type data from the server is received, and the first type data is displayed on the first display interface; responding to an update request, converting the first type data into second type data, and displaying the second type data on a second display interface, wherein the second type data is different from the first type data in communication protocol, thereby solving the technical problem of server resource waste caused by a data transmission mode of a live broadcast system in the related technology.
It should be noted that: the data processing method of the live system is applied to the client side of the live system.
That is, in the data processing method of the live broadcast system provided in the embodiment of the present application, the processing task of converting the target data in the database into the first type of data is completed at the server, and the processing task of converting the first type of data into the second type of data is completed at the client. At this time, the transmission work of the first type data is carried out between the client and the server, and the transmission work of the second type data is not required, so that the technical effect of saving server resources and network flow resources is achieved.
Further, it should be noted that: in the data processing method of the live broadcast system provided by the embodiment of the application, the client converts the first type data based on the update request. Therefore, the resource occupation of the client is small in the data processing method, and the normal use of the client is not influenced.
In an optional example, converting the first type of data into a second type of data in response to an update request includes: responding to an updating request, and sending a data request to a first type data processing module through a second type data processing module, wherein the first type data processing module is used for receiving first type data from a server; and after the second type data processing module receives the first type data sent by the first type data processing module based on the data request, converting the first type data into second type data through the second type data processing module.
That is, the client includes a first type data processing module and a second type data processing module, where the first type data processing module is configured to receive first type data sent by the server, the second type data processing module is configured to send a data request to the first type data processing module based on the update request to obtain the first type data returned by the first type data processing module, and at this time, the second type data processing module converts the obtained first type data into second type data to send the second type data to the second display interface for display processing.
In an optional example, sending, by the second type data processing module, the data request to the first type data processing module in response to the update request includes: and when the second display interface is detected to have a data updating requirement, sending a data request to the first type data processing module through the second type data processing module.
That is, when the second display interface of the client needs to update data, the second-type data processing module sends a request to the first-type data module, so that the first-type data processing module sends the existing first-type data to the second-type data module.
In one optional example, displaying the first type of data on a first display interface includes: sending the first type data to the first display interface through the first type data processing module so that the first display interface can display the first type data; displaying the second type of data on a second display interface, including: and sending the second type data to the second display interface through the second type data processing module so that the second display interface can display the second type data.
That is, when the client receives the first type data sent by the server through the first type data processing module, the first type data is continuously sent to the first display interface through the first type data processing module, so that the first display interface can display and play the first type data; similarly, when the client converts the first type data through the second type data processing module to obtain the second type data, the second type data is continuously sent to the second display interface through the second type data processing module, so that the second display interface can display and play the second type data.
In an optional example, the first type of data is TCP data using a TCP communication protocol; the second type data is HTTP data adopting an HTTP communication protocol. Similarly, the first type data processing module is a TCP module; the second type data processing module is an HTTP module.
The invention will now be described with reference to another embodiment.
Fig. 3 is a first schematic diagram of a live system according to an embodiment of the present application. The live broadcast system at least includes a client connected to the server, as shown in fig. 3, the client includes: the device comprises a first type data processing module and a second type data processing module.
The first type data processing module is in communication connection with the server and used for receiving first type data sent by the server and sending the first type data to a first display interface;
and the second type data processing module is in communication connection with the first type data processing module and is used for sending a data request to the first type data processing module when detecting that a second display interface has a data updating requirement, receiving the first type data returned by the first type data processing module, converting the first type data into second type data and sending the second type data to the second display interface for display.
The live broadcast system provided by the embodiment of the application receives first type data sent by a server by enabling a first type data processing module of a client to be in communication connection with the server, and sends the first type data to a first display interface; and the second type data processing module of the client is in communication connection with the first type data processing module, so that when the second display interface is detected to have a data updating requirement, a data request is sent to the first type data processing module, the first type data returned by the first type data processing module is received, the first type data is converted into the second type data to be sent to the second display interface for display, and the technical problem of server resource waste caused by a data sending mode of a live broadcast system in the related technology is solved.
It should be noted that: the second type of data is different from the first type of data in communication protocol.
That is, in the live broadcast system provided in the embodiment of the present application, the processing task of converting the target data in the database into the first type data is performed at the server, and the processing task of converting the first type data into the second type data is performed at the client. At this time, the transmission work of the first type data is carried out between the client and the server, and the transmission work of the second type data is not required, so that the technical effect of saving server resources and network flow resources is achieved.
Further, it should be noted that: in the live broadcast system provided by the embodiment of the application, the client converts the first type data based on the update request. Therefore, the resource occupation of the client in the live broadcast system is small, and the normal use of the client is not influenced.
In an alternative example, the first type data processing module contains a program using a TCP protocol; the second type data processing module comprises a program using HTTP protocol and a first data conversion program, wherein the second type data processing module converts the first type data into second type data through the first data conversion program, for example: converting the TCP data into HTTP data.
In an optional example, the live broadcast system further includes a server, the server is connected to the database, the server includes a first type data processing module, the first type data processing module includes a program using a TCP protocol and a second data conversion program, wherein the first type data processing module of the server converts target data in the database into the first type data through the second data conversion program, for example: and converting the target data of the database into TCP data.
In an optional example, the client of the live broadcast system further includes a first display interface and a second display interface, where the first display interface is in communication connection with the first type data processing module of the client, and is configured to receive the first type data sent by the first type data processing module, so as to perform playing and displaying; the second display interface is in communication connection with a second type data processing module of the client and is used for receiving second type data sent by the second type data processing module so as to play and display the second type data. For example: the TCP display window receives and displays the TCP data, and the HTTP display window receives and displays the HTTP data.
For example, the following steps are carried out: as shown in fig. 4, an alternative live system includes: server, client (and database).
The server comprises a server TCP module, wherein the server TCP module comprises a program using a TCP protocol and a second data conversion program;
the client comprises a client TCP module, a client HTTP module, a TCP display window and an HTTP display window, wherein the client TCP module comprises a program using a TCP protocol; the client HTTP module comprises a program using HTTP protocol and a first data conversion program, and is directly connected to the client TCP module.
Specifically, target data in a database is called, and the target data is sent to a TCP module of a server; at the moment, the received target data is converted into TCP data through a second data conversion program in the server TCP module, and the obtained TCP data is sent to the client TCP module through the server TCP module; after receiving the TCP data, the TCP module of the client sends the TCP data to a TCP display window, and the TCP display window displays the data.
Further, when the HTTP display window of the client needs to update data, the HTTP module of the client sends a data request to the TCP module of the client, the TCP module of the client sends the existing TCP data to the HTTP module, the HTTP module of the client converts the received TCP data into HTTP data through the first data conversion program, and then sends the HTTP data to the HTTP display window, and the HTTP display window displays the data.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the present application further provides a data processing apparatus of a live broadcast system, and it should be noted that the data processing apparatus of the live broadcast system in the embodiment of the present application may be used to execute the data processing method for the live broadcast system provided in the embodiment of the present application. The following describes a data processing apparatus of a live broadcast system according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a data processing apparatus of a live system according to an embodiment of the present application. As shown in fig. 5, the apparatus includes: a receiving unit 51 and a responding unit 53.
The receiving unit 51 is configured to receive the first type data from the server and display the first type data on a first display interface.
The response unit 53 is configured to respond to the update request, convert the first type data into second type data, and display the second type data on a second display interface, where the second type data is different from a communication protocol used for the first type data.
The data processing device of the live broadcast system provided by the embodiment of the application receives first type data from a server through a receiving unit 51, and displays the first type data on a first display interface; the response unit 53 responds to the update request, converts the first type data into second type data, and displays the second type data on a second display interface, where the second type data is different from the first type data in a communication protocol, which solves the technical problem of server resource waste caused by a data transmission mode of a live broadcast system in the related art.
It should be noted that: the data processing method of the live system is applied to the client side of the live system.
That is, in the data processing method of the live broadcast system provided in the embodiment of the present application, the processing task of converting the target data in the database into the first type of data is completed at the server, and the processing task of converting the first type of data into the second type of data is completed at the client. At this time, the transmission work of the first type data is carried out between the client and the server, and the transmission work of the second type data is not required, so that the technical effect of saving server resources and network flow resources is achieved.
Further, it should be noted that: in the data processing method of the live broadcast system provided by the embodiment of the application, the client converts the first type data based on the update request. Therefore, the resource occupation of the client is small in the data processing method, and the normal use of the client is not influenced.
The data processing device of the live broadcast system comprises a processor and a memory, wherein the receiving unit 51, the response unit 53 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can set one or more, and the problem of C is processed by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium on which a program is stored, where the program, when executed by a processor, implements a data processing method of the live broadcast system.
The embodiment of the invention provides a processor, which is used for running a program, wherein the data processing method of a live broadcast system is executed when the program runs.
An embodiment of the present invention provides a terminal, including: one or more processors, memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising data processing methods for performing the live system of any of the above.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: receiving first type data from a server, and displaying the first type data on a first display interface; and responding to an updating request, converting the first type data into second type data, and displaying the second type data on a second display interface, wherein the second type data is different from a communication protocol adopted by the first type data.
Optionally, the converting the first type data into the second type data in response to the update request includes: responding to an updating request, and sending a data request to a first type data processing module through a second type data processing module, wherein the first type data processing module is used for receiving first type data from a server; and after the second type data processing module receives the first type data sent by the first type data processing module based on the data request, converting the first type data into second type data through the second type data processing module.
Optionally, sending, by the second type data processing module, a data request to the first type data processing module in response to the update request includes: and when the second display interface is detected to have a data updating requirement, sending a data request to the first type data processing module through the second type data processing module.
Optionally, displaying the first type data on a first display interface includes: sending the first type data to the first display interface through the first type data processing module so that the first display interface can display the first type data; displaying the second type of data on a second display interface, including: and sending the second type data to the second display interface through the second type data processing module so that the second display interface can display the second type data.
Optionally, the first type data is TCP data using a TCP communication protocol; the second type data is HTTP data adopting an HTTP communication protocol.
Optionally, the first type data processing module is a TCP module; the second type data processing module is an HTTP module. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: receiving first type data from a server, and displaying the first type data on a first display interface; and responding to an updating request, converting the first type data into second type data, and displaying the second type data on a second display interface, wherein the second type data is different from a communication protocol adopted by the first type data.
Optionally, the converting the first type data into the second type data in response to the update request includes: responding to an updating request, and sending a data request to a first type data processing module through a second type data processing module, wherein the first type data processing module is used for receiving first type data from a server; and after the second type data processing module receives the first type data sent by the first type data processing module based on the data request, converting the first type data into second type data through the second type data processing module.
Optionally, sending, by the second type data processing module, a data request to the first type data processing module in response to the update request includes: and when the second display interface is detected to have a data updating requirement, sending a data request to the first type data processing module through the second type data processing module.
Optionally, displaying the first type data on a first display interface includes: sending the first type data to the first display interface through the first type data processing module so that the first display interface can display the first type data; displaying the second type of data on a second display interface, including: and sending the second type data to the second display interface through the second type data processing module so that the second display interface can display the second type data.
Optionally, the first type data is TCP data using a TCP communication protocol; the second type data is HTTP data adopting an HTTP communication protocol.
Optionally, the first type data processing module is a TCP module; the second type data processing module is an HTTP module.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (12)

1. A data processing method of a live broadcast system is characterized by comprising the following steps:
receiving first type data from a server, and displaying the first type data on a first display interface;
and responding to an updating request, converting the first type data into second type data, and displaying the second type data on a second display interface, wherein the second type data is different from a communication protocol adopted by the first type data.
2. The method of claim 1, wherein converting the first type of data to a second type of data in response to an update request comprises:
responding to an updating request, and sending a data request to a first type data processing module through a second type data processing module, wherein the first type data processing module is used for receiving first type data from a server;
and after the second type data processing module receives the first type data sent by the first type data processing module based on the data request, converting the first type data into second type data through the second type data processing module.
3. The method of claim 2, wherein sending a data request to the first type data processing module via the second type data processing module in response to the update request comprises:
and when the second display interface is detected to have a data updating requirement, sending a data request to the first type data processing module through the second type data processing module.
4. The method of claim 2,
displaying the first type data on a first display interface, including: sending the first type data to the first display interface through the first type data processing module so that the first display interface can display the first type data;
displaying the second type of data on a second display interface, including: and sending the second type data to the second display interface through the second type data processing module so that the second display interface can display the second type data.
5. The method according to any one of claims 1-4, wherein the first type of data is TCP data using a TCP communication protocol; the second type data is HTTP data adopting an HTTP communication protocol.
6. The method according to any one of claims 1 to 4, wherein the first type data processing module is a TCP module; the second type data processing module is an HTTP module.
7. A data processing apparatus of a live system, characterized in that the data processing apparatus comprises:
the receiving unit is used for receiving the first type data from the server and displaying the first type data on a first display interface;
and the response unit is used for responding to the updating request, converting the first type data into second type data and displaying the second type data on a second display interface, wherein the second type data and the first type data adopt different communication protocols.
8. A live system comprising at least a client connected to a server, the client comprising:
the first type data processing module is in communication connection with the server and used for receiving first type data sent by the server and sending the first type data to a first display interface;
the second type data processing module is in communication connection with the first type data processing module and is used for sending a data request to the first type data processing module when detecting that a second display interface has a data updating requirement, receiving the first type data returned by the first type data processing module, converting the first type data into second type data and sending the second type data to the second display interface for display;
wherein the second type of data is different from the first type of data in communication protocol.
9. A processor, characterized in that the processor is configured to run a program, wherein the program when running performs the data processing method of the live system of any one of claims 1 to 6.
10. A terminal, comprising: one or more processors, memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising data processing means for performing the live system of any of claims 1-6.
11. A storage medium characterized in that the storage medium includes a stored program, wherein the program executes a data processing method of the live system of any one of claims 1 to 6.
12. An electronic device, comprising: one or more processors, memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising data processing means for performing the live system of any of claims 1-6.
CN202010053848.6A 2020-01-17 2020-01-17 Live broadcast system, and data processing method and device of live broadcast system Active CN111314303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010053848.6A CN111314303B (en) 2020-01-17 2020-01-17 Live broadcast system, and data processing method and device of live broadcast system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010053848.6A CN111314303B (en) 2020-01-17 2020-01-17 Live broadcast system, and data processing method and device of live broadcast system

Publications (2)

Publication Number Publication Date
CN111314303A true CN111314303A (en) 2020-06-19
CN111314303B CN111314303B (en) 2022-11-22

Family

ID=71146797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010053848.6A Active CN111314303B (en) 2020-01-17 2020-01-17 Live broadcast system, and data processing method and device of live broadcast system

Country Status (1)

Country Link
CN (1) CN111314303B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130179546A1 (en) * 2012-01-11 2013-07-11 Kt Corporation Converting data stream in user equipment
CN103986942A (en) * 2014-06-05 2014-08-13 北京赛维安讯科技发展有限公司 Data distribution system and method based on CDN (content distribution network)
CN105791223A (en) * 2014-12-22 2016-07-20 联想(北京)有限公司 Media stream data processing method and system and electronic equipment
CN107948762A (en) * 2016-10-13 2018-04-20 华为技术有限公司 The transmission method of live video, device and system
CN109936527A (en) * 2017-12-15 2019-06-25 中兴通讯股份有限公司 The transmission method and network node of live data
CN110312140A (en) * 2019-05-30 2019-10-08 北京奇艺世纪科技有限公司 Live data processing method, device, system and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130179546A1 (en) * 2012-01-11 2013-07-11 Kt Corporation Converting data stream in user equipment
CN103986942A (en) * 2014-06-05 2014-08-13 北京赛维安讯科技发展有限公司 Data distribution system and method based on CDN (content distribution network)
CN105791223A (en) * 2014-12-22 2016-07-20 联想(北京)有限公司 Media stream data processing method and system and electronic equipment
CN107948762A (en) * 2016-10-13 2018-04-20 华为技术有限公司 The transmission method of live video, device and system
CN109936527A (en) * 2017-12-15 2019-06-25 中兴通讯股份有限公司 The transmission method and network node of live data
CN110312140A (en) * 2019-05-30 2019-10-08 北京奇艺世纪科技有限公司 Live data processing method, device, system and computer readable storage medium

Also Published As

Publication number Publication date
CN111314303B (en) 2022-11-22

Similar Documents

Publication Publication Date Title
CN108647089B (en) Resource allocation method, device, terminal and storage medium
CN109542614B (en) Resource allocation method, device, terminal and storage medium
CN109561128B (en) Data transmission method and device
CN111291292A (en) Page rendering method and device, terminal equipment and storage medium
CN111580769B (en) Display control system, method, device, storage medium and processor
CN111222592B (en) Method and device for acquiring two-dimensional code of equipment
CN112954076B (en) Data acquisition method
CN110032364B (en) Data processing method, device, electronic equipment and computer storage medium
CN107395663B (en) Data acquisition method and device
CN106599045B (en) Request sending method and device
CN111625443A (en) Pressure testing method, device, equipment and storage medium
CN107329832B (en) Data receiving method and device
CN116456496B (en) Resource scheduling method, storage medium and electronic equipment
CN111314303B (en) Live broadcast system, and data processing method and device of live broadcast system
WO2017118129A1 (en) Spectrum resource sharing method and apparatus
CN112583879A (en) Request processing method, device and system, storage medium and electronic equipment
CN106899652B (en) Method and device for pushing service processing result
CN114895851A (en) Data processing method, data processing device, storage medium and electronic equipment
CN114265713A (en) RDMA event management method, device, computer equipment and storage medium
CN114996134A (en) Containerized deployment method, electronic equipment and storage medium
US9479579B2 (en) Grouping processing method and system
CN110839053B (en) Device communication method, device and storage medium
CN113992493A (en) Video processing method, system, device and storage medium
CN109286510B (en) Method and device for collecting log data
CN112579189A (en) Configuration file updating method and device

Legal Events

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