CN112565859B - Video content display method, client and storage medium - Google Patents

Video content display method, client and storage medium Download PDF

Info

Publication number
CN112565859B
CN112565859B CN201910919510.1A CN201910919510A CN112565859B CN 112565859 B CN112565859 B CN 112565859B CN 201910919510 A CN201910919510 A CN 201910919510A CN 112565859 B CN112565859 B CN 112565859B
Authority
CN
China
Prior art keywords
video
content
displayed
screen
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910919510.1A
Other languages
Chinese (zh)
Other versions
CN112565859A (en
Inventor
刘佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910919510.1A priority Critical patent/CN112565859B/en
Publication of CN112565859A publication Critical patent/CN112565859A/en
Application granted granted Critical
Publication of CN112565859B publication Critical patent/CN112565859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • 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/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the disclosure provides a video content display method, a client and a storage medium; the method comprises the following steps: after receiving a starting instruction, acquiring a display task; the display task carries an identification parameter corresponding to the content to be displayed; determining whether the content to be displayed is the screen-opening video content or not according to the identification parameters, and if the content is the screen-opening video content, detecting current state parameters; if the current state parameter meets the preset display condition, acquiring content control data corresponding to the display task; the preset display condition is used for judging whether the open-screen video content is displayed or not; based on the content control data, embedding the preloaded video data corresponding to the identification parameters into the current information stream to obtain an information stream to be displayed; the pre-loading video data is used for partially displaying the open-screen video content; and playing the target video corresponding to the information stream to be displayed so as to display the open-screen video content.

Description

Video content display method, client and storage medium
Technical Field
The embodiment of the disclosure relates to a native screen-open advertisement delivery technology in the field of application programs, and in particular relates to a video content display method, a client and a storage medium.
Background
With the development of smart hardware and mobile internet technology, terminals, such as smart phones, tablet computers, and smart watches, have begun to enter people's work and lives. People obtain corresponding information more and more through the client application on the terminal, and accordingly more and more advertisers select to launch open screen advertisements on the client application. The screen-open advertisement can be displayed directly when the client application is opened, and the display mode of the screen-open advertisement can play a good advertising role, is one of advertisement forms most popular with advertisers, and is a commercial change means commonly used by the client application at present.
However, the open screen advertisement delivered by the server at the client often interferes with the native information flow of the client, so that the starting speed of the client is reduced, and meanwhile, the fluency and the display efficiency of the open screen advertisement are reduced.
Disclosure of Invention
In view of this, the present disclosure provides a method for displaying video content, a client and a storage medium.
In a first aspect, an embodiment of the present disclosure provides a method for displaying video content, including:
after receiving a starting instruction, acquiring a display task; the display task carries an identification parameter corresponding to the content to be displayed;
determining whether the content to be displayed is the screen-opening video content or not according to the identification parameter, and if the content to be displayed is the screen-opening video content, detecting a current state parameter;
if the current state parameter meets a preset display condition, acquiring content control data corresponding to the display task; the preset display condition is used for judging whether the screen-opening video content is displayed or not;
based on the content control data, embedding the preloaded video data corresponding to the identification parameters into the current information flow to obtain an information flow to be displayed; the preloaded video data is used for partially displaying the open-screen video content;
and playing the target video corresponding to the information stream to be displayed so as to display the open screen video content.
In the foregoing solution, after determining whether the content to be displayed is the open-screen video content according to the identifier parameter, the method further includes:
and if the content is not the screen-opening video content, directly displaying the content to be displayed through the SDK.
In the above solution, after detecting the current state parameter, the method further includes:
if the current state parameter does not meet the preset display condition, sending a cancellation request to the SDK;
and receiving a cancellation response returned by the SDK, skipping the display task according to the cancellation response, and continuously receiving the next display task.
In the foregoing solution, the embedding the preloaded video data corresponding to the identifier parameter into the current information stream based on the content control data to obtain an information stream to be displayed includes:
reading orientation parameters, position parameters and character parameters in the content control data;
and according to the orientation parameter, the position parameter and the character parameter, embedding the preloaded video data into the current information stream to obtain the information stream to be displayed.
In the foregoing solution, the target video includes: the video to be displayed corresponding to the preloaded video data and the natural information stream video corresponding to the current information stream.
In the above scheme, before the target video corresponding to the information stream to be displayed is played, the method further includes:
after receiving a starting instruction, acquiring a pre-stored simulation starting image and/or a pre-stored simulation starting video;
and responding to the starting instruction, and displaying the pre-stored simulation starting image and/or the pre-stored simulation starting video.
In the above scheme, the playing the target video corresponding to the information stream to be displayed includes:
removing the pre-stored simulation starting image and/or the pre-stored simulation starting video;
playing the video to be displayed, and receiving a control instruction corresponding to the screen-opening video content;
and playing the natural information stream video based on the control instruction.
In a second aspect, an embodiment of the present disclosure provides a client, where the client includes: an acquisition unit, a determination unit, a detection unit and a playing unit,
the acquisition unit is used for acquiring the display task after receiving the starting instruction; the display task carries an identification parameter corresponding to the content to be displayed;
the determining unit is used for determining whether the content to be displayed is the open-screen video content according to the identification parameter;
the detection unit is used for detecting the current state parameter if the video content is the screen-opening video content;
the obtaining unit is further configured to obtain content control data corresponding to the display task if the current state parameter meets a preset display condition; the preset display condition is used for judging whether the screen-opening video content is displayed or not; based on the content control data, the preloaded video data corresponding to the identification parameters are embedded into the current information flow, and the information flow to be displayed is obtained; the preloaded video data is used for partially displaying the open-screen video content;
and the playing unit is used for playing the target video corresponding to the information stream to be displayed so as to display the open-screen video content.
In the above scheme, the playing unit is further configured to, after determining whether the content to be displayed is the screen-open video content according to the identification parameter, directly display the content to be displayed through the SDK if the content to be displayed is not the screen-open video content.
In the foregoing solution, the client further includes: a sending unit and a receiving unit, wherein,
the sending unit is used for sending a cancellation request to the SDK after detecting the current state parameter and if the current state parameter does not meet the preset display condition;
and the receiving unit is used for receiving a cancellation response returned by the SDK, skipping the display task according to the cancellation response and continuing to receive the next display task.
In the above scheme, the obtaining unit is specifically configured to read an orientation parameter, a position parameter, and a character parameter in the content control data; and according to the orientation parameter, the position parameter and the character parameter, embedding the preloaded video data into the current information stream to obtain the information stream to be displayed.
In the foregoing solution, the target video includes: the video to be displayed corresponding to the preloaded video data and the natural information stream video corresponding to the current information stream.
In the above scheme, the obtaining unit is further configured to obtain a pre-stored analog start image and/or a pre-stored analog start video after receiving a start instruction before placing the target video corresponding to the information stream to be displayed;
the playing unit is further used for responding to the starting instruction and displaying the pre-stored simulation starting image and/or the pre-stored simulation starting video.
In the above scheme, the playing unit is specifically configured to remove the pre-stored analog start image and/or the pre-stored analog start video; playing the video to be displayed, and receiving a control instruction corresponding to the screen-opening video content; and playing the natural information stream video based on the control instruction.
In a third aspect, the present disclosure provides a client, where the client includes a processor, and a memory storing instructions executable by the processor, and when the instructions are executed by the processor, the method for presenting video content as described above is implemented.
In a fourth aspect, the embodiment of the present disclosure provides a storage medium applied in a client, where the program is executed by a processor to implement the method for displaying video content as described above.
According to the display method, the client and the storage medium of the video content, the client obtains a display task after receiving a starting instruction; the display task carries an identification parameter corresponding to the content to be displayed; determining whether the content to be displayed is the screen-opening video content or not according to the identification parameters, and detecting current state parameters if the content is the screen-opening video content; if the current state parameter meets the preset display condition, acquiring content control data corresponding to the display task; the preset display condition is used for judging whether the open-screen video content is displayed or not; based on the content control data, embedding the preloaded video data corresponding to the identification parameters into the current information stream to obtain an information stream to be displayed; the pre-loaded video data is used for partially displaying the open-screen video content; and playing the target video corresponding to the information stream to be displayed so as to display the open-screen video content. That is to say, in the embodiment of the present disclosure, after the client receives the display task, if the content to be displayed in the display task is the screen-open video content and the current state parameter of the client supports the display of the screen-open video content, the client may directly embed the preloaded video data of the screen-open video content into the current information stream to obtain the information stream to be displayed, so as to implement the display of the screen-open video content by playing the target identification screen corresponding to the information stream to be displayed. Therefore, the client can selectively display the screen-opening video content based on the marking information of the content to be displayed, and when the client displays the screen-opening video content through the playing target video, seamless splicing of a screen-opening stage and an information flow stage can be achieved, so that the starting speed of the client can be increased, and the fluency and the display efficiency of the screen-opening advertisement can be improved.
Drawings
Fig. 1 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a client composition structure proposed in the embodiment of the present disclosure;
fig. 3 is a schematic diagram of a client composition structure proposed in the embodiment of the present disclosure;
fig. 4 is a first flowchart illustrating a method for displaying video content according to an embodiment of the present disclosure;
FIG. 5 is a schematic view of a screen-open phase;
fig. 6 is a second flowchart illustrating a method for displaying video content according to an embodiment of the disclosure;
fig. 7 is a third flowchart illustrating a method for displaying video content according to an embodiment of the present disclosure;
fig. 8 is a fourth flowchart illustrating a method for displaying video content according to an embodiment of the present disclosure;
FIG. 9 is a diagram illustrating a pre-stored simulated boot image.
Detailed Description
For the purpose of making the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be described in further detail with reference to the accompanying drawings, the described embodiments should not be construed as limiting the present disclosure, and all other embodiments obtained by a person of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present disclosure.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the present disclosure, the client may be software that can be run in the terminal. Referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure. As shown in fig. 1, the terminal may be various electronic devices including, but not limited to, mobile electronic devices such as a mobile phone, a notebook computer, a Digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a vehicle-mounted electronic device (e.g., a car navigation electronic device), etc., and fixed electronic devices such as a Digital Television (TV), a desktop computer, etc. The terminal shown in fig. 1 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 1, the terminal 100 may include a processing device (e.g., a central processing unit, a graphic processor, etc.) 110, which may perform various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) 120 or a program loaded from a storage device 180 into a Random Access Memory (RAM) 130. In the RAM130, various programs and data necessary for the operation of the terminal 100 are also stored. The processing device 110, the ROM120, and the RAM130 are connected to each other through a bus 140. An Input/Output (I/O) interface 150 is also connected to bus 140.
Generally, the following devices may be connected to the I/O interface 150: input devices 160 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 170 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, or the like; a storage device 180 including, for example, a magnetic tape, a hard disk, or the like; and a communication device 190. The communication means 190 may allow the terminal 100 to perform wireless or wired communication with other devices to exchange data. While fig. 1 illustrates a terminal 100 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, the processes described by the provided flowcharts may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program containing program code for performing the method illustrated in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network through the communication device 190, or installed from the storage device 180, or installed from the ROM 120. The computer program, when executed by the processing device 110, performs the functions in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium described above in the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a RAM, a ROM, an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In the disclosed embodiments, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the embodiments of the present disclosure, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer 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 computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
The computer readable medium may be included in the terminal 100; or may exist separately and not be assembled into the terminal 100.
The computer readable medium carries one or more programs which, when executed by the client, cause the terminal 100 to perform the methods provided by the embodiments of the present disclosure.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, 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 computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of Network, including a Local Area Network (LAN) and a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The units and/or modules described in the client related to the embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware.
For a hardware manner, the units and/or modules of the client implementing the embodiments of the present disclosure may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components, and are used to execute the methods provided by the embodiments of the present disclosure.
In the form of software, the units and/or modules in the client implementing the method for presenting video content according to the embodiments of the present disclosure may be implemented by two or more units,
units and/or modules in the device for implementing the method for displaying video content according to the embodiment of the present disclosure are exemplarily described below in a software manner.
Fig. 2 is a schematic diagram of a client composition structure proposed in the embodiment of the present disclosure, and as shown in fig. 2, the client 2 includes an obtaining unit 21, a determining unit 22, a detecting unit 23, a playing unit 24, a sending unit 25, and a receiving unit 26.
The obtaining unit 21 is configured to obtain a display task after receiving a start instruction; the display task carries an identification parameter corresponding to the content to be displayed;
the determining unit 22 is configured to determine whether the content to be displayed is an open-screen video content according to the identification parameter;
the detecting unit 23 is configured to detect a current state parameter if the video content is the open screen video content;
the obtaining unit 21 is further configured to obtain content control data corresponding to the display task if the current state parameter meets a preset display condition; the preset display condition is used for judging whether the screen-opening video content is displayed or not; based on the content control data, the preloaded video data corresponding to the identification parameters are embedded into the current information flow, and the information flow to be displayed is obtained; the preloaded video data is used for partially displaying the open-screen video content;
the playing unit 24 is configured to play the target video corresponding to the information stream to be displayed, so as to display the open-screen video content.
Further, in the embodiment of the present disclosure, the playing unit 24 is further configured to, after determining whether the content to be displayed is the screen-open video content according to the identification parameter, directly display the content to be displayed through the SDK if the content to be displayed is not the screen-open video content.
Further, in the embodiment of the present disclosure, the sending unit 25 is configured to send a cancellation request to the SDK after detecting a current state parameter, if the current state parameter does not satisfy the preset display condition;
the receiving unit 26 is configured to receive a cancellation response returned by the SDK, skip the presentation task according to the cancellation response, and continue to receive a next presentation task.
Further, in an embodiment of the present disclosure, the obtaining unit 21 is specifically configured to read an orientation parameter, a position parameter, and a character parameter in the content control data; and embedding the preloaded video data into the current information stream according to the orientation parameter, the position parameter and the character parameter to obtain the information stream to be displayed.
Further, in an embodiment of the present disclosure, the target video includes: the video to be displayed corresponding to the preloaded video data and the natural information stream video corresponding to the current information stream.
Further, in the embodiment of the present disclosure, the obtaining unit 21 is further configured to obtain a pre-stored analog start image and/or a pre-stored analog start video after receiving a start instruction before the target video corresponding to the information stream to be displayed is placed;
the playing unit 24 is further configured to respond to the start instruction, and display the pre-stored analog start image and/or the pre-stored analog start video.
Further, in the embodiment of the present disclosure, the playing unit 24 is specifically configured to remove the pre-stored analog start image and/or the pre-stored analog start video; playing the video to be displayed, and receiving a control instruction corresponding to the screen-opening video content; and playing the natural information stream video based on the control instruction.
Fig. 3 is a schematic diagram of a client composition structure according to an embodiment of the present disclosure, and as shown in fig. 3, the client 2 may further include a processor 27, a memory 28 storing executable instructions of the processor 27, and further, the client 2 may further include a communication interface 29, and a bus 210 for connecting the processor 27, the memory 28, and the communication interface 29.
In an embodiment of the present disclosure, a bus 210 is used to connect the communication interface 29, the processor 27, and the memory 28 and the intercommunication among these devices.
In an embodiment of the present disclosure, memory 28 is used to store instructions and data.
Further, in the embodiment of the present disclosure, the processor 27 is configured to obtain a display task after receiving the start instruction; the display task carries an identification parameter corresponding to the content to be displayed; determining whether the content to be displayed is the screen-opening video content or not according to the identification parameter, and if the content to be displayed is the screen-opening video content, detecting a current state parameter; if the current state parameter meets a preset display condition, acquiring content control data corresponding to the display task; the preset display condition is used for judging whether the screen-opening video content is displayed or not; based on the content control data, embedding the preloaded video data corresponding to the identification parameters into the current information flow to obtain an information flow to be displayed; the preloaded video data is used for partially displaying the open-screen video content; and playing the target video corresponding to the information stream to be displayed so as to display the open screen video content.
It should be noted that the above mentioned classification of units does not constitute a limitation of the client itself, for example, some units may be split into two or more sub-units, or some units may be combined into a new unit.
It is also noted that the names of the above-mentioned elements do not in some cases constitute limitations on the elements themselves.
For the same reason, the units and/or modules not described in detail in the client do not represent defaults of the corresponding units and/or modules, and all operations performed by the client can be implemented by the corresponding units and/or modules in the client.
According to the client provided by the embodiment of the disclosure, after receiving a starting instruction, the client acquires a display task; the display task carries an identification parameter corresponding to the content to be displayed; determining whether the content to be displayed is the screen-opening video content or not according to the identification parameters, and if the content is the screen-opening video content, detecting current state parameters; if the current state parameter meets the preset display condition, acquiring content control data corresponding to the display task; the preset display condition is used for judging whether the open-screen video content is displayed or not; based on the content control data, embedding the preloaded video data corresponding to the identification parameters into the current information flow to obtain an information flow to be displayed; the pre-loading video data is used for partially displaying the open-screen video content; and playing the target video corresponding to the information stream to be displayed so as to display the open-screen video content. That is to say, in the embodiment of the present disclosure, after the client receives the display task, if the content to be displayed in the display task is the screen-open video content, and the current state parameter of the client supports the display of the screen-open video content, the client may directly embed the preloaded video data of the screen-open video content into the current information stream to obtain the information stream to be displayed, so that the display of the screen-open video content may be realized through the playing of the target identification screen corresponding to the information stream to be displayed. Therefore, the client can selectively display the screen-opening video content based on the marking information of the content to be displayed, and seamless splicing of the screen-opening stage and the information flow stage can be realized when the client displays the screen-opening video content through the playing target video, so that the starting speed of the client can be increased, and the fluency and the display efficiency of the screen-opening advertisement can be improved.
In an embodiment of the present disclosure, with reference to fig. 4, fig. 4 is a schematic flowchart of a method for displaying video content according to an embodiment of the present disclosure, and as shown in fig. 4, the method for displaying video content by a client mainly includes the following steps:
step 101, after receiving a starting instruction, acquiring a display task; and the display task carries the identification parameters corresponding to the content to be displayed.
In the embodiment of the disclosure, after receiving the opening instruction, the client may first acquire the display task carrying the identification parameter corresponding to the content to be displayed. The client may receive the start instruction in multiple ways, for example, the client may receive the start instruction through touch operation of a user received by the terminal, or the client may receive the start instruction through triggering of a start mechanism preset by the terminal.
It should be noted that, in the embodiments of the present disclosure, a client in a terminal may refer to a program corresponding to a server and providing a local service for a client. Except for some application programs which only run locally, the application programs are generally installed on a common terminal and need to be operated with a server side.
After the internet has developed, the more common clients include web browsers used on the world wide web, email clients for receiving and sending emails, and client software for instant messaging. For such applications, a corresponding server and a corresponding service program are required in the network to provide corresponding services, such as database services, e-mail services, etc., so that a specific communication connection needs to be established between the terminal and the server to ensure the normal operation of the application program.
It should be noted that in the embodiments of the present disclosure, a server may serve a client, and the content of the service is such as providing resources to the client, saving client data, and so on.
It should be noted that, in the embodiment of the present disclosure, the content to be displayed may be a native open-screen advertisement, that is, the video to be displayed may be a video of the native open-screen advertisement.
Further, in the embodiment of the present disclosure, the content to be displayed may also be other content besides the native screen-open advertisement, for example, the content to be displayed may also be weather notification content, breaking news content, person-seeking content, disaster warning content, and the like, and accordingly, the video to be displayed may be weather notification video, breaking news video, person-seeking video, disaster warning video, and the like.
Further, in the embodiment of the present disclosure, after receiving the start instruction, the client may first obtain a presentation task for displaying the video content, where the presentation task may be sent to the client by the server. In particular, the presentation is considered an indication for the presentation of video content to the client.
It should be noted that, in the embodiment of the present disclosure, after the client acquires the presentation task, the client may read the identification parameter corresponding to the content to be presented, which is carried in the presentation task. The identification parameter is used for determining the specific type of the content to be displayed, that is, the client can determine whether the content to be displayed is the ordinary video content or the open screen video content through the identification parameter.
And 102, determining whether the content to be displayed is the screen-opening video content or not according to the identification parameters, and detecting the current state parameters if the content to be displayed is the screen-opening video content.
In the embodiment of the disclosure, after the client acquires the display task, whether the content to be displayed is the screen-open video content or not can be further determined according to the identification parameter carried in the display task, and if the content to be displayed is determined to be the screen-open video content, the client needs to detect the current state parameter.
It should be noted that, in the embodiment of the present disclosure, after the client obtains the display task for displaying the content to be displayed, if the content to be displayed is the screen-open video content, the state of the client needs to be detected first to obtain the current state parameter, so as to further determine whether the screen-open video content can be displayed according to the current state parameter.
That is, in embodiments of the present disclosure, the current state parameter may be used to determine whether the client is conditioned to present the open video content.
It should be noted that, in the embodiment of the present disclosure, the current state parameter may include, but is not limited to, at least one of a plurality of state parameters, such as a data loading state, a data failure state, a presentation opportunity state, and an insertion state of an information stream.
Further, in the embodiment of the present disclosure, the data loading state in the current state parameter may represent whether the client has loaded the video data corresponding to the video content that has finished the screen opening; the data failure state in the current state parameters can determine whether the data cached by the client is expired or failed; the show opportunity state in the current state parameters may determine whether the client is in a show opportunity (not in a feed page/push open/reflow page open/third party application call/in a feed page but with other interactions); the insertion status of the information stream in the current status parameter may be used by the client to determine whether the information stream is inserted into the on-screen video content.
103, if the current state parameter meets a preset display condition, acquiring content control data corresponding to the display task; the preset display condition is used for judging whether the open-screen video content is displayed or not.
In the implementation of the present disclosure, after the client detects the current state parameter, if the current state parameter can meet the preset display condition, the client may first obtain the content control data corresponding to the display task, specifically, the preset display condition is used to determine whether the current display parameter corresponding to the client can display the open-screen video content.
It should be noted that, in the embodiment of the present disclosure, the client may preset a judgment condition for judging whether the open-screen video content can be displayed, that is, a preset display condition. That is, in the embodiment of the present disclosure, the preset display condition is used for the client to determine whether to display the open-screen video content based on the current state parameter.
Further, in the embodiment of the present disclosure, after the client detects and obtains the current state parameter, it may first determine whether the display of the open-screen video content is possible according to the current state parameter and a preset display condition, and if the determination result is that the display of the open-screen video content is possible, the client may obtain content control data corresponding to the display task.
It should be noted that, in the embodiment of the present disclosure, specific control parameters such as a directional parameter, a position parameter, and a character parameter may be included in the content control data.
Step 104, based on the content control data, embedding the preloaded video data corresponding to the identification parameters into the current information stream to obtain an information stream to be displayed; wherein the preloaded video data is used for partial presentation of the open-screen video content.
In the embodiment of the disclosure, after the client acquires the content control data corresponding to the display task, the client may set the information stream to be displayed according to the content control data. Specifically, the client may embed the preloaded video data corresponding to the identification parameter into the current information stream based on the content control data, so as to obtain the information stream to be displayed.
Further, in the embodiment of the present disclosure, the preloaded video data is not all video data corresponding to the open-screen video content, but is a part of all video data corresponding to the open-screen video content. That is, in the present disclosure, the preloaded video data may be used to make a partial presentation of the video data to the open screen video content.
It should be noted that, in the embodiment of the present disclosure, the customer order may first read the preloaded video data of the open-screen video content. For example, the client detects that the obtained current state parameters meet preset display conditions that the preloaded video data is successfully loaded, the data is not invalid, the client is in a display opportunity, the current information stream allows insertion of the video content with the screen being opened, and the like, so that the client can read the preloaded video.
Further, in the embodiment of the present disclosure, before reading the preloaded video data, the client may first obtain a preloaded task corresponding to the open-screen video content; wherein the preloading task carries the preloading strategy; the pre-loading strategy is used for limiting preset network parameters and preset data parameters on the screen-opening video content, and then pre-loading video data can be requested and cached according to the preset network parameters and the preset data parameters.
Specifically, in the embodiment of the present disclosure, a special queue is preloaded for maintaining video data of a native on-screen advertisement, each video is preloaded with a separate task, that is, a preloading task, and the preloading task can control a network environment allowed for preloading by using preset network parameters issued by a server, for example, the server only allows for preloading of video data in a wireless network environment; the pre-loading task can also control the size of the pre-loading content by a preset data parameter sent by the server. For example, the size of all videos of the original screen-opening advertisement is 3M, the field of the preloading size issued by the server is 800k, and then the client only requests the video data of the first 800k of all videos of the original screen-opening advertisement to the local, so that the user can be guaranteed to smoothly play the videos in the first few seconds when the screen is opened, and the following contents are requested in real time, and further the flow can be saved.
In the embodiment of the present disclosure, further, after the client reads the preloaded video data, the preloaded video data may be embedded into the current information stream based on the content control data, so that the information stream to be displayed may be obtained.
It should be noted that, in the embodiment of the present disclosure, after determining that the display of the video content on the screen can be performed, and reading the corresponding preloaded video data, the client may insert the preloaded video data into the original current information stream to be displayed, so as to obtain the information stream to be displayed. The information stream to be displayed can seamlessly and smoothly splice and display the open-screen video content and the current information stream.
Further, in the embodiments of the present disclosure, the presentation of the open-screen video content may be divided into an open-screen phase and an information flow phase. Specifically, the method for seamlessly transitioning from the screen-on stage to the information flow stage is visual switching, and the display level of the video needs to be adjusted from the display to realize the visual switching.
And 105, playing a target video corresponding to the information stream to be displayed so as to display the open-screen video content.
In the embodiment of the disclosure, after the client embeds the preloaded video data into the current information stream and obtains the information stream to be displayed, the client can play the target video corresponding to the information stream to be displayed, so that the display task can be completed, and the display of the open-screen video content is realized.
Further, in the embodiment of the present disclosure, since the information stream to be presented is obtained by the client embedding the preloaded video data into the current information stream, the target video corresponding to the information stream to be presented may include a native video to be presented corresponding to the preloaded video data and a natural information stream video corresponding to the current information stream.
It should be noted that, in the embodiment of the present disclosure, the displaying of the open-screen video content may be divided into an open-screen stage and an information flow stage, that is, the open-screen video content may be displayed as a video to be displayed and a natural information flow video.
Further, in the embodiment of the present disclosure, the screen-open stage, that is, the video to be displayed, may be a clean video display, fig. 5 is a schematic diagram of the screen-open stage, as shown in fig. 5, in the screen-open stage of displaying the screen-open video content, the client displays a clean video interface, in the video interface, the identifier "a" of the client is displayed in the upper left corner, and the skip button is displayed in the lower right corner.
Further, in embodiments of the present disclosure, the information flow phase, i.e., natural information flow video, keeps its various advertising component interactions consistent with common advertisements. Specifically, the client can update the comment number and the like number of the natural information flow video in real time when the information flow stage is shown, because the preloaded video data is loaded very previously. Meanwhile, when the client displays the information flow, the current privacy state, comment switch and other limits can be forced to be opened, so that abnormal cases can be prevented from occurring when the putting time begins.
It should be noted that, in the embodiment of the present disclosure, since the information stream to be displayed is obtained by the client embedding the preloaded video data into the current information stream, that is, the screen-open video content is already in the feed stream, when the client displays the screen-open video content based on the target video corresponding to the played information stream to be displayed, the client may perform the switching between the video to be displayed and the natural information stream video through the up-sliding operation or the down-sliding operation received by the terminal.
That is to say, when the video to be displayed in the target video corresponding to the information stream to be displayed is played, if the client receives the upward-sliding operation of the user through the terminal, the client can switch the video to be displayed into the natural information stream video for continuous display; when the natural information stream video in the target video corresponding to the information stream to be displayed is played, if the client receives the downslide operation of the user through the terminal, the client can switch the natural information stream video into the video to be displayed for continuous display. Therefore, smooth transition between the video to be displayed and the natural information flow video can be realized, namely seamless splicing in a screen opening stage and an information flow stage is realized.
Further, in the embodiments of the present disclosure, the client may implement a seamless transition from the screen-open stage to the information flow stage by adjusting the display hierarchy of the video. Specifically, to achieve the effect of full screen presentation of the video in the open screen phase, the client may set the entire frame of the player view to the entire screen size and fully present (set the cliptobends attribute of the parent view to NO, equivalent to the front of the display hierarchy, not constrained by the parent view size), while the client may hide the top selection component, various interactive components on the video, and the bottom tabbar. Further, after the client finishes displaying the video to be displayed, the client may set a parent view cliptops — YES, at this time, the player view accepts the constraint of the parent view, the display hierarchy is set back, and the actual display area becomes small, so that the actual display area is consistent with the natural feed stream video when the response user slides.
It can be understood that, in the present disclosure, data corresponding to a native open screen advertisement may be sent to a client in a package manner through an interface mario _ api. Specifically, the native screen-opening advertisement interface mario _ api is responsible for directly issuing specifically-displayed native screen-opening advertisement data to the client. The engine is a delivery strategy module and is responsible for screening out an advertisement plan which is most suitable for display of a current screen opening request from an advertisement set, and then mario _ api packages corresponding advertisement data below according to the advertisement plan.
According to the method for displaying the video content, the client side obtains the display task after receiving the starting instruction; the display task carries an identification parameter corresponding to the content to be displayed; determining whether the content to be displayed is the screen-opening video content or not according to the identification parameters, and if the content is the screen-opening video content, detecting current state parameters; if the current state parameter meets the preset display condition, acquiring content control data corresponding to the display task; the preset display condition is used for judging whether the open-screen video content is displayed or not; based on the content control data, embedding the preloaded video data corresponding to the identification parameters into the current information stream to obtain an information stream to be displayed; the pre-loaded video data is used for partially displaying the open-screen video content; and playing the target video corresponding to the information stream to be displayed so as to display the open-screen video content. That is to say, in the embodiment of the present disclosure, after the client receives the display task, if the content to be displayed in the display task is the screen-open video content and the current state parameter of the client supports the display of the screen-open video content, the client may directly embed the preloaded video data of the screen-open video content into the current information stream to obtain the information stream to be displayed, so as to implement the display of the screen-open video content by playing the target identification screen corresponding to the information stream to be displayed. Therefore, the client can selectively display the screen-opening video content based on the marking information of the content to be displayed, and seamless splicing of the screen-opening stage and the information flow stage can be realized when the client displays the screen-opening video content through the playing target video, so that the starting speed of the client can be increased, and the fluency and the display efficiency of the screen-opening advertisement can be improved.
Based on the foregoing embodiment, in yet another implementation of the present disclosure, further, after determining whether the content to be displayed is the open video content according to the identification parameter, if the content to be displayed is not the open video content, the client may directly display the content to be displayed through a Software Development Kit (SDK).
It should be noted that, in the embodiment of the present disclosure, the SDK may be a set of development tools used for establishing application software for a specific software package, a software framework, a hardware platform, an operating system, and the like. In general, an SDK is an SDK used by an application under a Windows platform. It may simply provide some files of Application Programming Interface (API) for a certain Programming language, but may also include complex hardware that can communicate with a certain embedded system. Typical tools include utility tools for debugging and other uses. SDKs also often include example code, supporting technical notes, or other supporting documentation to clarify suspicions for basic reference.
Further, in the embodiment of the disclosure, the client may interact with the SDK for information. Specifically, after determining that the content to be displayed in the display task is not the video content with the screen being opened according to the identification parameter, the SDK may directly display the content to be displayed in the display task, that is, if the content to be displayed is not the video content with the screen being opened, the content to be displayed may be displayed by the SDK instead of being displayed by the client.
That is to say, in the present disclosure, the content to be displayed in the display task may be the open-screen video content or may be the ordinary video content, and based on the identification information corresponding to the content to be displayed, if it is determined that the content to be displayed is the open-screen video content, the client further determines whether the preset display condition is met, and displays the content to be displayed when the preset display condition is met, and if it is determined that the content to be displayed is the open-screen video content, the SDK is responsible for displaying the content to be displayed.
In an embodiment of the present disclosure, further, fig. 6 is a schematic flowchart of a second flow chart of a method for displaying video content according to an embodiment of the present disclosure, as shown in fig. 6, after the client detects a current state parameter, that is, after step 102, the method for displaying the video content on screen by the client may further include the following steps:
and step 106, if the current state parameter does not meet the preset display condition, sending a cancellation request to the SDK.
In the implementation of the present disclosure, after detecting the current state parameter, if the current state parameter cannot satisfy the preset display condition, the client may send a cancellation request to the SDK, so that the display of the content to be displayed may be cancelled.
It should be noted that, in the embodiment of the present disclosure, if the current state parameter of the client cannot complete the display of the open-screen video content, the client may notify the SDK not to display the open-screen video content through interaction with the SDK.
And step 107, receiving a cancellation response returned by the SDK, skipping the display task according to the cancellation response, and continuing to receive the next display task.
In the embodiment of the disclosure, after sending the cancellation request to the SDK, the client may receive a cancellation response returned by the SDK, skip the presentation task according to the cancellation response, and continue to receive the next presentation task.
It should be noted that, in the implementation of the present disclosure, if the client determines that the condition for displaying the open-screen video content is not met according to the current parameters, and after sending the cancellation request to the SDK, the client may receive a cancellation response sent by the SDK, the client may skip the displaying of the content to be displayed corresponding to the displaying task, receive the next displaying task again, and continue to perform the content displaying of the next displaying task according to the steps described in the above steps 101 to 107.
That is, in the present disclosure, if the current state parameter of the client is available for displaying the open-screen video content, the client may complete the displaying task according to the above steps 104 and 105, and if the current state parameter of the client is not available for displaying the open-screen video content, the client performs the displaying task and continues to complete the next displaying task.
In an embodiment of the present disclosure, further, with reference to fig. 7 continuously, fig. 7 is a third flowchart illustrating a method for displaying video content according to an embodiment of the present disclosure, and as shown in fig. 7, a method for a client to embed, based on content control data, preloaded video data corresponding to an identification parameter into a current information stream to obtain an information stream to be displayed may include the following steps:
and 104a, reading the orientation parameter, the position parameter and the character parameter in the content control data.
In the embodiment of the disclosure, after the client acquires the content control data corresponding to the presentation task, the client may read the orientation parameter, the position parameter, and the character parameter in the content control data.
It should be noted that, in the embodiment of the present disclosure, the content control data may be for controlling the open-screen video content, and specifically, the content control data may include, but is not limited to, an orientation parameter, a position parameter, a character parameter, and the like.
And 104b, embedding the preloaded video data into the current information stream according to the orientation parameters, the position parameters and the character parameters to obtain the information stream to be displayed.
In the implementation of the present disclosure, after reading the orientation parameter, the position parameter, and the character parameter in the content control data, the client may embed the preloaded video data into the current information stream according to the orientation parameter, the position parameter, and the character parameter, so as to obtain the information stream to be displayed.
Further, in the embodiment of the present disclosure, since the information stream to be displayed is obtained by the client embedding the preloaded video data into the current information stream according to the orientation parameter, the position parameter, and the character parameter, the target video corresponding to the information stream to be displayed may include the video to be displayed corresponding to the preloaded video data and the natural information stream video corresponding to the current information stream.
It should be noted that, in the embodiment of the present disclosure, when the client controls, through the content control data, generation of the information stream to be displayed, specifically, the method may include:
1. and the advertisement data comprises advertisement conversion target fields such as landing pages and the like and advertisement style control fields such as button patterns and the like.
2. And (4) performing item transformation on the video, and performing native information on the user side, such as comment, like and head portrait.
3. The information flow plan is the display main body information of the original screen-opening advertisement plan, 7 days ahead, follows the feed (information flow) request data of the client, issues all display control data of the information flow plan to the client, and the client performs cache preloading processing.
4. The information flow advertisement plan is issued three times every day, so that the client is guaranteed to be completely preloaded to the video material, and the original screen-open advertisement plan can be displayed normally and perfectly in the non-network and non-network high-quality environment.
5. If the data is pre-loaded in advance and is modified in the pre-loading process, the data which is delivered before is covered in the modified data delivery process, so that the data of the client side is ensured to be the newest as much as possible.
6. During rendering, the client ignores identification of the video state, ensures that the video is loaded in the privacy state, and can be normally displayed when being released.
According to the method for displaying the video content, the client side obtains the display task after receiving the starting instruction; the display task carries an identification parameter corresponding to the content to be displayed; determining whether the content to be displayed is the screen-opening video content or not according to the identification parameters, and detecting current state parameters if the content is the screen-opening video content; if the current state parameter meets the preset display condition, acquiring content control data corresponding to the display task; the preset display condition is used for judging whether the open-screen video content is displayed or not; based on the content control data, embedding the preloaded video data corresponding to the identification parameters into the current information stream to obtain an information stream to be displayed; the pre-loaded video data is used for partially displaying the open-screen video content; and playing the target video corresponding to the information stream to be displayed so as to display the open-screen video content. That is to say, in the embodiment of the present disclosure, after the client receives the display task, if the content to be displayed in the display task is the screen-open video content, and the current state parameter of the client supports the display of the screen-open video content, the client may directly embed the preloaded video data of the screen-open video content into the current information stream to obtain the information stream to be displayed, so that the display of the screen-open video content may be realized through the playing of the target identification screen corresponding to the information stream to be displayed. Therefore, the client can selectively display the screen-opening video content based on the marking information of the content to be displayed, and when the client displays the screen-opening video content through the playing target video, seamless splicing of a screen-opening stage and an information flow stage can be achieved, so that the starting speed of the client can be increased, and the fluency and the display efficiency of the screen-opening advertisement can be improved.
Based on the foregoing embodiment, in another embodiment of the present disclosure, fig. 8 is a flowchart illustrating a fourth method for displaying video content according to an embodiment of the present disclosure, as shown in fig. 8, before the client plays a target video corresponding to an information stream to be displayed, that is, before step 105, the method for displaying the video content on the screen of the client may further include the following steps:
and step 108, after receiving the starting instruction, acquiring a pre-stored simulation starting image and/or a pre-stored simulation starting video.
And step 109, responding to the starting instruction, and displaying a pre-stored simulation starting image and/or a pre-stored simulation starting video.
In the embodiment of the disclosure, after the client receives the start instruction and before the target video corresponding to the information stream to be displayed is played, the client may first acquire the pre-stored analog start image and/or the pre-stored analog start video, and then may respond to the start instruction to display the pre-stored analog start image and/or the pre-stored analog start video.
It should be noted that, in the embodiment of the present disclosure, the client may store a pre-stored analog start image and/or a pre-stored analog start video in advance, where the pre-stored analog start image and/or the pre-stored analog start video may be used to avoid generation of playing katton.
Further, in the embodiment of the present disclosure, in order to avoid displaying an empty feed caused by playing a pause, after the client receives the start instruction and starts the client, the client needs to form a false image of starting the client by pre-storing the analog start image and/or the display of the pre-stored analog start video.
It should be noted that, in the embodiment of the present disclosure, after the client responds to the start instruction and displays the pre-stored analog start image and/or the pre-stored analog start video, once the display of the target video is prepared, the client may remove the pre-stored analog start image and/or the pre-stored analog start video when playing the target video corresponding to the information stream to be displayed, so as to enter the display interface of the screen-open video content.
Fig. 9 is a schematic diagram of pre-storing a simulated starting image, as shown in fig. 9, after receiving a to-be-started instruction, when starting, the client a first displays a pre-stored simulated starting image, and the client a displays a state in which the client a is still starting to the user through display of the pre-stored simulated starting image.
In the embodiment of the present disclosure, further, the method for the client to play the target video corresponding to the information stream to be displayed may include the following steps:
and 105a, removing the pre-stored analog starting image and/or the pre-stored analog starting video.
In the embodiment of the disclosure, after the client embeds the preloaded video data into the current information stream and obtains the information stream to be displayed, the client may first remove the pre-stored analog start-up image and/or pre-store the analog start-up video.
It should be noted that, in the embodiment of the present disclosure, in order to avoid displaying an empty feed caused by playing a pause, the client may first display the pre-stored analog start image and/or the pre-stored analog start video, and once the client is ready to display the target video corresponding to the information stream to be displayed, the client may first remove the pre-stored analog start image and/or the pre-stored analog start video, so that the display interface of the screen-open video content may be further entered.
And 105b, playing the video to be displayed, and receiving a control instruction corresponding to the video to be displayed.
In the embodiment of the disclosure, after removing the pre-stored analog start image and/or the pre-stored analog start video, the client may play the video to be displayed, and then may receive the control instruction corresponding to the video to be displayed.
It should be noted that, in the embodiment of the present disclosure, when the client displays the content of the open-screen video, the client may play the video to be displayed corresponding to the preloaded video data first, and during the playing process of the video to be displayed, the client may receive the control instruction corresponding to the video to be displayed through the terminal.
Further, in the embodiments of the present disclosure, the control instruction received by the client may include, but is not limited to, an instruction to view, switch, or continuously play.
And 105c, playing the natural information stream video based on the control instruction.
In the embodiment of the disclosure, after the client plays the video to be displayed and receives the control instruction corresponding to the video to be displayed, the natural information stream video can be further played based on the control instruction.
Further, in the embodiment of the present disclosure, the control instruction received by the client during the process of playing the video to be displayed may be further used to control the playing of the natural information stream video.
It should be noted that, in the embodiment of the present disclosure, when the client plays the natural information stream video based on the control instruction, if the control instruction is switching, the client may directly switch the video to be displayed to the natural information stream video for playing.
That is to say, when the client performs the display of the open-screen video content, that is, plays the target video including the video to be displayed and the natural information stream video, the client may receive the control instruction, so that the corresponding play control processing may be executed based on the control instruction.
According to the method for displaying the video content, the client side obtains the display task after receiving the starting instruction; the display task carries an identification parameter corresponding to the content to be displayed; determining whether the content to be displayed is the screen-opening video content or not according to the identification parameters, and detecting current state parameters if the content is the screen-opening video content; if the current state parameter meets the preset display condition, acquiring content control data corresponding to the display task; the preset display condition is used for judging whether the open-screen video content is displayed or not; based on the content control data, embedding the preloaded video data corresponding to the identification parameters into the current information stream to obtain an information stream to be displayed; the pre-loaded video data is used for partially displaying the open-screen video content; and playing the target video corresponding to the information stream to be displayed so as to display the open-screen video content. That is to say, in the embodiment of the present disclosure, after the client receives the display task, if the content to be displayed in the display task is the screen-open video content and the current state parameter of the client supports the display of the screen-open video content, the client may directly embed the preloaded video data of the screen-open video content into the current information stream to obtain the information stream to be displayed, so as to implement the display of the screen-open video content by playing the target identification screen corresponding to the information stream to be displayed. Therefore, the client can selectively display the screen-opening video content based on the marking information of the content to be displayed, and seamless splicing of the screen-opening stage and the information flow stage can be realized when the client displays the screen-opening video content through the playing target video, so that the starting speed of the client can be increased, and the fluency and the display efficiency of the screen-opening advertisement can be improved.
The disclosed embodiments provide a computer-readable storage medium on which a program is stored, which when executed by a processor implements the method of presenting video content as described above.
Specifically, the program instructions corresponding to a method for displaying video content in the embodiments of the present disclosure may be stored on a storage medium such as an optical disc, a hard disc, or a usb disk, and when the program instructions corresponding to a method for displaying video content in the storage medium are read or executed by a client, the method includes the following steps:
after receiving a starting instruction, acquiring a display task; the display task carries an identification parameter corresponding to the content to be displayed;
determining whether the content to be displayed is the screen-opening video content or not according to the identification parameter, and if the content to be displayed is the screen-opening video content, detecting a current state parameter;
if the current state parameter meets a preset display condition, acquiring content control data corresponding to the display task; the preset display condition is used for judging whether the screen-opening video content is displayed or not;
based on the content control data, embedding the preloaded video data corresponding to the identification parameters into the current information flow to obtain an information flow to be displayed; the preloaded video data is used for partially displaying the open-screen video content;
and playing the target video corresponding to the information stream to be displayed so as to display the open screen video content.
Those skilled in the art will appreciate that the present disclosure may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of implementations of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart block or blocks and/or flowchart block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks.
The above description is only for the preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure.

