CN113938753B - Live broadcast data processing method and device, storage medium and equipment - Google Patents

Live broadcast data processing method and device, storage medium and equipment Download PDF

Info

Publication number
CN113938753B
CN113938753B CN202111558825.1A CN202111558825A CN113938753B CN 113938753 B CN113938753 B CN 113938753B CN 202111558825 A CN202111558825 A CN 202111558825A CN 113938753 B CN113938753 B CN 113938753B
Authority
CN
China
Prior art keywords
live broadcast
image
broadcast equipment
data
byte stream
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111558825.1A
Other languages
Chinese (zh)
Other versions
CN113938753A (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.)
Beijing Sohu New Power Information Technology Co ltd
Original Assignee
Beijing Sohu New Power Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sohu New Power Information Technology Co ltd filed Critical Beijing Sohu New Power Information Technology Co ltd
Priority to CN202111558825.1A priority Critical patent/CN113938753B/en
Publication of CN113938753A publication Critical patent/CN113938753A/en
Application granted granted Critical
Publication of CN113938753B publication Critical patent/CN113938753B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a live broadcast data processing method, a live broadcast data processing device, a storage medium and equipment. After receiving a drawing board calling instruction sent by a live broadcast equipment terminal, compressing an image generated through user trigger operation to obtain compressed data information, wherein the compressed data information comprises image byte stream data. The method has the advantages that the image byte stream data are sent to the live broadcast equipment end, the live broadcast equipment end enables the image byte stream data and the live broadcast data acquired by the live broadcast equipment end in real time to be combined to obtain effective live broadcast data, compared with the prior art, the method can realize real-time live broadcast of the production process of works without the help of other equipment or external force, and is high in flexibility.

Description

