CN111240618A - Multi-user multi-screen display method and device based on android - Google Patents

Multi-user multi-screen display method and device based on android Download PDF

Info

Publication number
CN111240618A
CN111240618A CN201911416574.6A CN201911416574A CN111240618A CN 111240618 A CN111240618 A CN 111240618A CN 201911416574 A CN201911416574 A CN 201911416574A CN 111240618 A CN111240618 A CN 111240618A
Authority
CN
China
Prior art keywords
user
android
information
displayid
maintaining
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
CN201911416574.6A
Other languages
Chinese (zh)
Inventor
彭小艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shengzhe Science & Technology Co ltd
Original Assignee
Beijing Shengzhe Science & Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Shengzhe Science & Technology Co ltd filed Critical Beijing Shengzhe Science & Technology Co ltd
Priority to CN201911416574.6A priority Critical patent/CN111240618A/en
Publication of CN111240618A publication Critical patent/CN111240618A/en
Pending legal-status Critical Current

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/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1431Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display using a single graphics controller
    • 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/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Graphics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to the technical field of display, in particular to a multi-user and multi-screen display method and device based on android. The method comprises the following steps: s1, mapping different display drivers to different displayIDs of an android system layer in the android kernel layer; s2, user creation is carried out; s3, maintaining the basic information and the running stack information of a plurality of users at the same time; s4, carrying out one-to-one association on the user ID and the displayID; s5, maintaining one displayDevice list information; s6, maintaining input device information of multiple displayIDs and an interaction process. The invention utilizes an android system multi-user scheme, and each display is bound with a userID. The screen is not limited, and the number of the supported displays is not limited in software; and a set of system is used, so that a better multi-screen interaction effect can be realized.

Description