Claims (16)

1. A method for presenting video content, the method comprising:
after receiving a starting instruction, acquiring a display task; the display task carries an identification parameter corresponding to the content to be displayed;
determining whether the content to be displayed is the screen-opening video content or not according to the identification parameter, and if the content to be displayed is the screen-opening video content, detecting a current state parameter;
if the current state parameter meets a preset display condition, acquiring content control data corresponding to the display task; the preset display condition is used for judging whether the screen-opening video content is displayed or not;
based on the content control data, embedding the preloaded video data corresponding to the identification parameters into the current information flow to obtain an information flow to be displayed; the preloaded video data is used for partially displaying the open-screen video content;
and playing the target video corresponding to the information stream to be displayed so as to display the open screen video content.
2. The method according to claim 1, wherein after determining whether the content to be displayed is an open-screen video content according to the identification parameter, the method further comprises:
and if the content is not the screen-opening video content, directly displaying the content to be displayed through a Software Development Kit (SDK).
3. The method of claim 2, wherein after detecting the current state parameter, the method further comprises:
if the current state parameter does not meet the preset display condition, sending a cancellation request to the SDK;
and receiving a cancellation response returned by the SDK, skipping the display task according to the cancellation response, and continuing to receive the next display task.
4. The method according to claim 1, wherein the embedding the preloaded video data corresponding to the identification parameter into a current information stream based on the content control data to obtain an information stream to be presented comprises:
reading orientation parameters, position parameters and character parameters in the content control data;
and according to the orientation parameter, the position parameter and the character parameter, embedding the preloaded video data into the current information stream to obtain the information stream to be displayed.
5. The method of claim 1, wherein the target video comprises: and the video to be displayed corresponding to the preloaded video data and the natural information stream video corresponding to the current information stream.
6. The method according to claim 5, wherein before playing the target video corresponding to the information stream to be shown, the method further comprises:
after receiving a starting instruction, acquiring a pre-stored simulation starting image and/or a pre-stored simulation starting video;
and responding to the starting instruction, and displaying the pre-stored simulation starting image and/or the pre-stored simulation starting video.
7. The method according to claim 6, wherein the playing the target video corresponding to the information stream to be shown comprises:
removing the pre-stored simulation starting image and/or the pre-stored simulation starting video;
playing the video to be displayed, and receiving a control instruction corresponding to the screen-opening video content;
and playing the natural information stream video based on the control instruction.
8. A client, the client comprising: an acquisition unit, a determination unit, a detection unit and a playback unit,
the acquisition unit is used for acquiring a display task after receiving a starting instruction; the display task carries an identification parameter corresponding to the content to be displayed;
the determining unit is used for determining whether the content to be displayed is the open-screen video content according to the identification parameter;
the detection unit is used for detecting the current state parameter if the video content is the screen-opening video content;
the obtaining unit is further configured to obtain content control data corresponding to the display task if the current state parameter meets a preset display condition; the preset display condition is used for judging whether the screen-opening video content is displayed or not; based on the content control data, the preloaded video data corresponding to the identification parameters are embedded into the current information flow, and the information flow to be displayed is obtained; the preloaded video data is used for partially displaying the open-screen video content;
and the playing unit is used for playing the target video corresponding to the information stream to be displayed so as to display the open-screen video content.
9. The client of claim 8,
and the playing unit is further used for directly displaying the content to be displayed through the SDK if the content to be displayed is not the screen-opening video content after determining whether the content to be displayed is the screen-opening video content according to the identification parameter.
10. The client of claim 9, further comprising: a sending unit and a receiving unit, wherein,
the sending unit is used for sending a cancellation request to the SDK after detecting the current state parameter and if the current state parameter does not meet the preset display condition;
and the receiving unit is used for receiving a cancellation response returned by the SDK, skipping the display task according to the cancellation response and continuing to receive the next display task.
11. The client of claim 8,
the acquisition unit is specifically used for reading the orientation parameter, the position parameter and the character parameter in the content control data; and according to the orientation parameter, the position parameter and the character parameter, embedding the preloaded video data into the current information stream to obtain the information stream to be displayed.
12. The client of claim 8, wherein the target video comprises: and the video to be displayed corresponding to the preloaded video data and the natural information stream video corresponding to the current information stream.
13. The client of claim 12,
the acquisition unit is further used for acquiring a pre-stored simulation starting image and/or a pre-stored simulation starting video before the target video corresponding to the information stream to be displayed is placed and after a starting instruction is received;
the playing unit is further used for responding to the starting instruction and displaying the pre-stored simulation starting image and/or the pre-stored simulation starting video.
14. The client of claim 13,
the playing unit is specifically used for removing the pre-stored analog starting image and/or the pre-stored analog starting video; playing the video to be displayed, and receiving a control instruction corresponding to the screen-opening video content; and playing the natural information stream video based on the control instruction.
15. A client, comprising a processor, a memory storing instructions executable by the processor, the instructions when executed by the processor implementing the method of any one of claims 1 to 7.
16. A storage medium having a program stored thereon for use in a client, wherein the program, when executed by a processor, implements the method of any one of claims 1 to 7.
CN201910919510.1A 2019-09-26 2019-09-26 Video content display method, client and storage medium Active CN112565859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910919510.1A CN112565859B (en) 2019-09-26 2019-09-26 Video content display method, client and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910919510.1A CN112565859B (en) 2019-09-26 2019-09-26 Video content display method, client and storage medium

