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

Picture sharing system and implementation method thereof Download PDF

Info

Publication number
CN111399790A
CN111399790A CN202010132529.4A CN202010132529A CN111399790A CN 111399790 A CN111399790 A CN 111399790A CN 202010132529 A CN202010132529 A CN 202010132529A CN 111399790 A CN111399790 A CN 111399790A
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.)
Granted
Application number
CN202010132529.4A
Other languages
Chinese (zh)
Other versions
CN111399790B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

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 hardware and 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 of a shared picture, a display signal is transmitted to the instrument for display through an L VDS (L ow-Voltage Differential Signaling) signal, so that the realization mode depends on L VDS hardware, the hardware cost for realizing the function is high, and the competitiveness of a product is reduced.
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 a 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.
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 to be a display cache space, wherein the shared 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;
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 comprises the step of rendering the extended display module through OpenG L ES rendering by a surface flicker in an Android application framework layer.
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 the 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 for reference and illustrative purposes only and are not intended to limit 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 a 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.
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 screen request to the second display unit, wherein the sharing request comprises sharing screen display area information, and the sharing screen display area information comprises: sharing the range, the color digit number and the display cache space of the picture display area; the memory setting module sets the shared memory unit as a display cache space.
The sharing request receiving module receives a sharing picture request sent by the first display unit, the sharing control module starts picture sharing and sends the information of the display area of the sharing picture to the configuration module and the rendering module, and then the rendering module configures and renders the extended display module according to the information of the display area of the sharing 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 to be a display cache space, wherein the shared 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 rendering the extended display module through OpenG L ES rendering by a surface flicker in the Android application framework layer.
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 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.
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 the shared display area of the first display unit.
In another embodiment of the present invention, 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.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken 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-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 a 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 is characterized by comprising the following steps:
step 1, a first display unit sends a shared picture request to a second display unit, and a shared memory unit is set to be a display cache space, wherein the shared 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 rendering the extended display module through OpenG L ES rendering by a surface flicker in an Android application framework layer.
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 true CN111399790A (en) 2020-07-10
CN111399790B 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)

Cited By (1)

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

Citations (4)

* 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
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

Patent Citations (4)

* 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
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
吴成富;欧峰;陈怀民;王亮;: "基于组播技术的共享内存网络设计与实现" *

Cited By (1)

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

Also Published As

Publication number Publication date
CN111399790B (en) 2023-03-28

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
US5250940A (en) Multi-mode home terminal system that utilizes a single embedded general purpose/DSP processor and a single random access memory
US6529198B1 (en) Parallel rendering device
US20020190943A1 (en) Image display apparatus
JPH09245179A (en) Computer graphic device
JP2003233809A (en) Image composition device and method
CN111399790B (en) Picture sharing system and implementation method thereof
JP2002244646A (en) System and method for data processing, computer program, and recording medium
CN115101025B (en) LCD control circuit supporting virtual frame buffering and control method thereof
JP2956738B2 (en) Video display device and computer
JP2002032063A (en) Liquid crystal display device and method for controlling window display magnification
US20020159645A1 (en) Transmission apparatus of video information, transmission system of video information and transmission method of video information
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
CN114116227A (en) Display method, device and equipment based on Wayland protocol without GPU support
JP3481913B2 (en) Image processing device
KR100366832B1 (en) Apparatus for processing two-dimensional images and method of doing the same
CN102184070A (en) Method and device for displaying cursor of hardware support
CN108243293B (en) Image display method and system based on virtual reality equipment
KR100382956B1 (en) Image Processor and Image Display
JP2003274137A (en) Image processor
CN115202601A (en) Screen display method, device, terminal, storage medium and product
CN115543507A (en) Resolution switching method and device and electronic equipment
CN117788266A (en) Data transmission method and device and electronic equipment
CN114579071A (en) Superposition display circuit based on multiple JPEG image layers and implementation method thereof

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