CN112702617A - Caching method and display method of live video page and related equipment - Google Patents

Caching method and display method of live video page and related equipment Download PDF

Info

Publication number
CN112702617A
CN112702617A CN202011473885.9A CN202011473885A CN112702617A CN 112702617 A CN112702617 A CN 112702617A CN 202011473885 A CN202011473885 A CN 202011473885A CN 112702617 A CN112702617 A CN 112702617A
Authority
CN
China
Prior art keywords
page
live video
terminal
display
blackboard
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.)
Pending
Application number
CN202011473885.9A
Other languages
Chinese (zh)
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.)
Hunan New Cloudnet Technology Co ltd
Original Assignee
Hunan New Cloudnet 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 Hunan New Cloudnet Technology Co ltd filed Critical Hunan New Cloudnet Technology Co ltd
Priority to CN202011473885.9A priority Critical patent/CN112702617A/en
Publication of CN112702617A publication Critical patent/CN112702617A/en
Pending legal-status Critical Current

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2183Cache memory
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a caching method, a display method and related equipment of a live video page, wherein the caching method of the live video page comprises the following steps: acquiring at least one display page in a live video, and caching the at least one display page; determining a target page under the condition of receiving a first instruction sent by a first terminal, wherein the target page comprises a display page corresponding to the first instruction in the at least one display page, and the first instruction is an instruction sent by the first terminal in the process of playing the live video; and sending the target page to the first terminal so as to switch the display interface of the first terminal from the page of the live video to the target page. According to the method and the device, the user can switch the page of the live broadcast video according to the operation in the live broadcast process, the previous live broadcast content is watched, and the timeliness of content acquisition is improved.

Description