Live broadcast data processing method and device, storage medium and equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a live data processing method and apparatus, a storage medium, and a device.
Background
With the rapid development of self-media, people have entered the self-media era in which live broadcasting is an indispensable part. In order to improve the live effect, the anchor typically uses an electronic device (e.g., a tablet computer, a notebook computer, a smart phone, etc.) including a drawing board function to produce some works (e.g., pictures, etc.).
At present, in an existing live broadcast scene, content is collected through live broadcast equipment (for example, a smart phone), and when a director needs to show a production process of works, the director needs to manually operate a camera device to track and shoot a display interface of electronic equipment, or a display device is configured to perform data transmission with the electronic equipment and show the works. Therefore, the existing live broadcast content acquisition mode cannot realize real-time live broadcast of the production process of works without the help of other equipment or external force, and the flexibility is low.
Disclosure of Invention
The application provides a live broadcast data processing method, a live broadcast data processing device, a storage medium and equipment, and aims to realize real-time live broadcast of a production process of works.
In order to achieve the above object, the present application provides the following technical solutions:
a live data processing method includes:
the method comprises the steps that an IP address and a port number of a live broadcast equipment end are obtained by scanning a two-dimensional code displayed by the live broadcast equipment end, and communication connection is established with the live broadcast equipment end according to the IP address and the port number;
after receiving a drawing board calling instruction sent by the live broadcast equipment terminal, compressing an image generated through user trigger operation to obtain compressed data information; the compressed data information comprises image byte stream data;
and sending the image byte stream data to the live broadcast equipment end, so that the live broadcast equipment end merges the image byte stream data and live broadcast data acquired by the live broadcast equipment end in real time to obtain effective live broadcast data.
Optionally, the compressed data information further includes a data length of the image byte stream data;
the sending the image byte stream data to the live broadcast equipment terminal includes:
sending the data length of the image byte stream data to the live broadcast equipment end;
and after receiving a first response signal fed back by the live broadcast equipment end based on the data length, sending the image byte stream data to the live broadcast equipment end.
Optionally, compressing the image generated through the user triggering operation includes:
acquiring an image generated via a user trigger operation;
judging whether the occupied memory of the image is not greater than a preset threshold value or not;
and if the occupied memory of the image is larger than the preset threshold value, compressing the image.
Optionally, after determining whether the memory occupied by the image is not greater than a preset threshold, the method further includes:
and if the occupied memory of the image is not larger than the preset threshold value, encoding the image to obtain the image byte stream data and the data length of the image byte stream data.
Optionally, the method further includes:
and after receiving a drawing board hiding instruction input by the user, sending a notification message to the live broadcast equipment end, and forbidding the live broadcast equipment end to merge the image byte stream data and the live broadcast data acquired by the live broadcast equipment end in real time.
Optionally, the method further includes:
and under the condition that the triggering operation of the user is not acquired within a preset time period, disconnecting the communication connection with the live broadcast equipment terminal.
Optionally, the method further includes:
and under the condition of receiving a communication ending instruction input by the user, disconnecting the communication connection with the live broadcast equipment terminal.
A live data processing apparatus comprising:
the connection unit is used for scanning the two-dimensional code displayed by the live broadcast equipment terminal to obtain the IP address and the port number of the live broadcast equipment terminal and establishing communication connection with the live broadcast equipment terminal according to the IP address and the port number;
the compression unit is used for compressing the image generated by user triggering operation after receiving a drawing board calling instruction sent by the live broadcast equipment end to obtain compressed data information; the compressed data information comprises image byte stream data;
and the confluence unit is used for sending the image byte stream data to the live broadcast equipment end, so that the live broadcast equipment end merges the image byte stream data and the live broadcast data acquired by the live broadcast equipment end in real time to obtain effective live broadcast data.
A computer-readable storage medium comprising a stored program, wherein the program executes the live data processing method.
A live data processing device, comprising: a processor, a memory, and a bus; the processor and the memory are connected through the bus;
the memory is used for storing programs, and the processor is used for running the programs, wherein the live data processing method is executed when the programs run.
According to the technical scheme, the IP address and the port number of the live broadcast equipment end are obtained by scanning the two-dimensional code displayed by the live broadcast equipment end, and communication connection is established with the live broadcast equipment end according to the IP address and the port number. After receiving a drawing board calling instruction sent by a live broadcast equipment terminal, compressing an image generated through user trigger operation to obtain compressed data information, wherein the compressed data information comprises image byte stream data. The method has the advantages that the image byte stream data are sent to the live broadcast equipment end, the live broadcast equipment end enables the image byte stream data and the live broadcast data acquired by the live broadcast equipment end in real time to be combined to obtain effective live broadcast data, compared with the prior art, the method can realize real-time live broadcast of the production process of works without the help of other equipment or external force, and is high in flexibility.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a live data processing method according to an embodiment of the present application;
fig. 2 is a flowchart of another live data processing method according to an embodiment of the present application;
fig. 3 is a schematic architecture diagram of a live data processing apparatus according to an embodiment of the present application;
fig. 4 is an architecture diagram of a live data processing device according to an embodiment of the present application.
Detailed Description
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 a part of the embodiments of the present application, and not all of the 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.
As shown in fig. 1, a flowchart of a live data processing method provided in an embodiment of the present application is applied to a helper, and specifically, may be applied to an electronic device with a drawing board function, and includes the following steps:
s101: and scanning the two-dimensional code displayed by the live broadcast equipment terminal to obtain the IP address and the port number of the live broadcast equipment terminal, and establishing communication connection with the live broadcast equipment terminal according to the IP address and the port number.
The communication connection established with the live broadcast equipment end includes but is not limited to local area network communication connection according to the IP address and the port number of the live broadcast equipment end, that is, the helper end and the live broadcast equipment end are co-located in the same local area network, and both can send data based on the TCP protocol.
Specifically, the manner of obtaining the IP address and the port number of the live device end includes, but is not limited to: and scanning the two-dimensional code displayed on the screen interface of the live broadcast equipment terminal to obtain the IP address and the port number of the live broadcast equipment terminal. That is, the assistant end according to the embodiment of the present application also needs to have a scanning function.
Of course, the IP address and port number of the live device side may also be directly and manually input by the user.
The so-called TCP protocol is essentially: in adapting a hierarchical architecture supporting multi-network applications, reliable communication services are provided between pairs of processes in host computers connected to different but interconnected computer communication networks by means of TCP, which assumes that it can obtain simple, possibly unreliable, datagram services from lower level protocols, and which in principle should be able to operate over a variety of communication systems connected from hard-wired connections to packet-switched or circuit-switched networks.
S102: after receiving a drawing board calling instruction sent by a live broadcast equipment terminal, acquiring an image generated through user trigger operation, and judging whether the occupied memory of the image is not greater than a preset threshold value.
If the occupied memory of the image is larger than the preset threshold, executing S103, otherwise executing S104.
After receiving a drawing board calling instruction sent by a live broadcast equipment terminal, an assistant terminal can call the drawing board function of the assistant terminal, so that a user can perform triggering operation on a screen interface of the user. Correspondingly, the image generated by the user triggering operation may specifically be: the user performs a trigger operation (for example, hand drawing a picture) on a screen interface (for example, a touch screen) of the assistant end, so that the assistant end generates a picture corresponding to the trigger operation and saves the picture as an image. Generally, it is common knowledge that those skilled in the art realize generation of a screen corresponding to a trigger operation and saving of the screen as an image based on a drawing board function provided in an assistant terminal itself.
Specifically, after receiving a drawing board calling instruction sent by a live broadcast equipment terminal, an assistant terminal provides a drawing board function for a user, that is, the user can perform any drawing on a screen interface of the assistant terminal, for example, drawing with drawing tools such as a painting brush, an eraser, a ruler, and a lasso. In the embodiment of the application, the specific format of the image can be set by a technician according to actual conditions.
S103: and compressing the image to obtain compressed data information.
After execution of S103, execution continues with S105.
Wherein the compressed data information includes image byte stream data and a data length of the image byte stream data.
S104: and coding the image to obtain image byte stream data and the data length of the image byte stream data.
After execution of S104, execution of S105 is continued.
S105: and sending the image byte stream data to a live broadcast equipment end, so that the live broadcast equipment end merges the image byte stream data and live broadcast data acquired by the live broadcast equipment end in real time to obtain effective live broadcast data.
Before sending image byte stream data to a live broadcast equipment end, the data length of the image byte stream data needs to be sent to the live broadcast equipment end, image byte stream data is sent to the live broadcast equipment end after a first response signal fed back by the live broadcast equipment end based on the data length is received, in addition, the data length of the next image byte stream data is sent to the live broadcast equipment end after a second response signal fed back by the live broadcast equipment end based on the image byte stream data is received, and the like, so that the effect of sending a plurality of image byte stream data to the live broadcast equipment end is achieved.
Because the data transmitted from the helper side to the live broadcast equipment side is specifically the image generated by the trigger operation, the information content of the image is generally large (usually hundreds of MB), and the image is directly transmitted to the live broadcast equipment side, which not only occupies the network communication resources, but also occupies the computing resources of the live broadcast equipment side, thereby affecting the normal work (i.e., the live broadcast work) of the live broadcast equipment side.
In order to avoid sending an image with overlarge information amount to the live broadcast equipment end, the image is compressed in advance to obtain image byte stream data, the information amount of the image byte stream data is small, and impact cannot be brought to the live broadcast equipment end and a communication network. However, since the assistant end and the live device end perform data transmission based on the TCP protocol, it is known from the characteristics of the TCP protocol that the assistant end needs to inform the data length of the byte stream data of the image at the live device end when sending the byte stream data of the image to the live device end, that is, the data length of the byte stream data of the image is sent to the live device end in advance, so as to prevent the problem of packet sticking when transmitting the byte stream data of the image (that is, after receiving the byte stream data of the image at the live device end, the byte stream data of the image is buffered in the buffer area, and after receiving the byte stream data of the image for one time, if the byte stream data of the image is not processed in time, the byte stream data of the image received next time is buffered in the buffer area.
In addition, live equipment end carries out the confluence with the live data that self gathered in real time to the byte stream data of image, after obtaining effective live data, and live equipment end can upload the server with effective live data, and the server sends effective live data for each customer end again, conveniently watches live net people who live and can watch the live frame that effective live data shows through the customer end.
Generally, live broadcast pictures watched by netizens include not only live broadcast pictures collected by a live broadcast device, but also pictures collected by a helper (i.e., images generated by user trigger operations). Specifically, assuming that the picture acquired by the live broadcast equipment end is the picture being drawn by the anchor and the picture acquired by the helper end is the image drawn by the anchor on the tablet computer to which the helper end belongs, the netizen watches live broadcast pictures shown by effective live broadcast data through the client, including the picture being drawn by the anchor and the image drawn by the anchor on the tablet computer.
It should be noted that, a specific implementation manner of merging the image byte stream data and the live data acquired by the image byte stream data in real time is common knowledge familiar to those skilled in the art, and is not described herein again.
S106: after a drawing board hiding instruction input by a user is received, a notification message is sent to a live broadcast equipment end, and the live broadcast equipment end is forbidden to perform confluence on image byte stream data and live broadcast data acquired by the live broadcast equipment end in real time.
When a drawing board hiding instruction input by a user is received, sending a notification message to a live broadcast equipment end, forbidding the live broadcast equipment end to merge received image byte stream data with live broadcast data acquired by the live broadcast equipment end in real time, and acquiring live broadcast effective data only by the live broadcast equipment end; and if a drawing board display instruction input by a user is received, sending a notification message to the live broadcast equipment end, and triggering the live broadcast equipment end to merge the received image byte stream data and the live broadcast data acquired by the live broadcast equipment end in real time, wherein the obtained effective live broadcast data is the live broadcast data obtained by merging the image byte stream data of the assistant end and the live broadcast data acquired by the live broadcast equipment end.
According to the process, after the drawing board hiding instruction and the drawing board display instruction input by the user are received, the notification message is sent to the live broadcast equipment terminal, and the display condition of the drawing board can be controlled in real time in the using process of the user.
S107: and under the condition that the triggering operation of the user is not acquired within a preset time period, disconnecting the communication connection with the live broadcast equipment terminal.
After the communication connection with the live equipment terminal is disconnected, the images collected by the assistant terminal are not transmitted to the live equipment terminal.
In addition, when a communication ending instruction input by a user is received, the communication connection with the live broadcast equipment side is disconnected.
In this embodiment, through establishing communication connection with the live broadcast equipment end, call the drawing board after receiving the call instruction that the live broadcast equipment end sent, will compress via the image that the user triggered the operation and generated, obtain compressed data information, send image byte streaming data to the live broadcast equipment end, trigger the live broadcast equipment end and carry out the confluence with the live broadcast data that self gathered in real time with received image byte streaming data, obtain effective live broadcast data, compare with prior art, under the help of other equipment or external force, just can realize the live broadcast in real time to the manufacturing process of works, the flexibility is strong.
As shown in fig. 2, a flowchart of another live data processing method provided in the embodiment of the present application includes the following steps:
s201: and scanning the two-dimensional code displayed by the live broadcast equipment terminal to obtain the IP address and the port number of the live broadcast equipment terminal, and establishing communication connection with the live broadcast equipment terminal according to the IP address and the port number.
S202: and after receiving a drawing board calling instruction sent by a live broadcast equipment terminal, compressing an image generated through user trigger operation to obtain compressed data information.
Wherein the compressed data information comprises image byte stream data.
S203: and sending the image byte stream data to a live broadcast equipment end, so that the live broadcast equipment end merges the image byte stream data and live broadcast data acquired by the live broadcast equipment end in real time to obtain effective live broadcast data.
In this embodiment, through establishing communication connection with the live broadcast equipment end, call the drawing board after receiving the call instruction that the live broadcast equipment end sent, will compress via the image that the user triggered the operation and generated, obtain compressed data information, send image byte streaming data to the live broadcast equipment end, trigger the live broadcast equipment end and carry out the confluence with the live broadcast data that self gathered in real time with received image byte streaming data, obtain effective live broadcast data, compare with prior art, under the help of other equipment or external force, just can realize the live broadcast in real time to the manufacturing process of works, the flexibility is strong.
As shown in fig. 3, an architecture diagram of a live data processing apparatus provided in an embodiment of the present application includes:
the connection unit 100 is configured to obtain an IP address and a port number of the live device end by scanning the two-dimensional code displayed by the live device end, and establish communication connection with the live device end according to the IP address and the port number.
The compression unit 300 is configured to compress an image generated through user trigger operation after receiving a drawing board calling instruction sent by a live broadcast device, so as to obtain compressed data information; the compressed data information includes image byte stream data and a data length of the image byte stream data.
Wherein, the compressing unit 300 is specifically configured to: acquiring an image generated via a user trigger operation; judging whether the memory occupied by the image is not greater than a preset threshold value or not; and if the occupied memory of the image is larger than a preset threshold value, compressing the image.
The merging unit 400 is configured to send the byte stream data of the image to the live broadcast device, so that the live broadcast device merges the byte stream data of the image and the live broadcast data acquired by the live broadcast device in real time, and effective live broadcast data is obtained.
The merging unit 400 is specifically configured to: sending the data length of the image byte stream data to a live broadcast equipment end; and after receiving a first response signal fed back by the live broadcast equipment terminal based on the data length of the image byte stream data, sending the image byte stream data to the live broadcast equipment terminal.
The hiding unit 500 is configured to send a notification message to the live broadcast device end after receiving a drawing board hiding instruction input by a user, and forbid the live broadcast device end from merging the image byte stream data with live broadcast data acquired by the live broadcast device end in real time.
A disconnecting unit 600, configured to disconnect a communication connection with the live device side when the trigger operation of the user is not obtained within a preset time period.
The disconnecting unit 600 is further configured to disconnect the communication connection with the live device side when receiving a communication ending instruction input by the user.
In this embodiment, through establishing communication connection with the live broadcast equipment end, call the drawing board after receiving the call instruction that the live broadcast equipment end sent, will compress via the image that the user triggered the operation and generated, obtain compressed data information, send image byte streaming data to the live broadcast equipment end, trigger the live broadcast equipment end and carry out the confluence with the live broadcast data that self gathered in real time with received image byte streaming data and self and obtain effective live broadcast data, compare with prior art, under the help of other equipment or external force, just can realize the real-time live broadcast to the manufacturing process of works, the flexibility is strong.
The application also provides a computer-readable storage medium, which includes a stored program, wherein the program executes the live data processing method provided by the application.
As shown in fig. 4, the present application further provides a live data processing device, including: a processor 401, a memory 402, and a bus 403. The processor 401 is connected to the memory 402 through the bus 403, the memory 402 is used for storing programs, and the processor 401 is used for running the programs, wherein when the programs are run, the live broadcast data processing method provided by the present application is executed, and the method includes the following steps:
the method comprises the steps that an IP address and a port number of a live broadcast equipment end are obtained by scanning a two-dimensional code displayed by the live broadcast equipment end, and communication connection is established with the live broadcast equipment end according to the IP address and the port number;
after receiving a drawing board calling instruction sent by the live broadcast equipment terminal, compressing an image generated through user trigger operation to obtain compressed data information; the compressed data information comprises image byte stream data;
and sending the image byte stream data to the live broadcast equipment end, so that the live broadcast equipment end merges the image byte stream data and live broadcast data acquired by the live broadcast equipment end in real time to obtain effective live broadcast data.
Specifically, on the basis of the above embodiment, the compressed data information further includes a data length of the image byte stream data;
the sending the image byte stream data to the live broadcast equipment terminal includes:
sending the data length of the image byte stream data to the live broadcast equipment end;
and after receiving a first response signal fed back by the live broadcast equipment end based on the data length, sending the image byte stream data to the live broadcast equipment end.
Specifically, on the basis of the above embodiment, the compressing an image generated through a user trigger operation includes:
acquiring an image generated via a user trigger operation;
judging whether the occupied memory of the image is not greater than a preset threshold value or not;
and if the occupied memory of the image is larger than the preset threshold value, compressing the image.
Specifically, on the basis of the above embodiment, after determining whether the memory occupied by the image is not greater than a preset threshold, the method further includes:
and if the occupied memory of the image is not larger than the preset threshold value, encoding the image to obtain the image byte stream data and the data length of the image byte stream data.
Specifically, on the basis of the above embodiment, the method further includes:
and after receiving a drawing board hiding instruction input by the user, sending a notification message to the live broadcast equipment end, and forbidding the live broadcast equipment end to merge the image byte stream data and the live broadcast data acquired by the live broadcast equipment end in real time.
Specifically, on the basis of the above embodiment, the method further includes:
and under the condition that the triggering operation of the user is not acquired within a preset time period, disconnecting the communication connection with the live broadcast equipment terminal.
Specifically, on the basis of the above embodiment, the method further includes:
and under the condition of receiving a communication ending instruction input by the user, disconnecting the communication connection with the live broadcast equipment terminal.
The functions described in the method of the embodiment of the present application, if implemented in the form of software functional units and sold or used as independent products, may be stored in a storage medium readable by a computing device. Based on such understanding, part of the contribution to the prior art of the embodiments of the present application or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including several instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: u disk, removable hard disk, read only memory, random access memory, magnetic or optical disk, etc. for storing program codes.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A live broadcast data processing method is applied to a helper terminal, and comprises the following steps:
the method comprises the steps that an IP address and a port number of a live broadcast equipment end are obtained by scanning a two-dimensional code displayed by the live broadcast equipment end, and communication connection is established with the live broadcast equipment end according to the IP address and the port number;
after receiving a drawing board calling instruction sent by the live broadcast equipment terminal, compressing an image generated through user trigger operation to obtain compressed data information; the compressed data information comprises image byte stream data;
and automatically sending the image byte stream data to the live broadcast equipment terminal, so that the live broadcast equipment terminal merges the image byte stream data and live broadcast data acquired by the live broadcast equipment terminal in real time to obtain effective live broadcast data.
2. The method of claim 1, wherein the compressed data information further comprises a data length of the image byte stream data;
the sending the image byte stream data to the live broadcast equipment terminal includes:
sending the data length of the image byte stream data to the live broadcast equipment end;
and after receiving a first response signal fed back by the live broadcast equipment end based on the data length, sending the image byte stream data to the live broadcast equipment end.
3. The method of claim 1, wherein compressing the image generated via the user-triggered operation comprises:
acquiring an image generated via a user trigger operation;
judging whether the occupied memory of the image is not greater than a preset threshold value or not;
and if the occupied memory of the image is larger than the preset threshold value, compressing the image.
4. The method of claim 3, wherein after determining whether the memory occupied by the image is not greater than a preset threshold, the method further comprises:
and if the occupied memory of the image is not larger than the preset threshold value, encoding the image to obtain the image byte stream data and the data length of the image byte stream data.
5. The method of claim 1, further comprising:
and after receiving a drawing board hiding instruction input by the user, sending a notification message to the live broadcast equipment end, and forbidding the live broadcast equipment end to merge the image byte stream data and the live broadcast data acquired by the live broadcast equipment end in real time.
6. The method of claim 1, further comprising:
and under the condition that the triggering operation of the user is not acquired within a preset time period, disconnecting the communication connection with the live broadcast equipment terminal.
7. The method of claim 1, further comprising:
and under the condition of receiving a communication ending instruction input by the user, disconnecting the communication connection with the live broadcast equipment terminal.
8. A live data processing apparatus, the apparatus being applied to a helper side, the apparatus comprising:
the connection unit is used for scanning the two-dimensional code displayed by the live broadcast equipment terminal to obtain the IP address and the port number of the live broadcast equipment terminal and establishing communication connection with the live broadcast equipment terminal according to the IP address and the port number;
the compression unit is used for compressing the image generated by user triggering operation after receiving a drawing board calling instruction sent by the live broadcast equipment end to obtain compressed data information; the compressed data information comprises image byte stream data;
and the confluence unit is used for automatically sending the image byte stream data to the live broadcast equipment end, so that the live broadcast equipment end merges the image byte stream data and the live broadcast data acquired by the live broadcast equipment end in real time to obtain effective live broadcast data.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program performs the live data processing method of any of claims 1-7.
10. A live data processing device, comprising: a processor, a memory, and a bus; the processor and the memory are connected through the bus;
the memory is used for storing a program, and the processor is used for executing the program, wherein the program executes the live data processing method of any one of claims 1-7 in a running mode.
CN202111558825.1A 2021-12-20 2021-12-20 Live broadcast data processing method and device, storage medium and equipment Active CN113938753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111558825.1A CN113938753B (en) 2021-12-20 2021-12-20 Live broadcast data processing method and device, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111558825.1A CN113938753B (en) 2021-12-20 2021-12-20 Live broadcast data processing method and device, storage medium and equipment

Publications (2)

Publication Number Publication Date
CN113938753A CN113938753A (en) 2022-01-14
CN113938753B true CN113938753B (en) 2022-04-26

Family

ID=79289242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111558825.1A Active CN113938753B (en) 2021-12-20 2021-12-20 Live broadcast data processing method and device, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN113938753B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018121557A1 (en) * 2016-12-27 2018-07-05 北京奇虎科技有限公司 Live broadcast data display method, device, program and medium
CN108989830A (en) * 2018-08-30 2018-12-11 广州虎牙信息科技有限公司 A kind of live broadcasting method, device, electronic equipment and storage medium
CN109327708A (en) * 2018-11-12 2019-02-12 深圳品阔信息技术有限公司 Live broadcast method, live broadcast device and storage medium
CN112312144A (en) * 2019-07-31 2021-02-02 腾讯科技(深圳)有限公司 Live broadcast method, device, equipment and storage medium
CN113810746A (en) * 2021-09-14 2021-12-17 海信视像科技股份有限公司 Display device and picture sharing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018121557A1 (en) * 2016-12-27 2018-07-05 北京奇虎科技有限公司 Live broadcast data display method, device, program and medium
CN108989830A (en) * 2018-08-30 2018-12-11 广州虎牙信息科技有限公司 A kind of live broadcasting method, device, electronic equipment and storage medium
CN109327708A (en) * 2018-11-12 2019-02-12 深圳品阔信息技术有限公司 Live broadcast method, live broadcast device and storage medium
CN112312144A (en) * 2019-07-31 2021-02-02 腾讯科技(深圳)有限公司 Live broadcast method, device, equipment and storage medium
CN113810746A (en) * 2021-09-14 2021-12-17 海信视像科技股份有限公司 Display device and picture sharing method

Also Published As

Publication number Publication date
CN113938753A (en) 2022-01-14

Similar Documents

Publication Publication Date Title
CN111552450A (en) Screen projection method and device
CN107682714B (en) Method and device for acquiring online video screenshot
CN109085950B (en) Multi-screen interaction method and device based on electronic whiteboard and electronic whiteboard
JP6179179B2 (en) Information processing apparatus, information processing method, and program
US20160080449A1 (en) Terminal device, data transmission method, and computer-readable recording medium
CN110262765B (en) Full-screen display method of upright image, related equipment and system
CN111625211B (en) Screen projection method and device, android device and display device
CN103517072A (en) Video communication method and video communication equipment
WO2013013449A1 (en) Video telephone image magnification method, terminal and video telephone system
CN109168041B (en) Mobile terminal monitoring method and system
CN112764853A (en) Screen projection method, equipment and system
CN112399123A (en) Video definition adjusting method and device, electronic equipment and storage medium
CN105516638A (en) Video call method, device and system
CN113824918A (en) Video call method, device, system and storage medium
CN112218034A (en) Video processing method, system, terminal and storage medium
CN113179208B (en) Interaction method, interaction device and storage medium
CN104639501A (en) Data stream transmission method, equipment and system
CN113938753B (en) Live broadcast data processing method and device, storage medium and equipment
CN111263113B (en) Data packet sending method and device and data packet processing method and device
EP3151481B1 (en) Communication terminal, communication system, and output method
CN112929704A (en) Data transmission method, device, electronic equipment and storage medium
CN104391576A (en) Remote input method and device based on wireless Ethernet
KR101487771B1 (en) Method and apparatus for recovery video informaion in portable communication system
CN115766695A (en) Websocket-based remote browsing method and device for real-time image of industrial camera
KR20120058763A (en) Apparatus and method for transmitting video data in video 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