CN108897487B - Rapid display method of vehicle-mounted system - Google Patents

Rapid display method of vehicle-mounted system Download PDF

Info

Publication number
CN108897487B
CN108897487B CN201810725804.6A CN201810725804A CN108897487B CN 108897487 B CN108897487 B CN 108897487B CN 201810725804 A CN201810725804 A CN 201810725804A CN 108897487 B CN108897487 B CN 108897487B
Authority
CN
China
Prior art keywords
window
touch
vehicle
area
touch event
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.)
Active
Application number
CN201810725804.6A
Other languages
Chinese (zh)
Other versions
CN108897487A (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.)
Changzhou Citos Software Co ltd
Original Assignee
Changzhou Citos Software 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 Changzhou Citos Software Co ltd filed Critical Changzhou Citos Software Co ltd
Priority to CN201810725804.6A priority Critical patent/CN108897487B/en
Publication of CN108897487A publication Critical patent/CN108897487A/en
Application granted granted Critical
Publication of CN108897487B publication Critical patent/CN108897487B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/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
    • 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/0481Interaction 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

Abstract

The invention provides a rapid display method of a vehicle-mounted system, which comprises the following steps: s1, when the android system is started, calling a draw to draw a background picture and a functional area of a local window, drawing a texture of a control through OpenGLES, creating a window manager, applying a Surface to a Surface Flinger, and displaying the local window; s2, creating a touch event processing thread, detecting the touch signal and acquiring a touch event; s3, analyzing the touch event; s4, drawing a sub-window of the local window and/or operating the automobile according to the analysis result; s5, repeating the steps S2-S4, wherein the system framework of the rapid display method of the vehicle-mounted system encapsulates the operation of surface Flinger, the operation of OpenGLES and the touch screen operation, and is independent of Java Services and started along with Native Services, so that a rapid display picture or a controllable functional interface is realized.

Description

