CN111124529A - Video screen projection method based on PPAPI (Peer-to-Peer display and Peer display) plug-in technology of browser - Google Patents

Video screen projection method based on PPAPI (Peer-to-Peer display and Peer display) plug-in technology of browser Download PDF

Info

Publication number
CN111124529A
CN111124529A CN201911147197.0A CN201911147197A CN111124529A CN 111124529 A CN111124529 A CN 111124529A CN 201911147197 A CN201911147197 A CN 201911147197A CN 111124529 A CN111124529 A CN 111124529A
Authority
CN
China
Prior art keywords
plug
browser
courseware
html
ppapi
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
CN201911147197.0A
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.)
Hangzhou Miluoxing Technology Group Co ltd
Original Assignee
Hangzhou Miluoxing Technology Group 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 Hangzhou Miluoxing Technology Group Co ltd filed Critical Hangzhou Miluoxing Technology Group Co ltd
Priority to CN201911147197.0A priority Critical patent/CN111124529A/en
Publication of CN111124529A publication Critical patent/CN111124529A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a video screen projection method based on a PPAPPI plug-in technology of a browser. The method specifically comprises the following steps: (1) developing a PPAPI plug-in with the function of reading and displaying image frames from a shared memory; (2) registering the plug-in a kernel of a browser embedded in a lesson courseware of a teacher; (3) the plug-in is loaded and displayed in a proper place by a courseware HTML webpage; (4) the native APP continuously writes the image frames of the local image video into the shared memory; (5) the courseware HTML web page successfully displays the local image video projected by the native APP within the plug-in area. The invention has the beneficial effects that: the PPPI plug-in is used for rendering the image output by the native APP to the HTML page, the HTML technology is used for development in the design, the design is more convenient, stable and easy to maintain, and the courseware layout is more flexible.

Description

Video screen projection method based on PPAPI (Peer-to-Peer display and Peer display) plug-in technology of browser
Technical Field
The invention relates to the technical field related to video processing, in particular to a video screen projection method based on a PPAPPI plug-in technology of a browser.
Background
The teacher teaching video can not be fused with the courseware page, the courseware page is independently loaded by the teaching tool, and the video is developed and displayed by the native technology. Due to the design, courseware and videos cannot be fused, different technologies are required to be mixed and developed, the complexity of the system is increased, and courseware layout is not flexible.
Disclosure of Invention
The invention provides a video screen projection method based on PPAPI (Peer-to-Peer display and Peer display plug-in) technology, which is flexible in courseware layout and aims to overcome the defects in the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
a video screen projection method based on a PPAPPI plug-in technology of a browser specifically comprises the following steps:
(1) developing a PPAPI plug-in with the function of reading and displaying image frames from a shared memory;
(2) registering the plug-in a kernel of a browser embedded in a lesson courseware of a teacher;
(3) the plug-in is loaded and displayed in a proper place by a courseware HTML webpage;
(4) the native APP continuously writes the image frames of the local image video into the shared memory;
(5) the courseware HTML web page successfully displays the local image video projected by the native APP within the plug-in area.
According to the method, the PPAPI plug-in technology of the browser is used, the PPAPI plug-in can be loaded by an HTML page, the plug-in is developed by using a native technology, and the shared memory can be read, so that a picture of a native APP output to the shared memory is displayed on the HTML page, namely, an image output by the native APP is rendered on the HTML page by using the PPAPI plug-in, and the design is developed by using the HTML technology, so that the method is more convenient, more stable and easier to maintain, and the courseware layout is more flexible.
Preferably, in step (1), the PPAPI is a browser plug-in technology standard, and allows a third party to develop a plug-in for a browser, and the third party develops a plug-in dynamic library according to the standard, and can use the plug-in an HTML webpage after registering in the browser.
Preferably, the shared memory is a mechanism provided by windows for transmitting data in a cross-process manner, and a courseware HTML webpage, a PPAPPI plug-in and a native APP can be accessed at the same time; the native APP is a non-HTML page, and the native APP can directly run without being loaded by a third party such as a browser; the PPAPPI plug-in reads the image frame of the local image video from the shared memory, the local image video projected by the original APP is successfully displayed on the courseware HTML webpage in the PPAPPI plug-in area, and the local image video becomes a part of the courseware HTML webpage and can be displayed under the control of HTML language.
The invention has the beneficial effects that: the PPPI plug-in is used for rendering the image output by the native APP to the HTML page, the HTML technology is used for development in the design, the design is more convenient, stable and easy to maintain, and the courseware layout is more flexible.
Drawings
FIG. 1 is a block diagram of the method of the present invention.
Detailed Description
The invention is further described with reference to the following figures and detailed description.
In the embodiment shown in fig. 1, a video screen projection method based on a PPAPI plug-in technology of a browser specifically includes the following steps:
(1) developing a PPAPI plug-in with the function of reading and displaying image frames from a shared memory;
(2) registering the plug-in a kernel of a browser embedded in a lesson courseware of a teacher;
(3) the plug-in is loaded and displayed in a proper place by a courseware HTML webpage;
(4) the native APP continuously writes the image frames of the local image video into the shared memory;
(5) the courseware HTML web page successfully displays the local image video projected by the native APP within the plug-in area.
The PPAPI, namely the Pepper plug API is a browser plug-in technical standard, a third party is allowed to develop a plug-in for a browser, the third party develops a plug-in dynamic library according to the standard, and the plug-in can be used in an HTML webpage after being registered in the browser. The shared memory is a mechanism for cross-process data transmission provided by windows, and can enable a courseware HTML webpage, a PPAPI plug-in and a native APP to access simultaneously; the native APP is a non-HTML page, and the native APP can directly run without being loaded by a third party such as a browser; the PPAPPI plug-in reads the image frame of the local image video from the shared memory, the local image video projected by the original APP is successfully displayed on the courseware HTML webpage in the PPAPPI plug-in area, and the local image video becomes a part of the courseware HTML webpage and can be displayed under the control of HTML language.
According to the method, the PPAPI plug-in technology of the browser is used, the PPAPI plug-in can be loaded by an HTML page, the plug-in is developed by using a native technology, and the shared memory can be read, so that a picture of a native APP output to the shared memory is displayed on the HTML page, namely, an image output by the native APP is rendered on the HTML page by using the PPAPI plug-in, and the design is developed by using the HTML technology, so that the method is more convenient, more stable and easier to maintain, and the courseware layout is more flexible.