Caching method and display method of live video page and related equipment
Technical Field
The application belongs to the technical field of live broadcast, and particularly relates to a caching method, a display method and related equipment for a live video page.
Background
With the development of internet technology, online live broadcast watching has become a common phenomenon. In the existing live broadcast, a live broadcast video is generally cached in a local server in a video streaming mode, and a user watches a real-time live broadcast video through communication with the local server. When the content of the previous live broadcast needs to be watched, the live broadcast video needs to be selected to be watched again after the live broadcast is finished, the live broadcast video cannot be watched automatically directly in the live broadcast process, and the timeliness of content acquisition is reduced.
Disclosure of Invention
The application aims to provide a caching method, a display method and a display device of a live video page, a cloud platform server, a terminal and a computer readable storage medium, and aims to solve the technical problem that timeliness of obtaining live review content in the prior art is reduced.
In a first aspect, the present application provides a method for caching a live video page, which is applied to a cloud platform server, and includes:
acquiring at least one display page in a live video, and caching the at least one display page;
determining a target page under the condition of receiving a first instruction sent by a first terminal, wherein the target page comprises a display page corresponding to the first instruction in the at least one display page, and the first instruction is an instruction sent by the first terminal in the process of playing the live video;
and sending the target page to the first terminal so as to switch the display interface of the first terminal from the page of the live video to the target page.
Further, in a case that the live video is a teaching live video and each of the at least one display page is a blackboard-writing page, the determining the target page includes:
receiving a scene page sent by a second terminal, wherein the scene page is generated based on scene information obtained by the second terminal in a live broadcast process;
and determining that a first page and the scene page are target pages, wherein the first page is a blackboard-writing page corresponding to the first instruction in the at least one blackboard-writing page.
Further, the acquiring at least one display page in the live video and caching the at least one display page includes:
acquiring at least one blackboard-writing page in a live video, adding key value pair information to each blackboard-writing page in the at least one blackboard-writing page to obtain a modified blackboard-writing page, and caching the modified blackboard-writing page;
before determining that the first page and the scene page are target pages, the method further includes:
and under the condition that the first instruction comprises target key value pair information, determining a blackboard-writing page matched with the target key value pair information as a first page in the modified blackboard-writing pages.
Further, the acquiring and caching at least one display page in the live video includes:
intercepting the updated blackboard-writing page for caching under the condition that the blackboard-writing page displayed on the display interface of the second terminal is determined to be updated;
wherein the at least one blackboard-writing page comprises at least one updated blackboard-writing page.
In a second aspect, the present application further provides a method for displaying a live video page, which is applied to a first terminal, and includes:
under the condition that a first terminal plays a live video, if a first input is received, sending a first instruction associated with the first input to a cloud platform server;
receiving a target page sent by the cloud platform server in response to the first instruction;
and switching the display interface of the first terminal from the page of the live video to the target page. In a third aspect, the present application further provides an apparatus, comprising:
the acquisition module is used for acquiring at least one display page in a live video and caching the at least one display page;
the determining module is used for determining a target page under the condition that a first instruction sent by a first terminal is received, wherein the target page comprises a display page corresponding to the first instruction in the at least one display page, and the first instruction is an instruction sent by the first terminal in the live video playing;
and the first transmission module is used for sending the target page to the first terminal so as to switch the display interface of the first terminal from the page of the live video to the target page.
In a fourth aspect, the present application further provides an apparatus comprising:
the second transmission module is used for sending a first instruction associated with a first input to the cloud platform server if the first input is received under the condition that the first terminal plays the live video;
the receiving module is used for receiving a target page sent by the cloud platform server in response to the first instruction;
and the switching module is used for switching the display interface of the first terminal from the page of the live video to the target page.
In a fifth aspect, the present application further provides a cloud platform server, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, implements the method for caching live video pages according to any one of the claims in the first aspect.
In a sixth aspect, the present application further provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, implements the method for displaying a live video page according to the second aspect of the present invention.
In a seventh aspect, the present application further provides a computer-readable storage medium, comprising: the computer-readable storage medium stores a computer program which, when executed by a processor, implements a method of caching a live video page as claimed in any one of the first aspect or a method of displaying a live video page as claimed in the second aspect.
It is to be understood that, the beneficial effects of the second to seventh aspects may be referred to the relevant description of the first aspect, and are not repeated herein.
Compared with the prior art, the application has the beneficial effects that:
the method comprises the steps that a cloud platform server obtains at least one display page in a live video, caches the at least one display page, determines a target page in the at least one display page and sends the target page to a first terminal under the condition that a first instruction sent by the first terminal in the live video playing process is received, and therefore a display interface of the first terminal is switched to the target page from the page of the live video. Therefore, according to the embodiment of the application, the cloud platform server can automatically cache the display page of the live video, and determine that the target page is displayed in the display interface of the first terminal from at least one cached display page according to the user requirement, namely, the user can switch the page of the live video according to the operation in the live broadcast process, so that the previous live content is watched, and the timeliness of content acquisition is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be 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 described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic structural diagram of a live broadcast system provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a caching method for a live video page according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a caching method for a live video page according to a second embodiment of the present application;
fig. 4 is a schematic flowchart of a caching method for a live video page according to a third embodiment of the present application;
fig. 5 is a schematic flowchart of a caching method for a live video page according to a fourth embodiment of the present application;
fig. 6 is a schematic flowchart of a display method of a live video page provided in the fifth embodiment of the present application;
fig. 7 is a schematic diagram of a caching apparatus for a live video page according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a display device for a live video page provided by an embodiment of the present application;
fig. 9 is a schematic hardware structure diagram of a cloud platform server provided in an embodiment of the present application;
fig. 10 is a schematic hardware structure diagram of a terminal according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Referring to fig. 1, a schematic structural diagram of a live broadcast system provided in an embodiment of the present application is shown, where the live broadcast system includes a cloud platform server 100, a first terminal 101, and a second terminal 102, and the first terminal 101 and the second terminal 102 are respectively in communication connection with the cloud platform server 100.
In this embodiment, the second terminal 102 is a live broadcast terminal and includes a display interface, a camera assembly, and the like, and a user performs live broadcast recording on the second terminal 102. The first terminal 101 is a playing end of live video, and may be an intelligent device such as a mobile phone and a computer, and a user watches the live video on the first terminal 101. The cloud platform server 100 caches live data of the second terminal 102 and sends the live data to the first terminal 101, so that a live video is played in a display interface of the first terminal 101.
For example, in the live broadcast teaching process, a teacher live broadcasts at the second terminal 102, the cloud platform server 100 caches blackboard-writing pages in the live broadcast teaching, the first terminal 101 obtains the blackboard-writing pages of the cloud platform server 100 and displays the blackboard-writing pages in a display interface, and students watch the live broadcast teaching on the display interface of the first terminal 101. In order to explain the technical means of the present application, the following description will be given by way of specific examples.
Example one
Referring to fig. 2, a schematic flow chart of a caching method for a live video page provided in an embodiment of the present application is shown, where the method includes:
step S11, acquiring at least one display page in the live video, and caching the at least one display page;
in this embodiment of the application, the obtaining of the at least one display page in the live video and the caching of the at least one display page may be that the cloud platform server 100 intercepts and caches a page displayed on the display interface of the second terminal 102 at regular time during live broadcasting.
For example, when the second terminal 102 plays the live broadcast, the cloud platform server 100 intercepts the display interface of the second terminal 102 every minute, generates a picture, and caches the picture in the cloud platform server 100.
In this embodiment of the application, the obtaining of the at least one display page in the live video and the caching of the at least one display page may also be performed by intercepting a page after change and caching the page when it is recognized that the page displayed on the display interface of the second terminal 102 changes.
For example, when the second terminal 102 broadcasts directly, the user performs a related operation in the second terminal 102 to change a page displayed on a display interface of the user, and the cloud platform server 100 intercepts the display interface of the second terminal 102 once in response to the operation of the user, generates a picture, and caches the picture in the cloud platform server 100.
Step S12, determining a target page when a first instruction sent by the first terminal is received, where the target page includes a display page corresponding to the first instruction in at least one display page, and the first instruction is an instruction sent by the first terminal 101 in a process of playing a live video;
in this embodiment, when the first terminal 101 plays a live video, a page of the live video displayed on a display interface of the first terminal is synchronized with a page of the live video displayed on a display interface of the second terminal 102 in real time when the live video is live. The first instruction is an instruction generated by the first terminal receiving a relevant operation of a display page in the live video before a user requests to review the live video in the process of playing the live video, and the first terminal 101 sends the first instruction to the cloud platform server 100.
In this embodiment, the cloud platform server 100, in response to the first instruction, determines, from at least one cached display page, that a display page corresponding to the first instruction is a target page. The target page is a display page to which an operation for a user is directed.
For example, in the process of playing a live broadcast, when receiving an operation that a user instructs to view a previous display page, the first terminal 101 sends a first instruction to the cloud platform server 100, and when receiving the first instruction, the cloud platform server 100 determines that the previous display page of a current live video page is a target page from at least one cached display page.
Step S13, sending the target page to the first terminal 101, so that the display interface of the first terminal 101 is switched from the page of the live video to the target page.
In step S13 of the embodiment of the present application, the cloud platform server 100 sends the target page to the first terminal 101, and a display interface of the first terminal 101 is switched from a page of a live video to the target page.
Through the embodiment of the application, the cloud platform server 100 can automatically cache the display pages of the live video, and determine that the target page is displayed in the display interface of the first terminal 101 from at least one cached display page according to the user requirement, that is, the user can switch the page of the live video according to the operation in the live playing process, so as to watch the previous live content, and improve the timeliness of content acquisition.
In addition, because at least one display page in the live video is cached in the cloud platform server 100, after the second terminal 102 finishes live broadcasting, the first terminal 101 can still automatically review the display page in the live video to obtain related information in time, and the timeliness of content obtaining is further improved.
Example two
Referring to fig. 3, which is a schematic flow chart of a caching method for a live video page provided in the second embodiment of the present application, when a live video is a teaching live video and each display page in at least one display page is a blackboard-writing page, the method includes:
step S21, acquiring at least one display page in the live video, and caching the at least one display page;
step S22, receiving a scene page sent by the second terminal 102, wherein the scene page is generated based on the scene information in the live broadcast process acquired by the second terminal;
step S23, determining a first page and a scene page as target pages, wherein the first page is a blackboard-writing page corresponding to a first instruction in at least one blackboard-writing page;
step S24, sending the target page to the first terminal 101, so that the display interface of the first terminal 101 is switched from the page of the live video to the target page.
Step S21 is the same as step S11, and step S24 is the same as step S13, which are not repeated herein. The difference from the first embodiment is that steps S22 to S23 are detailed as follows:
and under the condition that the live video is the teaching live video and each display page in at least one display page is a blackboard-writing page, the page of the live video also comprises a scene page besides the blackboard page. The page of the blackboard-writing can be a PPT or a captured picture of the display interface of the second terminal 102.
In step S22, the cloud platform server 100 receives the scene page sent by the second terminal 102, and may cache the scene page. When the first terminal 101 plays the live video, the first terminal can watch the blackboard-writing page displayed in real time by the live video, and can also watch the scene page when the teacher plays the live video.
The second terminal 102 generates the scene page, which may be generated when receiving a second instruction sent by the cloud platform server 100 to the second terminal 102.
For example, when a teacher live broadcasts education with the second terminal 102, students operate in the first terminal 101 to request to view scene information of the teacher live broadcasts, the first terminal 101 sends the request to the cloud platform server 100, the cloud platform server 100 generates a second instruction based on the request and sends the second instruction to the second terminal 102, in response to the second instruction, a camera of the second terminal 102 shoots scene information such as a head portrait and a background of the teacher live broadcasts, a scene page of the teacher live broadcasts is generated, and the scene page is sent to the cloud platform server 100 in real time.
The second terminal 102 generates the scene page, or may generate a second instruction based on an operation of a user when the second terminal performs live broadcasting, and the second terminal 102 generates the scene page in response to the second instruction.
For example, when the teacher live-broadcasts a teaching on the second terminal 102, the teacher clicks a record button on the display interface of the second terminal 102, and the second terminal 102 generates a second instruction in response to the operation, where the second instruction instructs the camera of the second terminal 102 to capture scene information such as a head portrait and a background of the teacher live-broadcast, and generates a scene page during live-broadcast.
In a possible implementation manner of this embodiment, the display interface of the first terminal 101 includes a first display interface and a second display interface, where the first display interface is used to display a blackboard-writing page, the second display interface is used to display a scene page, and the second display interface may be displayed in a floating window form, or may be a display interface that occupies a single area of the display screen of the first terminal 101.
In step S23, the target page includes a first page and a scene page. The first page is a blackboard-writing page corresponding to the first instruction, which is determined by the cloud platform server 100 from at least one blackboard-writing page.
In a possible implementation manner of this embodiment, after receiving the first instruction, the cloud platform server 100 determines the first page, the first display interface of the first terminal 101 is switched from the blackboard-writing page of the live video to the first page, and the second display interface of the first terminal 101 is still displaying the scene page in real time. The student can see the scene that the teacher taught when watching live teaching, effectively alleviates the sense of distance of on-line live teaching.
For example, when a student watches a live teaching video through the first terminal 101, and misses the previous teaching content due to late arrival, or when a knowledge point of the student has not fully mastered a teacher but has started the explanation of the next knowledge point, the student may operate at the first terminal 101 to request to watch a previous blackboard-writing page.
If a student requests to watch a previous blackboard-writing page, at this time, the cloud platform server 100 receives a first instruction sent by the first terminal 101, determines that the previous blackboard-writing content of the blackboard-writing page of the current live video is a first page, sends the first page to the first terminal 101, switches the blackboard-writing page in the live video from the first page, displays the blackboard-writing page in the first terminal 101 in a first display interface of the first terminal 101, and displays a live scene of a teacher in a second display interface of the first terminal 101 without switching.
EXAMPLE III
Referring to fig. 4, a schematic flow chart of a caching method for a live video page provided in the third embodiment of the present application is shown, where the method includes:
step S31, acquiring at least one blackboard-writing page in the live video, adding key value pair information to each blackboard-writing page in the at least one blackboard-writing page to obtain a modified blackboard-writing page, and caching the modified blackboard-writing page;
step S32, receiving a scene page sent by the second terminal 102, wherein the scene page is generated based on the scene information in the live broadcast process acquired by the second terminal;
step S33, under the condition that the first instruction includes the target key value pair information, determining the blackboard-writing page matched with the target key value pair information as a first page in the modified blackboard-writing pages;
step S34, determining the first page and the scene page as target pages;
step S35, sending the target page to the first terminal 101, so that the display interface of the first terminal 101 is switched from the page of the live video to the target page.
Step S32 is the same as step S22, step S34 is the same as step S24, and step S35 is the same as step S25, which are not repeated herein. The difference from the second embodiment is that steps S31 and S33 are detailed as follows:
in step S31, after acquiring the blackboard-writing pages, the cloud platform server 100 adds key-value pair information to each blackboard-writing page, obtains modified blackboard-writing pages according to the blackboard-writing pages and the key-value pair information corresponding to the blackboard-writing pages, and caches the modified blackboard-writing pages.
For example, key value pair information may be added in a form of adding page numbers, a first blackboard-writing page in the obtained live video is identified as "1", a second blackboard-writing page is identified as "2", and so on, each blackboard-writing page is identified to obtain a modified blackboard-writing page, and the modified blackboard-writing pages are cached. Corresponding key-value pair information can also be added by identifying text content in the page of the blackboard-writing. The blackboard-writing pages are classified mainly by identifying the teaching content of each blackboard-writing page.
In step S33, the cloud platform server 100 receives the first instruction sent by the first terminal 101, and determines, as the first page, a blackboard-writing page that matches the target key-value pair information indicated by the first instruction from among the cached modified blackboard-writing pages. The at least one blackboard-writing page is identified by adding the key value pair information to obtain a modified blackboard-writing page, and the modified blackboard-writing page is cached, so that the switching of the first page to the display interface of the first terminal 101 is quickly determined, the related operations of a user at the first terminal 101 are effectively reduced, and the portability of the first terminal 101 is improved.
For example, when a student plays a live video at the first terminal 101, the student wants to review a blackboard-writing page of a first page, performs a corresponding operation at the first terminal 101, the first terminal 101 generates a first instruction based on the operation and sends the first instruction to the cloud platform server 100, and the cloud platform server 100 determines, from at least one cached blackboard-writing page, that a blackboard-writing page identified as "1" is the first page.
Example four
Referring to fig. 5, a schematic flow chart of a caching method for a live video page provided in the fourth embodiment of the present application is shown, where the method includes:
step S41, in a case where it is determined that the blackboard-writing page displayed on the display interface of the second terminal 102 is updated, intercepting the updated blackboard-writing page for caching; wherein, at least one blackboard-writing page comprises at least one updated blackboard-writing page;
step S42, receiving a scene page sent by the second terminal 102, wherein the scene page is generated based on the scene information in the live broadcast process acquired by the second terminal;
step S43, determining a first page and a scene page as target pages, wherein the first page is a display page corresponding to a first instruction in at least one display page;
step S44, sending the target page to the first terminal 101, so that the display interface of the first terminal 101 is switched from the page of the live video to the target page.
Step S42 is the same as step S22, step S43 is the same as step S23, and step S44 is the same as step S24, which are not repeated herein. The difference from the second embodiment is that step S41 is detailed as follows:
in step S41, when determining that the blackboard-writing page displayed on the display interface of the second terminal 102 is updated, the cloud platform server 100 intercepts the updated blackboard-writing page and caches the updated blackboard-writing page.
For example, when a teacher broadcasts directly at the second terminal 102, a display interface of the second terminal 102 displays teaching blackboard writing content prepared in advance by the teacher, the teacher pages according to the content during teaching, when the cloud platform server 100 recognizes that the page turning operation is performed by the teacher at the second terminal 102, the blackboard writing pages are updated, and the updated blackboard writing pages are intercepted and cached. And when the page is updated for multiple times, intercepting the page of the blackboard-writing for multiple times.
EXAMPLE five
Referring to fig. 6, a schematic flow chart of a method for displaying a live video page provided in the fifth embodiment of the present application is shown, where the method includes:
step S51, when the first terminal 101 plays the live video, if a first input is received, sending a first instruction associated with the first input to the cloud platform server 100;
step S52, receiving a target page sent by the cloud platform server 100 in response to the first instruction;
step S53, the display interface of the first terminal 101 is switched from the page of the live video to the target page.
In step S51, when the first terminal 101 receives a first input from the user while playing the live video, it sends a first instruction to the cloud platform server 100.
For example, the user has clicked a previous page button on the display interface of the first terminal 101, or has made another operation to instruct the display interface to display a previous page. The first terminal 101 transmits a first instruction associated with the operation to the cloud platform server 100.
In step S52, the first terminal 101 receives a target page sent by the cloud platform server 100, where the target page is a display page corresponding to an operation performed by the user at the first terminal 101.
In step S53, the first terminal 101 switches its display interface from the page of the live video to the target page for the user to view.
The first terminal 101 sends a first instruction to the cloud platform server 100 according to a user requirement, and the cloud platform server 100 determines that a target page is displayed in a display interface of the first terminal 101 from at least one cached display page in response to the first instruction, that is, a user can switch a page of a live broadcast video according to an operation in a live broadcast process, so that the user can watch previous live broadcast content, and the timeliness of content acquisition is improved.
In one example, in a case that the live video is a teaching live video and each of the at least one display page is a blackboard-writing page, in step S52, receiving a target page sent by the cloud platform server 100 in response to the first instruction includes:
receiving a first page and a scene page sent by the cloud platform server 100 in response to the first instruction;
in step S53, switching the display interface of the first terminal 101 from the page of the live video to the target page includes:
switching a display interface of the first terminal 101 from a live video page to a first page and a scene page;
after switching the display interface of the first terminal 101 from the page of the live video to the first page and the scene page, the method further includes:
in a case where the second input in the display interface of the first terminal 101 is received, the first page is displayed full screen and the scene page is hidden in the display interface of the first terminal 101 in response to the second input.
In this example, the target page received by the first terminal 101 includes a first page and a scene page, and the display interface of the first terminal 101 is switched from a page of a live video to the first page and the scene page. The first page is a blackboard-writing page corresponding to the first instruction and determined by the cloud platform server 100 from at least one blackboard-writing page, and the scene page is a live-broadcasting page generated by shooting scene information such as a head portrait, a background and the like of a teacher live broadcast by a camera of the second terminal 102.
After the first page and the scene page are displayed on the display interface of the first terminal 101, the first page may be displayed in full screen and the scene page may be hidden in the display interface of the first terminal 101 according to a second input of the user at the first terminal 101, for example, double-clicking the first page or clicking a key such as full screen display.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Corresponding to the method of the first embodiment, fig. 7 shows a structural block diagram of the caching apparatus 6 for live video pages provided in the embodiment of the present application, and for convenience of description, only the parts related to the embodiment of the present application are shown.
Referring to fig. 7, the caching device 6 for live video pages includes:
the acquiring module 61 is configured to acquire at least one display page in a live video and cache the at least one display page;
the determining module 62 is configured to determine a target page under the condition that a first instruction sent by the first terminal 101 is received, where the target page includes a display page corresponding to the first instruction in at least one display page, and the first instruction is an instruction sent by the first terminal 101 in playing a live video;
the first transmission module 63 is configured to send a target page to the first terminal 101, so that a display interface of the first terminal 101 is switched from a page of a live video to the target page.
Optionally, when the live video is a teaching live video and each display page in the at least one display page is a blackboard-writing page:
the obtaining module 61 is specifically configured to obtain at least one blackboard-writing page in the live video, add key value pair information to each blackboard-writing page in the at least one blackboard-writing page, obtain a modified blackboard-writing page, and cache the modified blackboard-writing page.
The obtaining module 61 is further specifically configured to, when it is determined that the blackboard-writing page displayed on the display interface of the second terminal 102 is updated, intercept the updated blackboard-writing page for caching, where at least one blackboard-writing page includes at least one updated blackboard-writing page.
The determining module 62 is specifically configured to determine that the first page and the scene page are target pages, where the first page is a display page corresponding to the first instruction in the at least one display page, and the scene page is generated by acquiring scene information of the live video by the second terminal 102.
The determining module 62 is further specifically configured to determine, in the modified blackboard-writing pages, that the blackboard-writing page matched with the target key-value pair information is the first page, where the first instruction includes the target key-value pair information.
Fig. 8 shows a block diagram of a display device 7 of a live video page provided in the embodiment of the present application, corresponding to the method of the fifth embodiment, and only shows parts related to the embodiment of the present application for convenience of description.
Referring to fig. 8, the display device 7 of a live video page includes:
the second transmission module 71 is configured to, when the first terminal 101 plays the live video, send a first instruction associated with a first input to the cloud platform server 100 if the first input is received;
a receiving module 72, configured to receive a target page sent by the cloud platform server 100 in response to the first instruction;
the switching module 73 is configured to switch a display interface of the first terminal 101 from a page of a live video to a target page.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules, so as to perform all or part of the functions described above. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 9, an embodiment of the present application further provides a cloud platform server 100, including: at least one processor 80, a memory 81, and a computer program 82, such as an acquisition program, a determination program, a first transmission program, etc., stored in the memory 81 and operable on the at least one processor 80. The processor 80 implements any of the method steps of the first to fourth embodiments when executing the computer program 82. Such as S11, S12, and S13 shown in fig. 2.
Illustratively, the computer program 82 may be divided into one or more modules/units, which are stored in the memory 81 and executed by the processor 80 to accomplish the present application. One or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 82 in the cloud platform server 100. For example, the computer program 82 may be divided into the acquisition module 61, the determination module 62, and the first transmission module 63 (module in the virtual device), and each module has the following specific functions:
the acquiring module 61 is configured to acquire at least one display page in a live video and cache the at least one display page;
the determining module 62 is configured to determine a target page under the condition that a first instruction sent by the first terminal 101 is received, where the target page includes a display page corresponding to the first instruction in at least one display page, and the first instruction is an instruction sent by the first terminal 101 in playing a live video;
the first transmission module 63 is configured to send a target page to the first terminal 101, so that a display interface of the first terminal 101 is switched from a page of a live video to the target page.
The processor 80 may include one or more of a central processing unit, an Application Processor (AP), a baseband processor, and the like. The processor 80 may be the neural center and the command center of the wireless router. The processor 80 may generate operation control signals according to the instruction operation code and the timing signals, so as to complete the control of instruction fetching and instruction execution. The memory 81 may be used to store computer executable program code, which includes instructions. The processor 80 executes various functional applications of the network device and data processing by executing instructions stored in the memory 81. The memory 81 may include a program storage area and a data storage area, such as data storing a sound signal to be played, and the like. For example, the memory 81 may be a double data rate synchronous dynamic random access memory DDR or a Flash memory Flash.
Referring to fig. 10, an embodiment of the present application further provides a terminal, including: at least one processor 90, a memory 91, and a computer program 92, such as a second transmission program, a reception program, a handover program, etc., stored in the memory 91 and operable on the at least one processor 90. The steps in the above-described method of the fifth embodiment are implemented when the computer program 92 is executed by the processor 90. Such as S51, S52, and S53 shown in fig. 6.
Illustratively, the computer program 92 may be partitioned into one or more modules/units, which are stored in the memory 91 and executed by the processor 90 to accomplish the present application. One or more of the modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 92 in the terminal 9. For example, the computer program 92 may be divided into the second transmission module 71, the receiving module 72, and the switching module 73 (module in the virtual device), and the specific functions of each module are as follows:
the second transmission module 71 is configured to, when the first terminal 101 plays the live video, send a first instruction associated with a first input to the cloud platform server 100 if the first input is received;
a receiving module 72, configured to receive a target page sent by the cloud platform server 100 in response to the first instruction;
the switching module 73 is configured to switch a display interface of the first terminal 101 from a page of a live video to a target page.
The processor 90 may include one or more of a central processing unit (cpu), an Application Processor (AP), a baseband processor, and the like. The processor 90 may be a neural hub and a command center of a wireless router. The processor 90 may generate operation control signals according to the instruction operation code and the timing signals, so as to complete the control of instruction fetching and instruction execution. The memory 91 may be used to store computer executable program code, which includes instructions. The processor 90 executes various functional applications of the network device and data processing by executing instructions stored in the memory 91. The memory 91 may include a program storage area and a data storage area, such as data storing a sound signal to be played, and the like. The memory 91 may be, for example, a double data rate synchronous dynamic random access memory DDR or a Flash memory Flash.
The present application further provides a computer-readable storage medium, where a computer program is stored, and when being executed by the processor 80, the computer program 82 implements the method steps in any one of the first to fourth embodiments, or when being executed by the processor 90, the computer program 92 implements the method steps in the fifth embodiment.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the method of the embodiment described above implemented by the present application may be implemented by the computer program 82 or the computer program 92 to instruct the relevant hardware, the computer program 82 or the computer program 92 may be stored in a computer readable storage medium, the computer program 82 may implement any method steps in the first to fourth embodiments described above when being executed by the processor 80, or the computer program 92 may implement method steps in the fifth embodiment described above when being executed by the processor 90. Wherein the computer program 82 or the computer program 92 comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/electronic device, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A caching method for a live video page is applied to a cloud platform server and comprises the following steps:
acquiring at least one display page in a live video, and caching the at least one display page;
determining a target page under the condition of receiving a first instruction sent by a first terminal, wherein the target page comprises a display page corresponding to the first instruction in the at least one display page, and the first instruction is an instruction sent by the first terminal in the process of playing the live video;
and sending the target page to the first terminal so as to switch the display interface of the first terminal from the page of the live video to the target page.
2. The method for caching live video pages according to claim 1, wherein in a case where the live video is a teaching live video and each of the at least one display page is a blackboard-writing page, the determining the target page comprises:
receiving a scene page sent by a second terminal, wherein the scene page is generated based on scene information obtained by the second terminal in a live broadcast process;
and determining that a first page and the scene page are target pages, wherein the first page is a blackboard-writing page corresponding to the first instruction in the at least one blackboard-writing page.
3. The method for caching the live video page according to claim 2, wherein the obtaining at least one display page in the live video and caching the at least one display page comprises:
acquiring at least one blackboard-writing page in a live video, adding key value pair information to each blackboard-writing page in the at least one blackboard-writing page to obtain a modified blackboard-writing page, and caching the modified blackboard-writing page;
before determining that the first page and the scene page are target pages, the method further includes:
and under the condition that the first instruction comprises target key value pair information, determining a blackboard-writing page matched with the target key value pair information as a first page in the modified blackboard-writing pages.
4. The method for caching pages of live video according to claim 2, wherein the step of obtaining and caching at least one display page of the live video comprises:
intercepting the updated blackboard-writing page for caching under the condition that the blackboard-writing page displayed on the display interface of the second terminal is determined to be updated;
wherein the at least one blackboard-writing page comprises at least one updated blackboard-writing page.
5. A display method of a live video page is applied to a first terminal and comprises the following steps:
under the condition that a first terminal plays a live video, if a first input is received, sending a first instruction associated with the first input to a cloud platform server;
receiving a target page sent by the cloud platform server in response to the first instruction;
and switching the display interface of the first terminal from the page of the live video to the target page.
6. A caching apparatus for live video pages, comprising:
the acquisition module is used for acquiring at least one display page in a live video and caching the at least one display page;
the determining module is configured to determine a target page under the condition that a first instruction sent by a first terminal is received, where the target page includes a display page corresponding to the first instruction in the at least one display page, and the first instruction is an instruction sent by the first terminal in the process of playing the live video;
and the first transmission module is used for sending the target page to the first terminal so as to switch the display interface of the first terminal from the page of the live video to the target page.
7. A display device for a live video page, comprising:
the second transmission module is used for sending a first instruction associated with a first input to the cloud platform server if the first input is received under the condition that the first terminal plays the live video;
the receiving module is used for receiving a target page sent by the cloud platform server in response to the first instruction;
and the switching module is used for switching the display interface of the first terminal from the page of the live video to the target page.
8. A cloud platform server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements a method of caching live video pages as claimed in any one of claims 1 to 4.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method of displaying a live video page as claimed in claim 5 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out a method of caching a live video page as claimed in any one of claims 1 to 4, or a method of displaying a live video page as claimed in claim 5.
CN202011473885.9A 2020-12-15 2020-12-15 Caching method and display method of live video page and related equipment Pending CN112702617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011473885.9A CN112702617A (en) 2020-12-15 2020-12-15 Caching method and display method of live video page and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011473885.9A CN112702617A (en) 2020-12-15 2020-12-15 Caching method and display method of live video page and related equipment

