CN111399790B - Picture sharing system and implementation method thereof - Google Patents

Picture sharing system and implementation method thereof Download PDF

Info

Publication number
CN111399790B
CN111399790B CN202010132529.4A CN202010132529A CN111399790B CN 111399790 B CN111399790 B CN 111399790B CN 202010132529 A CN202010132529 A CN 202010132529A CN 111399790 B CN111399790 B CN 111399790B
Authority
CN
China
Prior art keywords
module
display
picture
shared
display unit
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
CN202010132529.4A
Other languages
Chinese (zh)
Other versions
CN111399790A (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.)
Huizhou Foryou General Electronics Co Ltd
Original Assignee
Huizhou Foryou General Electronics 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 Huizhou Foryou General Electronics Co Ltd filed Critical Huizhou Foryou General Electronics Co Ltd
Priority to CN202010132529.4A priority Critical patent/CN111399790B/en
Publication of CN111399790A publication Critical patent/CN111399790A/en
Application granted granted Critical
Publication of CN111399790B publication Critical patent/CN111399790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a picture sharing system and an implementation method thereof, wherein the rendering result of the shared picture of a second display unit is directly transmitted to a first display unit in a shared display cache mode, a hardware wire harness is not needed for connecting two display units, the efficiency is high, the cost is low, and the product competitiveness is improved.

Description

