CN112770142A - Interactive video interaction method and device and electronic equipment - Google Patents

Interactive video interaction method and device and electronic equipment Download PDF

Info

Publication number
CN112770142A
CN112770142A CN201911059917.8A CN201911059917A CN112770142A CN 112770142 A CN112770142 A CN 112770142A CN 201911059917 A CN201911059917 A CN 201911059917A CN 112770142 A CN112770142 A CN 112770142A
Authority
CN
China
Prior art keywords
interactive
interactive data
acquisition request
data acquisition
server
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
CN201911059917.8A
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201911059917.8A priority Critical patent/CN112770142A/en
Publication of CN112770142A publication Critical patent/CN112770142A/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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • 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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8543Content authoring using a description language, e.g. Multimedia and Hypermedia information coding Expert Group [MHEG], eXtensible Markup Language [XML]

Landscapes

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

Abstract

The invention provides an interactive video interaction method, an interactive video interaction device and electronic equipment, wherein the interactive video interaction method comprises the following steps: the interactive video interaction method is applied to electronic equipment, and comprises the following steps: sending an interactive data acquisition request to a server; receiving interactive data which is sent by a server and corresponds to the interactive data acquisition request; converting the interaction data into native code; executing the native code. The embodiment of the invention provides an interactive video interaction method, an interactive video interaction device and electronic equipment, and aims to solve the problem that an application program for playing interactive videos is poor in compatibility effect when used in a cross-platform mode.

Description