Publications (1)

Publication Number Publication Date
CN112702617A true CN112702617A (en) 2021-04-23

Family

ID=75508089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011473885.9A Pending CN112702617A (en) 2020-12-15 2020-12-15 Caching method and display method of live video page and related equipment

Country Status (1)

Country Link
CN (1) CN112702617A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113507619A (en) * 2021-06-30 2021-10-15 中国银联股份有限公司 Data display method, data sending method, data display device, data sending device and related equipment
CN114125498A (en) * 2021-11-24 2022-03-01 北京百度网讯科技有限公司 Video data processing method, device, equipment and storage medium
CN114449299A (en) * 2021-12-30 2022-05-06 广州盖盟达工业品有限公司 Commodity live broadcast processing method and device, terminal equipment and storage medium
CN115225718A (en) * 2022-07-26 2022-10-21 深圳证券通信有限公司 Network request data acquisition method and related device of android system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917591A (en) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 Method and device for playing back live video
CN106385619A (en) * 2016-09-14 2017-02-08 乐视控股(北京)有限公司 Replay method and device for live broadcast video stream
CN107888968A (en) * 2017-11-21 2018-04-06 广州酷狗计算机科技有限公司 Player method, device and the computer-readable storage medium of live video
CN110753256A (en) * 2019-09-18 2020-02-04 深圳壹账通智能科技有限公司 Video playback method and device, storage medium and computer equipment
CN111523293A (en) * 2020-04-08 2020-08-11 广东小天才科技有限公司 Method and device for assisting user in information input in live broadcast teaching
CN111565334A (en) * 2020-04-30 2020-08-21 广州酷狗计算机科技有限公司 Live broadcast playback method, device, terminal, server and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917591A (en) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 Method and device for playing back live video
CN106385619A (en) * 2016-09-14 2017-02-08 乐视控股(北京)有限公司 Replay method and device for live broadcast video stream
CN107888968A (en) * 2017-11-21 2018-04-06 广州酷狗计算机科技有限公司 Player method, device and the computer-readable storage medium of live video
CN110753256A (en) * 2019-09-18 2020-02-04 深圳壹账通智能科技有限公司 Video playback method and device, storage medium and computer equipment
CN111523293A (en) * 2020-04-08 2020-08-11 广东小天才科技有限公司 Method and device for assisting user in information input in live broadcast teaching
CN111565334A (en) * 2020-04-30 2020-08-21 广州酷狗计算机科技有限公司 Live broadcast playback method, device, terminal, server and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113507619A (en) * 2021-06-30 2021-10-15 中国银联股份有限公司 Data display method, data sending method, data display device, data sending device and related equipment
CN113507619B (en) * 2021-06-30 2023-09-19 中国银联股份有限公司 Data display method, data transmission method, data display device, data transmission device and related equipment
CN114125498A (en) * 2021-11-24 2022-03-01 北京百度网讯科技有限公司 Video data processing method, device, equipment and storage medium
CN114125498B (en) * 2021-11-24 2024-02-27 北京百度网讯科技有限公司 Video data processing method, device, equipment and storage medium
CN114449299A (en) * 2021-12-30 2022-05-06 广州盖盟达工业品有限公司 Commodity live broadcast processing method and device, terminal equipment and storage medium
CN115225718A (en) * 2022-07-26 2022-10-21 深圳证券通信有限公司 Network request data acquisition method and related device of android system