Picture sharing system and implementation method thereof
Technical Field
The invention relates to the technical field of image processing, in particular to a picture sharing system and an implementation method thereof.
Background
With the update of automobile hard software, the functions of automobile instruments are more and more diversified. The method has the advantages that the picture, information and other contents of the navigation entertainment system are displayed on the instrument, so that the use experience of a user can be optimized, and the method becomes one of the basic requirements of a new generation of multifunctional digital instrument.
In the existing instrument and navigation entertainment system all-in-one machine, an instrument operates on a set of hardware equipment independently, a navigation entertainment system operates on a set of hardware equipment independently, and after rendering a shared picture, the navigation entertainment system transmits a display signal to the instrument for display through an LVDS (Low-Voltage Differential Signaling) signal.
Therefore, the prior art is in need of further improvement.
Disclosure of Invention
The invention provides a picture sharing system and a realization method thereof, aiming at solving the defects in the prior art, realizing picture sharing in a low-cost mode and improving the product competitiveness.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
one aspect of the present invention provides a picture sharing system, including:
the system comprises a sharing request sending module, a memory setting module, a first read-write module, a ready receiving module, a synthesizing module and a first display which are arranged in a first display unit, and a sharing request receiving module, a second read-write module, a ready sending module, a sharing control module, a configuration module, a rendering module, a basic display module, an extended display module, a second display, a shared memory unit and a virtual machine management unit which are arranged in a second display unit;
the first read-write module is connected with the ready receiving module, the shared memory unit and the synthesis module, the synthesis module is also connected with a first display, the shared request sending module is connected with the shared request receiving module, and the memory setting module is connected with the shared memory unit;
the shared request receiving module is connected with the shared control module, the configuration module and the rendering module, the rendering module is further connected with the basic display module and the extended display module, the extended display module is further connected with the configuration module and a second read-write module, the second read-write module is connected with the shared memory unit, the basic display module is further connected with the second display, and the shared control module is further connected with the ready-to-send module;
the sharing request sending module is used for sending a sharing picture request to the second display unit;
the memory setting module is used for setting the shared memory unit as a display cache space;
the first read-write module is used for reading a rendering result from the shared memory unit;
the ready receiving module is used for receiving a shared picture ready message sent by the second display unit;
the composition module is used for compositing a rendering result with the picture of the first display unit;
the first display is used for displaying the picture output by the synthesis module;
the sharing request receiving module is used for receiving a sharing picture request sent by the first display unit;
the second read-write module is used for writing a rendering result into the shared memory unit;
the ready sending module is used for sending a shared picture ready message to the first display unit;
the sharing control module is used for starting or closing a sharing picture;
the configuration module is used for configuring the expansion display module;
the rendering module is used for rendering the picture;
the basic display module is used for displaying a main screen picture of the second display unit;
the extended display module is used for displaying an extended picture outside the second display unit;
the second display is used for displaying the picture output by the basic display module;
the shared memory unit is used for storing rendering results;
the virtual machine management unit is used for providing running environments for a first operating system run by the first display unit and a second operating system run by the second display unit.
Specifically, the first operating system is QNX as HostOS; the second operating system is Android and serves as GuestOS.
Specifically, the sharing request sending module and the sharing request receiving module are communication modules between virtual machines.
Another aspect of the present invention provides a method for implementing a picture sharing system, including:
step 1, a first display unit sends a shared picture request to a second display unit, and a shared memory unit is set as a display cache space, wherein the shared picture request comprises shared picture display area information, and the shared picture display area information comprises: sharing the range, the color digit number and the display buffer space of the picture display area;
step 2, after receiving a shared picture request, the second display unit starts picture sharing, and configures and renders the extended display module of the first display unit according to the shared picture request;
step 3, the second display unit writes the rendering result of the extended display module into the shared memory unit and sends a shared image ready message to the first display unit;
step 4, after receiving the shared image ready message, the first display unit reads the rendering result from the shared memory unit and displays the shared image in a shared display area;
further, after the step 4, the method further comprises:
and 5: and the first display unit requests the second display unit to modify the display content of the shared picture, and the step 1 is returned.
Specifically, the step 2 includes: and rendering the extended display module by a surface flanger in the Android application framework layer through OpenGL ES rendering.
Specifically, the step 4 includes:
step 401, the first display unit opens an Overlay hardware layer;
step 402, the first display unit updates a shared picture to the Overlay hardware layer;
and step 403, the Overlay hardware layer synthesizes and displays a shared picture in a shared display area of the first display unit.
The invention has the beneficial effects that: according to the invention, the rendering result of the shared picture of the second display unit is directly transmitted to the first display unit in a shared display cache mode, a hardware wire harness is not required to connect the two display units, the efficiency is high, the cost is low, and the product competitiveness is improved.
Drawings
FIG. 1 is a schematic diagram of a screen sharing system device according to the present invention.
Detailed Description
The embodiments of the present invention will be described in detail with reference to the accompanying drawings, which are used for reference and illustration only and are not used for limiting the scope of the invention.
As shown in fig. 1, another aspect of the present invention provides a picture sharing system, including:
the system comprises a sharing request sending module, a memory setting module, a first read-write module, a ready receiving module, a synthesizing module and a first display which are arranged in a first display unit, and a sharing request receiving module, a second read-write module, a ready sending module, a sharing control module, a configuration module, a rendering module, a basic display module, an extended display module, a second display, a shared memory unit and a virtual machine management unit which are arranged in a second display unit;
the first read-write module is connected with the ready receiving module, the shared memory unit and the synthesis module, the synthesis module is also connected with a first display, the shared request sending module is connected with the shared request receiving module, and the memory setting module is connected with the shared memory unit;
the shared request receiving module is connected with the shared control module, the configuration module and the rendering module, the rendering module is further connected with the basic display module and the extended display module, the extended display module is further connected with the configuration module and a second read-write module, the second read-write module is connected with the shared memory unit, the basic display module is further connected with the second display, and the shared control module is further connected with the ready-to-send module;
the sharing request sending module is used for sending a sharing picture request to the second display unit;
the memory setting module is used for setting the shared memory unit as a display cache space;
the first read-write module is used for reading a rendering result from the shared memory unit;
the ready receiving module is used for receiving a shared picture ready message sent by the second display unit;
the composition module is used for compositing a rendering result with the picture of the first display unit;
the first display is used for displaying the picture output by the synthesis module;
the sharing request receiving module is used for receiving a sharing picture request sent by the first display unit;
the second read-write module is used for writing a rendering result into the shared memory unit;
the ready sending module is used for sending a shared picture ready message to the first display unit;
the sharing control module is used for starting or closing a sharing picture;
the configuration module is used for configuring the expansion display module;
the rendering module is used for rendering the picture;
the basic display module is used for displaying a main screen picture of the second display unit;
the extended display module is used for displaying an extended picture outside the second display unit;
the second display is used for displaying the picture output by the basic display module;
the shared memory unit is used for storing rendering results;
the virtual machine management unit is used for providing running environments for a first operating system run by the first display unit and a second operating system run by the second display unit.
In specific implementation, the first operating system and the second operating system run on the same hardware platform (including a CPU, a GPU, a memory, and other hardware devices) through the virtual machine management unit.
In this embodiment, the first operating system is QNX as HostOS; the second operating system is Android and serves as GuestOS.
The first operating system is started first, the virtual machine management unit is started as a module of the first operating system, and then the second operating system is started through the virtual machine management unit.
The sharing request sending module and the sharing request receiving module are communication modules among the virtual machines.
In this embodiment, the main screen is a second display, and the sub-screen is a display unit other than the second display.
The working process of the picture sharing system of the invention is as follows:
the sharing request sending module initiates a sharing picture request to the second display unit, wherein the sharing picture request comprises sharing picture display area information, and the sharing picture display area information comprises: sharing the range, the color digit number and the display buffer space of the picture display area; the memory setting module sets the shared memory unit as a display cache space.
The sharing control module starts picture sharing and sends the information of the display area of the shared picture to the configuration module and the rendering module, and the configuration module and the rendering module configure and render the extended display module according to the information of the display area of the shared picture.
After the rendering module finishes rendering the extended display module, the second read-write module writes a rendering result into the shared memory unit, and the shared control module informs the ready-sending module to send a shared image ready message to the first display unit.
After the ready receiving module receives the shared image ready message sent by the ready sending module, the first read-write module reads the rendering result from the shared memory unit and sends the rendering result to the synthesis module, and the synthesis module synthesizes and outputs the rendering result and the image of the first display unit and finally displays the rendering result and the image on the first display.
In another embodiment of the present invention, a method for implementing a picture sharing system is further provided, including:
step 1, a first display unit sends a shared picture request to a second display unit, and a shared memory unit is set as a display cache space, wherein the shared picture request comprises shared picture display area information, and the shared picture display area information comprises: the range of the display area of the shared picture, the color digit and the display buffer space.
The shared memory unit is a section of continuous area of a physical memory (such as a RAM), and is set as a shared memory of a first operating system and a second operating system; the second operating system may use the shared memory unit through an address translation function of the virtual machine management unit.
And 2, after receiving a shared picture request, the second display unit starts picture sharing, and configures and renders the extended display module of the first display unit according to the shared picture request.
In this embodiment, the step 2 includes: and rendering the extended display module by a surface flanger in the Android application framework layer through OpenGL ES rendering.
And 3, writing the rendering result of the extended display module into the shared memory unit by the second display unit, and sending a shared picture ready message to the first display unit.
And 4, after receiving the shared image ready message, the first display unit reads the rendering result from the shared memory unit and displays the shared image in a shared display area.
In this embodiment, the step 4 includes:
step 401, the first display unit opens an Overlay hardware layer;
step 402, the first display unit updates a shared picture to the Overlay hardware layer;
and step 403, the Overlay hardware layer synthesizes and displays a shared picture in a shared display area of the first display unit.
In another embodiment of the present invention, further comprising:
and 5: and the first display unit requests the second display unit to modify the display content of the shared picture, and the step 1 is returned.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention and should not be construed as limiting the scope of the present invention.