Interactive video interaction method and device and electronic equipment
Technical Field
The invention relates to the field of data interaction of video players, in particular to an interactive video interaction method, an interactive video interaction device and electronic equipment.
Background
The existing application program for playing the interactive video is usually a local application program written based on a system native program, the style of the application program is simple and fixed, and when the application program is used in a cross-platform manner (for example, when the application program for playing the interactive video developed based on an iOS platform is applied to an Android platform or a web platform), the problem of poor compatibility effect exists.
Disclosure of Invention
The embodiment of the invention aims to provide an interactive video interaction method, an interactive video interaction device and electronic equipment, and aims to solve the problem that an application program for playing interactive videos is poor in compatibility effect when used in a cross-platform mode.
In a first aspect of the present invention, there is provided an interactive video interaction method, where the method is applied to an electronic device, and the method includes:
sending an interactive data acquisition request to a server;
receiving interactive data which is sent by a server and corresponds to the interactive data acquisition request;
converting the interaction data into native code;
executing the native code.
In a second aspect of the present invention, there is also provided an interactive video interaction method, where the method is applied to a server, and the method includes:
receiving an interactive data acquisition request sent by electronic equipment;
and sending the interactive data corresponding to the interactive data acquisition request to the electronic equipment.
In another aspect of the present invention, there is also provided an interactive video interaction apparatus applied to an electronic device, the apparatus including:
the sending module is used for sending a first interactive data acquisition request to the server;
the receiving module is used for receiving first interactive data which are sent by a server and correspond to the first interactive data acquisition request;
the conversion module is used for converting the first interaction data into first native codes;
an execution module to execute the first native code.
In another aspect of the present invention, there is also provided an interactive video interaction device applied to a server, the device including:
the receiving module is used for receiving a first interactive data acquisition request sent by the electronic equipment;
and the sending module is used for sending first interactive data corresponding to the first interactive data acquisition request to the electronic equipment.
In another aspect of the present invention, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 7 when executing a program stored in the memory.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute any one of the above-mentioned interactive video interaction methods.
In yet another aspect of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the above-mentioned interactive video interaction methods.
In the embodiment of the invention, the interaction of the interactive video is completed by sending an interactive data acquisition request to the server, receiving the interactive data which is sent by the server and corresponds to the interactive data acquisition request, converting the interactive data into the native code, and executing the native code. According to the embodiment of the invention, the interactive data containing the data content and the execution strategy are converted into the native codes matched with the operating system of the platform, so that different platforms (such as an iOS platform, an Android platform or a web platform) can identify the native codes matched with the operating system of the platform, and execute the native codes, thereby completing the interactive process of the interactive video. Therefore, the interactive video playing application adopting the method in the embodiment of the invention can be used on different platforms, and the compatibility of the interactive video playing application in cross-platform use is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a flowchart of an interactive video interaction method according to an embodiment of the present invention;
FIG. 2 is a flowchart of an interactive video interaction method according to another embodiment of the present invention;
FIG. 3 is a flowchart of an interactive video interaction method according to another embodiment of the present invention;
FIG. 4 is a flowchart of an interactive video interaction method provided in another embodiment of the present invention;
FIG. 5 is a flowchart of an interactive video interaction method according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of an interactive video interaction device according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an interactive video interaction device according to another embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
The interactive video is a novel video integrating interactive experience into a linearly played video through various technical means, when the player plays the interactive video, options of different branch scenarios which can be selected by a user can be expanded and displayed at a specific video node, and after the user selects an option of a certain branch scenario, the user can play the selected branch scenario according to the selected branch scenario, so that the personalized watching requirements of different users can be met. For example, for interactive videos of the same episode, users may select different branch scenarios to play according to their needs, so that the video contents actually watched by different users may be different.
Referring to fig. 1, an interactive video interaction method provided in an embodiment of the present invention is applied to an electronic device, and the method further includes the following steps:
step 101, sending an interactive data acquisition request to a server;
the interactive data includes data content and an execution policy corresponding to the data content, where the execution policy is configured by a server, and the data content may be page data used for interacting with a user, video data used for implementing scenario jumping, or other data for improving interest in an interaction process, such as animation data, for example: the data content can be an interactive page for interacting with a user, the interactive page can be displayed on a video playing window, and the interactive operation of the user is received through the interactive page so as to realize the interaction with the user; for another example, the data content may also be a certain branching scenario of an interactive video being played in the video playing window, and the branching scenario may be played in the video playing window through an interactive operation based on a user, so as to implement a jump of the scenario. In addition, the data content may be stored in the server in advance, after the data content is stored in the server, the server configures an execution policy for the data content to form the interactive data, and the server sends the corresponding interactive data to the electronic device based on an interactive data acquisition request sent by the electronic device.
102, receiving interactive data which is sent by a server and corresponds to the interactive data acquisition request;
the server can pre-store various types of interactive data, and when receiving an interactive data acquisition request of the electronic equipment, the server can search for interactive data corresponding to the interactive data acquisition request and send the interactive data to the electronic equipment.
Step 103, converting the interactive data into a native code;
specifically, because the browser kernel is usually embedded in the existing electronic equipment, the interactive data can be converted into the native code matched with the operating system of the electronic equipment through the browser kernel.
Step 104, executing the native code.
After the interactive data is converted into the native code matched with the operating system of the electronic equipment, the electronic equipment can execute the native code, so that the whole interactive video interaction process or one link of the interactive video interaction is completed.
In the embodiment of the present invention, the interactive video interaction method may be applied to an electronic device, for example: electronic devices such as Mobile phones, Tablet Personal computers (Tablet Personal computers), Laptop computers (Laptop computers), Personal Digital Assistants (PDAs), Mobile Internet Devices (MIDs), and in-vehicle devices.
Specifically, in the embodiment of the present invention, an interactive data acquisition request is sent to a server, interactive data corresponding to the interactive data acquisition request sent by the server is received, the interactive data is converted into a native code, and the native code is executed, so that interaction of an interactive video is completed. According to the embodiment of the invention, the interactive data containing the data content and the execution strategy are converted into the native codes matched with the operating system of the platform, so that different platforms (such as an iOS platform, an Android platform or a web platform) can identify the native codes matched with the operating system of the platform, and execute the native codes, thereby completing the interactive process of the interactive video. Therefore, the interactive video playing application adopting the method in the embodiment of the invention can be used on different platforms, and the compatibility of the interactive video playing application in cross-platform use is further improved.
Optionally, before the sending the interactive data obtaining request to the server, the method further includes:
step 201, displaying an interactive page, wherein the interactive page is displayed on the upper layer of a picture of a video playing window;
the video playing window can be a video playing window in a web page or a video playing window of a local player of the electronic device, and the video playing window can play interactive videos or ordinary videos. The user can input an interaction instruction through the interaction page, and the interaction page can comprise a plurality of key (Button), Label (Label) and other basic control combinations.
The sending of the interactive data acquisition request to the server includes:
step 202, under the condition that an interactive instruction is received, acquiring an interactive position of the interactive instruction, and if the interactive position is located in the interactive page, sending a first interactive data acquisition request to the server.
The interactive instruction may be a click event of a user in an interactive page, or a preset text input in the interactive page, or a certain touch operation in the interactive page, or a control instruction input by voice, which is not limited to this, and the following further explains the embodiment of the present invention by taking the click event of the user as the interactive instruction. It should be understood that the first interactive data obtaining request may be a first interactive data obtaining request corresponding to the interactive instruction, which is obtained by the electronic device in response to the interactive instruction when the interactive page receives the interactive instruction, and the first interactive data obtaining request may be preset and stored in the electronic device in association with the interactive instruction. Specifically, whether the interactive instruction occurs in the interactive page is judged by judging the interactive position coordinate of the interactive instruction, and when the interactive instruction is determined to occur in the interactive page, a first interactive data acquisition request is sent to the server, so that the interactive operation or one link in the interactive operation is completed.
Optionally, the receiving the interactive data corresponding to the interactive data obtaining request sent by the server includes:
step 203, receiving first interactive data corresponding to the first interactive data acquisition request sent by the server;
the converting the interaction data into native code comprises:
step 204, converting the first interaction data into a first native code;
the executing the native code comprises:
step 205, executing the first native code, and displaying the first interactive data on a video playing window, wherein the first interactive data is video data.
Specifically, the first interactive data obtaining request may be a scenario jump request input by a user, the data content of the first interactive data may be a branch scenario of an interactive video currently being played in a video playing window, the first interactive data is converted into a native code matched with an operating system of a platform where the first interactive data is located, so that different platforms can identify the native code matched with the operating systems of the different platforms, and the native code is executed, thereby completing the jump of the scenario. Therefore, the interactive video playing application adopting the method in the embodiment of the invention can be used on different platforms, and the compatibility of the interactive video playing application in cross-platform use is further improved.
Optionally, in the case that the interactive instruction is received, the method further includes:
and responding to the interaction instruction, and closing the interaction page.
Specifically, when the interactive page receives the interactive operation, that is, it indicates that the user has completed the interactive instruction of the interactive node, in order to facilitate the display of the next interactive page when the next interactive node occurs, the interactive page corresponding to the interactive instruction is closed after the user completes one interactive instruction. Meanwhile, by closing the interactive page, the phenomenon that the attention of the user is dispersed in the video playing process of the interactive page can be avoided, and the film watching effect of the user is further improved.
Optionally, the sending an interactive data obtaining request to a server includes:
step 301, sending a second interactive data acquisition request to the server;
the receiving of the interactive data corresponding to the interactive data acquisition request sent by the server includes:
step 302, receiving second interactive data corresponding to the second interactive data acquisition request sent by the server;
the converting the interaction data into native code comprises:
step 303, converting the second interaction data into a second native code;
the executing the native code comprises:
and step 304, executing the second native code to display an interactive page, wherein the interactive page is displayed on an upper layer of a picture of a video playing window.
Specifically, the second interactive data obtaining request may be an interactive page obtaining request sent by the electronic device to the server, and the data content of the second interactive data may be a page data packet pre-stored in the server, so that different platforms can identify native codes matched with operating systems of the platforms by converting the second interactive data into the native codes matched with the operating systems of the platforms, and execute the native codes, thereby completing display of the interactive page on the electronic device. Therefore, the interactive video playing application adopting the method in the embodiment of the invention can be used on different platforms, and the compatibility of the interactive video playing application in cross-platform use is further improved.
Optionally, after the sending of the second interactive data obtaining request to the server, the method further includes:
receiving an interaction time point which is sent by the server and corresponds to the second interaction data acquisition request;
the displaying the interactive page includes:
and when the interactive video played by the video playing window is played to the interactive time point, executing the second native code to display the interactive page.
Specifically, an interactive video may have a plurality of interactive nodes, where a first interactive node of the interactive video is determined, before the interactive video is played to the first interactive node, the electronic device may automatically send a second interactive data acquisition request to the server, receive second interactive data, convert the second interactive data into a second native code, and execute the second native code to display an interactive page when the interactive video is played to the first interactive node. Because the user may select different branch scenarios on the interactive page, the branch scenarios selected by the user are different, and the next interactive time point may be different, only after the user selects a specific branch scenario, the second interactive node can be determined, that is, after the user sends an interactive instruction on the interactive page of the first interactive node, the server determines the first interactive data corresponding to the interactive instruction according to the interactive instruction, and at the same time, the server determines the specific occurrence position of the second interactive node according to the interactive instruction of the user, so that the electronic device can complete the reception of the interactive time point and the interactive page of the second interaction between the first interactive node and the second interactive node.
Optionally, the interactive page is an HTML5(HyperText Markup Language 5.0) page.
Specifically, when the video playing window is a video playing window in a web page, the interactive page may be implemented by HyperText Markup Language HTML5(HyperText Markup Language 5.0), that is, a UI (interface design, USER INTERFACE DESIGN) that uses HyperText Markup Language HTML5 to draw the interactive page may be displayed, because the function of the interface that HyperText Markup Language HTML5 draws the UI (interface design, USER INTERFACE DESIGN) is rich, and the interactive page drawn by HyperText Markup Language HTML5 may be displayed normally on all browsers, for example, browsers that support HyperText Markup Language HTML5 include Firefox (Firefox browser), IE9 and higher versions thereof, Chrome (google), Safari, Opera, etc.; the heaven browser (Maxthon) in China and domestic browsers such as 360 browsers, dog search browser, QQ browser, leopard browser and the like based on IE or Chrome (engineering or experimental version) have the capability of supporting HTML 5. By adopting the hypertext markup language HTML5 to draw the UI display of the interactive page, the interactive page can be perfectly fused with the web page, and compared with the interactive page of the traditional interactive video playing application, the style is more diversified, and the interactive effect of the user is improved.
Optionally, a User Interface (UI) of the interactive page is rendered through a hypertext markup language (HTML) 5, the rendered interactive page is stored in a server in advance in a form of a page data packet, when the interactive video is played to an interactive node, the electronic device receives the interactive page sent by the server, and displays the interactive page in an interactive area, wherein each control on the interactive page is preset with a corresponding Script (Script) component, and each Script component comprises a specific Java Script (Javascript) and a communication protocol, wherein the Javascript can respond to a click event occurring on the interactive page and generate a corresponding interactive data acquisition request. And a communication interface for communicating with the script component can be arranged at the server side. In order to facilitate understanding of the present invention, a detailed description of a specific implementation process of the present embodiment is provided below.
Referring to fig. 4, when an interactive video played in a video playing window of a web page is played to an interactive node, a server issues a data packet (HTML/CSS) to an electronic device, where HTML (page, full name of english: HyperText Markup Language) is the displayed interactive page data packet, then the electronic device converts the interactive page data packet into a native code and executes the native code to display an interactive page, and furthermore, by issuing CSS (Cascading Style Sheets) while issuing HTML, the layout of the interactive page is automatically adjusted by the CSS, so that the interactive page can adapt to display screens of different sizes. When a control on an interactive page receives a click event, a script component corresponding to the control responds, the script component analyzes the click event through a Javascript and generates a first interactive data acquisition request, then a communication protocol of the script component is bridged with a communication interface of a server, the first interactive data acquisition request is sent to the server, the server responds to the first interactive data acquisition request and sends first interactive data (JSON) to electronic equipment, and the electronic equipment converts the first interactive data into a first native code matched with an operating system of a platform where the electronic equipment is located according to the method and executes the first native code, so that the interactive process of the interactive node is completed.
Optionally, by drawing a UI presentation of the interactive page by using HTML5, and embedding a Javascript script in the script component, when the UI of the interactive page is updated, that is, after the page data packet on the server is updated, the updated page data packet is only sent to the electronic device in the interaction process, and the updated interactive page can be displayed; when the interactive logic of the script component is updated, the script component can be updated by issuing a new Javascript, so that the online updating capability of the interactive video playing application adopting the method provided by the invention is improved.
Referring to fig. 5, another embodiment of the present invention provides an interactive video interaction method, which is applied to a server, and the method includes:
step 501, receiving an interactive data acquisition request sent by electronic equipment;
step 502, sending interactive data corresponding to the interactive data acquisition request to the electronic device.
The receiving of the interactive data acquisition request sent by the electronic device includes:
receiving a first interactive data acquisition request sent by electronic equipment;
the sending of the interactive data corresponding to the interactive data acquisition request to the electronic device includes:
sending first interactive data corresponding to the first interactive data acquisition request to electronic equipment;
or, the receiving an interactive data acquisition request sent by the electronic device includes:
receiving a second interactive data acquisition request sent by the electronic equipment;
the sending of the interactive data corresponding to the interactive data acquisition request to the electronic device includes:
and sending second interactive data corresponding to the second interactive data acquisition request to the electronic equipment.
Specifically, the server can implement each process implemented by the server in the foregoing embodiments, and can achieve the same technical effect, and for avoiding repetition, details are not described here.
Optionally, the method further comprises: and under the condition that an updating request for second interactive data is received, updating the second interactive data.
Specifically, a user or a server administrator can make a new interactive page data packet and upload the new interactive page data packet to the server according to a requirement, and when the server receives the second interactive data acquisition request of the electronic device, the updated page data packet is sent to the electronic device, so that online updating of the interactive page is realized.
Referring to fig. 6, an embodiment of the present invention further provides an interactive video interaction apparatus 600, applied to an electronic device, including:
a sending module 601, configured to send a first interactive data acquisition request to a server;
a receiving module 602, configured to receive first interaction data sent by a server and corresponding to the first interaction data obtaining request;
a conversion module 603, configured to convert the first interaction data into a first native code;
an execution module 604 for executing the first native code.
The embodiment of the invention sends an interactive data acquisition request to a server, receives interactive data which is sent by the server and corresponds to the interactive data acquisition request, converts the interactive data into a native code, and completes interactive video interaction by executing the native code. According to the embodiment of the invention, the interaction data containing the data content and the execution strategy is converted into the native code matched with the operating system of the platform, so that different platforms can identify the native code matched with the operating systems of the different platforms, and the native code is executed, thereby completing the interaction process of the interactive video. Therefore, the interactive video playing application adopting the method in the embodiment of the invention can be used on different platforms, and the compatibility of the interactive video playing application in cross-platform use is further improved.
Referring to fig. 7, another interactive video interaction apparatus 700 applied to a server according to another embodiment of the present invention includes:
a 701 receiving module, configured to receive a first interactive data acquisition request sent by an electronic device;
and the sending module 702 is configured to send first interactive data corresponding to the first interactive data obtaining request to the electronic device.
The interactive video interaction device 700 can implement the processes implemented by the server in the foregoing embodiments, and can achieve the same technical effects, and for avoiding repetition, the details are not repeated here.
An embodiment of the present invention further provides an electronic device, as shown in fig. 8, which includes a processor 801, a communication interface 802, a memory 803, and a communication bus 804, where the processor 801, the communication interface 802, and the memory 803 complete mutual communication through the communication bus 804,
a memory 803 for storing a computer program;
the processor 801 is configured to implement the following steps when executing the program stored in the memory 803:
sending an interactive data acquisition request to a server;
receiving interactive data which is sent by a server and corresponds to the interactive data acquisition request;
converting the interaction data into native code;
executing the native code.
Optionally, before the sending the interactive data obtaining request to the server, the method further includes:
displaying an interactive page, wherein the interactive page is displayed on the upper layer of a picture of a video playing window;
the sending of the interactive data acquisition request to the server includes:
and under the condition of receiving an interactive instruction, acquiring an interactive position of the interactive instruction, and if the interactive position is located in the interactive page, sending a first interactive data acquisition request to the server.
Optionally, the receiving the interactive data corresponding to the interactive data obtaining request sent by the server includes:
receiving first interactive data which is sent by a server and corresponds to the first interactive data acquisition request;
the converting the interaction data into native code comprises:
converting the first interaction data into first native code;
the executing the native code comprises:
executing the first native code, and displaying the first interactive data on a video playing window, wherein the first interactive data is video data.
Optionally, in the case that the interactive instruction is received, the method further includes:
and responding to the interaction instruction, and closing the interaction page.
Optionally, the sending an interactive data obtaining request to a server includes:
sending a second interactive data acquisition request to the server;
the receiving of the interactive data corresponding to the interactive data acquisition request sent by the server includes:
receiving second interactive data which is sent by a server and corresponds to the second interactive data acquisition request;
the converting the interaction data into native code comprises:
converting the second interaction data into second native code;
the executing the native code comprises:
and executing the second native code to display an interactive page, wherein the interactive page is displayed on the upper layer of the picture of the video playing window.
Optionally, after the sending of the second interactive data obtaining request to the server, the method further includes:
receiving an interaction time point which is sent by the server and corresponds to the second interaction data acquisition request;
the displaying the interactive page includes:
and when the interactive video played by the video playing window is played to the interactive time point, executing the second native code to display the interactive page.
Optionally, the interactive page is an HTML5 page.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, which has instructions stored therein, and when the instructions are executed on a computer, the computer is caused to execute the interactive video interaction method in any one of the above embodiments.
In yet another embodiment of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the interactive video interaction method according to any one of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (14)