Similar Documents

Publication Publication Date Title
CN112702617A (en) Caching method and display method of live video page and related equipment
US11030987B2 (en) Method for selecting background music and capturing video, device, terminal apparatus, and medium
CN109413483B (en) Live content preview method, device, equipment and medium
WO2020010818A1 (en) Video capturing method and apparatus, terminal, server and storage medium
US20190149872A1 (en) Information exchanging method and device, audio terminal and computer-readable storage medium
CN105657535A (en) Audio recognition method and device
WO2017181598A1 (en) Method and device for playing video
CN110035318B (en) Video playing method and device and multimedia data playing method
CN101763434B (en) Method for wet-page script indication execution control of embedded browser, terminal and system
CN105828206A (en) Multi-video on-demand method and device
US10893333B2 (en) Video playing method, device and storage
CN111836112A (en) Multimedia file output method, device, medium and electronic equipment
CN105721813A (en) Automatic video track forming method and system
CN104185040A (en) Application synchronization method, application server and terminal
CN111757138A (en) Close-up display method and device based on single-shot live video
TW201215116A (en) Set-top box and method for searching characters thereof
CN111107283B (en) Information display method, electronic equipment and storage medium
KR100764441B1 (en) Method for Processing Segmented Object of Object Based Mobile Brocasting in Mobile Communication Terminal and Mobile Communication Terminal therefor
CN111586329A (en) Information display method and device and electronic equipment
WO2022170731A1 (en) Video display method and system for driving recorder, and computer storage medium
CN102811259A (en) Terminal equipment information display method
CN111277904A (en) Video playing control method and device and computing equipment
US9270763B2 (en) Method and apparatus for sharing electronic content
CN112995699B (en) Online live broadcast method, live broadcast equipment, live broadcast system and electronic equipment
CN111338543B (en) Screen capturing method and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210423

RJ01 Rejection of invention patent application after publication