Claims (7)

1. A picture sharing system, comprising:
the system comprises a sharing request sending module, a memory setting module, a first read-write module, a ready receiving module, a synthesizing module and a first display which are arranged in a first display unit, and a sharing request receiving module, a second read-write module, a ready sending module, a sharing control module, a configuration module, a rendering module, a basic display module, an extended display module, a second display, a shared memory unit and a virtual machine management unit which are arranged in a second display unit;
the first read-write module is connected with the ready receiving module, the shared memory unit and the synthesis module, the synthesis module is also connected with a first display, the shared request sending module is connected with the shared request receiving module, and the memory setting module is connected with the shared memory unit;
the shared request receiving module is connected with the shared control module, the configuration module and the rendering module, the rendering module is further connected with the basic display module and the extended display module, the extended display module is further connected with the configuration module and a second read-write module, the second read-write module is connected with the shared memory unit, the basic display module is further connected with the second display, and the shared control module is further connected with the ready sending module;
the sharing request sending module is used for sending a sharing picture request to the second display unit;
the memory setting module is used for setting the shared memory unit as a display cache space;
the first read-write module is used for reading a rendering result from the shared memory unit;
the ready receiving module is used for receiving a shared picture ready message sent by the second display unit;
the composition module is used for compositing a rendering result with the picture of the first display unit;
the first display is used for displaying the picture output by the synthesis module;
the sharing request receiving module is used for receiving a sharing picture request sent by the first display unit;
the second read-write module is used for writing a rendering result into the shared memory unit;
the ready sending module is used for sending a shared picture ready message to the first display unit;
the sharing control module is used for opening or closing a sharing picture;
the configuration module is used for configuring the expansion display module;
the rendering module is used for rendering the picture;
the basic display module is used for displaying a main screen picture of the second display unit;
the extended display module is used for displaying an extended picture outside the second display unit;
the second display is used for displaying the picture output by the basic display module;
the shared memory unit is used for storing a rendering result;
the virtual machine management unit is used for providing running environments for a first operating system run by the first display unit and a second operating system run by the second display unit.
2. The picture sharing system according to claim 1, wherein the sharing request sending module and the sharing request receiving module are inter-virtual machine communication modules.
3. The picture sharing system according to claim 2, wherein the first operating system is QNX as HostOS; the second operating system is Android and serves as GuestOS.
4. A picture sharing system implementation method based on the picture sharing system of any one of claims 1 to 3, comprising:
step 1, a first display unit sends a shared picture request to a second display unit, and a shared memory unit is set as a display cache space, wherein the shared picture request comprises shared picture display area information, and the shared picture display area information comprises: sharing the range, the color digit number and the display cache space of the picture display area;
step 2, after receiving a shared picture request, the second display unit starts picture sharing, and configures and renders the extended display module of the first display unit according to the shared picture request;
step 3, the second display unit writes the rendering result of the extended display module into the shared memory unit and sends a shared image ready message to the first display unit;
and 4, after receiving the shared image ready message, the first display unit reads the rendering result from the shared memory unit and displays the shared image in a shared display area.
5. The picture sharing system implementation method according to claim 4, further comprising after the step 4:
and 5: and the first display unit requests the second display unit to modify the display content of the shared picture, and the step 1 is returned.
6. The picture sharing system implementation method according to claim 5, wherein the step 2 comprises: and rendering the extended display module by a surface flicker in the Android application framework layer through OpenGL ES rendering.
7. The picture sharing system implementation method according to claim 6, wherein the step 4 comprises:
step 401, the first display unit opens an Overlay hardware layer;
step 402, the first display unit updates a shared picture to the Overlay hardware layer;
and step 403, the Overlay hardware layer synthesizes and displays a shared picture in the shared display area of the first display unit.
CN202010132529.4A 2020-02-29 2020-02-29 Picture sharing system and implementation method thereof Active CN111399790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010132529.4A CN111399790B (en) 2020-02-29 2020-02-29 Picture sharing system and implementation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010132529.4A CN111399790B (en) 2020-02-29 2020-02-29 Picture sharing system and implementation method thereof

