CN108241479A - Double screen dual control vehicle device display device and implementation method based on android system - Google Patents

Double screen dual control vehicle device display device and implementation method based on android system Download PDF

Info

Publication number
CN108241479A
CN108241479A CN201810012656.3A CN201810012656A CN108241479A CN 108241479 A CN108241479 A CN 108241479A CN 201810012656 A CN201810012656 A CN 201810012656A CN 108241479 A CN108241479 A CN 108241479A
Authority
CN
China
Prior art keywords
screen
module
double
display
control
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
CN201810012656.3A
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.)
Suzhou Changfeng Aviation Electronics Co Ltd
Original Assignee
Suzhou Changfeng Aviation 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 Suzhou Changfeng Aviation Electronics Co Ltd filed Critical Suzhou Changfeng Aviation Electronics Co Ltd
Priority to CN201810012656.3A priority Critical patent/CN108241479A/en
Publication of CN108241479A publication Critical patent/CN108241479A/en
Pending legal-status Critical Current

Links

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
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Present invention is disclosed double screen dual control vehicle device display devices based on android system, including Android system module and two display screens, primary shuangping san bottom in Android system module is equipped with double screen switching interface, and the system framework layer of Android system module includes double screen logic management services module, Double-screen touch-control event distributes module, double screen stack management module, Android display service double screen handover module.Specifically realize include touch-control step, start applying step, screen in operating steps and switch screen step.Double screen dual control can be realized using a set of mainboard for carrying Android system and two display screens in the present invention, effectively reduces the cost of double screen dual control vehicle device display device.Two display screens are mutual indepedent, can simultaneously independent operating application, do not interfere with each other between each other.Also compatible third-party application.Two display screens can realize interaction, and screens switch reaches millisecond rank, and interaction response is fast, and on application operation in screen without influence.

Description

Double screen dual control vehicle device display device and implementation method based on android system
Technical field
The present invention relates to more particularly to double screen dual control vehicle device display device based on android system and implementation method, belong to Vehicle device shows the technical field of equipment.
Background technology
Vehicle mounted multimedia recreation terminal starts more diversification, and compared to traditional vehicle device, double screen Android vehicle device is gathered around on software There is abundanter application, the user experience of similar mobile phone and better scalability, double applications that double screen is presented also can Give user more modish use feeling than single application.In hardware aspect, double screen can have the visual experience of more science fiction than single screen, carry Rise in-car decorations technology sense.Therefore double screen Android vehicle device is increasingly becoming a kind of new demand, so that Android system is to multi-screen Display and interaction support demand it is increasingly urgent, at present Android system publication 4.4.2 versions by using Presentation starts to support shuangping san, and the version after 6.0 starts to support split screen display available, current double screen dual control vehicle device System using two sets of main board systems and two sets of screens, causes cost higher.And its primary function can not also meet it is abundant more The multi-screen demand of sample.
Invention content
The present invention is to solve above-mentioned the deficiencies in the prior art, and traditional multi-screen display based on android system exists Primary function restriction can not meet demand the problem of, double screen dual control vehicle device display device based on android system and realization side are provided Method.
First purpose of the present invention is:Double screen dual control vehicle device display device based on android system is proposed, including Mainboard and two display screens connecting that communicate with mainboard, arbitrary display screen have control module, have a peace in the mainboard Tall and erect system module,
It is equipped with primary shuangping san bottom in the Android system module, the primary shuangping san bottom is equipped with respectively with two The double screen switching interface that a display screen is connected,
The system framework layer of the Android system module includes
Double screen logic management services module for receiving the touch event of control module and signal Analysis type, sends out and distributes finger It enables,
Double-screen touch-control event distributes module, and instruction is distributed, and touch event is distributed on corresponding display screen for receiving;
Double screen stack management module, for storing the application message of two display screens respectively,
Android display service double screen handover module, exchanges for the screen display between two display screens and double screen stack manages mould The application message of two display screens is exchanged in block.
Preferably, pass through BP communication module phases between the system framework layer and the service layer of the Android system module Even.
Preferably, the control module is contact control module or physical button control module.
Second object of the present invention is:Propose the realization of double screen dual control vehicle device display device based on android system Method includes the following steps:
S1 touch-control steps, the control module of the arbitrary display screen of user's touch-control, double screen logic management services module pass through the touch-control thing Part and signal Analysis type, signal type are divided into switching screen event, start application affairs, manipulation event in screen;
S2 starts applying step, and Double-screen touch-control event, which distributes module and receives, starts application affairs generation control instruction, corresponding Display screen starts current startup application affairs, and application message is stored to double screen stack management module;
Operating steps in S3 screens, Double-screen touch-control event distribute module and receive manipulation event in screen, and corresponding display screen carries out phase Manipulation event response in the screen answered;
S4 switches screen step, and Android display service double screen handover module receives switching screen event, carries out two display screens Screen display switching, and the application messages of two display screens in double screen stack management module is exchanged.
The beneficial effects are mainly as follows:
1. double screen dual control can be realized using a set of mainboard for carrying Android system and two display screens, it is double to effectively reduce double screen Control the cost of vehicle device display device.
2. two display screens are mutual indepedent, can simultaneously independent operating application, do not interfere with each other between each other.Also compatible Tripartite applies.
3. two display screens can realize interaction, and screens switch reaches millisecond rank, and interaction response is fast, and to being applied in screen Operation is without influence.
Description of the drawings
Fig. 1 is the circuit theory schematic diagram of double screen dual control vehicle device display device of the present invention.
Fig. 2 is the flow diagram of double screen dual control vehicle device display device implementation method of the present invention.
Specific embodiment
The present invention provides double screen dual control vehicle device display device and implementation method based on android system.Below in conjunction with attached drawing pair Technical solution of the present invention is described in detail, so that it is more readily understood and grasps.
Propose double screen dual control vehicle device display device based on android system, as shown in Figure 1, including mainboard and with mainboard phase Two display screens of connection are communicated, arbitrary display screen has control module, which presses for contact control module or physics Key control module.Have an Android system module in mainboard, primary shuangping san bottom is equipped in Android system module, it is primary double Screen shows that bottom is equipped with the double screen switching interface being connected respectively with two display screens.
The system framework layer of Android system module includes:Double screen logic management services module, for receiving control module Touch event and signal Analysis type, send out and distribute instruction;Double-screen touch-control event distributes module, and instruction is distributed for receiving, and Touch event is distributed on corresponding display screen;Double screen stack management module, for storing the application of two display screens respectively Information;Android display service double screen handover module, exchanges for the screen display between two display screens and double screen stack manages mould The application message of two display screens is exchanged in block.
It is connected between the system framework layer and the service layer of Android system module by BP communication modules.
The system of the present invention can become the Android vehicle system of single screen to control in the Android vehicle device that double screen dual control can interact System so that automobile primary the passenger side can manipulate simultaneously, such as copilot can open on the second screen and navigate and set road The second screen content, which is switched on the first screen, after line allows main driving attentively to drive, and can also listen receipts on the first screen with main driving While sound machine tune platform, copilot is using the applications of the WPS in the second screen to carry out office document reading simultaneously.
The invention also provides the implementation method of double screen dual control vehicle device display device based on android system, as shown in Fig. 2, Include the following steps:
Touch-control step, the control module of the arbitrary display screen of user's touch-control, double screen logic management services module pass through the touch event And signal Analysis type, signal type be divided into switching screen event, start application affairs, screen in manipulation event;
Refinement ground, the control module of arbitrary display screen are equipped with switching key, and the signal type of touch-control switching key is to switch Screen event, and start application affairs and refer to the touch-control opening that application software is realized by control module, shield interior manipulation event package The application function for including application software is operated, is set in the screen of current display screen, shielding the operations such as interior setting.
Start applying step, Double-screen touch-control event, which distributes module and receives, starts application affairs generation control instruction, corresponding Display screen start current startup application affairs, and application message is stored to double screen stack management module;
Refinement ground, Double-screen touch-control event distribute module and control instruction are sent to system, and system starts standard single-screen application, leads to The mode for obtaining and starting using View and the binding of current display screen is shown is crossed, application will be started and be shown to current corresponding display On screen.
Operating steps in screen, Double-screen touch-control event distribute module and receive manipulation event in screen, and corresponding display screen carries out Manipulation event response in corresponding screen;
Refinement, action event has system directly to be responded on the display screen in screen.
Switch screen step, Android display service double screen handover module receives switching screen event, carries out two displays The screen display switching of screen, and the application message of two display screens in double screen stack management module is exchanged;
Refinement ground, system call tangent screen interface, which leads to first with bottom Android display module Surfacefingler News inform this system increased switching display module in Surfaceflinger, complete to show handoff functionality, secondly in system Data in the corresponding double screen stack management module of display screen are also done corresponding exchange in ccf layer.
It further illustrates, the Android shuangping san and switching method used in the present invention can't steer clear of This system service of SurfaceFlinger, because of the core that SurfaceFlinger, which is Android, to be shown, in system layer Double screen switching method can also modify in the compass of competency of SurfaceFlinger, will be raw at postFramebuffer Into buffer be sent in corresponding Framebuffer and shown, method of the invention is exactly by buffer pairs of transmission It should be related to exchange.
Application stack is established in system framework layer, and the present invention increases double screen in Android system ccf layer WindowManager Stack management module, signal code are as follows
public ActivityStack mMainStack;
public ActivityStack mSecondStack;
ActivityManagerService m = thr.mService;
m.mMainStack = new ActivityStack(m, context, true);
m.mSecondStack = new ActivityStack(m, context, true);
It exchanges and shows that the code of middle layer communication writes row according to the Binder mechanism of Android, in exchange method in the text, The communication class for being responsible for connection system framework layer and system services layer communication is ISurfaceComposer, it is therefore desirable in such Add corresponding communication mechanism(Beeper system and BN mechanism)Code, the signal code of Binder communications are as follows:
iWindowManager= WindowManagerGlobal.getWindowManagerService();
./…
class BpSurfaceComposer : public BpInterface<ISurfaceComposer>
{
public:
BpSurfaceComposer(const sp<IBinder>& impl)
: BpInterface<ISurfaceComposer>(impl)
………
Virtual void SwapDisplayId()
{
parcel data, reply;
data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor ());
remote()->transact::(BnSurfaceComposer::SWAP_DISPLAY,data,&reply)
}
status_t BnSurfaceComposer::onTransact(
uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
{
switch(code) {
case SWAP::DISPLAY:
{
CHECK_INTERFACE(ISurfaceComposer,data,reply);
status_t res = SwapDisplayId();
reply->writeInt32(res);
}break;
}
The shuangping san introduced in the present invention is considered to expand to apply more, so can run different applications on two screens Program, and for Android in itself for, the touch event of double screen is all temporarily only supported to distribute in the main application of main screen, so For touch event, it is also necessary to go to distribute manually, distributing touch event can set about from many aspects, can introduce from application layer in text Distribute the method for touch event.Here touch event is divided into two classes, touchscreen events and physical button touch event.Example generation Code is as follows:
dispatchTouchEvent(MotionEvent event) {
//
}
@Override
public boolean dispatchKeyEvent(KeyEvent event) {
//-=
return super.dispatchKeyEvent(event);
}
Two pieces of display screens can open different applications respectively in the present invention, so as to show different contents.Tradition cannot be used Android open the method for application, need to use by specially treated, apply and be pressed into corresponding stack so as to which system layer is allowed to recognize Illustrate code as follows:
Class<> clazz = Class.forName("android.app.ActivityView");
mStartActivityMethod = clazz.getMethod("startActivity", Intent.class);
public void startActivityWrapper(Intent intent) {
…….
mStartActivityMethod.invoke(mActivityView, intent);
}
By above description it can be found that the present invention is based on Android system double screen dual control vehicle device display device and implementation method, Double screen dual control can be realized using a set of mainboard for carrying Android system and two display screens, effectively reduce double screen dual control vehicle device The cost of display device.Two display screens are mutual indepedent, can simultaneously independent operating application, do not interfere with each other between each other.May be used also Compatible third-party application.Two display screens can realize interaction, and screens switch reaches millisecond rank, and interaction response is fast, and to screen Interior application operation is without influence.
Technical scheme of the present invention is fully described above, it should be noted that specific embodiment party of the invention Formula is simultaneously not limited by the description set out above, the Spirit Essence of those of ordinary skill in the art according to the present invention structure, method or All technical solutions that function etc. is formed using equivalents or equivalent transformation, all fall within protection scope of the present invention Within.

Claims (4)

1. double screen dual control vehicle device display device based on android system, communicate including mainboard and with mainboard two displays connecting Screen, arbitrary display screen have control module, have an Android system module in the mainboard,
It is characterized in that:Primary shuangping san bottom is equipped in the Android system module, on the primary shuangping san bottom Equipped with the double screen switching interface being connected respectively with two display screens,
The system framework layer of the Android system module includes
Double screen logic management services module for receiving the touch event of control module and signal Analysis type, sends out and distributes finger It enables,
Double-screen touch-control event distributes module, and instruction is distributed, and touch event is distributed on corresponding display screen for receiving;
Double screen stack management module, for storing the application message of two display screens respectively,
Android display service double screen handover module, exchanges for the screen display between two display screens and double screen stack manages mould The application message of two display screens is exchanged in block.
2. double screen dual control vehicle device display device based on android system according to claim 1, it is characterised in that:The system It is connected between system ccf layer and the service layer of the Android system module by BP communication modules.
3. double screen dual control vehicle device display device based on android system according to claim 1, it is characterised in that:The control Molding block is contact control module or physical button control module.
It is 4. special based on the implementation method of the double screen dual control vehicle device display device based on android system described in claims 1 to 3 Sign is to include the following steps:
S1 touch-control steps, the control module of the arbitrary display screen of user's touch-control, double screen logic management services module pass through the touch-control thing Part and signal Analysis type, signal type are divided into switching screen event, start application affairs, manipulation event in screen;
S2 starts applying step, and Double-screen touch-control event, which distributes module and receives, starts application affairs generation control instruction, corresponding Display screen starts current startup application affairs, and application message is stored to double screen stack management module;
Operating steps in S3 screens, Double-screen touch-control event distribute module and receive manipulation event in screen, and corresponding display screen carries out phase Manipulation event response in the screen answered;
S4 switches screen step, and Android display service double screen handover module receives switching screen event, carries out two display screens Screen display switching, and the application messages of two display screens in double screen stack management module is exchanged.
CN201810012656.3A 2018-01-06 2018-01-06 Double screen dual control vehicle device display device and implementation method based on android system Pending CN108241479A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810012656.3A CN108241479A (en) 2018-01-06 2018-01-06 Double screen dual control vehicle device display device and implementation method based on android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810012656.3A CN108241479A (en) 2018-01-06 2018-01-06 Double screen dual control vehicle device display device and implementation method based on android system

Publications (1)

Publication Number Publication Date
CN108241479A true CN108241479A (en) 2018-07-03

Family

ID=62699370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810012656.3A Pending CN108241479A (en) 2018-01-06 2018-01-06 Double screen dual control vehicle device display device and implementation method based on android system

Country Status (1)

Country Link
CN (1) CN108241479A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109521921A (en) * 2018-11-07 2019-03-26 深圳市布谷鸟科技有限公司 The onboard system and method for supporting double key logic functions are realized based on operating system
CN109992193A (en) * 2019-03-29 2019-07-09 佛吉亚好帮手电子科技有限公司 A kind of winged screen interactive approach of car touch screen
CN110386089A (en) * 2019-06-24 2019-10-29 惠州市德赛西威汽车电子股份有限公司 A kind of vehicle device multi-screen interactive display system
CN110989957A (en) * 2019-12-12 2020-04-10 深圳市深智电科技有限公司 Multi-screen display method, terminal and storage medium
CN111857516A (en) * 2020-07-24 2020-10-30 上海擎感智能科技有限公司 Interface interchange method and device and computer storage medium
CN112242122A (en) * 2020-10-09 2021-01-19 北京如影智能科技有限公司 Dual-screen display method, device and system based on android system
CN113619647B (en) * 2021-08-27 2024-03-22 中车唐山机车车辆有限公司 Vehicle-mounted display device and train

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1896946A (en) * 2006-06-09 2007-01-17 宋丽娟 Planning scheme of electronic device with multiple display screen parallel
CN103646638A (en) * 2013-12-25 2014-03-19 厦门雅迅网络股份有限公司 Android platform based double-screen display method
CN105573689A (en) * 2014-10-10 2016-05-11 西安三维通信有限责任公司 Double-screen switching display device under Android platform
EP3070899A1 (en) * 2015-03-18 2016-09-21 Wipro Limited Method and systems for identifying faulty communication calls

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1896946A (en) * 2006-06-09 2007-01-17 宋丽娟 Planning scheme of electronic device with multiple display screen parallel
CN103646638A (en) * 2013-12-25 2014-03-19 厦门雅迅网络股份有限公司 Android platform based double-screen display method
CN105573689A (en) * 2014-10-10 2016-05-11 西安三维通信有限责任公司 Double-screen switching display device under Android platform
EP3070899A1 (en) * 2015-03-18 2016-09-21 Wipro Limited Method and systems for identifying faulty communication calls

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109521921A (en) * 2018-11-07 2019-03-26 深圳市布谷鸟科技有限公司 The onboard system and method for supporting double key logic functions are realized based on operating system
CN109992193A (en) * 2019-03-29 2019-07-09 佛吉亚好帮手电子科技有限公司 A kind of winged screen interactive approach of car touch screen
CN109992193B (en) * 2019-03-29 2022-04-12 佛吉亚歌乐电子(丰城)有限公司 Touch screen flying interaction method in vehicle
CN110386089A (en) * 2019-06-24 2019-10-29 惠州市德赛西威汽车电子股份有限公司 A kind of vehicle device multi-screen interactive display system
CN110989957A (en) * 2019-12-12 2020-04-10 深圳市深智电科技有限公司 Multi-screen display method, terminal and storage medium
CN111857516A (en) * 2020-07-24 2020-10-30 上海擎感智能科技有限公司 Interface interchange method and device and computer storage medium
CN112242122A (en) * 2020-10-09 2021-01-19 北京如影智能科技有限公司 Dual-screen display method, device and system based on android system
CN113619647B (en) * 2021-08-27 2024-03-22 中车唐山机车车辆有限公司 Vehicle-mounted display device and train

Similar Documents

Publication Publication Date Title
CN108241479A (en) Double screen dual control vehicle device display device and implementation method based on android system
EP2921933B1 (en) Digital device and method of processing screensaver thereof
CN105573753B (en) Multi-system switching method and device
CN102333152B (en) Novel intelligent mobile terminal equipment supporting MIMO (multiple input and multiple output)
CN103019746B (en) Software interactive control method based on Android platform and system
CN106843643B (en) Page processing method and mobile terminal
US11106421B2 (en) Display method and system for wireless intelligent multi-screen display
CN103347162B (en) A kind of car-mounted device and smart mobile phone interaction control system and its method
EP2336725A1 (en) Electronic system applied to a means for transport and related control method
CN203135997U (en) Vehicle information entertainment system having smartphone connecting function
CN103738265B (en) Mobile terminal and car machine interconnection method and car machine
CN104182196A (en) Multi-screen display method and mobile terminal
CN103209246A (en) Method for controlling handheld device through bluetooth headset and handheld device
CN104615402B (en) A kind of method that car networking screen partition is shown
CN202502739U (en) Vehicle-mounted radio and tape player system
CN203032572U (en) Android-based interconnection control system for mobile phone and vehicle-mounted terminal
CN101035337B (en) Method for reducing booting time of mobile communication terminal
CN101770390B (en) Display isolation method of computer and operation systems
CN101630208B (en) Electronic device and tactile touch screen display
CN112203130A (en) Vehicle-mounted information entertainment terminal, multi-screen interactive display method thereof and automobile
CN105653353A (en) Multi-system interactive communication method and device based on container
CN106445270A (en) Information transmission method and apparatus
CN203039928U (en) Multi-screen interaction vehicle-mounted system based on Android system
CN102546723A (en) Remote demonstration method and system for vehicle-mounted electronic device
CN103745582A (en) Interconnection method of mobile terminal and vehicle machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180703

RJ01 Rejection of invention patent application after publication