CN113422972B - Live broadcast picture switching method and device, electronic equipment and readable medium - Google Patents
Live broadcast picture switching method and device, electronic equipment and readable medium Download PDFInfo
- Publication number
- CN113422972B CN113422972B CN202110623167.3A CN202110623167A CN113422972B CN 113422972 B CN113422972 B CN 113422972B CN 202110623167 A CN202110623167 A CN 202110623167A CN 113422972 B CN113422972 B CN 113422972B
- Authority
- CN
- China
- Prior art keywords
- live broadcast
- picture
- live
- field
- current
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000012544 monitoring process Methods 0.000 claims abstract description 41
- 230000002452 interceptive effect Effects 0.000 claims description 24
- 238000004891 communication Methods 0.000 claims description 16
- 238000005192 partition Methods 0.000 claims description 4
- 230000000007 visual effect Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing 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/44012—Processing 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 rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44213—Monitoring of end-user related data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Social Psychology (AREA)
- Computer Networks & Wireless Communication (AREA)
- User Interface Of Digital Computer (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
A live broadcast picture switching method and device, an electronic device and a readable medium are provided, wherein the live broadcast picture switching method comprises the following steps: configuring a front-end page and a designated field corresponding to each live broadcast picture; wherein the designated field is used for identifying different live pictures; monitoring whether the current designated field of the live broadcast picture changes in real time; and if the specified field of the live broadcast picture is changed, controlling the front end to render the corresponding front end page according to the changed current specified field to generate the current live broadcast picture. According to the invention, the live broadcast picture is manually switched without interrupting watching and reloading resources by the user, so that the resource loading time can be effectively saved, the optimal watching visual angle of the user can be switched in time, and the watching experience of the user is improved.
Description
Technical Field
The invention belongs to the technical field of live broadcast, is particularly suitable for an online video live broadcast technology, and more particularly relates to a live broadcast picture switching method and device, electronic equipment and a computer readable medium.
Background
With the continuous development of internet technology, live broadcast becomes an emerging social networking mode, and certain activities such as game live broadcast, shopping live broadcast and the like are played on a network platform in real time in a video and audio mode. The audience can watch the images in real time through electronic equipment such as a computer, a mobile phone, a tablet computer and the like.
In the current live broadcast mode, a main broadcast records and sends audio and video streams, and the server pushes the audio and video streams to audiences in a live broadcast room for the audiences to view, and the interaction between the main broadcast and the audiences in the live broadcast room can be realized.
Although the purpose of audio and video stream pushing and direct broadcasting room internal interaction is achieved in the existing direct broadcasting mode, only one direct broadcasting picture (the direct broadcasting picture is used for describing the display mode of the direct broadcasting content) can be presented in the whole direct broadcasting process, automatic switching of a plurality of direct broadcasting pictures cannot be achieved, when the position of a main broadcast changes or a direct broadcasting scene changes, a user is required to stop watching, and the user enters the direct broadcasting room again to reload resources to manually switch the direct broadcasting picture. The repeated loading of the resources takes a relatively long time, and the optimal viewing angle of the user cannot be switched to in time, so that the viewing experience of the user is affected regardless of the interruption of the viewing or the reloading of the resources.
Disclosure of Invention
In view of the above, the present invention is directed to a live frame switching method and apparatus, an electronic device and a computer-readable medium, so as to at least partially solve at least one of the above technical problems.
In order to solve the above technical problem, a first aspect of the present invention provides a live view switching method, including the following steps:
configuring a front-end page and a designated field corresponding to each live broadcast picture; wherein the designated field is used for identifying different live pictures;
monitoring whether the current designated field of the live broadcast picture changes in real time;
and if the specified field of the live broadcast picture is changed, controlling the front end to render the corresponding front end page according to the changed current specified field to generate the current live broadcast picture.
A second aspect of the present invention provides a live view switching apparatus, including:
the configuration module is used for configuring a front-end page and a designated field corresponding to each live broadcast picture; wherein the designated field is used for identifying different live pictures;
the monitoring module is used for monitoring whether the current designated field of the live broadcast picture changes in real time;
and the generation module is used for controlling the front end to render a corresponding front end page according to the changed current designated field to generate the current live broadcast picture when the current designated field of the live broadcast picture is changed.
The third aspect of the present invention also proposes an electronic device comprising a processor and a memory for storing a computer-executable program, which when executed by the processor performs the method.
The fourth aspect of the present invention also proposes a computer-readable medium storing a computer-executable program, which when executed, implements the method.
Based on the above technical solution, the live view switching method and apparatus, the electronic device, and the computer readable medium of the present invention have at least one of the following advantages over the prior art:
the method and the device have the advantages that the front-end page and the designated field corresponding to each live broadcast picture are configured in advance, so that the automatic switching of the live broadcast pictures can be completed with simple operation, and the problem that the automatic switching of a horizontal screen and a vertical screen cannot be realized in the prior art is solved;
according to the method and the device, the live broadcast picture is manually switched without interrupting watching and reloading resources by a user, so that the resource loading time can be effectively saved, the optimal watching visual angle of the user can be switched in time, and the watching experience of the user is improved;
the method and the device can determine whether the designated field changes or not by monitoring the timely communication message sent by the live broadcast end, controlling the live broadcast link sent by the central console and/or the touch operation of the user in the live broadcast picture, support the switching of the live broadcast picture by a plurality of control parties such as the main broadcast end, the central console and the user end, and have the characteristics of flexibility, high efficiency, easy control and good robustness.
Drawings
Fig. 1 is a flow chart diagram of a live view switching method of the present invention;
FIG. 2a is a schematic view of a landscape screen according to the present invention;
FIG. 2b is a schematic view of a portrait screen of the present invention;
FIG. 3 is a schematic structural diagram of a live view switching apparatus according to the present invention;
FIG. 4 is a schematic structural diagram of an electronic device of one embodiment of the invention;
fig. 5 is a schematic diagram of a computer-readable recording medium of an embodiment of the present invention.
Detailed Description
In the description of the specific embodiments, the details of construction, performance, effects, or other characteristics are set forth in order to provide a thorough understanding of the embodiments for one skilled in the art. However, it is not excluded that a person skilled in the art may implement the invention in a specific case without the above-described structures, performances, effects or other features.
The flowcharts in the figures are merely exemplary flow illustrations and do not represent that all of the contents, operations, and steps in the flowcharts must be included in the aspects of the present invention, nor that they must be performed in the order shown in the figures. For example, some operations/steps in the flowcharts may be divided, some operations/steps may be combined or partially combined, and the like, and the execution order shown in the flowcharts may be changed according to actual situations without departing from the gist of the present invention.
The block diagrams in the figures generally represent functional entities and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different network and/or processing unit devices and/or microcontroller devices.
The same reference numerals denote the same or similar elements, components, or parts throughout the drawings, and thus, a repetitive description thereof may be omitted hereinafter. It will also be understood that, although the terms first, second, third, etc. may be used herein to describe various elements, components, or sections, these elements, components, or sections should not be limited by these terms. That is, these phrases are used only to distinguish one from another. For example, a first device may also be referred to as a second device without departing from the spirit of the present invention. Furthermore, the term "and/or", "and/or" is intended to include all combinations of any one or more of the listed items.
In order to solve the technical problems that only one live broadcast picture can be presented in the live broadcast process, when the position of a main broadcast is changed or a live broadcast scene is changed, a user needs to interrupt watching and enter a live broadcast room again to reload resources to manually switch the live broadcast picture, the invention provides a live broadcast picture switching method, which comprises the following steps:
pre-configuring a front-end page and a designated field corresponding to each live broadcast picture; wherein the designated field is used to identify different live pictures;
whether a switching instruction of the live broadcast picture exists is determined by monitoring whether the current specified field of the live broadcast picture changes, if the current specified field of the live broadcast picture changes, the live broadcast picture switching instruction is received, and the front end is controlled to render a corresponding front end page to generate the current live broadcast picture according to the changed specified field, so that the automatic switching of the live broadcast picture is completed.
According to a preferred embodiment of the present invention, the step of monitoring whether the currently specified field of the live view changes in real time specifically includes:
monitoring timely communication messages sent by a main broadcasting end in real time;
parsing a specified field in the instant communication message;
and judging whether the specified field in the instant communication message is the same as the current specified field.
According to a preferred embodiment of the present invention, the step of monitoring whether the currently specified field of the live view changes in real time specifically includes:
monitoring live broadcast links sent by a center console in real time;
analyzing an interface field created in the live link;
and judging whether the interface field is the same as the current specified field.
According to a preferred embodiment of the present invention, the step of monitoring whether the currently specified field of the live view changes in real time specifically includes:
monitoring touch operation of a user in a live broadcast picture in real time; each touch operation corresponds to one designated field;
and judging whether the designated field corresponding to the touch operation is the same as the current designated field.
According to a preferred embodiment of the present invention, the touch operation is a click on a live broadcast screen, or a click on a designated button in a live broadcast screen, wherein different numbers of clicks correspond to different designated fields; and/or
The touch operation is pressing operation of a live-broadcasting picture or pressing operation of a designated button in the live-broadcasting picture, wherein different pressing pressures correspond to different designated fields; and/or
The touch operation is a click operation of preset buttons and/or patterns in the live-broadcast picture, wherein different preset buttons and/or patterns correspond to different specified fields.
According to a preferred embodiment of the present invention, before the step of controlling the front-end to render the corresponding front-end page to generate the current live view according to the changed specified field, the method further includes
Configuring a live broadcast component;
preferably, the step of controlling the front end to render the corresponding front end page according to the changed current designated field to generate the current live broadcast picture specifically includes:
acquiring a front-end page corresponding to the changed current designated field;
and controlling the front end to render and generate a current live broadcast picture according to the front end page corresponding to the changed current specified field and the live broadcast component.
According to a preferred embodiment of the present invention, the live view is divided into a horizontal view and a vertical view; the horizontal screen picture refers to a main broadcasting picture and an interactive information picture partition; the vertical screen picture refers to that the anchor picture is a full screen, and the interactive information picture is nested in a certain area of the anchor picture.
Compared with the corresponding technology, the method and the device have the advantages that the user does not need to interrupt the view and reload the resources to manually switch the live broadcast picture, the resource loading time can be effectively saved, the best viewing angle of the user can be switched in time, and the viewing experience of the user is improved.
The method and the system can determine whether the current designated field of the live broadcast picture changes or not by monitoring the timely communication message sent by the live broadcast terminal, controlling the live broadcast link sent by the center console and/or the touch operation of the user in the live broadcast picture, and support the switching of the live broadcast picture by a plurality of control parties such as the anchor terminal, the center console, the user terminal and the like so as to achieve the optimal watching effect.
In order that the objects, technical solutions and advantages of the present invention will become more apparent, the present invention will be further described in detail with reference to the accompanying drawings in conjunction with the following specific embodiments.
Fig. 1 is a schematic flow chart of a live view switching method according to the present invention, and as shown in fig. 1, the method includes the following steps:
s1, configuring a front-end page and a designated field corresponding to each live broadcast picture;
in the invention, the designated field is used for identifying different live broadcast pictures. And the terminal determines the current live broadcast picture according to the field content of the specified field. The live broadcast picture is used for describing the display mode of live broadcast content, and the live broadcast content comprises a main broadcast picture and an interactive information picture. The display modes of the anchor picture and the interactive information picture can be various, and the corresponding anchor picture and the corresponding interactive information picture are configured in advance according to different display modes to generate the front-end page.
For example, the position relationship between the anchor picture and the interactive information picture may be used as a display mode of the live content. The live broadcast pictures can be divided into horizontal screen pictures and vertical screen pictures; the horizontal screen picture refers to a main broadcasting picture and an interactive information picture partition; for example, the main broadcasting picture is in the upper area of the screen, and the interactive information picture is in the lower area of the screen; or the anchor picture is positioned in a first area of the screen in a preset first shape, and the interactive information picture is positioned in a second area of the screen in a preset second shape; referring to fig. 2a, the anchor picture 10 is a heart-shaped picture in the upper left area of the screen 13, and the interactive information picture 11 is a rectangle in the lower area of the screen 13. The vertical screen picture means that the anchor picture is a full screen, and the interactive information picture is nested in a certain area of the anchor picture. The shape and specific position of the interactive information picture can be configured as required, and the invention is not limited in particular. As shown in fig. 2b, the anchor screen 10 is full screen, and the interactive information screen 11 is heart-shaped and nested in the lower left area of the anchor screen 10.
In the configuration process, the front-end page corresponding to each live broadcast picture can be configured according to the shape, the position relation and the like of the anchor picture and the interactive information picture in the live broadcast pictures. For example, for the landscape screen shown in fig. 2a, the front page of the interactive information screen 12 with the top left area as the heart-shaped anchor screen 10 and the lower area as the rectangle may be configured. Meanwhile, the field content of the designated field can be configured to correspond to a horizontal screen picture when 1, and the field content of the designated field can be configured to correspond to a vertical screen picture when 0.
S2, monitoring whether the current designated field of the live broadcast picture changes in real time;
the method and the system can determine whether the current designated field of the live broadcast picture changes or not by monitoring the timely communication message sent by the live broadcast terminal, monitoring the live broadcast link sent by the center console and/or the touch operation of the user in the live broadcast picture, and support the switching of the live broadcast picture by a plurality of control parties such as the anchor terminal, the center console, the user terminal and the like so as to achieve the optimal watching effect.
In an example, the step of monitoring whether the currently specified field of the live view changes in real time specifically includes:
s21, monitoring timely communication messages sent by a main broadcasting end in real time;
among them, instant Messaging (IM) is a terminal service that allows two or more people to communicate text messages, files, voice and video in real time using a network. In the invention, the anchor terminal can send IM information to the terminal, wherein the IM information comprises designated fields for identifying different live broadcast pictures. The anchor terminal can switch the live broadcast picture according to the specific service scene requirement and send the appointed field for identifying the live broadcast picture to the terminal through the IM message. And the terminal monitors the IM message sent by the anchor terminal in real time.
S22, analyzing the designated field in the instant communication message;
and S23, judging whether the designated field in the instant communication message is the same as the current designated field.
Specifically, after monitoring the IM message, the terminal analyzes the field content of the specified field in the IM message, determines whether the field content of the specified field in the IM message is the same as the field content of the current specified field, and if not, determines that the current specified field in the live broadcast frame has changed.
In another example, the monitoring whether the currently specified field of the live view changes in real time includes:
s201, monitoring live links sent by a center console in real time;
the center console is a platform for controlling a live broadcast process, the center console generates a live broadcast link through creating an interface field, and the terminal monitors the live broadcast link sent by the center console in a route intercepting and splicing mode.
S202, analyzing an interface field created in the live link;
s203, judging whether the interface field is the same as the current designated field.
Specifically, after monitoring the live link, the terminal analyzes the field content of the interface field created in the live link, judges whether the field content of the interface field is the same as the field content of the current designated field, and determines that the current designated field of the live frame is changed if the field content of the interface field is not the same as the field content of the current designated field.
In another example, the monitoring whether the currently specified field of the live view changes in real time includes:
s211, monitoring touch operation of a user in a live broadcast picture in real time;
in the invention, each touch operation can be configured in advance to correspond to one designated field. The touch operation may be a click on the live-action picture or a click on a designated button in the live-action picture, and different numbers of clicks correspond to different designated fields. Such as: four live broadcast pictures are configured in advance, and the field content of a specified field corresponding to one-time click touch operation on the live broadcast pictures can be configured to be 1 and corresponds to a first live broadcast picture; configuring the field content of a designated field corresponding to the touch operation of clicking the live broadcast picture twice to be 2, and corresponding to a second live broadcast picture; configuring field content of a designated field corresponding to the touch operation of clicking the live broadcast picture for three times to be 3, and corresponding to a third live broadcast picture; and configuring the field content of the designated field corresponding to the touch operation of clicking the live broadcast picture four times to be 4, and corresponding to a fourth live broadcast picture. The touch operation may be a pressing operation on a live view or a pressing operation on a designated button on a live view, and different pressing pressures may correspond to different designated fields. The touch operation may also be a click operation on a preset button and/or pattern in the live-action screen, where the different button and/or pattern corresponds to different designated fields. And the like, the touch operation is not particularly limited in the present invention.
S212, judging whether the designated field corresponding to the touch operation is the same as the current designated field.
Specifically, after monitoring the touch operation, the terminal searches for field content of a designated field corresponding to the touch operation, judges whether the field content of the designated field corresponding to the touch operation is the same as the field content of the current designated field, and if not, determines that the current designated field of the live broadcast picture is changed.
And S3, if the specified field of the live broadcast picture is changed, controlling the front end to render the corresponding front end page according to the changed current specified field to generate the current live broadcast picture.
Preferably, in order to meet the requirements of each activity in the live broadcasting process, live broadcasting components related to the activity can be configured in advance. The activity may be: lottery, red pack, etc. The live component may be: the live broadcast room people number display component is used for counting and displaying the number of the live broadcast room people in real time; the announcement component is used for displaying live broadcasting room announcements; a banner (banner) component for displaying a live room banner; the anchor head portrait component is used for displaying an anchor head portrait and a live title; the shopping cart component is used for displaying commodities, purchasing links, movable hanging pieces and the like.
The step of controlling the front end to render the corresponding front end page according to the changed current designated field to generate the current live broadcast picture comprises the following steps:
s31, acquiring a front-end page corresponding to the changed current designated field;
specifically, a corresponding front-end page is obtained according to the changed current designated field, and the front-end page comprises the shape, position relation and the like of a pre-configured anchor picture and an interactive information picture.
And S32, controlling the front end to render and generate a current live broadcast picture according to the front end page corresponding to the changed current specified field and the live broadcast component.
Specifically, the front-end routing can be controlled to switch the front-end page corresponding to the currently specified field, and the current live broadcast picture is generated according to the front-end page and the live broadcast component rendering.
Fig. 3 is a schematic structural framework diagram of a live view switching apparatus provided in the present invention, and as shown in fig. 3, the apparatus includes:
a configuration module 31, configured to configure a front-end page and a specified field corresponding to each live frame; the designated field is used for identifying different live broadcast pictures;
a monitoring module 32, configured to monitor whether a currently specified field of a live broadcast frame changes in real time;
and a generating module 33, configured to control, when the specified field of the live view changes, the front end to render the corresponding front end page according to the changed current specified field, so as to generate a current live view.
Optionally, the monitoring module 32 includes:
the first monitoring module is used for monitoring the timely communication message sent by the anchor terminal in real time;
the first analysis module is used for analyzing the specified field in the instant communication message;
and the first judging module is used for judging whether the specified field in the instant communication message is the same as the current specified field.
The second monitoring module is used for monitoring the live link sent by the center console in real time;
the second analysis module is used for analyzing the interface field created in the live link;
and the second judging module is used for judging whether the interface field is the same as the current specified field.
The third monitoring module is used for monitoring the touch operation of a user in a live broadcast picture in real time; each touch operation corresponds to one designated field;
and the third judging module is used for judging whether the specified field corresponding to the touch operation is the same as the current specified field.
The touch operation is clicking on a live broadcast picture or a specified button in the live broadcast picture, and different clicking times correspond to different specified fields; or the touch operation is a press operation of a specified button in a live broadcast picture or a live broadcast picture, and different press pressures correspond to different specified fields; or, the touch operation is a click operation of a preset button and/or pattern and the like in a live broadcast picture, and the different buttons and/or patterns correspond to different specified fields.
Further, the configuration module 31 is further configured to configure a live component;
the generating module 33 includes:
the acquisition module is used for acquiring a front-end page corresponding to the changed current specified field;
and the sub-generation module is used for controlling the front end to generate a current live broadcast picture according to the front end page corresponding to the changed current specified field and the live broadcast component.
In the invention, the live broadcast picture is divided into a horizontal screen picture and a vertical screen picture; the horizontal screen picture refers to a main broadcasting picture and an interactive information picture partition; the vertical screen picture means that the anchor picture is a full screen, and the interactive information picture is nested in a certain area of the anchor picture.
Those skilled in the art will appreciate that the modules in the above-described embodiments of the apparatus may be distributed as described in the apparatus, and may be correspondingly modified and distributed in one or more apparatuses other than the above-described embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device includes a processor and a memory, where the memory is used to store a computer-executable program, and when the computer program is executed by the processor, the processor executes a live view switching method.
As shown in fig. 4, the electronic device is in the form of a general purpose computing device. The number of the processors can be one or more, and the processors can work together. The invention also does not exclude that distributed processing is performed, i.e. the processors may be distributed over different physical devices. The electronic device of the present invention is not limited to a single entity, and may be a sum of a plurality of entity devices.
The memory stores a computer executable program, typically machine readable code. The computer readable program may be executed by the processor to enable an electronic device to perform the method of the invention, or at least some of the steps of the method.
The memory may include volatile memory, such as Random Access Memory (RAM) and/or cache memory, and may also be non-volatile memory, such as read-only memory (ROM).
Optionally, in this embodiment, the electronic device further includes an I/O interface, which is used for data exchange between the electronic device and an external device. The I/O interface may be a local bus representing one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, and/or a memory storage device using any of a variety of bus architectures.
It should be understood that the electronic device shown in fig. 4 is only one example of the present invention, and elements or components not shown in the above example may be further included in the electronic device of the present invention. For example, some electronic devices further include a display unit such as a display screen, and some electronic devices further include a human-computer interaction element such as a button, a keyboard, and the like. Electronic devices are considered to be covered by the present invention as long as the electronic devices are capable of executing a computer-readable program in a memory to implement the method of the present invention or at least a part of the steps of the method.
Fig. 5 is a schematic diagram of a computer-readable recording medium of an embodiment of the present invention. As shown in fig. 5, the computer-readable recording medium stores therein a computer-executable program, which, when executed, implements the live view switching method of the present invention described above. The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
From the above description of the embodiments, those skilled in the art will readily appreciate that the present invention can be implemented by hardware capable of executing a specific computer program, such as the system of the present invention, and electronic processing units, servers, clients, mobile phones, test units, processors, etc. included in the system, and the present invention can also be implemented by a vehicle including at least a part of the above system or components. The invention may also be implemented by computer software executing the method of the invention, e.g. by test software executed by a microprocessor, an electronic test unit, a client, a server, etc. of a live device. It should be noted that the computer software for executing the method of the present invention is not limited to be executed by one or a specific hardware entity, but may also be implemented in a distributed manner by hardware entities without specific details, and for the computer software, the software product may be stored in a computer readable storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or may be stored in a distributed manner on a network, as long as it can enable an electronic device to execute the method according to the present invention.
While the foregoing embodiments have described the objects, aspects and advantages of the present invention in further detail, it should be understood that the present invention is not inherently related to any particular computer, virtual machine or electronic device, and various general-purpose machines may be used to implement the present invention. The invention is not to be considered as limited to the specific embodiments thereof, but is to be understood as being modified in all respects, all changes and equivalents that come within the spirit and scope of the invention.
Claims (6)
1. A live broadcast picture switching method is applied to a live broadcast audience terminal and is characterized by comprising the following steps:
configuring a front-end page and a designated field corresponding to each live broadcast picture; wherein the designated field is used to identify different live pictures; the live broadcast picture is used for describing the display mode of live broadcast content, the live broadcast content comprises a main broadcast picture and an interactive information picture, and the display mode of the live broadcast content comprises the position relation of the main broadcast picture and the interactive information picture;
monitoring whether the current designated field of the live broadcast picture changes in real time;
if the specified field of the live broadcast picture is changed, controlling the front end to render a corresponding front end page according to the changed current specified field to generate a current live broadcast picture;
the step of monitoring whether the currently specified field of the live video is changed in real time specifically comprises,
monitoring instant messaging messages sent by a main broadcasting end in real time;
analyzing a designated field in the instant communication message;
and judging whether the specified field in the instant communication message is the same as the current specified field.
2. The live-view switching method of claim 1, wherein before the step of controlling the front-end to render the corresponding front-end page according to the changed designated field to generate the current live-view, the method further comprises
Configuring a live broadcast component;
preferably, the step of controlling the front end to render the corresponding front end page according to the changed current designated field to generate the current live broadcast picture specifically includes:
acquiring a front-end page corresponding to the changed current designated field;
and controlling the front end to render and generate a current live broadcast picture according to the front end page corresponding to the changed current specified field and the live broadcast component.
3. The live view switching method according to claim 1, wherein the live view is divided into a landscape view and a portrait view; the horizontal screen picture refers to a main broadcasting picture and an interactive information picture partition; the vertical screen picture means that the anchor picture is a full screen, and the interactive information picture is nested in a certain area of the anchor picture.
4. A live broadcast image switching device is applied to a live broadcast audience terminal and is characterized by comprising:
the configuration module is used for configuring a front-end page and a designated field corresponding to each live broadcast picture; wherein the designated field is used for identifying different live pictures; the live broadcast picture is used for describing a display mode of live broadcast content, the live broadcast content comprises a main broadcast picture and an interactive information picture, and the display mode of the live broadcast content comprises a position relation between the main broadcast picture and the interactive information picture;
the monitoring module is used for monitoring whether the current designated field of the live broadcast picture changes in real time;
the generation module is used for controlling the front end to render a corresponding front end page according to the changed current designated field to generate a current live broadcast picture when the current designated field of the live broadcast picture is changed;
the monitoring module includes:
the first monitoring module is used for monitoring the instant messaging message sent by the anchor terminal in real time;
the first analysis module is used for analyzing the appointed field in the instant communication message;
the first judging module is used for judging whether the specified field in the instant communication message is the same as the current specified field.
5. An electronic device comprising a processor and a memory, the memory for storing a computer-executable program, characterized in that:
the computer executable program, when executed by the processor, performs the method of any of claims 1 to 3.
6. A computer-readable medium storing a computer-executable program, wherein the computer-executable program, when executed, implements the method of any of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110623167.3A CN113422972B (en) | 2021-06-03 | 2021-06-03 | Live broadcast picture switching method and device, electronic equipment and readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110623167.3A CN113422972B (en) | 2021-06-03 | 2021-06-03 | Live broadcast picture switching method and device, electronic equipment and readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113422972A CN113422972A (en) | 2021-09-21 |
CN113422972B true CN113422972B (en) | 2023-04-07 |
Family
ID=77713895
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110623167.3A Active CN113422972B (en) | 2021-06-03 | 2021-06-03 | Live broadcast picture switching method and device, electronic equipment and readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113422972B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106488254A (en) * | 2016-11-16 | 2017-03-08 | 广州华多网络科技有限公司 | A kind of method and system of live picture switching |
CN106604046A (en) * | 2016-12-06 | 2017-04-26 | 广州华多网络科技有限公司 | Video live steaming method and device |
CN106791903A (en) * | 2016-12-29 | 2017-05-31 | 广州爱九游信息技术有限公司 | Live processing system, unit and method |
CN106937131A (en) * | 2017-03-31 | 2017-07-07 | 广州华多网络科技有限公司 | video stream switching method, device and equipment |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010237650A (en) * | 2009-03-09 | 2010-10-21 | Canon Inc | Image forming apparatus |
CN102750122B (en) * | 2012-06-05 | 2015-10-21 | 华为技术有限公司 | Picture display control, Apparatus and system |
US9535868B1 (en) * | 2015-03-31 | 2017-01-03 | Symantec Corporation | Apparatus and method for network traffic classification and policy enforcement |
US20180014037A1 (en) * | 2016-07-09 | 2018-01-11 | N. Dilip Venkatraman | Method and system for switching to dynamically assembled video during streaming of live video |
US10569302B2 (en) * | 2017-06-26 | 2020-02-25 | Qualcomm Incorporated | Biometric sensor with force detection and ultrasonic imaging capability |
CN108024135B (en) * | 2017-12-13 | 2019-02-22 | 广州虎牙信息科技有限公司 | Picture exhibition method, storage equipment and computer equipment is broadcast live in direct broadcasting room |
CN111083512A (en) * | 2019-12-24 | 2020-04-28 | 北京达佳互联信息技术有限公司 | Switching method and device of live broadcast room, electronic equipment and storage medium |
CN111246126A (en) * | 2020-03-11 | 2020-06-05 | 广州虎牙科技有限公司 | Direct broadcasting switching method, system, device, equipment and medium based on live broadcasting platform |
CN111880660B (en) * | 2020-07-31 | 2022-10-21 | Oppo广东移动通信有限公司 | Display screen control method and device, computer equipment and storage medium |
CN112527434A (en) * | 2020-12-07 | 2021-03-19 | 北京奇艺世纪科技有限公司 | Page display method, terminal, server, system and electronic equipment |
-
2021
- 2021-06-03 CN CN202110623167.3A patent/CN113422972B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106488254A (en) * | 2016-11-16 | 2017-03-08 | 广州华多网络科技有限公司 | A kind of method and system of live picture switching |
CN106604046A (en) * | 2016-12-06 | 2017-04-26 | 广州华多网络科技有限公司 | Video live steaming method and device |
CN106791903A (en) * | 2016-12-29 | 2017-05-31 | 广州爱九游信息技术有限公司 | Live processing system, unit and method |
CN106937131A (en) * | 2017-03-31 | 2017-07-07 | 广州华多网络科技有限公司 | video stream switching method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113422972A (en) | 2021-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10873769B2 (en) | Live broadcasting method, method for presenting live broadcasting data stream, and terminal | |
EP4087258A1 (en) | Method and apparatus for displaying live broadcast data, and device and storage medium | |
CN110570698B (en) | Online teaching control method and device, storage medium and terminal | |
US9686329B2 (en) | Method and apparatus for displaying webcast rooms | |
CN107596687B (en) | Game screen display system and method, storage medium, and electronic device | |
CN112073758B (en) | Cloud desktop screen projection method and device, computer equipment, computer readable storage medium and cloud desktop screen projection interaction system | |
CN107765976B (en) | Message pushing method, terminal and system | |
CN112073754B (en) | Cloud game screen projection method and device, computer equipment, computer readable storage medium and cloud game screen projection interaction system | |
CN109819268B (en) | Live broadcast room play control method, device, medium and equipment in video live broadcast | |
CN106572002B (en) | Intelligent session method, intelligent session method for customizing and relevant device | |
CN113691829B (en) | Virtual object interaction method, device, storage medium and computer program product | |
CN108965932A (en) | A kind of even wheat window methods of exhibiting and device | |
CN109062924A (en) | Content displaying method, device, equipment and system | |
CN111467790A (en) | Target object control method, device and system | |
CN111083147A (en) | Session establishment method and related equipment | |
CN112689168A (en) | Dynamic effect processing method, dynamic effect display method and dynamic effect processing device | |
CN111090533A (en) | Notice information sending method and device, electronic equipment and storage medium | |
CN108762757B (en) | Quick development framework and method for platform service of live broadcast room, server and medium | |
CN113422972B (en) | Live broadcast picture switching method and device, electronic equipment and readable medium | |
CN113346973A (en) | Event prompting method and device, electronic equipment and computer readable storage medium | |
CN112055164A (en) | Information interaction method, device, terminal and storage medium | |
CN109168040B (en) | Program list display method and device and readable storage medium | |
CN113286165B (en) | Integrated live broadcast management platform and method, electronic equipment and readable medium | |
CN115086745B (en) | Live video processing method, device, equipment and medium | |
CN116600151A (en) | Live broadcast interaction method and device of live broadcast room and video live broadcast system |
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 |