Publications (2)

Publication Number Publication Date
CN111399790A CN111399790A (en) 2020-07-10
CN111399790B true CN111399790B (en) 2023-03-28

Family

ID=71428455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010132529.4A Active CN111399790B (en) 2020-02-29 2020-02-29 Picture sharing system and implementation method thereof

Country Status (1)

Country Link
CN (1) CN111399790B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764705B (en) * 2021-01-26 2022-12-02 重庆紫光华山智安科技有限公司 User interface sharing method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109525559A (en) * 2018-10-25 2019-03-26 深圳市创维群欣安防科技股份有限公司 A kind of picture sharing method and system
CN109725867A (en) * 2019-01-04 2019-05-07 中科创达软件股份有限公司 Virtual screen sharing method, device and electronic equipment
CN110851823A (en) * 2019-11-12 2020-02-28 腾讯科技(深圳)有限公司 Data access method, device, terminal and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140032735A1 (en) * 2008-06-17 2014-01-30 Abhinav Kapoor Adaptive rate of screen capture in screen sharing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109525559A (en) * 2018-10-25 2019-03-26 深圳市创维群欣安防科技股份有限公司 A kind of picture sharing method and system
CN109725867A (en) * 2019-01-04 2019-05-07 中科创达软件股份有限公司 Virtual screen sharing method, device and electronic equipment
CN110851823A (en) * 2019-11-12 2020-02-28 腾讯科技(深圳)有限公司 Data access method, device, terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴成富 ; 欧峰 ; 陈怀民 ; 王亮 ; .基于组播技术的共享内存网络设计与实现.测控技术.2009,(10),全文. *

Also Published As

Publication number Publication date
CN111399790A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN109992232B (en) Image updating method, device, terminal and storage medium
CN110018874B (en) Vertical synchronization method, device, terminal and storage medium
US6529198B1 (en) Parallel rendering device
US20020190943A1 (en) Image display apparatus
JPH09245179A (en) Computer graphic device
JP2003233809A (en) Image composition device and method
JP6272670B2 (en) Display driver integrated circuit and display data processing method
CN111399790B (en) Picture sharing system and implementation method thereof
JPH05189549A (en) Image data processor by multiprocessor
CN115101025B (en) LCD control circuit supporting virtual frame buffering and control method thereof
JP2002244646A (en) System and method for data processing, computer program, and recording medium
JP2956738B2 (en) Video display device and computer
CN115988265A (en) Rendering method and device of display picture and terminal equipment
US20020159645A1 (en) Transmission apparatus of video information, transmission system of video information and transmission method of video information
JP2002032063A (en) Liquid crystal display device and method for controlling window display magnification
WO1995001629A1 (en) Image processing device and method therefor, and game machine having image processing part
JP3481913B2 (en) Image processing device
CN108196911A (en) It is a kind of that expansion box, which carries out the method and device of parameter configuration, to be shown to image
KR100366832B1 (en) Apparatus for processing two-dimensional images and method of doing the same
KR100382956B1 (en) Image Processor and Image Display
CN102184070A (en) Method and device for displaying cursor of hardware support
JP3812361B2 (en) Image display device
JP2746129B2 (en) Drawing equipment
JP2003274137A (en) Image processor
CN115202601A (en) Screen display method, device, terminal, storage medium and product

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