Multi-user multi-screen display method and device based on android
Technical Field
The invention relates to the technical field of display, in particular to a multi-user and multi-screen display method and device based on android.
Background
In a scene where multiple persons participate in a conference, a classroom and the like at the same time and need interaction, multi-screen independent display and multi-screen simultaneous independent operation need to be supported, window management is performed through a Windows manager in the conventional multi-screen display, sub-window display of one screen is realized by binding user ID through a window, and multi-screen simultaneous independent operation cannot be supported; in fact only a single screen is supported and the screen does not support multiple points, resulting in a very chicken-rib function.
Disclosure of Invention
Aiming at the problem that the screen in the prior art does not support multi-screen independent display and operation, the invention provides a multi-user multi-screen display method and device based on android.
On one hand, the invention provides a multi-user multi-screen display method based on android, which comprises the following steps:
s1, connecting a plurality of displays with an android system, starting a bootloader, loading display drivers, and mapping different display drivers to different displayIDs of the android system layer in an android kernel layer;
s2, after the android system is started, user creation is carried out by using a createUser method of a UserManager, the number of newly created users is equal to the number of displays connected to the android system, and each user corresponds to a unique user ID;
s3, maintaining basic information and running stack information of a plurality of users in an ActivityManagerService and UserController business layer simultaneously, and ensuring that a plurality of users can display simultaneously;
s4, performing one-to-one correlation on the user ID and the displayID in the WindowManagerservice, and simultaneously maintaining a plurality of groups of Windows information and focus information according to the displayID;
s5, maintaining one displayDevice list information in the SurfaceFlinger, wherein the length of the list is equal to the number of displays, and maintaining the corresponding relation between multiple displayIDs and the displays;
s6, maintaining input equipment information and interaction processes of multiple displayIDs in the InputFlinger and the InputManagerservice, and ensuring key pressing and touch screen operation of multiple screens.
Further, in the step S1, the android system distinguishes different displays by displayID.
Further, in step S2, when creating a user, setting permissions including a right to access a network for the newly created user;
further, in step S4, the corresponding relationship between the user ID of Windows and the displayID is recorded in WindowStatus; switching the state of the WindowStatus into WindowManagerservice for processing; the focus information corresponding to the multiple displayids is recorded in WindowManagerService using Map.
Further, in step S5, the WindowManagerService corresponds to the specific display according to the information recorded in the displayDevice list for the content that needs to be displayed by the displayID.
In another aspect, the present invention further provides an android-based multi-user multi-screen display device, where the device includes:
the displayID mapping module is used for driving a bootloader to start and load a display driver after a plurality of displays are connected with the android system, and mapping different display drivers to different displayIDs of the android system layer at the android kernel layer;
the system comprises a user creating module, a user creating module and a user selecting module, wherein the user creating module is used for creating a user by using a creatUser method of UserManager after the android system is started; the number of the newly created users is equal to the number of the displays connected to the android system, and each user corresponds to a unique user ID;
the multi-user maintaining module is used for simultaneously maintaining the basic information and the running stack information of a plurality of users in an ActivityManagerService and UserController business layer so as to ensure that a plurality of users can simultaneously display;
the displayID association module is used for performing one-to-one association on the user ID and the displayID in the WindowManagerservice and simultaneously maintaining a plurality of groups of Windows information and focus information according to the displayID;
the display device list maintaining module is used for maintaining one piece of display device list information in the surfaceflag, the length of the list is equal to the number of the displays, and the corresponding relation between multiple display IDs and the displays is maintained;
and the input equipment information and interaction flow maintaining module maintains the input equipment information and interaction flow of the multiple displayIDs in the InputFlinger and the InputManagerservice, and ensures the key pressing and touch screen operation of multiple screens.
Further, when the user creating module creates a user, the user creating module sets the authority of the newly created user, wherein the authority comprises the authority of accessing the network;
further, the displayID association module is further configured to:
recording the corresponding relation between the user ID and the displayID of the Windows in the Windows status;
switching the state of the WindowStatus into WindowManagerservice for processing;
and recording the focus information corresponding to the multiple displayIDs in WindowManagerservice by using Map.
Further, the displayDevice list maintaining module is further configured to call contents that need to be displayed by the WindowManagerService for the displayID, and correspond to a specific display according to information recorded in the displayDevice list.
The invention has the following beneficial effects:
the invention utilizes an android system multi-user scheme, and each display is bound with a userID. The screen is not limited, and the number of the supported displays is not limited in software; and a set of system is used, so that a better multi-screen interaction effect can be realized. In some large-screen display scenes, a plurality of display screens can be spliced into a large screen, so that the cost is saved, and some problems of high pixel support degree can be avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a multi-user and multi-screen display method based on android according to an embodiment of the present invention;
fig. 2 is a structural schematic diagram of the android-based multi-user multi-screen display system in the embodiment of the invention.
Detailed Description
Exemplary embodiments will be described in detail herein. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The multi-user and multi-screen display refers to the situation that one android system terminal is connected with a plurality of displays, the display content of each screen is different, and the scene can be used as a multi-screen different display interaction scene, for example, different screens can be operated by passengers and drivers in a vehicle, for example, multi-person interaction in a conference and the like.
FIG. 1 is a schematic flow chart of a multi-user and multi-screen display method based on android disclosed in the present invention; referring to fig. 1, the multi-user multi-screen display method based on android includes:
s1, connecting a plurality of displays with an android system, starting a bootloader, loading display drivers, and mapping different display drivers to different displayIDs of the android system layer in an android kernel layer;
and a plurality of displays are connected to a mainboard provided with the android system through hardware. When the android system is powered on and started, the bootloader starts and loads the display driver, different display drivers are mapped to different displayIDs of the android system layer in the android kernel layer, namely different displays can be distinguished through the displayIDs in the android system, and therefore different displays are processed.
S2, after the android system is started, user creation is carried out by using a createUser method of a UserManager, the number of newly created users is equal to the number of displays connected to the android system, and each user corresponds to a unique user ID; when a user is created, permission setting can be carried out on the newly created user according to the requirement, wherein the permission comprises the permission of accessing the network;
s3, maintaining basic information and running stack information of a plurality of users in an ActivityManagerService and UserController business layer simultaneously, and ensuring that a plurality of users can display simultaneously;
s4, performing one-to-one correlation on the user ID and the displayID in the WindowManagerservice, and simultaneously maintaining a plurality of groups of Windows information and focus information according to the displayID;
the corresponding relation between the user ID and the displayID of Windows is recorded in WindowStatus, the state of the WindowStatus is switched to be processed in WindowManagerservice, and the focus information corresponding to the multiple displayIDs is recorded in the WindowManagerservice by using Map. The logical processing in the WindowManagerService ensures the corresponding relationship between multiple users and multiple display screens, and the application or interface operation information of the multiple users can be displayed in the display equipment corresponding to the displayID.
S5, maintaining one displayDevice list information in the SurfaceFlinger, wherein the length of the list is equal to the number of displays, and maintaining the corresponding relation between multiple displayIDs and the displays; the WindowManagerService displays content required for displayID, and corresponds to a specific display according to information recorded in the displayDevice list.
S6, maintaining input equipment information and interaction processes of multiple displayIDs in the InputFlinger and the InputManagerservice, and ensuring key pressing and touch screen operation of multiple screens.
The invention also provides a multi-user multi-screen display device based on android, as shown in fig. 2, comprising:
the displayID mapping module 10 is used for driving a bootloader to start and load a display driver after a plurality of displays are connected with the android system, and mapping different display drivers to different displayIDs of the android system layer at the android kernel layer;
the user creating module 20 is used for creating a user by using a createUser method of UserManager after the android system is started; the number of the newly created users is equal to the number of the displays connected to the android system, and each user corresponds to a unique user ID; when a user is created, setting the authority of the newly created user, wherein the authority comprises the authority of accessing the network;
a multi-user maintaining module 30, configured to simultaneously maintain basic information and running stack information of multiple users in the activitymanager service and UserController service layers, so as to ensure that multiple users can simultaneously display the information;
the displayID association module 40 is configured to perform one-to-one association on a user ID and a displayID in a windowmanageservice, and simultaneously maintain multiple sets of Windows information and focus information according to the displayID; recording the corresponding relation between the user ID and the displayID of the Windows in the Windows status; switching the state of the WindowStatus into WindowManagerservice for processing; and recording the focus information corresponding to the multiple displayIDs in WindowManagerservice by using Map.
A displayDevice list maintaining module 50, configured to maintain a displayDevice list in the surfaceflag, where the length of the list is equal to the number of displays, and maintain a corresponding relationship between multiple displayids and displays; and calling the content which needs to be displayed by the WindowManagerservice aiming at the displayID, and corresponding to the specific display according to the information recorded in the displayDevice list.
The input device information and interaction flow maintaining module 60 maintains the input device information and interaction flow of the multiple displayids in the Inputflinger and the inputmanageservice, and ensures the multi-screen key and touch screen operations.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. A multi-user multi-screen display method based on android is characterized by comprising the following steps:
s1, connecting a plurality of displays with an android system, starting a bootloader, loading display drivers, and mapping different display drivers to different displayIDs of the android system layer in the android kernel layer;
s2, after the android system is started, user creation is carried out by using a createUser method of a UserManager, the number of newly created users is equal to the number of displays connected to the android system, and each user corresponds to a unique user ID;
s3, maintaining basic information and running stack information of a plurality of users in an ActivityManagerService and UserController business layer simultaneously, and ensuring that a plurality of users can display simultaneously;
s4, performing one-to-one correlation on the user ID and the displayID in the WindowManagerservice, and simultaneously maintaining a plurality of groups of Windows information and focus information according to the displayID;
s5, maintaining one displayDevice list information in the SurfaceFlinger, wherein the length of the list is equal to the number of displays, and maintaining the corresponding relation between multiple displayIDs and the displays;
s6, maintaining input equipment information and interaction processes of multiple displayIDs in the InputFlinger and the InputManagerservice, and ensuring key pressing and touch screen operation of multiple screens.
2. The android-based multi-user and multi-screen display method of claim 1, wherein: in step S1, the android system distinguishes between different displays by displayID.
3. The android-based multi-user and multi-screen display method of claim 1, wherein: in step S2, when creating a user, setting a right including a right to access a network for the newly created user.
4. The android-based multi-user and multi-screen display method of claim 1, wherein: in step S4, recording the correspondence between the user ID of Windows and the displayID in WindowStatus; switching the state of the WindowStatus into WindowManagerservice for processing; the focus information corresponding to the multiple displayids is recorded in WindowManagerService using Map.
5. The android-based multi-user and multi-screen display method of claim 1, wherein: in step S5, the WindowManagerService corresponds to the specific display according to the information recorded in the displayDevice list for the content that needs to be displayed by the displayID.
6. An android-based multi-user multi-screen display device, the device comprising:
the displayID mapping module is used for driving a bootloader to start and load a display driver after a plurality of displays are connected with the android system, and mapping different display drivers to different displayIDs of the android system layer at the android kernel layer;
the system comprises a user creating module, a user creating module and a user selecting module, wherein the user creating module is used for creating a user by using a creatUser method of UserManager after the android system is started; the number of the newly created users is equal to the number of the displays connected to the android system, and each user corresponds to a unique user ID;
the multi-user maintaining module is used for simultaneously maintaining the basic information and the running stack information of a plurality of users in an ActivityManagerService and UserController business layer so as to ensure that a plurality of users can simultaneously display;
the displayID association module is used for performing one-to-one association on the user ID and the displayID in the WindowManagerservice and simultaneously maintaining a plurality of groups of Windows information and focus information according to the displayID;
the display device list maintaining module is used for maintaining one piece of display device list information in the surfaceflag, the length of the list is equal to the number of the displays, and the corresponding relation between multiple display IDs and the displays is maintained;
and the input equipment information and interaction flow maintaining module maintains the input equipment information and interaction flow of the multiple displayIDs in the InputFlinger and the InputManagerservice, and ensures the key pressing and touch screen operation of multiple screens.
7. An android-based multi-user multi-screen display device as recited in claim 6, wherein: when the user creating module creates the user, the user creating module sets the authority of the newly created user, wherein the authority comprises the authority of accessing the network.
8. An android-based multi-user multi-screen display device of claim 6, wherein the displayID association module is further configured to:
recording the corresponding relation between the user ID and the displayID of the Windows in the Windows status;
switching the state of the WindowStatus into WindowManagerservice for processing;
and recording the focus information corresponding to the multiple displayIDs in WindowManagerservice by using Map.
9. An android-based multi-user multi-screen display device as recited in claim 6, wherein: the displayDevice list maintaining module is further configured to call contents that need to be displayed by the WindowManagerService for the displayID, and correspond to the specific display according to information recorded in the displayDevice list.
CN201911416574.6A 2019-12-31 2019-12-31 Multi-user multi-screen display method and device based on android Pending CN111240618A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911416574.6A CN111240618A (en) 2019-12-31 2019-12-31 Multi-user multi-screen display method and device based on android

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911416574.6A CN111240618A (en) 2019-12-31 2019-12-31 Multi-user multi-screen display method and device based on android

