CN108897487A - The fast display method of onboard system - Google Patents
The fast display method of onboard system Download PDFInfo
- Publication number
- CN108897487A CN108897487A CN201810725804.6A CN201810725804A CN108897487A CN 108897487 A CN108897487 A CN 108897487A CN 201810725804 A CN201810725804 A CN 201810725804A CN 108897487 A CN108897487 A CN 108897487A
- Authority
- CN
- China
- Prior art keywords
- window
- touch event
- native
- display method
- onboard system
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Traffic Control Systems (AREA)
Abstract
The present invention provides a kind of fast display methods of onboard system, include the following steps:It when S1, Android system starting, calls draw to draw background picture and the functional areas of native window, the texture of control is drawn by OpenGLES, create window manager, to SurfaceFlinger application Surface, show native window;S2, creation touch event handle thread, detect to touching signals, obtain touch event;S3, touch event is parsed;S4, the child window of native window is drawn according to parsing result and/or automobile is operated;S5, step S2 ~ S4 is repeated, the system framework of the fast display method of this onboard system encapsulates the operation of SurfaceFlinger, the operation of OpenGLES and contact action, independently of Java Services, but be followed by Native Services and start together, to realize quickly display picture or the function interface that can control.
Description
Technical field
The present invention relates to the improved method of Android system more particularly to a kind of fast display methods of onboard system.
Background technique
What the control device of present automobile used is all Android system, is needed after controlling device power in the middle by more than 10 seconds
Then start-up course enters back into the operable application interface of user.During starting, meeting playing animation, Yong Huwu in control device
Method is operated.After user starts vehicle, it would be desirable to as early as possible it can be seen that certain interfaces, or certain functions are controlled,
This is present Android system area for improvement.
Summary of the invention
The technical problem to be solved by the present invention is to:In order to which solve can not be real in a period of time after the starting of existing Android system
The operation of existing function and the picture for showing customer demand, the present invention provides a kind of fast display methods of onboard system to solve
The above problem.
The technical solution adopted by the present invention to solve the technical problems is:A kind of fast display method of onboard system, packet
Include following steps:
When S1, Android system starting, draw is called to draw background picture and the functional areas of native window, binding O penGLES leads to
The texture that OpenGLES draws control is crossed, window manager is created, to SurfaceFlinger application Surface, display is local
Window;
S2, creation touch event handle thread, detect to touching signals, obtain touch event;
S3, touch event is parsed;
S4, the child window of native window is drawn according to parsing result and/or automobile is operated;
S5, step S2 ~ S4 is repeated.
Further, it is to the resolving of touch event in step s3:First according to the position coordinates of touching signals from
The window manager obtains corresponding control, then judges the touch manner of touching signals, obtains operational order.
Preferably, the function distinguishing is parking assisting system area, reversing radar signaling zone and reversing image display area.
The invention has the advantages that the system framework of the fast display method of this onboard system encapsulates
The operation of SurfaceFlinger, the operation of OpenGLES and contact action, independently of Java Services, but are followed by
Native Services starts together, to realize quickly display picture or the function interface that can control.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples.
Fig. 1 is the frame diagram of existing Android system.
Fig. 2 is the Booting sequence figure of existing Android system.
Fig. 3 is the system framework of the fast display method of onboard system of the invention.
Fig. 4 is the flow chart of the fast display method of onboard system of the invention.
Fig. 5 is the native window in example.
Fig. 6 is the child window of the native window in example.
Fig. 7 is another child window in example.
Fig. 8 is another child window in example.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.
In the description of the present invention, it is to be understood that, term " center ", " longitudinal direction ", " transverse direction ", " length ", " width ",
" thickness ", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom" "inner", "outside", " axial direction ",
The orientation or positional relationship of the instructions such as " radial direction ", " circumferential direction " is to be based on the orientation or positional relationship shown in the drawings, merely to just
In description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation, with
Specific orientation construction and operation, therefore be not considered as limiting the invention.
In addition, term " first ", " second " etc. are used for description purposes only, it is not understood to indicate or imply relatively important
Property.In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " connected ", " connection " are answered
It is interpreted broadly, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can be mechanical connect
It connects, is also possible to be electrically connected;It can be directly connected, it can also be indirectly connected through an intermediary.For the common of this field
For technical staff, the concrete meaning of above-mentioned term in the present invention can be understood with concrete condition.In addition, in description of the invention
In, unless otherwise indicated, the meaning of " plurality " is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Shown in fig. 1 is the frame diagram of existing Android system, Fig. 2 shows be existing Android system Booting sequence figure,
It will thus be seen that Android system, which wants starting completely, first has to starting Native Services, it is compiled based on c/c++ language
Write, then to start the Java Services based on Java Virtual Machine, here it is Android system need to spend tens of seconds when
The reason of waiting to complete starting.It is so based on this, realizes the journey of the fast display method of this onboard system provided by the present application
Sequence is write using c/c++ language, when its operation follows Native Services to start together, entire without Android frame
Starting, this fast display method can start to work.
The software system framework of the fast display method of this onboard system is as shown in figure 3, whole system and Android
Framework is relatively independent, only relies only on fraction of Android Native Services, it is encapsulated
SurfaceFlinger, InputEVent and OpenGL.
Based on system above frame, the present invention provides a kind of fast display methods of onboard system, as shown in figure 4, packet
Include following steps:
When S1, Android system starting, OpenGL environment is initialized, window manager is created(Windowmanager), creation is locally
Window:It calls draw to draw background picture and the functional areas of native window, the texture of control is drawn by OpenGLES, formed aobvious
Show the control icons in native window, to SurfaceFlinger application Surface, shows native window.Function in this example
Energy area is three, respectively parking assisting system area, reversing radar signaling zone and reversing image display area, parking assisting system area
There is corresponding control to be controlled with reversing image display area, when reversing radar generates signal, reversing radar signaling zone meeting
The corresponding warning picture of display.
S2, creation touch event handle thread, detect to touching signals, obtain touch event;
S3, each control are at least preset with a kind of touch manner, such as long-pressing, short-press, sliding etc., every kind of touch manner corresponding one
Kind or a variety of operational orders.Parse touch event:It is first obtained according to the position coordinates of touching signals from window manager corresponding
Then control judges the touch manner of touching signals, obtains operational order.
S4, the child window of native window is drawn according to parsing result and/or automobile is operated;
S5, step S2 ~ S4 is repeated.
As one example, as shown in figure 5, being a native window, including parking assisting system area 1, reversing radar signaling zone
2, reversing image display area 3, background picture 4, ESC Escape 5, switch key 6, image show that key 7 ~ 11, ESC Escape 5, are shown switch key 6
Picture key 7 ~ 11 is control, and image shows that key 7 ~ 11 is respectively intended to picture captured by the camera of different location on display vehicle body.
After Android system powers on, Draw and OpenGL rendering context picture 4, functional areas and control are first passed through, to
SurfaceFlinger application Surface shows native window.Create touch event handle thread, start to touching signals into
Row detection shows picture captured by corresponding camera in reversing image display area when short-press images key.When short-press switch key
When 6, imaging key 12 ~ 15 is drawn, all changes imaging key 7 ~ 11 into imaging key 12 ~ 15, short-press images key 12 ~ 15 later, is falling
Vehicle image display area 3 shows the reverse image of corresponding camera shooting, as shown in Figure 6.When starting automated parking system, draw
It parks close key 16, the lower section in parking assisting system area 1 shows close key 16 of parking, as shown in Figure 7.When short-press is parked close key
16, automated parking system is exited, the prompt information 17 to log off is drawn, as shown in figure 8, short in parking assisting system area 1
After temporary display reminding information 17, the display content in parking assisting system area 1 is destroyed, OpenGL is discharged.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, not to the schematic representation of the term
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Taking the above-mentioned ideal embodiment according to the present invention as inspiration, through the above description, relevant staff is complete
Various changes and amendments can be carried out without departing from the scope of the technological thought of the present invention' entirely.The technology of this invention
Property range is not limited to the contents of the specification, it is necessary to which the technical scope thereof is determined according to the scope of the claim.
Claims (3)
1. a kind of fast display method of onboard system, which is characterized in that include the following steps:
When S1, Android system starting, calls draw to draw background picture and the functional areas of native window, drawn by OpenGLES
The texture of control creates window manager, to SurfaceFlinger application Surface, shows native window;
S2, creation touch event handle thread, detect to touching signals, obtain touch event;
S3, touch event is parsed;
S4, the child window of native window is drawn according to parsing result and/or automobile is operated;
S5, step S2 ~ S4 is repeated.
2. the fast display method of onboard system as described in claim 1, it is characterised in that:In step s3 to touch event
Resolving be:Corresponding control first is obtained from the window manager according to the position coordinates of touching signals, is then judged
The touch manner of touching signals, obtains operational order.
3. the fast display method of onboard system as described in claim 1, it is characterised in that:The function distinguishing is auxiliary to park
Auxiliary system area, reversing radar signaling zone and reversing image display area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810725804.6A CN108897487B (en) | 2018-07-04 | 2018-07-04 | Rapid display method of vehicle-mounted system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810725804.6A CN108897487B (en) | 2018-07-04 | 2018-07-04 | Rapid display method of vehicle-mounted system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108897487A true CN108897487A (en) | 2018-11-27 |
CN108897487B CN108897487B (en) | 2021-09-07 |
Family
ID=64348360
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810725804.6A Active CN108897487B (en) | 2018-07-04 | 2018-07-04 | Rapid display method of vehicle-mounted system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108897487B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109766144A (en) * | 2019-01-22 | 2019-05-17 | 湖北亿咖通科技有限公司 | A kind of control event response method and device |
CN110673964A (en) * | 2019-09-10 | 2020-01-10 | 沈阳中科创达软件有限公司 | Audio playing control method and device of vehicle-mounted system |
CN111260746A (en) * | 2020-01-18 | 2020-06-09 | 武汉光庭信息技术股份有限公司 | Backing image processing method, electronic device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100063390A (en) * | 2008-12-03 | 2010-06-11 | 주식회사 엘지텔레콤 | Method of inputting letter using touch input and mobile terminal |
CN105426191A (en) * | 2015-11-23 | 2016-03-23 | 深圳创维-Rgb电子有限公司 | User interface display processing method and device |
CN108357427A (en) * | 2018-01-02 | 2018-08-03 | 深圳市智行畅联科技有限公司 | A kind of mobile unit and its back-up video display methods and storage medium |
-
2018
- 2018-07-04 CN CN201810725804.6A patent/CN108897487B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100063390A (en) * | 2008-12-03 | 2010-06-11 | 주식회사 엘지텔레콤 | Method of inputting letter using touch input and mobile terminal |
CN105426191A (en) * | 2015-11-23 | 2016-03-23 | 深圳创维-Rgb电子有限公司 | User interface display processing method and device |
CN108357427A (en) * | 2018-01-02 | 2018-08-03 | 深圳市智行畅联科技有限公司 | A kind of mobile unit and its back-up video display methods and storage medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109766144A (en) * | 2019-01-22 | 2019-05-17 | 湖北亿咖通科技有限公司 | A kind of control event response method and device |
CN109766144B (en) * | 2019-01-22 | 2021-09-24 | 湖北亿咖通科技有限公司 | Control event response method and device |
CN110673964A (en) * | 2019-09-10 | 2020-01-10 | 沈阳中科创达软件有限公司 | Audio playing control method and device of vehicle-mounted system |
CN111260746A (en) * | 2020-01-18 | 2020-06-09 | 武汉光庭信息技术股份有限公司 | Backing image processing method, electronic device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108897487B (en) | 2021-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108897487A (en) | The fast display method of onboard system | |
JP4900232B2 (en) | Vehicle parking assist device and video display method | |
CN108137059B (en) | Driving support device | |
JP4956915B2 (en) | Video display device and video display method | |
JP7399892B2 (en) | Vehicle control method and device, electronic equipment, computer readable storage medium and computer program | |
US9020566B2 (en) | Vehicle on-board unit and mobile device linkage system | |
US20090167682A1 (en) | Input device and its method | |
EP2555520A1 (en) | Vehicle periphery monitoring device | |
CN105282510A (en) | Method and device for starting reverse image | |
CN109649276B (en) | Vehicle windshield based on transparent liquid crystal display screen and interaction method thereof | |
EP1462342A3 (en) | Parking assist apparatus and parking assist method for vehicle | |
JP3797343B2 (en) | Vehicle periphery display device | |
WO2014020727A1 (en) | Drive assist device | |
JP2006091645A (en) | Display device | |
CN107852481B (en) | Image display control device | |
US11613273B2 (en) | Parking assist apparatus | |
KR20160050037A (en) | Method for controlling an information display device and device comprising an information display device | |
JP4788455B2 (en) | In-vehicle operation system | |
JPH10301745A (en) | Slide bar display controller | |
JP2009298384A (en) | Device for assisting parking | |
JP6040766B2 (en) | Parking assistance device | |
JP2008278515A (en) | Image processing camera system and image processing camera control method | |
CN101770327A (en) | Imaging system and method capable of switching executive programs for starting multi-view display screen | |
CN111061371A (en) | Control method and device of electronic painted screen, mobile terminal and storage medium | |
CN110851070A (en) | Parking method and device, unmanned vehicle 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |