Control method, device, storage medium and the electronic blackboard that interfaces windows are shown
Technical field
The present invention relates to the human-computer interaction technique fields of intelligent terminal, and in particular to a kind of controlling party that interfaces windows are shown
Method, device, storage medium and electronic blackboard.
Background technique
With the development of Modern Education Technology and the attention to teaching job environment, more and more educational institutions start to make
The tool for using interactive intelligent plate to replace the blackboard of common chalk-writing as teaching explanation.Interactive intelligent tablet computer is with high clear liquid
Crystalline substance screen is display and operating platform, has the modern multimedias instructional function such as writing, annotation, drawing, multimedia, wherein handing over
The electronic blackboard that the writing function of mutual formula Intelligent flat mainly passes through internal virtual is realized, in order to enable interactive intelligent plate exists
Efficient effect is played on e-classroom, thus it is also intuitive important to the display control of its window.
Current existing intelligent interactive electronic blackboard, when opening simultaneously multiple APP softwares of its installation, each
After APP software starts, user on the display interface of intelligent interactive electronic blackboard during operating, due to multiple
The window of APP software is overlapped simultaneously in the display interface, for needing to confirm one by one whether each APP software is current desired behaviour
The software of work, it is clear that this will bring inconvenience, and the size of the display interface when intelligent interactive electronic blackboard to user
When sufficiently large, if user wants to realize the touch and browse operation of full screen, user is needed to move the position of oneself back and forth, together
Sample can bring inconvenience to user.
Summary of the invention
Therefore, technical problems to be solved of the embodiment of the present invention are that intelligent interactive electronic blackboard in the prior art exists
When window on user's operation display interface inconvenience can be brought to user.
For this purpose, the embodiment of the invention provides following technical solutions:
According in a first aspect, the embodiment of the present invention provides a kind of control method that interfaces windows are shown, include the following steps:
Obtain the handle mark and relating attribute information of each window node;
It is identified according to the handle of each window node, searches the window section of each window node and user's current operation
Most short communication path between point;
According to the handle of each window node mark, the most short communication path and the relating attribute information,
Figure layer topology file of each window node in display interface is set;
According to the figure layer topology file, figure layer prompt operation mark is generated;
According to the figure layer prompt operation mark, controls the display interface and switched over according to the figure layer topology file
Display.
With reference to first aspect, in first aspect first embodiment, the relating attribute information includes each window
The window title information and/or context handle information and/or window size information and/or window position information of node and/or
Sub- parent window information.
With reference to first aspect, in first aspect second embodiment, the handle mark according to each window node
The step of knowing, searching the most short communication path between each window node and the window node of user's current operation further include:
Construct the sequential queue of user's operation window node;
Each window node is sequentially arranged in the sequential queue according to user's operation sequence;
Construct the communication path between each window node and the window node of user's current operation;
The handle mark for obtaining each window node, from the window node of each window node and user's current operation
Between communication path in search most short communication path between each window node and the window node of user's current operation.
With reference to first aspect, in first aspect third embodiment, the handle mark of each window node, institute
Most short communication path and the relating attribute information are stated, figure layer topology file of each window node in display interface is set
The step of further include:
According to the handle of each window node mark, the most short communication path and the relating attribute information,
Obtain the functional character of each window node;
According to the functional character of each window node, determining has each window node of correlation function;
Each window node mark index mark with correlation function is obtained into the figure layer topology file.
With reference to first aspect in third embodiment, in the 4th embodiment of first aspect, the figure layer topology file
Including display size in the display interface of layer position belonging to each window node, each window node, institute
State the index mark of arrangement and each window node of each window node in the display interface.
It is described according to the figure layer in the 5th embodiment of first aspect with reference to first aspect in the 4th embodiment
The step of topology file, generation figure layer prompt operation mark further include:
Layer position belonging to each window node is obtained from the figure layer topology file, each window node exists
The arrangement and index mark of display size, each window node in the display interface in the display interface
Know;
According to layer position belonging to each window node, each window node is superimposed upon the display interface pair
The layer position answered;
According to the display of layer position belonging to each window node, each window node in the display interface
The arrangement and index mark of size, each window node in the display interface, it is quick to generate the figure layer
Operation mark.
With reference to first aspect or any embodiment of first aspect, in first aspect sixth embodiment, the figure
The format of layout layer file is xml format.
According to second aspect, the embodiment of the present invention provides a kind of control device that interfaces windows are shown, further includes:
Module is obtained, the handle for obtaining each window node identifies and relating attribute information;
Interface searching module, for being identified, searching each window node and being used according to the handle of each window node
Most short communication path between the window node of family current operation;
Interface file layout modules, for according to the handle of each window node mark, the most short access
Figure layer topology file of each window node in display interface is arranged in diameter and the relating attribute information;
Figure layer generates mark module, for generating figure layer prompt operation mark according to the figure layer topology file;
Control module, for controlling the display interface according to the figure layer cloth according to the figure layer prompt operation mark
Office file switches over display.
According to the third aspect, the embodiment of the present invention provides a kind of storage medium, is stored thereon with computer instruction, the instruction
The controlling party that interfaces windows described in first aspect or first aspect any embodiment are shown is realized when being executed by processor
The step of method.
According to fourth aspect, the embodiment of the present invention provides a kind of electronic blackboard, including memory, processor and is stored in
On reservoir and the computer program that can run on a processor, the processor realizes first aspect or the when executing described program
The step of control method that interfaces windows described in one side any embodiment are shown.
Technical solution of the embodiment of the present invention, has the advantages that
The present invention provides a kind of control method that interfaces windows are shown, device, storage medium and electronic blackboard, wherein method
Include the following steps: the handle mark for obtaining each window node and relating attribute information;It is identified according to the handle of each window node,
Search the most short communication path between each window node and the window node of user's current operation;Text is laid out according to the figure layer of setting
Part generates figure layer prompt operation mark;According to figure layer prompt operation mark, controls display interface and carried out according to figure layer topology file
Switching display.The present invention is laid out each window node according to figure layer topology file, and combines the content of figure layer topology file
Information generates corresponding figure layer prompt operation mark and switches over control to display interface, and each window section of user's operation can be improved
The operating efficiency of point, operates back and forth in display interface without user, therefore, brings many conveniences to user.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the first pass figure for the control method that median surface of embodiment of the present invention window is shown;
Fig. 2 is the second flow chart for the control method that median surface of embodiment of the present invention window is shown;
Fig. 3 is in the embodiment of the present invention for discharging the sequential queue schematic diagram of each window node;
Fig. 4 is the third flow chart for the control method that median surface of embodiment of the present invention window is shown;
Fig. 5 is the 4th flow chart of the control method that median surface of embodiment of the present invention window is shown;
Fig. 6 is the structural block diagram for the control device that median surface of embodiment of the present invention window is shown;
Fig. 7 is the hardware structural diagram of electronic blackboard in the embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those skilled in the art are not having
Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Embodiment 1
The embodiment of the present invention provides a kind of control method that interfaces windows are shown, interfaces windows herein, which are shown, to be electricity
The interfaces windows of sub- blackboard are shown, or the interfaces windows of tablet computer or mobile terminal are shown, as shown in Figure 1, this reality
The control method that the interfaces windows in example are shown is applied to include the following steps:
Step S1: the handle mark and relating attribute information of each window node are obtained.Handle herein is identified as each window
The identity of mouthful node, i.e. ID, for identification each window node.Relating attribute information herein includes each window node
Window title information and/or context handle information and/or window size information and/or window position information and/or sub- father's window
Message breath.Such as: the window title of first window node is video player window, and the context handle of the second window node is believed
Breath is adjacent or relevant two nodal informations in WORD document window, and third window position information is it in display interface
Coordinate values, the size that the window size information of the 4th window node shows for it.Certainly, the association category in the present embodiment
Property information can also include each window node time of occurrence etc..
Step S2: it is identified according to the handle of each window node, searches the window section of each window node Yu user's current operation
Most short communication path between point.Most short communication path herein is that may search for user's current operation using the shortest time
Path.Finding out most short communication path can prevent from consuming excessive memory during search, and then search effect can be improved
Rate.
In one embodiment, above-mentioned steps S2 is during execution, as shown in Fig. 2, may particularly include following step
It is rapid:
Step S21: the sequential queue of building user's operation window node.Sequential queue herein is the sequential storage of queue
Structure, sequential queue are actually the limited sequence list of operation as sequence list, and sequential queue is deposited with a vector space
Put the element in current queue.Sequential queue in the present embodiment is used to store the window node of user's operation.As shown in figure 3,
Sequential queue is constructed for storing the window node of user's operation.
Step S22: each window node is sequentially arranged in sequential queue according to user's operation sequence.As shown in figure 3, will
Each window node is successively emitted in sequential queue to handle each window node according to user's operation sequence.
Step S23: the communication path between each window node and the window node of user's current operation is constructed.Company herein
Path is access TAB table, constructs access TAB table to each window node, access TAB table can indicate that window node A is arrived
Whether window node B can reach, and the window node that can be reached is preserved.
Step S24: the handle mark of each window node is obtained, from the window node of each window node and user's current operation
Between communication path in search most short communication path between each window node and the window node of user's current operation.In order to
Search dead time is reduced, most short communication path can be found out from the access TAB table of each window node.Such as: work as basis
When each window node of the handle identifier lookup of each window node, the access TAB table of each window node is initially set up, from access TAB
The association window node that the context of detection window node A to window node B can be connected in table, in multiple communication paths,
Find the most short communication path that the window node of user's current operation is searched using the shortest time.Such as: Tn=min { Ti+
Tij } wherein i is not equal to j, and i-th section of Ti of shortest time value, j is time value corresponding to a plurality of feasible communication path.
Above-mentioned steps S21- step S24 can go out the window that user is operating by fast search from a plurality of searching route
Node improves search efficiency, it is therefore prevented that the consumption memory in search process is conducive to the processing effect for improving each window node
Rate is conducive to user and carries out the current window node of positioning search.
Step S3: according to the handle of each window node mark, most short communication path and relating attribute information, each window is set
Figure layer topology file of the node in display interface.Figure layer topology file herein includes figure layer position belonging to each window node
It sets, arrangement and each window section of display size, each window node of each window node in display interface in display interface
The index mark of point, the format of the figure layer topology file is that XML format is saved, after generating figure layer topology file, into
Row storage so as to user can directly carry out next time using.
In one embodiment, above-mentioned steps S3 is during execution, as shown in figure 4, may particularly include following step
It is rapid:
Step S31: according to the handle of each window node mark, most short communication path and relating attribute information, each window is obtained
The functional character of mouth node.Such as: according to some relevant information for the window node of video exchange, know it with video
The function of call, file transmission.By handle mark, most short communication path and the relating attribute information of each window node, obtain
The functional character of each window node, convenient for generating figure layer topology file.
Step S32: according to the functional character of each window node, determining has each window node of correlation function.Such as: it deposits
Corresponding user's operation may be implemented with relevant functional character in tetra- window nodes of A, B, C, D, then this four windows
Mouth node is believed that with associated functional character.
Step S33: each window node mark index mark with correlation function is obtained into figure layer topology file.Such as:
For tetra- window nodes of A, B, C, D with correlation function feature, the mark that can be indexed mark simultaneously is obtained comprising each
Display size in display interface of layer position belonging to window node, each window node, each window node are in display interface
Arrangement and each window node index mark figure layer topology file.Layer position belonging to each window node among the above
It can be laid out according to layer position belonging to certain customized window node of user, each window node is aobvious in display interface
Show that size indicates size shown by some window node reality, arrangement of each window node in display interface
It is to carry out left and right split screen display available or carry out split screen display available up and down for each window node, the index of each window node is identified as to have and close
The label of the window node of the function of connection, index mark is convenient for fast search to the window node with correlation function.
Step S4: according to figure layer topology file, figure layer prompt operation mark is generated.Figure layer prompt operation in the present embodiment
Mark can be multiple, such as: for being laid out text according to the figure layer of tetra- window nodes of A, B, C, D with correlation function feature
Part produces a figure layer prompt operation mark, for the figure layer cloth according to three window nodes with correlation function E, F, G
Office file produces a figure layer prompt operation mark.Figure layer prompt operation mark user herein can be rapidly switched to target window
Mouth node uses user for electronic blackboard, even if the display size of electronic blackboard is very big, the user is in the process used
In without move back and forth position carry out windows exchange operation, as long as the user clicks the figure layer prompt operation mark and can carry out at once
Switching display, therefore, the figure layer prompt operation mark of generation brings convenience to user.Also, user is without frequent
Confirmation current window whether be object run window, window can quickly be switched over by the figure layer prompt operation mark, mentioned
The efficiency that high windows exchange is shown.
In one embodiment, above-mentioned steps S4 is during execution, as shown in figure 5, may particularly include following step
It is rapid:
Step S41: layer position belonging to each window node is obtained from figure layer topology file, each window node is being shown
The arrangement and index mark of display size, each window node in display interface in interface.Obtain figure layer topology file
In relevant information produce figure layer prompt operation mark required for user, and then be convenient for using the figure layer prompt operation mark
User operates.
Step S42: according to layer position belonging to each window node, it is corresponding that each window node is superimposed upon display interface
Layer position.Such as: there are Layer0, Layer1, Layer2, Layer3, Layer4, Layer5, Layer6, Layer7,
Layer8, Layer9, Layer10 amount to 10 figure layers, and different window nodes is superimposed upon on its corresponding layer position.
Step S43: big according to the display of layer position belonging to each window node, each window node in display interface
Arrangement and index mark of small, each window node in display interface, generate figure layer prompt operation mark.Figure layer operation
Mark is regarded as a kind of shortcut key or a kind of quick instruction.
Step S5: according to figure layer prompt operation mark, display interface is controlled according to figure layer topology file and switches over display.
Figure layer prompt operation mark is generated according to these relevant informations of each window node, user uses the figure layer prompt operation mark
It is sustainable that control is switched over until user exits the figure layer prompt operation mark to display interface.
The control method that interfaces windows in the embodiment of the present invention are shown, according to figure layer topology file to each window node into
Row layout, and combine the content information of figure layer topology file to generate corresponding figure layer prompt operation mark and display interface is cut
Control is changed, the operating efficiency of each window node of user's operation can be improved, is operated back and forth in display interface without user,
Decrease the chaotic sense of each window node overlapping of display interface simultaneously, each window node according to figure layer prompt operation mark,
Display interface progress can be controlled, and diversely switching at runtime is shown, therefore, brings many conveniences to user.
Embodiment 2
The embodiment of the present invention provides a kind of control device that interfaces windows are shown, as shown in Figure 6, further includes:
Module 61 is obtained, the handle for obtaining each window node identifies and relating attribute information.
It is current with user to search each window node for identifying according to the handle of each window node for interface searching module 62
Most short communication path between the window node of operation.
Interface file layout modules 63, for according to the handle of each window node mark, most short communication path and be associated with category
Property information, is arranged figure layer topology file of each window node in display interface.
Figure layer generates mark module 64, for generating figure layer prompt operation mark according to figure layer topology file.
Control module 65, for controlling display interface and being carried out according to figure layer topology file according to figure layer prompt operation mark
Switching display.
The control device that interfaces windows in the embodiment of the present invention are shown, relating attribute information include the window of each window node
Mouth heading message and/or context handle information and/or window size information and/or window position information and/or sub- parent window
Information.
The control device that interfaces windows in the embodiment of the present invention are shown, in Fig. 6, interface searching module 62 further include:
First building submodule 621, for constructing the sequential queue of user's operation window node;
Submodule 622 is arranged, for each window node to be sequentially arranged in sequential queue according to user's operation sequence.
Second building submodule 623, for constructing the company between each window node and the window node of user's current operation
Path.
First acquisition submodule 624, the handle for obtaining each window node identifies, current from each window node and user
It is searched in communication path between the window node of operation between each window node and the window node of user's current operation most
Short communication path.
The control device that interfaces windows in the embodiment of the present invention are shown, in Fig. 6, interface file layout modules 63 are also wrapped
It includes:
Second acquisition submodule 631, for according to the handle of each window node mark, most short communication path and relating attribute
Information obtains the functional character of each window node.
Determine submodule 632, for the functional character according to each window node, determining has each window section of correlation function
Point.
Submodule 633 is marked, obtains figure layer layout for each window node with correlation function to be marked index mark
File.
The control device that interfaces windows in the embodiment of the present invention are shown, figure layer topology file include belonging to each window node
The arrangement of display size, each window node in display interface in display interface of layer position, each window node
It is identified with the index of each window node.
The control device that interfaces windows in the embodiment of the present invention are shown, in Fig. 6, figure layer generates mark module 64 and also wraps
It includes:
Third acquisition submodule 641, for obtaining layer position belonging to each window node, each from figure layer topology file
Arrangement and index mark of display size, each window node of the window node in display interface in display interface.
It is superimposed submodule 642 and each window node is superimposed upon display for the layer position according to belonging to each window node
The corresponding layer position in interface.
Generate submodule 643, for according to layer position belonging to each window node, each window node in display interface
Arrangement in display interface of display size, each window node and index mark, generate figure layer prompt operation mark.
The control device that interfaces windows in the embodiment of the present invention are shown, the format of figure layer topology file are xml format.
The control device that interfaces windows in the embodiment of the present invention are shown, according to figure layer topology file to each window node into
Row layout, and combine the content information of figure layer topology file to generate corresponding figure layer prompt operation mark and display interface is controlled
System switching, can be improved the operating efficiency of each window node of user's operation, operates back and forth in display interface without user,
Decrease the chaotic sense of each window node overlapping of display interface simultaneously, each window node according to figure layer prompt operation mark,
Display interface progress can be controlled, and diversely switching at runtime is shown, therefore, brings many conveniences to user.
Embodiment 3
The embodiment of the present invention provides a kind of storage medium, is stored thereon with computer instruction, which is executed by processor
The step of control method that interfaces windows in Shi Shixian embodiment 1 are shown.Each window node is also stored on the storage medium
Handle mark and the most short access between relating attribute information, each window node and the window node of user's current operation
Diameter, figure layer topology file, figure layer prompt operation mark etc..Wherein, storage medium can be magnetic disk, CD, read-only memory
(Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), flash memory
(Flash Memory), hard disk (Hard Disk Drive, abbreviation: HDD) or solid state hard disk (Solid-State Drive,
SSD) etc.;The storage medium can also include the combination of the memory of mentioned kind.
It is that can lead to it will be understood by those skilled in the art that realizing all or part of the process in above-described embodiment method
Computer program is crossed to instruct relevant hardware and complete, program can be stored in a computer-readable storage medium, the journey
Sequence is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium can for magnetic disk, CD, read-only deposit
Store up memory body (ROM) or random access memory (RAM) etc..
Embodiment 4
The embodiment of the present invention provides a kind of electronic blackboard, as shown in fig. 7, comprises memory 720, processor 710 and storage
On memory 720 and the computer program that can run on the processor 710, processor 710 realize embodiment 1 when executing program
The step of control method that median surface window is shown.
Fig. 7 is a kind of hardware knot of electronic blackboard of the processing method of execution list items operation provided in an embodiment of the present invention
Structure schematic diagram, as shown in fig. 7, the electronic blackboard includes one or more processors 710 and memory 720, with one in Fig. 7
For processor 710.
The electronic blackboard for executing the processing method of list items operation can also include: input unit 730 and output device
740。
Processor 710, memory 720, input unit 730 and output device 740 can pass through bus or other modes
It connects, in Fig. 7 for being connected by bus.
Processor 710 can be central processing unit (Central Processing Unit, CPU).Processor 710 may be used also
Think other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
The combination of the chips such as discrete hardware components or above-mentioned all kinds of chips.
Obviously, the above embodiments are merely examples for clarifying the description, and does not limit the embodiments.It is right
For those of ordinary skill in the art, can also make on the basis of the above description it is other it is various forms of variation or
It changes.There is no necessity and possibility to exhaust all the enbodiments.And it is extended from this it is obvious variation or
It changes still within the protection scope of the invention.