Publications (1)

Publication Number Publication Date
CN111240618A true CN111240618A (en) 2020-06-05

Family

ID=70866074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911416574.6A Pending CN111240618A (en) 2019-12-31 2019-12-31 Multi-user multi-screen display method and device based on android

Country Status (1)

Country Link
CN (1) CN111240618A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328197A (en) * 2020-10-30 2021-02-05 北京数秦科技有限公司 Multi-screen display method and device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130019183A1 (en) * 2010-10-01 2013-01-17 Z124 Dynamic cross-environment application configuration/orientation
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
CN104902017A (en) * 2015-05-20 2015-09-09 四川敬天爱人科技有限公司 Remote interaction method of multi-screen synchronous display supporting QoS
WO2017113330A1 (en) * 2015-12-31 2017-07-06 深圳配天智能技术研究院有限公司 Multi-core embedded processor-based display method and device, and embedded apparatus
CN107291456A (en) * 2017-06-06 2017-10-24 福州汇思博信息技术有限公司 The control method and system of a kind of multihead display
CN110083323A (en) * 2019-04-29 2019-08-02 中科创达(重庆)汽车科技有限公司 A kind of method and device for realizing mostly display and multi-user concurrent
WO2019213372A1 (en) * 2018-05-02 2019-11-07 Cloud People Llc Decentralized digital communication platform system and method
CN110618798A (en) * 2019-08-30 2019-12-27 惠州Tcl移动通信有限公司 Multi-screen display method, multi-screen device, storage medium and terminal equipment
CN110618843A (en) * 2018-06-20 2019-12-27 成都香巴拉科技有限责任公司 Single-computer host multi-user desktop virtualization system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130019183A1 (en) * 2010-10-01 2013-01-17 Z124 Dynamic cross-environment application configuration/orientation
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
CN104902017A (en) * 2015-05-20 2015-09-09 四川敬天爱人科技有限公司 Remote interaction method of multi-screen synchronous display supporting QoS
WO2017113330A1 (en) * 2015-12-31 2017-07-06 深圳配天智能技术研究院有限公司 Multi-core embedded processor-based display method and device, and embedded apparatus
CN107291456A (en) * 2017-06-06 2017-10-24 福州汇思博信息技术有限公司 The control method and system of a kind of multihead display
WO2019213372A1 (en) * 2018-05-02 2019-11-07 Cloud People Llc Decentralized digital communication platform system and method
CN110618843A (en) * 2018-06-20 2019-12-27 成都香巴拉科技有限责任公司 Single-computer host multi-user desktop virtualization system
CN110083323A (en) * 2019-04-29 2019-08-02 中科创达(重庆)汽车科技有限公司 A kind of method and device for realizing mostly display and multi-user concurrent
CN110618798A (en) * 2019-08-30 2019-12-27 惠州Tcl移动通信有限公司 Multi-screen display method, multi-screen device, storage medium and terminal equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
叶楠: "基于多屏互动的OTT平台的设计与实现", 电视技术, no. 03, 17 March 2016 (2016-03-17) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328197A (en) * 2020-10-30 2021-02-05 北京数秦科技有限公司 Multi-screen display method and device and storage medium
CN112328197B (en) * 2020-10-30 2024-01-05 北京数秦科技有限公司 Multi-screen display method, device and storage medium

