CN108279963A - A kind of intelligent terminal of the more android systems of list linux kernel shows virtual method - Google Patents

A kind of intelligent terminal of the more android systems of list linux kernel shows virtual method Download PDF

Info

Publication number
CN108279963A
CN108279963A CN201810010116.1A CN201810010116A CN108279963A CN 108279963 A CN108279963 A CN 108279963A CN 201810010116 A CN201810010116 A CN 201810010116A CN 108279963 A CN108279963 A CN 108279963A
Authority
CN
China
Prior art keywords
android
layer
surfaceflinger
values
intelligent terminal
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
CN201810010116.1A
Other languages
Chinese (zh)
Other versions
CN108279963B (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.)
Zhengzhou Xinda Jiean Information Technology Co Ltd
Original Assignee
Zhengzhou Xinda Jiean Information 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 Zhengzhou Xinda Jiean Information Technology Co Ltd filed Critical Zhengzhou Xinda Jiean Information Technology Co Ltd
Priority to CN201810010116.1A priority Critical patent/CN108279963B/en
Publication of CN108279963A publication Critical patent/CN108279963A/en
Application granted granted Critical
Publication of CN108279963B publication Critical patent/CN108279963B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/545Interprogram communication where tasks reside in different layers, e.g. user- and kernel-space
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/543Local

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The intelligent terminal that the present invention provides a kind of more android systems of single linux kernel shows virtual method, including intelligent terminal, multiple android systems are provided in the intelligent terminal, WindowManager services and several application APPs are both provided in each android system, it selects an android system as main system, SurfaceFlinger services is provided in the main system;By sharing the SurfaceFlinger services by transformation between each Android system of intelligent terminal, and each Layer of all Android systems is subjected to unified mapping management, it realizes multiple Android systems and shares the same physical display screen, pass through the Layer mapping relations modification to each Android system, realize the switching of multiple Android system pictures, to play the role of display virtualization and system interface switching, there is very high versatility and portability.

Description