Publications (2)

Publication Number Publication Date
CN112565859A CN112565859A (en) 2021-03-26
CN112565859B true CN112565859B (en) 2022-08-30

Family

ID=75030109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910919510.1A Active CN112565859B (en) 2019-09-26 2019-09-26 Video content display method, client and storage medium

Country Status (1)

Country Link
CN (1) CN112565859B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098344A (en) * 2007-07-23 2008-01-02 王文钢 Video advertisement exhibiting method
US8108257B2 (en) * 2007-09-07 2012-01-31 Yahoo! Inc. Delayed advertisement insertion in videos
CN103686255B (en) * 2013-11-22 2017-02-08 乐视致新电子科技(天津)有限公司 Video advertisement putting method and device based on HLS protocol
CN106101846B (en) * 2016-08-15 2020-02-04 腾讯科技(深圳)有限公司 Information processing method and device, and terminal
CN106775817A (en) * 2016-11-23 2017-05-31 深圳铂睿智恒科技有限公司 Intelligent terminal is spread its tail control method, system and the intelligent terminal of advertisement
CN107656669A (en) * 2017-09-05 2018-02-02 北京潘达互娱科技有限公司 One kind is spread its tail a page display methods, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112565859A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN110046021B (en) Page display method, device, system, equipment and storage medium
CN111970577B (en) Subtitle editing method and device and electronic equipment
CN112261226B (en) Horizontal screen interaction method and device, electronic equipment and storage medium
CN111510760A (en) Video information display method and device, storage medium and electronic equipment
CN113760150B (en) Page processing method, device, equipment and storage medium
CN113094135B (en) Page display control method, device, equipment and storage medium
CN112258241A (en) Page display method, device, terminal and storage medium
EP4124052A1 (en) Video production method and apparatus, and device and storage medium
CN110401877B (en) Video playing control method and device, electronic equipment and storage medium
US11750879B2 (en) Video content display method, client, and storage medium
CN113419800A (en) Interaction method, device, medium and electronic equipment
WO2023134419A1 (en) Information interaction method and apparatus, and device and storage medium
CN114238673A (en) Content display method, device, equipment and storage medium
CN114363686B (en) Method, device, equipment and medium for publishing multimedia content
CN112565870B (en) Content caching and reading method, client and storage medium
CN111913614B (en) Multi-picture display control method and device, storage medium and display
CN110162350B (en) Notification bar information display method, notification bar information display device, server and storage medium
US11847758B2 (en) Material display method and apparatus, terminal, and storage medium
CN112565859B (en) Video content display method, client and storage medium
CN111209503A (en) Method and device for processing popup in webpage, electronic equipment and storage medium
CN115567746A (en) Playing method and device and electronic equipment
CN118051157A (en) Media content processing method, apparatus, device, readable storage medium and product
CN115686290A (en) Interaction method, interaction device, electronic equipment and storage medium
CN113114849A (en) Alarm clock reminding method and device, storage medium and terminal
CN113849258B (en) Content display method, device, equipment and storage medium

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