CN105446715A - Method for managing interface switching logic - Google Patents

Method for managing interface switching logic Download PDF

Info

Publication number
CN105446715A
CN105446715A CN201410403593.6A CN201410403593A CN105446715A CN 105446715 A CN105446715 A CN 105446715A CN 201410403593 A CN201410403593 A CN 201410403593A CN 105446715 A CN105446715 A CN 105446715A
Authority
CN
China
Prior art keywords
state
interface
interfacial
display
switch logic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410403593.6A
Other languages
Chinese (zh)
Inventor
卿晓辉
叶永结
陈智良
冯志佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive 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 Huizhou Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN201410403593.6A priority Critical patent/CN105446715A/en
Publication of CN105446715A publication Critical patent/CN105446715A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method for managing interface switching logic. The method comprises following steps of: S1, initializing interface state; S2, setting up an interface state logic list and utilizing a two-dimensional array to represent the current display state and an application display state of each interface; S3, determining priorities of interface states and defining each priority of interface states through instructions; and S4, controlling switching of interface states, acquiring current display interface states and application display interface states via the logic list and controlling logic of interface switching based on interface states acquired. The method for managing interface switching logic helps to effectively process switching logic of complicated interfaces and improve uniformity and expandability of interface switching logic.

Description

A kind of method of administration interface switch logic
Technical field
The present invention relates to a kind of method of administration interface switch logic.
Background technology
The core content of administration interface switch logic mainly comprises interface application and interface is cancelled.Wherein, interface application mainly determines whether the interface of applying for can be shown, and the state at other interface is the need of being changed; After interface cancellation mainly determines that current interface is cancelled, take turns to which interface display, and the state at other interfaces is the need of change; The method that traditional administration interface switches mainly is managed by priority, and the low interface of priority can be interrupted in the interface that priority is high, and is preserved needing the interface of recovering by the mode of pop down; This classic method can not the logic of unified management interface switching, can not process the changing interface logic that complexity is high, and its extendability is also bad.
Summary of the invention
Above-mentioned in order to solve, the invention provides a kind of design proposal of method of administration interface switch logic.
A method for administration interface switch logic, specifically comprises the following steps:
S1, interfacial state initialization; S2, set up interfacial state logical table, utilize two-dimensional array to represent current display state and the application display state at each interface; S3, determine interfacial state priority, by each interfacial state priority of instruction definition; S4, control inerface state switch, and obtain current display interface state and application display interface state by logical table, and according to obtained interfacial state control inerface switch logic.
Described interface comprises: run mode, waiting state and release state; Described run mode, waiting state and release state respectively corresponding current display interfacial state, etc. interfacial state to be shown, and other interfacial states.
Described logical table is made up of one or more two-dimensional array, and the element value of described two-dimensional array is the combination of two of interfacial state.
Described step S4 specifically comprises the following steps: S41, by logical table Real-time Obtaining interfacial state; S42, judge whether application interfacial state is run mode, is activate application interface display, otherwise keep current interface state.
Also comprise release state interface cancellation step: when current interface state is for release state, judges whether the interface that there is the highest non-release state of priority, be, activate non-release state interface display, otherwise activate default interface display.
Also comprise: if new interface be changed or be increased to described interfacial state need, then revise described two-dimensional array element value or interfacial state priority.
In sum, the present invention has following beneficial effect: the switch logic that more effectively can process complicated interface, improves unitarity and the extensibility of changing interface logic.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the method for a kind of administration interface switch logic of the present invention.
Embodiment
In order to allow those skilled in the art can understand technical scheme of the present invention better, below in conjunction with accompanying drawing, the invention will be further elaborated.
As shown in Figure 1, present invention is disclosed a kind of method of administration interface switch logic, specifically comprise the following steps interfacial state initialization; Set up interfacial state logical table, utilize two-dimensional array to represent current display state and the application display state at each interface; Determine interfacial state priority, by each interfacial state priority of instruction definition; Control inerface state switches, and obtains current display interface state and application display interface state by logical table, and according to obtained interfacial state control inerface switch logic.Described interface comprises: run mode, waiting state and release state; Described run mode, waiting state and release state respectively corresponding current display interfacial state, etc. interfacial state to be shown, and other interfacial states.Described logical table is made up of one or more two-dimensional array, and the element value of described two-dimensional array is the combination of two of interfacial state.
In order to be obtained the state at current interface and application interface by logical table, further comprising the steps of: when logical table Real-time Obtaining interfacial state information; Judge whether application interfacial state is run mode, is activate application interface display, otherwise keep current interface state.
Also comprise release state interface cancellation step: when current interface state is for release state, judges whether the interface that there is the highest non-release state of priority, be, activate non-release state interface display, otherwise activate default interface display.Also comprise: if described interfacial state needs are changed or increased new interface, then revise described two-dimensional array element value or interfacial state priority.
The present embodiment is more excellent embodiment of the present invention, and the part be not described in detail all adopts known mature technology.It should be noted that; when not deviating from the present invention's spirit and essence thereof; those of ordinary skill in the art are when making various corresponding change and distortion according to the present invention, but these change and are out of shape the protection domain that all should belong to the claim appended by the present invention.

Claims (6)