A kind of intelligent terminal of the more android systems of list linux kernel shows virtual method
Technical field
The present invention relates to mobile virtual fields and mobile security field, specifically, relate to a kind of single linux kernel The intelligent terminal of more android systems shows virtual method.
Background technology
With the universal development with mobile Internet of smart mobile phone, mobile terminal payment, office, financing become more and more general Time, it the features such as information security of mobile phone also becomes more and more important, and Android system is due to itself opening, is faced Information Security Risk be even more be much larger than other systems.Various viruses, wooden horse emerge one after another.On the other hand, the need of mobile office Ask also increasing, the sensitive information leakage of enterprise, reduces entreprise cost, it is felt to be desirable to support the hand of dual system in order to prevent Machine, one is used for work, and one for living.
There are many technical solutions at present for the mobile phone of dual system, have multiple hardware module isolation, also have virtual based on software The multisystem that change technology is realized.It is compared to the technical solution of hardware isolated, software virtualization scheme has at low cost, performance High, low in energy consumption, user experience it is good and can software harnesses the advantages that.
No matter which kind of technical solution, it is necessary to the virtualization in face of shared hardware resource and multiplying question.How one is made Physical display screen timesharing on demand shows that the picture of different system becomes and realizes that multisystem must solve the problems, such as.
In order to solve the above problems, people are seeking always a kind of ideal technical solution.
Invention content
The purpose of the present invention is in view of the deficiencies of the prior art, to provide a kind of more Android systems of single linux kernel The intelligent terminal of system shows virtual method, so that multiple systems is shared the same display equipment, and can toggle Show picture.
To achieve the goals above, the technical solution adopted in the present invention is:A kind of more Android systems of list linux kernel The intelligent terminal of system shows virtual method, including intelligent terminal, and multiple android systems are provided in the intelligent terminal, It is both provided with WindowManager services and several application APPs in each android system, selects an Android System is provided with SurfaceFlinger services, includes the following steps as main system in the main system:
Step 1, changing the SurfaceFlinger services makes it be shared between multiple Android systems;
Step 2, WindowManager service initiation windows of each application program App into current Android system, which is shown, asks It asks, the WindowManager services, which receive to service to the SurfaceFlinger after the window display is asked, initiates wound Figure layer request is built, the SurfaceFlinger services are that the application program App creates a figure layer Layer;
Step 3, the WindowManager is according to the operating status of all application program App in current Android system and its The figure layer Layer information of his application program App calculates the Z values of the figure layer Layer of each application program App, and by the Z values It is arranged to the SurfaceFlinger in servicing;Wherein, each application APP corresponds to an independent Z value;
Step 4, the SurfaceFlinger services are according to the All Layers that window display request is each Android system The Z values of Layer increase a base value, and different Android systems corresponds to different base values;
Step 5, the SurfaceFlinger services calculate the visibility region after figure layer Layer superpositions from top to bottom according to Z values, And Flatten Image, it will be seen that the Flatten Image in region is sent to display screen and shows.
Based on above-mentioned, the SurfaceFlinger services show that each android is changed in request also according to the window System figure layer Layer increased base values in Z values, to realize that multiple Android systems show the switching of picture.
Based on above-mentioned, the Android system of the window to be shown increased base value in Z values is maximum.
The present invention has substantive distinguishing features outstanding and significant progress:The present invention passes through each in intelligent terminal The SurfaceFlinger services by transformation are shared between Android system, and by each Layer of all Android systems Unified mapping management is carried out, to realize that multiple Android systems share the same physical display screen.Further, by right The Layer mapping relations of each Android system are changed, and the switching of multiple Android system pictures is realized, aobvious to play The effect for showing virtualization and system interface switching runs multiple Android systems for an intelligent terminal and solves asking for display Topic had not only shielded the difference of different hardware platforms, but also has had very high versatility and portability.Whole flow process does not change original The operating mechanism of android, it is reliable and stable and efficient.
Description of the drawings:
Fig. 1 is primary android system display schematic diagram.
Fig. 2 is schematic diagram of the present invention when running two android systems when 2 picture of display system.
Fig. 3 is schematic diagram of the present invention when running two android systems when 1 picture of display system.
Specific implementation mode:
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, to this hair It is bright to be further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, is not used to limit The fixed present invention.
The display portion of primary android system, as shown in Figure 1, application program App is aobvious to WindowManager requests Show or new window, WindowManager is according to the request of application program App is serviced to SurfaceFlinger initiates figure layer Request to create creates a figure layer Layer;
WindowManager is according to the figure layer Layer information of the operating status and other application applied in primary android system A suitable Z value is calculated, during setting to SurfaceFlinger services, which determines position of the figure layer on Z axis, To which the final visibility region of All Layers can be influenced.After SurfaceFlinger calculates map overlay from top to bottom according to Z values Visibility region Flatten Image, and Flatten Image is sent to display screen and is shown.
Based on above-mentioned principle, technical scheme is as follows:
A kind of intelligent terminal of the more android systems of list linux kernel shows virtual method, including intelligent terminal, the intelligence Multiple android systems can be provided in terminal, if be both provided in each android system WindowManager services and A dry application APP selects an android system as main system, is provided in the main system SurfaceFlinger is serviced comprising following steps:
Step 1, changing the SurfaceFlinger services makes it be shared between multiple Android systems;
Step 2, WindowManager service initiation windows of each application program App into current Android system, which is shown, asks It asks, the WindowManager services, which receive to service to the SurfaceFlinger after the window display is asked, initiates wound Figure layer request is built, the SurfaceFlinger services are that the application program App creates a figure layer Layer;
Step 3, the WindowManager is according to the operating status of all application program App in current Android system and its The figure layer Layer information of his application program App calculates the Z values of the figure layer Layer of each application program App, and by the Z values It is arranged to the SurfaceFlinger in servicing;Wherein, each application APP corresponds to an independent Z value;
Step 4, the SurfaceFlinger services are according to all figures that window display request is each Android system The Z values of layer Layer increase a base value, and different Android systems corresponds to different base values;
Step 5, the SurfaceFlinger services calculate the visibility region after figure layer Layer superpositions from top to bottom according to Z values, And Flatten Image, it will be seen that the Flatten Image in region is sent to display screen and shows.
Preferably, the SurfaceFlinger services can also show that request modification is each according to the window Android system figure layer Layer increased base values in Z values, to realize that multiple Android systems show the switching of picture.Tool Body, Android system to be shown increased base value in Z values is maximum.
For the ease of being further understood from technical scheme of the present invention, it is exemplified below:
Assuming that android system is respectively system 1 and system 2 in intelligent terminal, one of system is selected as principal series altogether Enjoy its SurfaceFlinger services;For each system by a unique identification code, SurfaceFlinger services can root Request is created layer from which system according to identification code identification.
Z values corresponding to Android system due to window to be shown are maximum, as shown in Fig. 2, to display system 2 Window then needs the Z values for enabling the Z values of system 2 be more than system 1, i.e.,:
All Layers Layer in system 1 is described when setting z values are serviced to the SurfaceFlinger SurfaceFlinger services can increase by one 10000000 fixed offset value in z values, at this point for described SurfaceFlinger is serviced, and the All Layers Layer of system 1 has been pushed 10000000 positions to z-axis direction.
All Layers Layer in system 2 is described when setting z values are serviced to the SurfaceFlinger SurfaceFlinger services can increase by one 20000000 fixed offset value in z values, at this point for described SurfaceFlinger is serviced, and the All Layers Layer of system 2 has been pushed 20000000 positions to z-axis direction.
Therefore in SurfaceFlinger services, the figure layer of system 2 will be located on system 1, be shown after merging Picture by for the picture of system 2, and system 1 impregnable can be painted according to the execution flow of oneself.
As shown in figure 3, to the window of display system 1, then the Z values for enabling the Z values of system 1 be more than system 2 are needed, i.e.,:
All Layers Layer in system 1 is described when setting z values are serviced to the SurfaceFlinger SurfaceFlinger services can increase by one 20000000 fixed offset value in z values, at this point for described SurfaceFlinger is serviced, and the All Layers Layer of system 1 has been pushed 20000000 positions to z-axis direction.
All Layers Layer in system 2 is described when setting z values are serviced to the SurfaceFlinger SurfaceFlinger services can increase by one 10000000 fixed offset value in z values, at this point for described SurfaceFlinger is serviced, and the All Layers Layer of system 2 has been pushed 10000000 positions to z-axis direction.
Therefore in SurfaceFlinger services, the figure layer of system 1 will be located on system 2, be shown after merging Picture by for the picture of system 1, and system 2 impregnable can be painted according to the execution flow of oneself.
Finally it should be noted that:The above embodiments are merely illustrative of the technical scheme of the present invention and are not intended to be limiting thereof;To the greatest extent The present invention is described in detail with reference to preferred embodiments for pipe, those of ordinary skills in the art should understand that:Still It can modify to the specific implementation mode of the present invention or equivalent replacement is carried out to some technical characteristics;Without departing from this hair The spirit of bright technical solution should all cover within the scope of the technical scheme claimed by the invention.