Claims (3)

1. A video screen projection method based on a PPAPPI plug-in technology of a browser is characterized by comprising the following steps:
(1) developing a PPAPI plug-in with the function of reading and displaying image frames from a shared memory;
(2) registering the plug-in a kernel of a browser embedded in a lesson courseware of a teacher;
(3) the plug-in is loaded and displayed in a proper place by a courseware HTML webpage;
(4) the native APP continuously writes the image frames of the local image video into the shared memory;
(5) the courseware HTML web page successfully displays the local image video projected by the native APP within the plug-in area.
2. The method for video screen projection based on PPAPI (Peer-to-Peer display) plug-in technology of browser as claimed in claim 1, wherein in step (1), PPAPI is a browser plug-in technology standard, allowing a third party to develop plug-in for the browser, the third party develops a plug-in dynamic library according to the standard, and the plug-in can be used in HTML webpage after being registered in the browser.
3. The video screen projection method based on the PPAPI plug-in technology of the browser as claimed in claim 1, wherein the shared memory is a cross-process data transmission mechanism provided by windows, and courseware HTML web pages, PPAPI plug-ins and native APPs can be accessed simultaneously; the native APP is a non-HTML page, and the native APP can directly run without being loaded by a third party such as a browser; the PPAPPI plug-in reads the image frame of the local image video from the shared memory, the local image video projected by the original APP is successfully displayed on the courseware HTML webpage in the PPAPPI plug-in area, and the local image video becomes a part of the courseware HTML webpage and can be displayed under the control of HTML language.
CN201911147197.0A 2019-11-21 2019-11-21 Video screen projection method based on PPAPI (Peer-to-Peer display and Peer display) plug-in technology of browser Pending CN111124529A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911147197.0A CN111124529A (en) 2019-11-21 2019-11-21 Video screen projection method based on PPAPI (Peer-to-Peer display and Peer display) plug-in technology of browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911147197.0A CN111124529A (en) 2019-11-21 2019-11-21 Video screen projection method based on PPAPI (Peer-to-Peer display and Peer display) plug-in technology of browser

Publications (1)

Publication Number Publication Date
CN111124529A true CN111124529A (en) 2020-05-08

Family

ID=70495921

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911147197.0A Pending CN111124529A (en) 2019-11-21 2019-11-21 Video screen projection method based on PPAPI (Peer-to-Peer display and Peer display) plug-in technology of browser

Country Status (1)

