Invention content
In view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide a kind of interfaces HMI based on android system
Customizing method and system, it is intended to solve its background picture of existing navigation terminal and theme colors be single, can not be self-defined
The problem of adjusting.
Technical scheme is as follows:
A kind of customizing method at the interfaces HMI based on android system, wherein including step:
A, when navigation terminal system receives the regulating command of theme colors, display screen is divided into two viewing areas in left and right
Domain, in the preview interface that left side display area shows topics, display area shows the palette of multiple colors on the right;Work as toning
When plate receives selection instruction, the theme preview interface of selected color is updated in left side display area;
B, when navigation terminal system receives the regulating command of background picture, preset picture is recalled, and selected by display
The preview interface of background picture;
C, after confirming theme colors and background picture, theme colors and background picture are sent in the form of broadcasting
To each application program, each application program receives synchronized update theme colors and background picture after broadcast.
The customizing method at the interfaces HMI based on android system, wherein the step C further includes:
The Controls of system read newest theme colors and background picture, and synthesis one has fade effect
Show picture.
The customizing method at the interfaces HMI based on android system, wherein there are the palette 16 kinds of colors to supply
Selection.
The customizing method at the interfaces HMI based on android system, wherein preset picture is pre- in the step B
It is first stored in navigation terminal or by being obtained in exterior storage medium.
The customizing method at the interfaces HMI based on android system, wherein the step C is specifically included:
The Controls succession View type of C1, system, and monitor the broadcast of theme colors and background picture variation;
C2, when listening to the broadcast of theme colors and background picture variation, each application program quotes Controls, realizes
The theme colors and background picture real-time change of each application program.
A kind of self-defined system at the interfaces HMI based on android system, wherein including:
Theme colors adjustment module when regulating command for receiving theme colors when navigation terminal system, will be shown
Screen is divided into two display areas in left and right, and in the preview interface that left side display area shows topics, display area shows more on the right
The palette of a color;When palette receives selection instruction, the theme that selected color is updated in left side display area is pre-
Look at interface;
Background picture adjustment module when regulating command for receiving background picture when navigation terminal system, recalls pre-
The picture set, and show the preview interface of selected background picture;
Update module, for after confirming theme colors and background picture, by theme colors and background picture to broadcast
Form carries out being sent to each application program, and each application program receives synchronized update theme colors and background picture after broadcast.
The self-defined system at the interfaces HMI based on android system, wherein the update module further includes:
Synthesis unit, the Controls for system read newest theme colors and background picture, and synthesize one
Display picture with fade effect.
The self-defined system at the interfaces HMI based on android system, wherein there are the palette 16 kinds of colors to supply
Selection.
The self-defined system at the interfaces HMI based on android system, wherein preset picture is stored in advance in navigation
Terminal or by being obtained in exterior storage medium.
The self-defined system at the interfaces HMI based on android system, wherein the update module specifically includes:
Monitoring unit, the Controls for system inherit View type, and monitor theme colors and background picture variation
Broadcast;
Updating unit, for when listening to the broadcast of theme colors and background picture variation, each application program reference to be carried on the back
Scape control realizes the theme colors and background picture real-time change of each application program.
Advantageous effect:By the invention it is possible to which user is supplied to freely to define the theme colors and difference of different colours
Background picture function, in this way after user selects some theme colors and background picture, each APP(Application program)It is synchronous
Update theme colors and background picture.The present invention can better meet car owner and carry out self-defined more matchmakers according to the hobby of oneself at any time
The interfaces HMI of body terminal guidance.
Specific implementation mode
The present invention provides a kind of customizing method and system at the interfaces HMI based on android system, to make the mesh of the present invention
, technical solution and effect it is clearer, clear, the present invention is described in more detail below.It should be appreciated that described herein
Specific embodiment be only used to explain the present invention, be not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is a kind of customizing method preferred embodiment at the interfaces HMI based on android system of the present invention
Flow chart, as shown in the figure comprising step:
S1, when navigation terminal system receives the regulating command of theme colors, by display screen be divided into left and right two display
Region, in the preview interface that left side display area shows topics, display area shows the palette of multiple colors on the right;Work as tune
When colour table receives selection instruction, the theme preview interface of selected color is updated in left side display area;
S2, when navigation terminal system receives the regulating command of background picture, recall preset picture, and selected by showing
The preview interface of background picture;
S3, after confirming theme colors and background picture, theme colors and background picture are sent out in the form of broadcasting
It send to each application program, each application program receives synchronized update theme colors and background picture after broadcast.
In embodiments of the present invention, theme colors and background picture self-defined can select, and confirm theme face
After color and background picture, each application program will receive theme colors and the newer broadcast of background picture, and wide receiving
After broadcasting, synchronized update theme colors and background picture.
Specifically, in step sl, when the theme colors to navigation terminal are adjusted, theme colors can first be clicked
Regulation button sends the regulating command of theme colors;When navigation terminal system receives the regulating command of theme colors, will show
Display screen(Display interface)It is divided into two display areas in left and right, two display areas respectively account for half, show and lead in left side display area
The preview interface of topic, on the right display area show the palette of multiple colors;The palette has 16 kinds of colors selective, packet
It includes red, yellow, blue, green, purple, grey, orange etc..Specifically, multiple color blocks are set on palette, and each color block has different face
Color, due to there is 16 kinds of colors selective above, so color block should mutually have 16, and size shape is identical, proper alignment, such as
It is arranged in the way of 4 × 4(It is spaced all same up and down).
When palette receives selection instruction, then being updated to theme preview circle of selected color in left side display area
The selection for more meeting demand is made convenient for user to give user's preview the effect of the selected color as theme colors in face.?
After choosing required theme colors, the confirmation instruction of lower section is clicked.Left side display area is to reduce display screen
Display can be clicked when needing full screen display(Such as click)The theme preview interface, in this way can preview normal use when effect
Fruit determines whether to select the background color convenient for user.It again taps on(Such as click)It then can return to original state(Left side viewing area
Domain).
In step s 2, when the background picture of navigation terminal being adjusted, background picture regulation button is clicked, sends the back of the body
The regulating command of scape picture recalls preset picture, and show when navigation terminal system receives the regulating command of background picture
The preview interface for showing selected background picture, to select suitable background picture to user.Recall preset picture can be from
It is recalled in the internal storage of navigation terminal, can also be to be obtained from exterior storage medium, exterior storage medium can be logical
Cross USB/HDD connection navigation terminals.After choosing background picture, confirmation instruction can be clicked.
When implementing, 5 preset background pictures are opened by file browser or selection " more ... " is opened newly
Interface, select, can be shown on the picture chosen " √ " from the exterior storage medium of USB or HDD connections, indicate setting
Success, press " HOME " and button return homepage, can be appreciated that homepage background has been updated to that selected pictures.
In step s3, after confirming theme colors and background picture, effect is not only the color and the back of the body of system theme
Scape picture is all changed, and the theme colors of each application program and background picture also synchronized update.
Specifically, it is to carry out theme colors and background picture in the form of broadcasting to be sent to each application program, respectively answers
After receiving broadcast with program, the theme colors and background picture of system are obtained, synchronized update respectively theme colors and background
Picture.
The step S3 further includes:
The Controls of system read newest theme colors and background picture, and synthesis one has fade effect
Show picture.
That is theme colors and background picture blend, and become the display picture with fade effect, application program each in this way
The display picture after such a synthesis will be used, while realizing the purpose of effect needed for theme colors and background picture.
The step of each application program synchronized update, specifically includes:
The Controls succession View type of S31, system, and monitor the broadcast of theme colors and background picture variation;
S32, when listening to the broadcast of theme colors and background picture variation, each application program quotes Controls, real
The now theme colors of each application program and background picture real-time change.
Controls inherit View type, and are added to the function of monitoring background variation broadcast;As system broadcasts master
Topic color and background picture changes, then Controls listen to broadcast, and each application program quotes Controls, realizes and draws
With update theme colors and background picture.
When receiving the broadcast of background variation again, above-mentioned update operation is repeated.
System and application program quote Controls as background, realize the unification of whole system and application program background
Property.And it being capable of real-time synchronized update.The font and display pattern of certain theme also can customize adjusting, and respectively apply journey
Sequence also can realize synchronized update by way of above-mentioned reference Controls.
Such as old man's pattern is can define, when user selects old man's pattern, then the font of system becomes larger, such as becomes
No.1 font, correspondingly, application program also can realize synchronized update by Controls.Under old man's pattern, the volume of system
Also it can increase therewith, such as increase to max volume, to facilitate old man to identify, the sound of application program can also realize synchronization therewith
Update, amplification of volume, such as increase to max volume.
It clicks for convenience simultaneously, also the icon of application program can suitably be amplified, such as amplify 1/2, clicked in this way
When it is more convenient, it is more accurate to click.
In addition, automatic adjustment pattern can also be arranged, under automatic adjustment pattern, the theme colors and background picture of system will
Automatic adjustment, correspondingly, each application program also will synchronize update automatically.Under the automatic adjustment pattern, it can be arranged every
Theme colors and background picture are replaced automatically every 1 period, and certain each application program also updates automatic synchronization.The period of replacement
Can temporally be configured, such as every 1 day or every 1 week.Certainly, it can also be carried out more according to weather condition
It changes, obtains newest weather condition, then select theme colors appropriate and background picture.
Based on the above method, the present invention also provides a kind of self-defined system at the interfaces HMI based on android system, packets
It includes:
Theme colors adjustment module 100 when regulating command for receiving theme colors when navigation terminal system, will be shown
Display screen is divided into two display areas in left and right, and in the preview interface that left side display area shows topics, display area is shown on the right
The palette of multiple colors;When palette receives selection instruction, the theme of selected color is updated in left side display area
Preview interface;
Background picture adjustment module 200 when regulating command for receiving background picture when navigation terminal system, recalls
Preset picture, and show the preview interface of selected background picture;
Update module 300 is used for after confirming theme colors and background picture, by theme colors and background picture to broadcast
Form be sent to each application program, each application program receives synchronized update theme colors and Background after broadcast
Piece.
Further, the update module 300 further includes:
Synthesis unit, the Controls for system read newest theme colors and background picture, and synthesize one
Display picture with fade effect.
Further, the palette has 16 kinds of colors selective.
Further, preset picture is stored in advance in navigation terminal or by being obtained in exterior storage medium.
Further, the update module 300 specifically includes:
Monitoring unit 310, the Controls for system inherit View type, and monitor theme colors and background picture change
The broadcast of change;
Updating unit 320, for when listening to the broadcast of theme colors and background picture variation, each application program to be quoted
Controls realize the theme colors and background picture real-time change of each application program.
It has been described in detail in the method for technical detail in front about above-mentioned modular unit, so it will not be repeated.
In conclusion by the invention it is possible to user is supplied to freely to define the theme colors and difference of different colours
Background picture function, in this way after user selects some theme colors and background picture, each APP(Application program)It is synchronous
Update theme colors and background picture.The present invention can better meet car owner and carry out self-defined more matchmakers according to the hobby of oneself at any time
The interfaces HMI of body terminal guidance.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can
With improvement or transformation based on the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention
Protect range.