Claims (3)

1. a kind of intelligent terminal of the more android systems of list linux kernel shows virtual method, including intelligent terminal, described Multiple android systems are provided in intelligent terminal, be both provided in each android system WindowManager service and Several application APPs select an android system as main system, are provided in the main system SurfaceFlinger is serviced, which is characterized in that is included the following steps:
Step 1, changing the SurfaceFlinger services makes it be shared between multiple Android systems;
Step 2, WindowManager service initiation windows of each application program App into current Android system, which is shown, asks It asks, the WindowManager services, which receive to service to the SurfaceFlinger after the window display is asked, initiates wound Figure layer request is built, the SurfaceFlinger services are that the application program App creates a figure layer Layer;
Step 3, the WindowManager is according to the operating status of all application program App in current Android system and its The figure layer Layer information of his application program App calculates the Z values of the figure layer Layer of each application program App, and by the Z values It is arranged to the SurfaceFlinger in servicing;Wherein, each application APP corresponds to an independent Z value;
Step 4, the SurfaceFlinger services are according to all figures that window display request is each Android system The Z values of layer Layer increase a base value, and different Android systems corresponds to different base values;
Step 5, the SurfaceFlinger services calculate the visibility region after figure layer Layer superpositions from top to bottom according to Z values, And Flatten Image, it will be seen that the Flatten Image in region is sent to display screen and shows.
2. a kind of intelligent terminal of the more android systems of single linux kernel according to claim 1 shows virtualization side Method, it is characterised in that:The SurfaceFlinger services show that each Android system is changed in request also according to the window Figure layer Layer increased base values in Z values, to realize that multiple Android systems show the switching of picture.
3. a kind of intelligent terminal display virtualization of the more android systems of single linux kernel according to claim 1 or 2 Method, it is characterised in that:The Android system of window to be shown increased base value in Z values is maximum.
CN201810010116.1A 2018-01-05 2018-01-05 Single Linux kernel multi-Android system intelligent terminal display virtualization method Active CN108279963B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810010116.1A CN108279963B (en) 2018-01-05 2018-01-05 Single Linux kernel multi-Android system intelligent terminal display virtualization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810010116.1A CN108279963B (en) 2018-01-05 2018-01-05 Single Linux kernel multi-Android system intelligent terminal display virtualization method