Similar Documents

Publication Publication Date Title
CA2711449C (en) Method and apparatus for displaying video data from multiple source computers in a multi-monitor computer system
US20050267779A1 (en) Method, apparatus, and medium for servicing clients in remote areas
CN103283250A (en) Method, device and system of video redirection, and computer readable medium
RU94021630A (en) Aircraft communication and game system, method for control of its operations, data processing system and method for loading information into said system
CN106598512A (en) Information display method and system and electronic equipment
CN109426476B (en) Signal source scheduling system and signal scheduling method of signal source system
CN112203130B (en) Vehicle-mounted information entertainment terminal, multi-screen interactive display method thereof and automobile
CN106933523A (en) A kind of multi-screen interaction method and device
CN113965809A (en) Method and device for simultaneous interactive live broadcast based on single terminal and multiple platforms
CN111131757B (en) Video conference display method, device and storage medium
CN108763391A (en) Questionnaire page surface treatment method and apparatus
CN109101306B (en) Sharing method, sharing device, terminal and computer readable storage medium
CN111240618A (en) Multi-user multi-screen display method and device based on android
CN112328197B (en) Multi-screen display method, device and storage medium
CN106201407A (en) A kind of data display method and terminal
CN111371950A (en) Split screen response method and device, terminal and storage medium
CN113268194B (en) Split screen control interaction method and device based on mobile equipment and storage medium
CN110806830A (en) User interaction method and electronic equipment
WO2021259264A1 (en) Screen display method and apparatus, terminal, and computer-readable storage medium
US20210354713A1 (en) Agent control device, agent control method, and storage medium storing agent control program
CN114742534A (en) Multi-machine linkage cooperative system and control method
CN112988426A (en) Message processing method and device
CN1845083A (en) Firmware module used on liquid crystal display
CN108984074B (en) Sidebar operation method, device and system, terminal equipment and server
CN108255568B (en) Terminal interface display method and device, terminal and storage medium

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