1. An interactive video interaction method is applied to an electronic device, and comprises the following steps:
sending an interactive data acquisition request to a server;
receiving interactive data which is sent by a server and corresponds to the interactive data acquisition request;
converting the interaction data into native code;
executing the native code.
2. The method of claim 1, wherein before sending the interactive data acquisition request to the server, the method further comprises:
displaying an interactive page, wherein the interactive page is displayed on the upper layer of a picture of a video playing window;
the sending of the interactive data acquisition request to the server includes:
and under the condition of receiving an interactive instruction, acquiring an interactive position of the interactive instruction, and if the interactive position is located in the interactive page, sending a first interactive data acquisition request to the server.
3. The method according to claim 2, wherein the receiving the interactive data corresponding to the interactive data obtaining request sent by the server comprises:
receiving first interactive data which is sent by a server and corresponds to the first interactive data acquisition request;
the converting the interaction data into native code comprises:
converting the first interaction data into first native code;
the executing the native code comprises:
executing the first native code, and displaying the first interactive data on a video playing window, wherein the first interactive data is video data.
4. The method according to claim 2, wherein in case of receiving the instruction of interaction, the method further comprises:
and responding to the interaction instruction, and closing the interaction page.
5. The method of claim 1, wherein sending the interactive data acquisition request to the server comprises:
sending a second interactive data acquisition request to the server;
the receiving of the interactive data corresponding to the interactive data acquisition request sent by the server includes:
receiving second interactive data which is sent by a server and corresponds to the second interactive data acquisition request;
the converting the interaction data into native code comprises:
converting the second interaction data into second native code;
the executing the native code comprises:
and executing the second native code to display an interactive page, wherein the interactive page is displayed on the upper layer of the picture of the video playing window.
6. The method of claim 5, wherein after the sending of the second interactive data acquisition request to the server, the method further comprises:
receiving an interaction time point which is sent by the server and corresponds to the second interaction data acquisition request;
the displaying the interactive page includes:
and when the interactive video played by the video playing window is played to the interactive time point, executing the second native code to display the interactive page.
7. The method of claim 5, wherein the interactive page is an HTML5 page.
8. An interactive video interaction method is applied to a server, and comprises the following steps:
receiving an interactive data acquisition request sent by electronic equipment;
and sending the interactive data corresponding to the interactive data acquisition request to the electronic equipment.
9. The method of claim 8, wherein the receiving an interactive data acquisition request sent by an electronic device comprises:
receiving a first interactive data acquisition request sent by electronic equipment;
the sending of the interactive data corresponding to the interactive data acquisition request to the electronic device includes:
sending first interactive data corresponding to the first interactive data acquisition request to electronic equipment;
or, the receiving an interactive data acquisition request sent by the electronic device includes:
receiving a second interactive data acquisition request sent by the electronic equipment;
the sending of the interactive data corresponding to the interactive data acquisition request to the electronic device includes:
and sending second interactive data corresponding to the second interactive data acquisition request to the electronic equipment.
10. The method of claim 9, further comprising: and under the condition that an updating request for second interactive data is received, updating the second interactive data.
11. An interactive video interaction device applied to electronic equipment is characterized by comprising:
the sending module is used for sending a first interactive data acquisition request to the server;
the receiving module is used for receiving first interactive data which are sent by a server and correspond to the first interactive data acquisition request;
the conversion module is used for converting the first interaction data into first native codes;
an execution module to execute the first native code.
12. An interactive video interaction device applied to a server is characterized by comprising:
the receiving module is used for receiving a first interactive data acquisition request sent by the electronic equipment;
and the sending module is used for sending first interactive data corresponding to the first interactive data acquisition request to the electronic equipment.
13. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 7 when executing a program stored in the memory.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN201911059917.8A 2019-11-01 2019-11-01 Interactive video interaction method and device and electronic equipment Pending CN112770142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911059917.8A CN112770142A (en) 2019-11-01 2019-11-01 Interactive video interaction method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911059917.8A CN112770142A (en) 2019-11-01 2019-11-01 Interactive video interaction method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112770142A true CN112770142A (en) 2021-05-07

Family

ID=75693011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911059917.8A Pending CN112770142A (en) 2019-11-01 2019-11-01 Interactive video interaction method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112770142A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259752A (en) * 2021-07-12 2021-08-13 广州闪畅信息科技有限公司 Method and device for controlling playing of interactive video in browser page and server
CN115460468A (en) * 2022-08-10 2022-12-09 北京爱奇艺科技有限公司 Interactive video file creating method and interactive video playing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150176A (en) * 2011-12-06 2013-06-12 财团法人资讯工业策进会 Mobile device application program conversion method, mobile device, system and development system
CN106534941A (en) * 2016-10-31 2017-03-22 腾讯科技(深圳)有限公司 Method and device for realizing video interaction
CN109104630A (en) * 2018-08-31 2018-12-28 北京优酷科技有限公司 Video interaction method and device
US20190028758A1 (en) * 2017-07-18 2019-01-24 Wowza Media Systems, LLC Systems and methods of server based interactive content injection
CN110362317A (en) * 2018-04-09 2019-10-22 腾讯科技(深圳)有限公司 A kind of code conversion method, device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150176A (en) * 2011-12-06 2013-06-12 财团法人资讯工业策进会 Mobile device application program conversion method, mobile device, system and development system
CN106534941A (en) * 2016-10-31 2017-03-22 腾讯科技(深圳)有限公司 Method and device for realizing video interaction
US20190028758A1 (en) * 2017-07-18 2019-01-24 Wowza Media Systems, LLC Systems and methods of server based interactive content injection
CN110362317A (en) * 2018-04-09 2019-10-22 腾讯科技(深圳)有限公司 A kind of code conversion method, device and storage medium
CN109104630A (en) * 2018-08-31 2018-12-28 北京优酷科技有限公司 Video interaction method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259752A (en) * 2021-07-12 2021-08-13 广州闪畅信息科技有限公司 Method and device for controlling playing of interactive video in browser page and server
CN115460468A (en) * 2022-08-10 2022-12-09 北京爱奇艺科技有限公司 Interactive video file creating method and interactive video playing method and device
CN115460468B (en) * 2022-08-10 2023-09-15 北京爱奇艺科技有限公司 Interactive video file creation method, interactive video playing method, device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
US9342237B2 (en) Automated testing of gesture-based applications
JP6253110B2 (en) Using the application cache to update installed application resources
US20120317172A1 (en) Mobile web app infrastructure
US20140325323A1 (en) Online video playing method and apparatus and computer readable medium
US11245951B2 (en) Display device and content providing method thereof
CN110955428A (en) Page display method and device, electronic equipment and medium
CN110046310B (en) Method and device for analyzing jump link in page
US20140359408A1 (en) Invoking an Application from a Web Page or other Application
CN111372115B (en) Application program access method and device and communication system
US9307010B2 (en) Data upload method using shortcut
WO2014176906A1 (en) Online video playing method and apparatus and computer readable medium
WO2015043442A1 (en) Method, device and mobile terminal for text-to-speech processing
CN112954717B (en) Household appliance network distribution method and device based on H5 page
JP2014522517A (en) Notification of data splitting in markup-based documents
CN112770142A (en) Interactive video interaction method and device and electronic equipment
CN108491232B (en) Method and system for loading control on voice conversation platform
CN105224611A (en) Based on the operation processing method of browser, device and browser
CN114265653A (en) Interface display method, device, equipment, storage medium and program product
CN103488508A (en) Browser working method, browser and terminal equipment
CN110618811B (en) Information presentation method and device
JP5891325B2 (en) Information providing apparatus, information providing method, and program
CN108037914B (en) Method and device for developing android native system by combining js
US9680967B2 (en) Method of using application, gateway using the method, terminal using the method, and terminal system using the method
CN113141530B (en) Remote control interaction based method and device, electronic equipment and storage medium
CN110244948B (en) Method for switching button states based on programming language 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210507