Publications (2)

Publication Number Publication Date
CN108279963A true CN108279963A (en) 2018-07-13
CN108279963B CN108279963B (en) 2020-11-20

Family

ID=62803196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810010116.1A Active CN108279963B (en) 2018-01-05 2018-01-05 Single Linux kernel multi-Android system intelligent terminal display virtualization method

Country Status (1)

Country Link
CN (1) CN108279963B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110018894A (en) * 2019-04-09 2019-07-16 西安外事学院 A kind of multisystem based on Android container and single system switching method and device
CN112114916A (en) * 2020-08-31 2020-12-22 北京技德系统技术有限公司 Method and device for compatibly running Android application on Linux operating system
CN112860364A (en) * 2021-02-07 2021-05-28 麒麟软件有限公司 Android graph display method based on Linux kernel
CN113641437A (en) * 2021-08-16 2021-11-12 深圳技德智能科技研究院有限公司 Linux-compatible Android application interface rotation method and device
WO2022134179A1 (en) * 2020-12-25 2022-06-30 安徽鸿程光电有限公司 Target area setting method and apparatus, electronic device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593185A (en) * 2013-11-04 2014-02-19 浙江大学 Single-Linux-inner-core-based method for multiple Android systems to share input equipment and display equipment
US9077731B2 (en) * 2010-10-01 2015-07-07 Z124 Extended graphics context with common compositing
CN105404547A (en) * 2014-09-12 2016-03-16 阿里巴巴集团控股有限公司 Fusion method and device of operating system
CN105677315A (en) * 2015-12-28 2016-06-15 北京元心科技有限公司 interface display method of multiple operating systems and intelligent terminal
WO2016101810A1 (en) * 2014-12-23 2016-06-30 阿里巴巴集团控股有限公司 Method for switching display object in multi-window system and device thereof
CN105872711A (en) * 2016-04-21 2016-08-17 北京元心科技有限公司 Switching animation display method and device during multi-system switching
CN106843796A (en) * 2017-03-01 2017-06-13 北京海杭通讯科技有限公司 A kind of single-screen shows the display methods of dual system picture
CN106951249A (en) * 2017-03-16 2017-07-14 北京元心科技有限公司 Method for managing windows in multi-system terminal equipment and multi-system terminal equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9077731B2 (en) * 2010-10-01 2015-07-07 Z124 Extended graphics context with common compositing
CN103593185A (en) * 2013-11-04 2014-02-19 浙江大学 Single-Linux-inner-core-based method for multiple Android systems to share input equipment and display equipment
CN105404547A (en) * 2014-09-12 2016-03-16 阿里巴巴集团控股有限公司 Fusion method and device of operating system
WO2016101810A1 (en) * 2014-12-23 2016-06-30 阿里巴巴集团控股有限公司 Method for switching display object in multi-window system and device thereof
CN105677315A (en) * 2015-12-28 2016-06-15 北京元心科技有限公司 interface display method of multiple operating systems and intelligent terminal
CN105872711A (en) * 2016-04-21 2016-08-17 北京元心科技有限公司 Switching animation display method and device during multi-system switching
CN106843796A (en) * 2017-03-01 2017-06-13 北京海杭通讯科技有限公司 A kind of single-screen shows the display methods of dual system picture
CN106951249A (en) * 2017-03-16 2017-07-14 北京元心科技有限公司 Method for managing windows in multi-system terminal equipment and multi-system terminal equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110018894A (en) * 2019-04-09 2019-07-16 西安外事学院 A kind of multisystem based on Android container and single system switching method and device
CN112114916A (en) * 2020-08-31 2020-12-22 北京技德系统技术有限公司 Method and device for compatibly running Android application on Linux operating system
WO2022134179A1 (en) * 2020-12-25 2022-06-30 安徽鸿程光电有限公司 Target area setting method and apparatus, electronic device and storage medium
CN112860364A (en) * 2021-02-07 2021-05-28 麒麟软件有限公司 Android graph display method based on Linux kernel
CN113641437A (en) * 2021-08-16 2021-11-12 深圳技德智能科技研究院有限公司 Linux-compatible Android application interface rotation method and device
CN113641437B (en) * 2021-08-16 2023-06-16 深圳技德智能科技研究院有限公司 Android-compatible application interface rotation method and device for Linux