Rapid display method of vehicle-mounted system
Technical Field
The invention relates to an improvement method of an android system, in particular to a rapid display method of a vehicle-mounted system.
Background
At present, a central control device of an automobile uses an android system, and after the central control device is powered on, a starting process of more than 10 seconds is needed, and then the central control device enters an application interface which can be operated by a user. During the starting period, animation can be played on the central control equipment, and the user cannot operate. It is desirable for a user to be able to see certain interfaces or control certain functions as soon as possible after starting the vehicle, which is where improvements are needed in the present android systems.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: in order to solve the problems that the function operation cannot be realized and the picture required by a client cannot be displayed within a period of time after the conventional android system is started, the invention provides a quick display method of a vehicle-mounted system to solve the problems.
The technical scheme adopted by the invention for solving the technical problems is as follows: a quick display method of a vehicle-mounted system comprises the following steps:
s1, when the android system is started, calling a draw to draw a background picture and a functional area of a local window, binding OpenGLES, drawing a texture of a control through OpenGLES, creating a window manager, applying a Surface to a Surface flunger, and displaying the local window;
s2, creating a touch event processing thread, detecting the touch signal and acquiring a touch event;
s3, analyzing the touch event;
s4, drawing a sub-window of the local window and/or operating the automobile according to the analysis result;
s5, repeating the steps S2-S4.
Further, the parsing process of the touch event in step S3 is as follows: and obtaining a corresponding control from the window manager according to the position coordinates of the touch signals, and then judging the touch mode of the touch signals to obtain an operation instruction.
Preferably, the function area is divided into a parking assist system area, a reversing radar signal area and a reversing image display area.
The method has the advantages that the system framework of the method for rapidly displaying the vehicle-mounted system encapsulates the operation of the surface Flinger, the operation of the OpenGLES and the touch screen operation, is independent of Java Services and is started along with Native Services, so that a rapid display picture or a controllable functional interface is realized.
Drawings
The invention is further illustrated with reference to the following figures and examples.
Fig. 1 is a framework diagram of an existing android system.
Fig. 2 is a start-up flowchart of the existing android system.
Fig. 3 is a system framework of a quick display method of the in-vehicle system of the present invention.
Fig. 4 is a flowchart of a quick display method of the in-vehicle system of the present invention.
Fig. 5 is a local window in an example.
FIG. 6 is a child window of the local window in the example.
Fig. 7 is another sub-window in the example.
Fig. 8 is another sub-window in the example.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "axial", "radial", "circumferential", and the like, indicate orientations and positional relationships based on the orientations and positional relationships shown in the drawings, and are used merely for convenience of description and for simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore, should not be considered as limiting the present invention.
Furthermore, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present invention, it is to be noted that, unless otherwise explicitly specified or limited, the terms "connected" and "connected" are to be interpreted broadly, e.g., as being fixed or detachable or integrally connected; can be mechanically or electrically connected; may be directly connected or indirectly connected through an intermediate. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
Fig. 1 is a framework diagram of an existing android system, and fig. 2 is a starting flow chart of the existing android system, so that it can be seen that the android system wants to start up completely, Native Services, which are written based on c/c + + language, are started first, and then Java Services based on a Java virtual machine are started, which is why the android system needs to take tens of seconds to complete the start-up. Based on the above, the program for implementing the rapid display method of the vehicle-mounted system provided by the application is written by using c/c + + language, the program is started along with Native Services during running, and the rapid display method can start to work without the whole startup of an android framework.
The software system Framework of the rapid display method of the vehicle-mounted system is shown in fig. 3, the whole system is relatively independent from the Android Framework, only depends on a few Android Native Services, and encapsulates surface flag, InputEVent and OpenGL.
Based on the above system framework, the present invention provides a fast display method for a vehicle-mounted system, as shown in fig. 4, comprising the following steps:
s1, when the android system is started, initializing an OpenGL environment, creating a window manager (Windows manager), creating a local window: calling a draw to draw a background picture and a functional area of the local window, drawing the texture of the control through OpenGLES, forming a control icon displayed on the local window, applying for Surface to the Surface Flinger, and displaying the local window. In the example, the number of the functional areas is three, namely a parking auxiliary system area, a reversing radar signal area and a reversing image display area, the parking auxiliary system area and the reversing image display area are controlled by corresponding controls, and when the reversing radar generates signals, the reversing radar signal area can display corresponding warning pictures.
S2, creating a touch event processing thread, detecting the touch signal and acquiring a touch event;
and S3, presetting at least one touch mode for each control, such as long pressing, short pressing, sliding and the like, wherein each touch mode corresponds to one or more operation instructions. And analyzing the touch event: the method comprises the steps of firstly obtaining a corresponding control from a window manager according to the position coordinates of the touch signals, and then judging the touch mode of the touch signals to obtain an operation instruction.
S4, drawing a sub-window of the local window and/or operating the automobile according to the analysis result;
s5, repeating the steps S2-S4.
As an example, as shown in fig. 5, the local window includes a parking assist system area 1, a reverse radar signal area 2, a reverse image display area 3, a background picture 4, an exit key 5, a switch key 6, and image display keys 7 to 11, where the exit key 5, the switch key 6, and the image display keys 7 to 11 are controls, and the image display keys 7 to 11 are respectively used to display images captured by cameras at different positions on a vehicle body. After the android system is powered on, drawing a background picture 4, a functional area and a control through Draw and OpenGL, applying for Surface to the Surface Flinger, and displaying a local window. And creating a touch event processing thread, starting to detect the touch signal, and displaying a picture shot by a corresponding camera in the reversing image display area when a development key is pressed for a short time. When the switch key 6 is pressed for a short time, the display keys 12-15 are drawn, the display keys 7-11 are all changed into the display keys 12-15, then the display keys 12-15 are pressed for a short time, and the reverse image shot by the corresponding camera is displayed in the reverse image display area 3, as shown in fig. 6. When the automatic parking system is started, the parking off key 16 is drawn, and the parking off key 16 is displayed below the parking assist system area 1, as shown in fig. 7. When the parking close key 16 is pressed for a short time, the automatic parking system is exited, the prompt message 17 for exiting the system is drawn, as shown in fig. 8, after the prompt message 17 is displayed in the parking assist system area 1 for a short time, the display content in the parking assist system area 1 is destroyed, and OpenGL is released.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, a schematic representation of the term does not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In light of the foregoing description of the preferred embodiment of the present invention, many modifications and variations will be apparent to those skilled in the art without departing from the spirit and scope of the invention. The technical scope of the present invention is not limited to the content of the specification, and must be determined according to the scope of the claims.