Country Link
CN (1) CN111124529A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328941A (en) * 2020-11-19 2021-02-05 Oppo广东移动通信有限公司 Application screen projection method based on browser and related device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070083527A1 (en) * 2005-10-07 2007-04-12 David Wadler Systems and methods for uploading and downloading files in a distributed network
CN102625182A (en) * 2012-03-31 2012-08-01 百视通网络电视技术发展有限责任公司 Method and system for integrating and controlling video player in Connected TV
CN102665137A (en) * 2012-04-01 2012-09-12 深圳Tcl新技术有限公司 Method for controlling media player and terminal thereof
WO2015055073A1 (en) * 2013-10-18 2015-04-23 北京奇虎科技有限公司 Method, apparatus and system for reminding message
US20150370759A1 (en) * 2013-04-22 2015-12-24 Tencent Technology (Shenzhen) Company Limited Method and apparatus for displaying multimedia content in browser
CN105453582A (en) * 2013-08-06 2016-03-30 虚拟电缆有限责任公司 A method for playing a media stream in a browser application
CN106681764A (en) * 2016-12-23 2017-05-17 昆明联诚科技股份有限公司 Windowless webpage player plug-in device
CN109889875A (en) * 2019-01-23 2019-06-14 北京奇艺世纪科技有限公司 Communication means, device, terminal device and computer-readable medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070083527A1 (en) * 2005-10-07 2007-04-12 David Wadler Systems and methods for uploading and downloading files in a distributed network
CN102625182A (en) * 2012-03-31 2012-08-01 百视通网络电视技术发展有限责任公司 Method and system for integrating and controlling video player in Connected TV
CN102665137A (en) * 2012-04-01 2012-09-12 深圳Tcl新技术有限公司 Method for controlling media player and terminal thereof
US20150370759A1 (en) * 2013-04-22 2015-12-24 Tencent Technology (Shenzhen) Company Limited Method and apparatus for displaying multimedia content in browser
CN105453582A (en) * 2013-08-06 2016-03-30 虚拟电缆有限责任公司 A method for playing a media stream in a browser application
WO2015055073A1 (en) * 2013-10-18 2015-04-23 北京奇虎科技有限公司 Method, apparatus and system for reminding message
CN106681764A (en) * 2016-12-23 2017-05-17 昆明联诚科技股份有限公司 Windowless webpage player plug-in device
CN109889875A (en) * 2019-01-23 2019-06-14 北京奇艺世纪科技有限公司 Communication means, device, terminal device and computer-readable medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328941A (en) * 2020-11-19 2021-02-05 Oppo广东移动通信有限公司 Application screen projection method based on browser and related device

Similar Documents

Publication Publication Date Title
CN109766879B (en) Character detection model generation method, character detection device, character detection equipment and medium
US11119719B2 (en) Screen sharing for display in VR
US20150279310A1 (en) Information processing terminal, display terminal, and display method
CN105786513A (en) Mixed mobile application development method based on Html5
KR101914478B1 (en) Image providing system, service apparatus and image providing method thereof
CN107707965B (en) Bullet screen generation method and device
CN111506844B (en) Page processing method, device and computer storage medium
CN110263279B (en) Page generation method and device, electronic equipment and computer readable storage medium
US10043298B2 (en) Enhanced document readability on devices
CN104254001A (en) Remote sharing method, device and terminal
CN103794089A (en) Online teaching method and device with photo taking function
CN114007098B (en) Method and device for generating 3D holographic video in intelligent classroom
CN111124529A (en) Video screen projection method based on PPAPI (Peer-to-Peer display and Peer display) plug-in technology of browser
CN113099254B (en) Online teaching method, system, equipment and storage medium for regional variable resolution
CN110618811B (en) Information presentation method and device
CN111381752A (en) Screen capturing method and device, storage medium and terminal
Suzuki et al. Basic Development of the Active Textbook System consisted of a General book and a Portable Electronic Terminal
KR101856626B1 (en) Creative production and play system Web type based DIY
CN113554904B (en) Intelligent processing method and system for multi-mode collaborative education
CN111415393B (en) Method and device for adjusting display of multimedia blackboard, medium and electronic equipment
CN116137662A (en) Page display method and device, electronic equipment, storage medium and program product
KR20180039730A (en) Modification of graphic command tokens
CN110874253A (en) Display method and display system
JP2006293103A (en) Education system and method therefor
US9665338B2 (en) Display apparatus, video system, display method and projector

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: 20200508