1. a method for administration interface switch logic, is characterized in that, specifically comprises the following steps:
S1, interfacial state initialization;
S2, set up interfacial state logical table, utilize two-dimensional array to represent current display state and the application display state at each interface;
S3, determine interfacial state priority, by each interfacial state priority of instruction definition;
S4, control inerface state switch, and obtain current display interface state and application display interface state by logical table, and according to obtained interfacial state control inerface switch logic.
2. the method for a kind of administration interface switch logic according to claim 1, it is characterized in that, described interfacial state comprises: run mode, waiting state and release state; Described run mode, waiting state and release state respectively corresponding current display interfacial state, etc. interfacial state to be shown and other interfacial states.
3. the method for a kind of administration interface switch logic according to claim 2, it is characterized in that, described logical table is made up of one or more two-dimensional array, and the element value of described two-dimensional array is mutually combining between two of interfacial state.
4. the method for a kind of administration interface switch logic according to claim 3, it is characterized in that, described step S4 specifically comprises the following steps:
S41, by logical table Real-time Obtaining interfacial state;
S42, judge application interfacial state whether be run mode, be activate application interface display, otherwise keep current interface display.
5. the method for a kind of administration interface switch logic according to claim 4, it is characterized in that, also comprise release state interface cancellation step: when current interface state is for release state, judge whether the interface that there is the highest non-release state of priority, be activate non-release state interface display, otherwise activate default interface display.
6. the method for a kind of administration interface switch logic according to claim 5, is characterized in that, also comprise: if new interface be changed or be increased to described interfacial state need, then revise described two-dimensional array element value or interfacial state priority.
CN201410403593.6A 2014-08-18 2014-08-18 Method for managing interface switching logic Pending CN105446715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410403593.6A CN105446715A (en) 2014-08-18 2014-08-18 Method for managing interface switching logic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410403593.6A CN105446715A (en) 2014-08-18 2014-08-18 Method for managing interface switching logic

Publications (1)

Publication Number Publication Date
CN105446715A true CN105446715A (en) 2016-03-30

Family

ID=55556967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410403593.6A Pending CN105446715A (en) 2014-08-18 2014-08-18 Method for managing interface switching logic

Country Status (1)

Country Link
CN (1) CN105446715A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282388A (en) * 2021-04-26 2021-08-20 惠州市德赛西威汽车电子股份有限公司 Method for globally regulating and controlling service logic based on logic matrix table and vehicle-mounted system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090106661A1 (en) * 2007-10-17 2009-04-23 Inventec Corporation Switching System and Method for Display Interface
CN101937314A (en) * 2010-09-20 2011-01-05 福建新大陆通信科技股份有限公司 High-efficiency switching method of set top box interfaces
CN102346628A (en) * 2010-08-02 2012-02-08 华为终端有限公司 Graphical user interface (GUI) display processing method and device as well as GUI system
CN102799385A (en) * 2012-07-19 2012-11-28 腾讯科技(深圳)有限公司 Desktop control method and device
CN103473014A (en) * 2013-09-13 2013-12-25 珠海市魅族科技有限公司 Multitask switching method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090106661A1 (en) * 2007-10-17 2009-04-23 Inventec Corporation Switching System and Method for Display Interface
CN102346628A (en) * 2010-08-02 2012-02-08 华为终端有限公司 Graphical user interface (GUI) display processing method and device as well as GUI system
CN101937314A (en) * 2010-09-20 2011-01-05 福建新大陆通信科技股份有限公司 High-efficiency switching method of set top box interfaces
CN102799385A (en) * 2012-07-19 2012-11-28 腾讯科技(深圳)有限公司 Desktop control method and device
CN103473014A (en) * 2013-09-13 2013-12-25 珠海市魅族科技有限公司 Multitask switching method and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282388A (en) * 2021-04-26 2021-08-20 惠州市德赛西威汽车电子股份有限公司 Method for globally regulating and controlling service logic based on logic matrix table and vehicle-mounted system
WO2022227254A1 (en) * 2021-04-26 2022-11-03 惠州市德赛西威汽车电子股份有限公司 Method for globally regulating service logic based on logical matrix table, and vehicle-mounted system

Similar Documents

Publication Publication Date Title
USD778311S1 (en) Display screen with graphical user interface for account switching by swipe
JP2014183319A5 (en) Magnetic bonding
WO2016100765A3 (en) Vlant tagging in a virtual environment
EP2838244A3 (en) Providing services for logical networks
GB2504443A (en) Priority based flow control in a distributed fabric protocol (DFP) switching network architecture
JP2016512357A5 (en)
EP2784674A3 (en) Asymmetric multi-core processor with native switching mechanism
JP2012217332A5 (en)
CN105592127B (en) Application management system for cloud computing environment
WO2013111126A3 (en) Method and system for controlling video frame encoding
WO2016153200A3 (en) Virtual fitting method and computer program
JP2018187289A5 (en)
CN204263173U (en) The service robot of a kind of view-based access control model identification and location
CN105446715A (en) Method for managing interface switching logic
CN105893021A (en) Method and device for switching brightness mode
CN104185076A (en) Smart television breathing lamp effect achieving method and device
CN103237251A (en) Control method of intelligent television system
CN106724731A (en) A kind of intelligent system of preparing food
CN105320408B (en) Adjustable part touch module and its touch-control control method
JP2020046876A5 (en)
CN204089843U (en) Double-core three-layer network system architecture
WO2011157175A3 (en) Method and chip for controlling update of communication device, and communication device thereof
CN103888384B (en) The network switch
CN104571994A (en) Loop playback method for background map in mobile game
CN103281584A (en) Television setting menu optimization method

Legal Events

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

Application publication date: 20160330