Claims (3)

1. A quick display method of a vehicle-mounted system is characterized by comprising the following steps:
s1, when the Android system is started, a quick display system packaged with a surface flag, an InputEVent and OpenGL is started at the same time, the quick display system is in data interaction with the Android system through Android Native Services, the quick display system creates a window manager, a draw is called to draw a background picture and a functional area of a local window, the texture of a control is drawn through OpenGLES, and the window manager is used for drawing the background picture and the functional area of the local window to the control
Applying for Surface by the Surface Flinger, and displaying a local window;
s2, creating a touch event processing thread, detecting the touch signal and acquiring a touch event;
s3, analyzing the touch event;
s4, drawing a sub-window of the local window and/or operating the automobile according to the analysis result;
s5, repeating the steps S2-S4.
2. The quick display method of an in-vehicle system according to claim 1, characterized in that: the parsing process of the touch event in step S3 is as follows: and obtaining a corresponding control from the window manager according to the position coordinates of the touch signals, and then judging the touch mode of the touch signals to obtain an operation instruction.
3. The quick display method of an in-vehicle system according to claim 1, characterized in that: the function area is divided into a parking auxiliary system area, a reversing radar signal area and a reversing image display area.
CN201810725804.6A 2018-07-04 2018-07-04 Rapid display method of vehicle-mounted system Active CN108897487B (en)

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 CN108897487A (en) 2018-11-27
CN108897487B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN108897487A (en) 2018-11-27

Similar Documents

Publication Publication Date Title
CN108897487B (en) Rapid display method of vehicle-mounted system
EP1983402A1 (en) Input device and its method
CN105657369B (en) The video frequency monitoring method and system of quick response based on linux system
EP1646240A1 (en) Image processing camera system and image processing camera control method
EP2150054A1 (en) Periphery surveillance device for vehicles
EP2975841A1 (en) Method for performing a video talk enhancement function and an electric device having the same
CN109561334A (en) A kind of the starting method and smart television of application program
JP2008219559A (en) In-vehicle camera system
US11613273B2 (en) Parking assist apparatus
CN113825002B (en) Display device and focal length control method
CN107621967B (en) Method and device for realizing system user interface
CN101770327A (en) Imaging system and method capable of switching executive programs for starting multi-view display screen
KR20140080300A (en) Control system for vehicle using hand gesture
JP2008278515A (en) Image processing camera system and image processing camera control method
CN113486759A (en) Dangerous action recognition method and device, electronic equipment and storage medium
EP3296166A1 (en) Vehicular visual recognition device
US20230143429A1 (en) Display controlling device and display controlling method
JP2018195988A (en) Display control device and display control method
CN111260746A (en) Backing image processing method, electronic device and storage medium
CN111061371A (en) Control method and device of electronic painted screen, mobile terminal and storage medium
CN110588515A (en) Vehicle-mounted reversing image display method
KR20160035276A (en) Camera image display system of AVN
CN108230501B (en) Bluetooth unlocking method and device
US11734928B2 (en) Vehicle controls and cabin interior devices augmented reality usage guide
CN116834550A (en) Dual-system display method and device, electronic equipment 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