Also Published As

Publication number Publication date
CN108279963B (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN108279963A (en) A kind of intelligent terminal of the more android systems of list linux kernel shows virtual method
CN102571698B (en) Access authority control method, system and device for virtual machine
Yousafzai et al. Process migration-based computational offloading framework for IoT-supported mobile edge/cloud computing
CN104123265B (en) A kind of many communication method between cores and system
CN107846313B (en) A kind of method and the network equipment of the generation of network service moulding plate
US20120185527A1 (en) Distributed virtual desktop architecture
US20220103640A1 (en) Computer system providing user specific session prelaunch features and related methods
CN102647456A (en) Method and system for building desktop cloud
CN111552550A (en) Task scheduling method, device and medium based on GPU (graphics processing Unit) resources
CN110168510A (en) The exclusive facility held of cache line for extending in private cache
CN107483552A (en) Cloud desktop intelligent start-stop method based on cloud computing
CN104331332A (en) Virtual resource pre-allocation algorithm based on SLA
Saurez et al. Oneedge: An efficient control plane for geo-distributed infrastructures
BEGAN Cloud computing
CN105589660B (en) A kind of data distribution method and device
CN112169310A (en) Game resource loading method and device, computer equipment and storage medium
CN113419842B (en) Method and device for constructing edge computing microservice based on JavaScript
WO2016116783A1 (en) Personal working system available for dynamic combination and adjustment
US9569241B2 (en) Sharing devices assigned to virtual machines using runtime exclusion
DE112021003803T5 (en) POOL MANAGEMENT FOR APPLICATION LAUNCH IN AN ONBOARD UNIT
KR20130049791A (en) Platform system of e-government with open data integration system of cloud computing
Jiao et al. Research on development and application of remote control system for multimedia classroom based on cloud computing
US20230156004A1 (en) Scalable and secure edge cluster registration
CN109995571A (en) Server configuration applies matched method and device with VNF
CN104699570A (en) Intelligent network flow desktop method allowing virtual desktop and physical desktop to share mirror image

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
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method for intelligent terminal display virtualization with a single Linux kernel and multiple Android systems

Granted publication date: 20201120

Pledgee: China Postal Savings Bank Co.,Ltd. Zhengzhou Branch

Pledgor: ZHENGZHOU XINDA JIEAN INFORMATION TECHNOLOGY Co.,Ltd.

Registration number: Y2024980042451