CN109828547A - A kind of menu switching method and device - Google Patents
A kind of menu switching method and device Download PDFInfo
- Publication number
- CN109828547A CN109828547A CN201811626756.1A CN201811626756A CN109828547A CN 109828547 A CN109828547 A CN 109828547A CN 201811626756 A CN201811626756 A CN 201811626756A CN 109828547 A CN109828547 A CN 109828547A
- Authority
- CN
- China
- Prior art keywords
- menu
- display area
- submenu
- layers
- mentioned
- 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
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present application discloses a kind of menu switching method and electronic equipment, the menu interface for being shown in electronic equipment screen includes the first display area and the second display area, first display area successively shows one or more menus, second display area shows one or more submenus of the undermost menu of the first display area, and wherein method includes: and receives to choose operation to the first menu of second display area;First menu is shown in first display area, and shows the submenu of first menu in second display area;It receives and operation is chosen to the second menu of first display area;The menu less than or equal to M layers is shown in first display area, and shows the submenu of second menu in second display area.Through this embodiment, equipment can be made to switch in menu more convenient, to save the time, improves efficiency.
Description
Technical field
This application involves field of computer technology more particularly to a kind of menu switching method and devices.
Background technique
With the increase of people's daily trip, the vehicles number in city is greatly increased, and vehicle usually passes through and examines
Disconnected equipment checks the diagnostic result of vehicle, and diagnostic result can be got it is very careful, specific on each component of vehicle,
The submenu of multiple levels is corresponded to, and different automobile types and diagnostic result dynamic construct submenu, i.e., different vehicles has not
Same diagnostic menu, the vehicle difference diagnostic result of same vehicle also correspond to different diagnostic menus, this needs dynamic construction to go out
Submenu comes.
And in practice, it has been found that it is above-mentioned check diagnostic result during, often need to manual switching different stage
Menu needs past rollback step by step to check different diagnostic results, but in the submenu for being switched to some rank, thus
So that operation is comparatively laborious, the efficiency of diagnosis is reduced.
Summary of the invention
The embodiment of the present application provides a kind of menu switching method, equipment can be made to switch in menu more convenient, from
And the time has been saved, improve efficiency.
In a first aspect, providing a kind of menu switching method, it is applied to diagnostic device, the Diagnostics Interfaces of the diagnostic device
Including the first display area and the second display area, first display area successively shows one or more menus, described the
Two display areas show one or more submenus of the undermost menu of first display area, this method comprises:
It receives and operation is chosen to the first menu of second display area;
Show that first menu, first menu are located at first display area in first display area
N-th layer, N is the integer more than or equal to 0, and shows the submenu of first menu in second display area;
The operation of choosing to the second menu of first display area is received, it is aobvious that second menu is located at described first
M layers for showing region, M < N;
The menu less than or equal to M layers is shown in first display area, and shows institute in second display area
State the submenu of the second menu.
In a kind of possible embodiment, the method also includes:
0th layer of menu of the first display area of Initialize installation is top level menu;
One or more submenus of the top level menu are set.
It is described to show first menu in first display area in a kind of possible embodiment, and in institute
Before stating the submenu that the second display area shows first menu, further includes:
Transfer the content of the first menu, the non-top level menu of the first menu;
Determine that first menu can construct one or more submenus according to the content transferred;
Construct one or more submenus of first menu.
In a kind of possible embodiment, the method also includes:
Transfer the content of the first menu, the non-top level menu of the first menu;
Determine that first menu cannot construct one or more submenus according to the content transferred;
The content for the first menu transferred described in being executed in the second display area.
In a kind of possible embodiment, the menu shown in first display area less than or equal to M layers,
And the submenu of second menu is shown in second display area, comprising:
The menu less than or equal to M layers is shown in the first display area, and deletes the menu that display is greater than M;
The submenu of second menu is shown in the second display area.
In a kind of possible embodiment, the method also includes:
Return instruction is received in second display area;
The return instruction is executed, shows the menu less than or equal to N-1 layers in first display area, and in institute
State the submenu that the second display area shows the N-1 layers of menu.
In a kind of possible embodiment, the dish for arriving n-th layer for successively the 0th layer of display in the first display area
It is single;
K layers of menu are that the submenu for choosing command menu is received in K-1 layers of menu, K < N.
Second aspect provides a kind of menu switching device, comprising:
First receiving unit chooses operation to the first menu of second display area for receiving;
First display unit, for showing that first menu, first menu are located in first display area
The n-th layer of first display area, and the submenu of first menu is shown in second display area;
Second receiving unit, for receiving the operation of choosing to the second menu of first display area, described second
Menu is located at M layers of first display area, M < N;
Second display unit, for showing the menu less than or equal to M layers in first display area, and described the
Two display areas show the submenu of second menu.
In a kind of possible embodiment, the menu switching device further include:
First setting unit, the 0th layer of menu for the first display area of Initialize installation are top level menu;
Second setting unit, for one or more submenus of the top level menu to be arranged.
In a kind of possible embodiment, the menu switching device further include:
First transfers unit, for transferring the content of the first menu, the non-top level menu of the first menu;
First determination unit, the content for transferring according to determine that first menu can construct one or more sons
Menu;
Construction unit, for constructing one or more submenus of first menu.
In a kind of possible embodiment, the menu switching device further include:
Second transfers unit, for transferring the content of the first menu, the non-top level menu of the first menu;
Second determination unit, the content for transferring according to determine that first menu cannot construct one or more
Submenu;
Third display unit, the content of the first menu for transferring described in being executed in the second display area.
In a kind of possible embodiment, second display unit includes:
First display subelement, for showing the menu less than or equal to M layers in the first display area, and it is big to delete display
In the menu of M;
Second display subelement, for showing the submenu of second menu in the second display area.
In a kind of possible embodiment, the electronic equipment further include:
Third receiving unit receives return instruction in second display area;
Execution unit shows in first display area for executing the return instruction and is less than or equal to N-1 layers
Menu, and show the submenu of the N-1 layers of menu in second display area.
In a kind of possible embodiment, first display area is for successively showing the 0th layer of dish for arriving n-th layer
It is single;
K layers of menu are that the submenu for choosing command menu is received in K-1 layers of menu, K < N.
The third aspect provides a kind of electronic equipment, including processor, input equipment, output equipment and memory,
In, the memory is for storing computer program, and the computer program includes program instruction, and the processor is configured to use
In calling described program instruction, a kind of menu switching method described in first aspect and its any implementation is executed.
Fourth aspect, provides a kind of computer readable storage medium, and the computer-readable recording medium storage has meter
Calculation machine program, the computer program include program instruction, and described program instruction makes the processor when being executed by a processor
The method for executing above-mentioned various aspects.
5th aspect, provides a kind of computer program product comprising instruction, when run on a computer, so that
Computer executes method described in above-mentioned various aspects.
According to a kind of menu switching method provided by the embodiments of the present application and electronic equipment, two can be divided into menu interface
A menu drawing field domain shows that the directory information of menu, i.e. each layer of menu are aobvious in the second display area in the first display area
The one or more submenus for showing undermost menu choose operation in the first display area by user, second chosen
The number of plies in the first display area of menu is less than the first menu of display, then the first display area, which is shown, is less than or equal to
The menu of the second menu number of plies shows the submenu of second menu in the second display area, can simplify operation, when saving
Between, promote diagnosis efficiency.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in embodiment description
Attached drawing is briefly described.
Fig. 1 is a kind of schematic flow diagram of menu switching method provided by the embodiments of the present application;
Fig. 2 is a kind of schematic flow diagram for menu switching method that another embodiment of the application provides;
Fig. 3 is a kind of configuration diagram of menu switching method disclosed by the embodiments of the present invention;
Fig. 4 is a kind of interface variation diagram of menu switching method disclosed by the embodiments of the present invention;
Fig. 5 is a kind of interface variation diagram of menu switching method disclosed in another embodiment of the present invention;
Fig. 6 is a kind of interface variation diagram of menu switching method disclosed in further embodiment of this invention;
Fig. 7 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 8 is the structural schematic diagram of another electronic equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application is described.
It should be appreciated that the term used in this present specification is merely for the sake of for the purpose of describing particular embodiments
And it is not intended to limit the application.As present specification and it is used in the attached claims, unless up and down
Text clearly indicates other situations, and otherwise " one " of singular, "one" and "the" are intended to include plural form.
It is also understood that referring in present specification to term "and/or" used in the appended claims related
Join any combination and all possible combinations of one or more of item listed, and including these combinations.
Vehicle and specifically check the diagnostic data of each part of vehicle for better diagnosis, at present setting due to vehicle
It is standby various, and be every level-one menu according to the individual difference dynamic construction submenu of vehicle and vehicle, so constructing
In the numerous menus of level, in the submenu of some rank, if desired switching menu then need step by step toward return back to it is desired
Menu hierarchy position, cause complicated for operation, reduce the efficiency of diagnosis, waste time.In view of the above-mentioned problems, the embodiment of the present application
It is proposed settlement mechanism in detail below.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of menu switching method provided by the embodiments of the present application.As schemed
Show, method provided in an embodiment of the present invention is specifically described in combination with step S101 to step S104.
S101, it receives and operation is chosen to the first menu of the second display area.
In a kind of possible embodiment, operation is chosen in the first menu receiving of the second display area, calls corresponding
Data in software database, so that it is determined that submenu could be constructed.Wherein, electronic equipment, may include mobile phone, plate electricity
Brain, laptop, palm PC, mobile internet device (MID, mobile internet device), wearable device
(such as smartwatch, Intelligent bracelet etc.), car-mounted terminal or other have the function of can to connect internet and transfer software data electricity
Sub- equipment, above-mentioned electronic equipment include one or more display screens, and can have can touch-control selection for above-mentioned display screen
Function is also possible to have input equipment to can be used for selecting menu, such as keyboard, mouse on an electronic device.
Specifically, on the menu interface of electronic equipment include the first display area and the second display area, above-mentioned first
Display area successively shows one or more menus, wherein the first display area is shown to be arrived for the 0th level to be successively shown
The menu of n-th layer grade, wherein the K layer menu less than N are that the submenu of command menu is chosen in reception in K-1 layers of menu, i.e., under
In the menu Shi Shangyi layer menu of one level, the submenu of selected menu, and upper one layer of menu is next layer of menu
Parent menu.Above-mentioned second display area shows one or more submenus of the undermost menu of the first display area,
In, the first display area and the second display area can be and divide according to a certain percentage in entire display area, such as 1:1,1:3
Split screen ratio can be divided into two parts in left and right, be also possible to be divided into two parts up and down, and the first display area and second show
Show that region can be located at any position of display interface.
Optionally, the information such as description, the current vehicle of menu can be shown in the second display area.Wherein, the vehicle of vehicle
The data of type information perhaps vehicle can be electronic equipment and are connected by bluetooth or internet with vehicle, and obtain vehicle
Data.
S102, above-mentioned first menu is shown in above-mentioned first display area, and show in above-mentioned second display area above-mentioned
The submenu of first menu.
In a kind of possible embodiment, based on the first menu chosen, the corresponding software number of the first menu is transferred
According to the data in library, determine that current first menu can construct submenu, and construct submenu according to the data of calling and be shown in
In second display area, the first menu is shown in the first display area, wherein the first menu is located at the most lower of the first display area
Layer, it is assumed that be n-th layer, wherein N can be each in order to facilitate electronic equipment called data for the integer more than or equal to 0
Submenu is numbered with serial number, it can be said that the menu serial number Q currently chosen.It is understood that not carried out in initial user
When selection, default menu is shown in the display interface, i.e. the first display area shows default menu title, the second viewing area
Domain shows the submenu of default menu.
For example, if current electronic device is vehicle diagnostic equipment, preset menu is that " function selection " is shown in
First display area shows the submenu of above-mentioned " function selection " menu, i.e. " quickly test ", " system in the second display area
Scanning ", " Systematic selection " etc. can glide and read that more sub-menu informations are for selection, if in the second display area
" Systematic selection ", which receives, chooses operation, then is serial number 2, then shows " Systematic selection " in the first display area, and be shown in
Lowest level shows the submenu of " Systematic selection " in the second display area, i.e., " engine block ", " anti-lock braking system ",
" transmission control module " etc., successively goes down, and wherein the building of submenu is examined according to the different vehicle diagnostic software of calling
Disconnected data determine whether that submenu can be constructed according to the data of calling.
S103, operation of choosing to the second menu of above-mentioned first display area is received, above-mentioned second menu is positioned at above-mentioned
M layers of first display area.
In a kind of possible embodiment, when needing switching menu, can be shown in the first display area
Two menus are selected, and after electronic equipment receives the instruction for choosing operation, transfer the data of above-mentioned second menu, wherein
Switch menu for the multilayer that retracts, for example return back in ancestors' menu from the first menu, that is, the to retract and menu are located at the
M layers in one display area, wherein M is less than N, and M is the positive integer more than or equal to 0, it is to be understood that preset initial
The hierarchical information of menu is the 0th layer, and the initial sequence number of submenu is 0.
S104, the menu less than or equal to M layers is shown in above-mentioned first display area, and aobvious in above-mentioned second display area
Show the submenu of above-mentioned second menu.
In a kind of possible embodiment, the menu that M layers are greater than in the first display area is removed, only display is less than
Or the menu equal to M layers, the submenu of M layers of menu is shown in the second display area, it is to be understood that submenu is to adjust
The data dynamic generation in software database is taken, different menus corresponds to submenu difference, son under same menu different situations
Menu may be different.
For example, if current electronic device be vehicle diagnostic equipment, menu be " function selection ", " Systematic selection " and
" engine block " is shown in the first display area, shows the sub- dish of above-mentioned " engine block " menu in the second display area
Single, if the menu chosen is " function selection ", " function selection " is located at the 0th layer, and " engine block " is located at the 2nd layer, and 0 is less than
2, then system transfers the data building submenu of " function selection ", shows in the first display area and is less than or equal to " function selection " dish
The menu of monohierarchy, i.e. " function selection " show the submenu of " function selection " in the second menu display interface.
According to a kind of menu switching method provided by the embodiments of the present application and electronic equipment, two can be divided into menu interface
A menu drawing field domain shows that the directory information of menu, i.e. each layer of menu are aobvious in the second display area in the first display area
The one or more submenus for showing undermost menu choose operation in the first display area by user, second chosen
The number of plies in the first display area of menu is less than the first menu of display, then the first display area, which is shown, is less than or equal to
The menu of the second menu number of plies shows the submenu of second menu in the second display area, that is, completes to the fast of dynamic menu
Speed switching to simplify the operation of menu, has saved the time, has improved effect so that equipment is more convenient in menu switching
Rate.
Referring to Fig. 2, Fig. 2 is a kind of flow diagram of menu switching method provided by the embodiments of the present application.As schemed
Show, method provided in an embodiment of the present invention is specifically described in combination with step S201 to step S208.
S201, the first display area of Initialize installation the 0th layer of menu be top level menu.
In a kind of possible embodiment, the 0th layer of menu of the first display area of Initialize installation is top level menu, i.e.,
The submenu of 0th grade of menu and the 0th grade of menu is the menu preset, it is to be understood that starts in equipment, or is received back
Afterbody i.e. the 0th grade menu of instruction is moved back, user can choose the menu by the top layer in the first display area, or
Return instruction will not retract again in the 0th layer of menu.
One or more submenus of S202, the above-mentioned top level menu of setting.
The submenu of the 0th layer of menu need to be constructed other than the 0th layer of menu of setting is top level menu based on step S201, is shown
Show in the second display area.Current submenu is also not need that data is called construct, is the menu preset, it is elected in the
When 0 grade of menu, i.e., one or more submenus of top level menu are shown in the second display area.
S203, it receives and operation is chosen to the first menu of above-mentioned second display area.
Wherein, the specific implementation process of step S203, which can be found in embodiment corresponding to above-mentioned Fig. 1, retouches step S101
It states, will not continue to repeat here.
S204, the content for transferring above-mentioned first menu.
In a kind of possible embodiment, the data that the submenu data of the current set of menu are dynamically generated can be knot
The submenu data that the information of storage generates are closed, are also possible to the data generated according to the current set of menu, when the second display area
First menu receives choose operation after, according to the data called data of menu information and storage, i.e., from corresponding software data
Menu data is transferred in library or other databases, submenu can be generated by being dynamically determined, if can, the submenu generated
Data are supplied to above-mentioned electronic equipment.It is understood that submenu is the data dynamic generation transferred in software database,
Different menus corresponds to submenu difference, and submenu may be different under same menu different situations.
For example, current electronic device is vehicle diagnostic equipment, and vehicle diagnostic equipment is stored with the vehicle letter of diagnosis vehicle
Breath, diagnostic device call the data of different diagnostic software databases according to vehicle model information and vehicle diagnosis result, thus dynamic
State constructs submenu, i.e. vehicle is different, and possible submenu is different, and vehicle is identical, and diagnostic result is different, and the submenu of building is not
Together.
S205, determine that above-mentioned first menu cannot construct one or more submenus according to the above-mentioned content transferred.
If one or more submenus can be constructed according to the data judgement transferred, i.e., also to working as in diagnostic software database
Preceding classification if so, can then construct, and is constructed either with or without finer classification;If no, cannot construct, the current set of menu is shown
Data.
S206, the content of above-mentioned the first menu transferred is executed in the second display area.
Based on step S203, judgement show that the current set of menu cannot construct submenu, then shows currently in the second display area
The content of menu.
For example, if current electronic device is vehicle diagnostic equipment, in default menu " function selection ", if selection
" quickly test " menu cannot construct submenu according to the content judgement transferred, then show and " quickly examine in the second display area
It is disconnected " result information.
S207, determine that above-mentioned first menu can construct one or more submenus according to the above-mentioned content transferred.
If one or more submenus can be constructed according to the content judgement transferred, i.e., also to working as in diagnostic software content library
Preceding classification if so, can then construct, and is constructed either with or without finer classification;If no, cannot construct, the current set of menu is shown
Content.
S208, above-mentioned first menu is shown in above-mentioned first display area, and show in above-mentioned second display area above-mentioned
The submenu of first menu.
Wherein, the specific implementation process of step S208, which can be found in embodiment corresponding to above-mentioned Fig. 1, retouches step S102
It states, will not continue to repeat here.
S209, return instruction is received in above-mentioned second display area.
In a kind of possible embodiment, return instruction is received in above-mentioned second display area, wherein return instruction can
Be it is received in the second display area, it is received to be also possible to the first display area.Can indicate to recapture original state or
It is returned to normal state, refers to the instruction for returning to one layer of menu in the embodiment of the present application, it is to be understood that when display circle
When the menu for being in the 0th layer that face is shown, it is invalid to return to operation.
S210, above-mentioned return instruction is executed, shows the menu less than or equal to N-1 layers in above-mentioned first display area,
And the submenu of above-mentioned N-1 layers of menu is shown in above-mentioned second display area.
In a kind of possible embodiment, step S208 takes M=N-1 on the basis of step S104, wherein M, N are
It is greater than the integer equal to 0.
For example, if current electronic device be vehicle diagnostic equipment, menu be " function selection ", " Systematic selection " and
" engine block " is shown in the first display area, shows the sub- dish of above-mentioned " engine block " menu in the second display area
Single, if the return chosen, " engine block " is located at the 2nd layer, then shows the dish less than or equal to 1 layer in the first display area
Single information, i.e. " function selection " and " Systematic selection " show the submenu of " Systematic selection " in the second menu display interface,
In, submenu content is by calling software database building.
According to a kind of menu switching method provided by the embodiments of the present application and electronic equipment, two can be divided into menu interface
A menu drawing field domain shows that the directory information of menu, i.e. each layer of menu are aobvious in the second display area in the first display area
The one or more submenus for showing undermost menu choose operation in the first display area by user, second chosen
The number of plies in the first display area of menu is less than the first menu of display, then the first display area, which is shown, is less than or equal to
The menu of the second menu number of plies shows the submenu of second menu in the second display area, that is, completes to the fast of dynamic menu
Speed switching to simplify the operation of menu, has saved the time, has improved effect so that equipment is more convenient in menu switching
Rate.
Fig. 3 is referred to, Fig. 3 is a kind of configuration diagram provided by the embodiments of the present application.As shown in figure 3, the framework can be with
Including electronic equipment 300, software A database 301, software B data library 302, software C data library 303, wherein electronic equipment 300
It is connect with several software databases by internet.Electronic equipment 300 may include tablet computer, laptop, palm
Computer, mobile internet device (mobile internet device, MID), wearable device (such as smartwatch, intelligence
Bracelet etc.), car-mounted terminal etc..Before menu needs to construct or shows menu data, adjusted from different software databases
With menu data, to judge whether menu needs to construct, if the submenu data and menu of the menu of building cannot construct son
When menu, the data of the menu of display are determined.Such as electronic equipment 300 can indicate the diagnostic device of vehicle, for showing vehicle
Indices diagnostic result, each diagnosis index corresponds to a diagnostic software, and the menu of every level-one of vehicle
The submenu of subdivision is determined according to the data that vehicle model information and diagnostic software transfer.So electronic equipment 300 can be with
The switching of building submenu and menu is determined whether by called data.Electronic equipment 300 after instruction is received,
Building and the handoff functionality of menu can be completed according to the data got.
According to a kind of menu switching method provided by the embodiments of the present application and electronic equipment, two can be divided into menu interface
A menu drawing field domain shows that the directory information of menu, i.e. each layer of menu are aobvious in the second display area in the first display area
The one or more submenus for showing undermost menu choose operation in the first display area by user, second chosen
The number of plies in the first display area of menu is less than the first menu of display, then the first display area, which is shown, is less than or equal to
The menu of the second menu number of plies shows the submenu of second menu in the second display area, that is, completes to the fast of dynamic menu
Speed switching to simplify the operation of menu, has saved the time, has improved effect so that equipment is more convenient in menu switching
Rate.
Fig. 4 is referred to, Fig. 4 is a kind of interface schematic diagram of menu switching provided in an embodiment of the present invention.As shown in figure 4,
The menu information of most initial is shown on the display screen of electronic equipment, the left side is the first display area, shows one or more dishes
It is single, it is used for switching menu, i.e. switching menu data;The right is the second display area, shows first display area on the left side most
One or more submenus of the menu of lower layer, i.e. function menu data.In Fig. 4, in initial user not to electronic equipment
In menu carry out any operation when, default display menu be " function selection " menu, i.e., menu can be shown in first show
Show in region, show the submenu of current " function selection " menu in the second display area, wherein " function selection " menu is the
Undermost menu in one display area, hierarchical information is the 0th layer, when user chooses the first menu in the second display area
After operation, the first menu is " Systematic selection " menu here, then current vehicle diagnostic device is by transferring related " Systematic selection "
Diagnostic software to the data of vehicle diagnostics and the vehicle model information data of storage, determine " Systematic selection " can construct one or
Multiple submenus, wherein the submenu that can be constructed has " engine block ", " anti-lock braking system ", " transmission control
Module " etc. is shown in the second display area, and " Systematic selection " is shown in the first display area, and upper
The lower layer of " function selection " is stated, hierarchical information is the 1st layer, on this basis, selects " engine block " menu, then transfers again
Diagnostic software and vehicle model information data in relation to " engine block " determine that " engine block " can construct one or more sons
Menu, building are as shown in Figure 5.
According to a kind of menu switching method provided by the embodiments of the present application and electronic equipment, two can be divided into menu interface
A menu drawing field domain shows that the directory information of menu, i.e. each layer of menu are aobvious in the second display area in the first display area
The one or more submenus for showing undermost menu choose operation in the first display area by user, second chosen
The number of plies in the first display area of menu is less than the first menu of display, then the first display area, which is shown, is less than or equal to
The menu of the second menu number of plies shows the submenu of second menu in the second display area, that is, completes to the fast of dynamic menu
Speed switching to simplify the operation of menu, has saved the time, has improved effect so that equipment is more convenient in menu switching
Rate.
Further, referring to Fig. 5, being a kind of interface variation for menu switching method that another embodiment of the application provides
Figure.As shown in figure 5, on the basis of fig. 4, show the information of three levels in the first display area, i.e., " function selection ",
" Systematic selection " and " engine block ", corresponding hierarchical information are 0,1,2, show and " start in the second display area
The menu data that machine module " is called, i.e., " ignition system ", " emission control systems " and " fuel injection system " etc., the
Two display areas, which can glide, checks more menu datas.On the basis of showing this interface, electronic equipment receives user
Choose operation, this chooses operation to act in the first display area, and the level for the menu chosen is less than current display
The menu level at interface, i.e., the menu level currently shown is N, and the menu chosen is located at the of above-mentioned first display area
M layers, M < N, M, N are the integer more than or equal to 0, " the function selection " such as currently chosen.At this point, being shown in the first menu
Interface display is less than or equal to M layers of menu, and shows the submenu of above-mentioned second menu in above-mentioned second display area.Exist
First display area shows the menu less than or equal to " function selection " menu hierarchy, shows " function in the second display area
The menu data of selection " completes switching.
According to a kind of menu switching method provided by the embodiments of the present application and electronic equipment, two can be divided into menu interface
A menu drawing field domain shows that the directory information of menu, i.e. each layer of menu are aobvious in the second display area in the first display area
The one or more submenus for showing undermost menu choose operation in the first display area by user, second chosen
The number of plies in the first display area of menu is less than the first menu of display, then the first display area, which is shown, is less than or equal to
The menu of the second menu number of plies shows the submenu of second menu in the second display area, that is, completes to the fast of dynamic menu
Speed switching to simplify the operation of menu, has saved the time, has improved effect so that equipment is more convenient in menu switching
Rate.
Fig. 6 is referred to, Fig. 6 is a kind of interface schematic diagram for menu switching that further embodiment of this invention provides.Such as Fig. 6 institute
Show, the menu information of most initial is shown on the display screen of electronic equipment, and the left side is the first display area, and display is one or more
Menu is used for switching menu, i.e. switching menu data;The right is the second display area, shows first display area on the left side
One or more submenus of undermost menu, i.e. function menu data.In Fig. 6, electronics is not set in initial user
When menu in standby carries out any operation, default display menu is " function selection " menu, i.e. menu can be shown in first
In display area, the submenu of current " function selection " menu is shown in the second display area, wherein " function selection " menu is
Undermost menu in first display area, hierarchical information is the 0th layer, and if to the " function of showing in the second display area
" quickly test " menu in selection " menu is chosen, i.e., electronic equipment calls the related menu data quickly tested and vehicle letter
Breath, when vehicle diagnostic equipment is according to the data in " quickly test " the menu data i.e. database of dependent diagnostic software transferred,
And present vehicle information, it determines that the data of " quickly test " are the diagnostic result of current vehicle test, one can not be constructed
Or multiple submenus, i.e., the vehicle diagnosis result of current " quickly test " diagnosis is shown in the second display area, in the first display
Region shows constant.
According to a kind of menu switching method provided by the embodiments of the present application and electronic equipment, two can be divided into menu interface
A menu drawing field domain shows that the directory information of menu, i.e. each layer of menu are aobvious in the second display area in the first display area
The one or more submenus for showing undermost menu choose operation in the first display area by user, second chosen
The number of plies in the first display area of menu is less than the first menu of display, then the first display area, which is shown, is less than or equal to
The menu of the second menu number of plies shows the submenu of second menu in the second display area, that is, completes to the fast of dynamic menu
Speed switching to simplify the operation of menu, has saved the time, has improved effect so that equipment is more convenient in menu switching
Rate.
Referring to Fig. 7, Fig. 7 is a kind of structural schematic diagram of menu switching device provided by the embodiments of the present application, the electronics
Equipment 7000 includes:
First receiving unit 701 chooses operation to the first menu of above-mentioned second display area for receiving;
First display unit 702, for showing above-mentioned first menu, above-mentioned first menu position in above-mentioned first display area
N-th layer in above-mentioned first display area, N are integer more than or equal to 0, and show above-mentioned the in above-mentioned second display area
The submenu of one menu;
Second receiving unit 703, for receiving the operation of choosing to the second menu of above-mentioned first display area, above-mentioned
Two menus are located at M layers of above-mentioned first display area, and M < N, M are the integer more than or equal to 0;
Second display unit 704, for showing the menu less than or equal to M layers in above-mentioned first display area, and upper
State the submenu that the second display area shows above-mentioned second menu.
In a kind of possible embodiment, above-mentioned menu switching device 7000 further include:
First setting unit 705, the 0th layer of menu for the first display area of Initialize installation are top level menu;
Second setting unit 706, for one or more submenus of above-mentioned top level menu to be arranged.
In a kind of possible embodiment, above-mentioned menu switching device 7000 further include:
First transfers unit 707, for transferring the content of the first menu, the above-mentioned non-top level menu of first menu;
First determination unit 708, for determining that above-mentioned first menu can construct one or more according to the above-mentioned content transferred
A submenu;
Construction unit 709, for constructing one or more submenus of above-mentioned first menu.
In a kind of possible embodiment, above-mentioned menu switching device 7000 further include:
Second transfers unit 710, for transferring the content of the first menu, the above-mentioned non-top level menu of first menu;
Second determination unit 711, for according to the above-mentioned content transferred determine above-mentioned first menu cannot construct one or
Multiple submenus;
Third display unit 712, for executing the content of above-mentioned the first menu transferred in the second display area.
In a kind of possible embodiment, above-mentioned second display unit 704 includes:
First display subelement 7041 for showing the menu less than or equal to M layers in the first display area, and is deleted aobvious
Show the menu greater than M;
Second display subelement 7042, for showing the submenu of above-mentioned second menu in the second display area.
In a kind of possible embodiment, above-mentioned menu switching device 7000 further include:
Third receiving unit 713 receives return instruction in above-mentioned second display area;
Execution unit 714 shows in above-mentioned first display area for executing above-mentioned return instruction and is less than or equal to N-
1 layer of menu, and the submenu of above-mentioned N-1 layers of menu is shown in above-mentioned second display area.
In a kind of possible embodiment, the above-mentioned dish for arriving n-th layer for successively the 0th layer of display in the first display area
It is single;
K layers of menu are that the submenu for choosing command menu is received in K-1 layers of menu, K < N.
According to a kind of menu switching device provided by the embodiments of the present application, the mistake for enabling to equipment to construct in dynamic menu
Cheng Zhong can quickly switch by the operation of reception user selected choices from menus and call dynamic menu, to simplify use
The time of switching menu has been saved in the operation at family, improves the efficiency for obtaining menu information.
Referring to Fig. 8, Fig. 8 is a kind of structural schematic diagram of diagnostic device 8000 provided by the embodiments of the present application.Such as Fig. 8 institute
The diagnostic device in the present embodiment shown may include: processor 801, output equipment 802, input equipment 803 and memory
804.Memory 804 includes program instruction for storing computer program, computer program, and processor 801 is for executing storage
The program instruction that device 804 stores.Wherein, processor 801 is configured for caller instruction execution following steps:
The control input equipment 803 of processor 801, which is received, chooses operation to the first menu of above-mentioned second display area;
Show that above-mentioned first menu, above-mentioned first menu are located at above-mentioned first display area in above-mentioned first display area
N-th layer, and the submenu of above-mentioned first menu is shown in above-mentioned second display area;
The control input equipment 803 of processor 801, which is received, chooses operation to the second menu of above-mentioned first display area, on
M layers that the second menu is located at above-mentioned first display area are stated, M < N;
The menu less than or equal to M layers is shown in above-mentioned first display area, and is shown in above-mentioned second display area
State the submenu of the second menu.
In one implementation, above-mentioned processor 801 is also called executes following steps:
0th layer of menu of the first display area of Initialize installation is top level menu;
One or more submenus of above-mentioned top level menu are set.
In one implementation, called execute of above-mentioned processor 801 shows above-mentioned the in above-mentioned first display area
One menu, and before the submenu that above-mentioned second display area shows above-mentioned first menu, it is also used to execute following steps:
Transfer the content of the first menu, the above-mentioned non-top level menu of first menu;
Determine that above-mentioned first menu can construct one or more submenus according to the above-mentioned content transferred;
Construct one or more submenus of above-mentioned first menu.
In another implementation, above-mentioned processor 801 is also used to execute following steps:
Transfer the content of the first menu, the above-mentioned non-top level menu of first menu;
Determine that above-mentioned first menu cannot construct one or more submenus according to the above-mentioned content transferred;
The content of above-mentioned the first menu transferred is executed in the second display area.
In another implementation, processor 801 is also used to carry out following steps:
Processor 801 controls input equipment 803 and receives return instruction in above-mentioned second display area;
Above-mentioned return instruction is executed, shows the menu less than or equal to N-1 layers in above-mentioned first display area, and upper
State the submenu that the second display area shows above-mentioned N-1 layers of menu.
In one implementation, the above-mentioned menu for arriving n-th layer for successively the 0th layer of display in the first display area;
K layers of menu are that the submenu for choosing command menu is received in K-1 layers of menu, K < N.
It should be appreciated that in the embodiment of the present application, alleged processor 801 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device is also possible to any conventional processor etc..
Output equipment 802 is for sending data, and input equipment 803 is for receiving data.
The memory 804 may include read-only memory and random access memory, and to processor 801 provide instruction and
Data.The a part of of memory 804 can also include nonvolatile RAM.For example, memory 804 can also be deposited
Store up the information of device type.
In the specific implementation, processor 801, output equipment 802 described in the embodiment of the present application and input equipment 803 can
A kind of embodiment for menu switching method that the embodiment of the present application Fig. 1 or Fig. 2 are provided is executed, details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the division of the unit, only a kind of logical function partition, can have in actual implementation
Other division mode, for example, multiple units or components can be combined or can be integrated into another system or some features
It can ignore, or not execute.Shown or discussed mutual coupling or direct-coupling or communication connection can be logical
Some interfaces are crossed, the indirect coupling or communication connection of device or unit can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit
Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program produces
Product include one or more computer instructions.It is all or part of when loading and execute on computers the computer program instructions
Ground generates the process or function according to the embodiment of the present application.The computer can be general purpose computer, special purpose computer, computer
Network or other programmable devices.The computer instruction may be stored in a computer readable storage medium, or by being somebody's turn to do
Computer readable storage medium is transmitted.The computer instruction can be from a web-site, computer, server or data
Center passes through wired (such as coaxial cable, optical fiber, Digital Subscriber Line (digital subscriber line, DSL)) or wireless
(such as infrared, wireless, microwave etc.) mode is transmitted to another web-site, computer, server or data center.It should
Computer readable storage medium can be any usable medium that computer can access or include one or more available
The data storage devices such as medium integrated server, data center.The usable medium can be read-only memory (read-only
Memory, ROM) or random access memory (random access memory, RAM) or magnetic medium, for example, floppy disk,
Hard disk, tape, magnetic disk or optical medium, for example, digital versatile disc (digital versatile disc, DVD) or half
Conductive medium, for example, solid state hard disk (solid state disk, SSD) etc..
Claims (10)
1. a kind of menu switching method, which is characterized in that be applied to diagnostic device, the Diagnostics Interfaces of the diagnostic device include the
One display area and the second display area, first display area for successively show one or more menus, described second
Display area is used to show one or more submenus of the undermost menu of first display area, the method packet
It includes:
It receives and operation is chosen to the first menu of second display area;
Show that first menu, first menu are located at the N of first display area in first display area
Layer, and the submenu of first menu is shown in second display area;
It receives and operation is chosen to the second menu of first display area, second menu is located at first viewing area
M layers of domain, M < N;
The menu less than or equal to M layers is shown in first display area, and shows described the in second display area
The submenu of two menus.
2. the method according to claim 1, wherein the method also includes:
0th layer of menu of the first display area of Initialize installation is top level menu;
One or more submenus of the top level menu are set.
3. according to the method described in claim 2, it is characterized in that, described show first dish in first display area
It is single, and before the submenu that second display area shows first menu, further includes:
Transfer the content of the first menu, the non-top level menu of the first menu;
Determine that first menu can construct one or more submenus according to the content transferred;
Construct one or more submenus of first menu.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
Transfer the content of the first menu, the non-top level menu of the first menu;
Determine that first menu cannot construct one or more submenus according to the content transferred;
The content for the first menu transferred described in being executed in the second display area.
5. method according to any one of claims 1 to 4, which is characterized in that described to be shown in first display area
Menu less than or equal to M layers, and the submenu of second menu is shown in second display area, comprising:
The menu less than or equal to M layers is shown in the first display area, and deletes the menu that display is greater than M;
The submenu of second menu is shown in the second display area.
6. method according to any one of claims 1 to 4, which is characterized in that the method also includes:
Return instruction is received in second display area;
The return instruction is executed, shows the menu less than or equal to N-1 layers in first display area, and described the
Two display areas show the submenu of the N-1 layers of menu.
7. according to the method described in claim 6, it is characterized in that, first display area is arrived for successively showing the 0th layer
The menu of n-th layer;
K layers of menu are that the submenu for choosing command menu is received in K-1 layers of menu, K < N.
8. a kind of menu switching device characterized by comprising
First receiving unit chooses operation to the first menu of second display area for receiving;
First display unit, for showing that first menu, first menu are located at described in first display area
The n-th layer of first display area, and the submenu of first menu is shown in second display area;
Second receiving unit, for receiving the operation of choosing to the second menu of first display area, second menu
Positioned at M layers of first display area, M < N;
Second display unit, for showing the menu less than or equal to M layers in first display area, and it is aobvious described second
Show that region shows the submenu of second menu.
9. a kind of diagnostic device, which is characterized in that including processor, input equipment, output equipment and memory, wherein described
Memory is for storing computer program, and the computer program includes program instruction, and the processor is configured for calling
Described program instruction, executes a kind of such as menu switching method of any of claims 1-7.
10. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with computer program, described
Computer program includes program instruction, and described program is instructed when being executed by a processor, executed such as any one of claim 1-7 institute
The method stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811626756.1A CN109828547B (en) | 2018-12-28 | 2018-12-28 | Menu switching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811626756.1A CN109828547B (en) | 2018-12-28 | 2018-12-28 | Menu switching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109828547A true CN109828547A (en) | 2019-05-31 |
CN109828547B CN109828547B (en) | 2022-06-17 |
Family
ID=66860635
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811626756.1A Active CN109828547B (en) | 2018-12-28 | 2018-12-28 | Menu switching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109828547B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111694345A (en) * | 2020-06-24 | 2020-09-22 | 深圳市元征科技股份有限公司 | Vehicle diagnosis menu generation method, device, equipment and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877752A (en) * | 2009-04-28 | 2010-11-03 | 兄弟工业株式会社 | The display device of navigation string of current demonstration can roll |
CN105278799A (en) * | 2014-07-02 | 2016-01-27 | 腾讯科技(深圳)有限公司 | Interface switching method and apparatus |
CN105279192A (en) * | 2014-07-22 | 2016-01-27 | 珠海金山办公软件有限公司 | Breadcrumb navigation method and device |
CN107015722A (en) * | 2016-10-31 | 2017-08-04 | 阿里巴巴集团控股有限公司 | page display method and device |
KR20170143371A (en) * | 2016-06-21 | 2017-12-29 | (주)한성엔지니어링 | Apparatus for setting multi display of hmi |
CN107632756A (en) * | 2017-09-29 | 2018-01-26 | 深圳市元征科技股份有限公司 | Programs menu display methods and terminal |
CN108710630A (en) * | 2018-04-02 | 2018-10-26 | 阿里巴巴集团控股有限公司 | A kind of page navigation method, device and equipment |
-
2018
- 2018-12-28 CN CN201811626756.1A patent/CN109828547B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877752A (en) * | 2009-04-28 | 2010-11-03 | 兄弟工业株式会社 | The display device of navigation string of current demonstration can roll |
CN105278799A (en) * | 2014-07-02 | 2016-01-27 | 腾讯科技(深圳)有限公司 | Interface switching method and apparatus |
CN105279192A (en) * | 2014-07-22 | 2016-01-27 | 珠海金山办公软件有限公司 | Breadcrumb navigation method and device |
KR20170143371A (en) * | 2016-06-21 | 2017-12-29 | (주)한성엔지니어링 | Apparatus for setting multi display of hmi |
CN107015722A (en) * | 2016-10-31 | 2017-08-04 | 阿里巴巴集团控股有限公司 | page display method and device |
CN107632756A (en) * | 2017-09-29 | 2018-01-26 | 深圳市元征科技股份有限公司 | Programs menu display methods and terminal |
CN108710630A (en) * | 2018-04-02 | 2018-10-26 | 阿里巴巴集团控股有限公司 | A kind of page navigation method, device and equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111694345A (en) * | 2020-06-24 | 2020-09-22 | 深圳市元征科技股份有限公司 | Vehicle diagnosis menu generation method, device, equipment and medium |
CN111694345B (en) * | 2020-06-24 | 2021-11-12 | 深圳市元征科技股份有限公司 | Vehicle diagnosis menu generation method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN109828547B (en) | 2022-06-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106951141B (en) | A kind of processing method and mobile terminal of icon | |
CN106126013A (en) | A kind of application management method and mobile terminal | |
KR101676155B1 (en) | Method and device for user interface management | |
CN105335224B (en) | A kind of application switching method and device | |
US9280370B2 (en) | System structure management device, system structure management method, and program | |
CN106325749A (en) | Operation method of mobile terminal, and mobile terminal | |
CN106533988A (en) | Control method for network speed of application and mobile terminal | |
US8898261B1 (en) | Configuring agent services operable by agents in a storage area network | |
CN106126210A (en) | A kind of application icon display packing and mobile terminal | |
JP2004511829A (en) | Method and apparatus for presenting information to a user of a computer system | |
US8078976B2 (en) | Method and apparatus for generating adaptable pull down menus | |
CN110633032B (en) | Icon display method and device for terminal equipment | |
CN103049176A (en) | Method and device for displaying menus | |
CN105824610A (en) | Method and device for arranging application program icons based on terminal | |
CN107220077B (en) | Using the management-control method and management and control devices of starting | |
CN109284261A (en) | Using lookup method, device, storage medium and electronic equipment | |
CN106155489A (en) | The locking means of a kind of desktop application and device | |
CN1866994A (en) | Continuous clicking device of mobile communication terminal and method for executing the same | |
CN105404415A (en) | Mobile terminal and control method of mobile terminal | |
CN107544729A (en) | The interface switching method and mobile terminal of a kind of application | |
CN105302619A (en) | Information processing method and device and electronic equipment | |
CN108089970A (en) | Predict method, terminal and the storage medium of remaining capacity up time | |
CN108268275A (en) | Software version control method and software version control device | |
CN113419874A (en) | Interface request triggering method and device, storage medium and computer equipment | |
CN109828547A (en) | A kind of menu switching method and device |
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 |