Movatterモバイル変換


[0]ホーム

URL:


CN109361948A - Methods for interface management, intelligent terminal and readable storage medium storing program for executing - Google Patents

Methods for interface management, intelligent terminal and readable storage medium storing program for executing
Download PDF

Info

Publication number
CN109361948A
CN109361948ACN201811280700.5ACN201811280700ACN109361948ACN 109361948 ACN109361948 ACN 109361948ACN 201811280700 ACN201811280700 ACN 201811280700ACN 109361948 ACN109361948 ACN 109361948A
Authority
CN
China
Prior art keywords
page
view
stack
viewdata
manager
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
Application number
CN201811280700.5A
Other languages
Chinese (zh)
Other versions
CN109361948B (en
Inventor
刘远凤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 Shenzhen TCL New Technology Co LtdfiledCriticalShenzhen TCL New Technology Co Ltd
Priority to CN201811280700.5ApriorityCriticalpatent/CN109361948B/en
Publication of CN109361948ApublicationCriticalpatent/CN109361948A/en
Application grantedgrantedCritical
Publication of CN109361948BpublicationCriticalpatent/CN109361948B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The present invention discloses a kind of methods for interface management, intelligent terminal and readable storage medium storing program for executing, which includes the detection page/view idsplay order;According to the page detected/view idsplay order, the page/viewdata corresponding with the page/view idsplay order is obtained, and the page/viewdata is rendered and shown;After the completion of display, the page/viewdata is stored to stack-manager, the page/view includes the page/view that life cycle is managed collectively by native system and the page/view that life cycle is not managed collectively by native system.The page/viewdata after display is stored in stack-manager by the present invention, the page/view life cycle is managed collectively by stack-manager, the display of the page/view and disappearance are uniformly controlled by stack-manager, so as to solve the problems such as page/view in the various floating windows occurred in applying does not exit, and then avoid the page overlap problem occurred because control is unfavorable.

Description

Methods for interface management, intelligent terminal and readable storage medium storing program for executing
Technical field
The present invention relates to electronic technology field more particularly to a kind of methods for interface management, intelligent terminal and readable storage mediumMatter.
Background technique
With the popularization of smart television, TV is higher and higher for the diversity requirements of application, as smart television manufacturer,The some built-in applications for users to use of customized development are even more important, and the feedback in generation is sold according to market, and TV needs built-in aGlobal can show the application played, i.e., suspend at the scene interface of no broadcasting and be shown in backstage and play, the scene for having broadcastingBackstage is exited to play.This application needs to cover view and the page, however Android system is not managed collectively view and page lifeThe scheme in period, and the non-unification of life cycle manages the display that will appear the page and disappears and page weight occurs because control is unfavorableIt is folded, the problem of situations such as page can not normally disappear, the various floating windows especially occurred in application can not moved back.Develop it is a set of can be withThe method of unified management view and the page becomes to be even more important.
Summary of the invention
The main object of the present invention is to provide a kind of methods for interface management, intelligent terminal and readable storage medium storing program for executing, it is intended to solveCertainly the life cycle of view and the page cannot unify the problem of page caused by simultaneously separate management can not normally disappear.
To achieve the above object, methods for interface management proposed by the present invention includes:
Detect the page/view idsplay order;
According to the page detected/view idsplay order, obtain the page corresponding with the page/view idsplay order/Viewdata, and the page/viewdata is rendered and shown;
After the completion of display, the page/viewdata is stored to stack-manager, the page/view include byThe page/view of native system unified management life cycle and the page/view that life cycle is not managed collectively by native system.
Preferably,
It is described after the completion of display, after the step of page/viewdata is stored to stack-manager, also wrapIt includes:
Detection returns to the upper one layer of page/view instruction;
The upper one layer of page/view is obtained from stack-manager according to the upper one layer of page/view instruction of return detectedDiagram data, and shown according to the upper one layer of page/viewdata.
Preferably, described after the completion of display, the step of page/viewdata is stored to stack-manager itAfterwards, comprising:
Detection returns to the instruction of top level page/view;
Top level page/number of views is obtained from stack-manager according to the return top level page/view instruction detectedAccording to, and shown according to the top level page/viewdata.
Preferably, the page/view idsplay order that the basis detects obtains and the page/view idsplay orderThe corresponding page/viewdata, and the step of page/viewdata is rendered and shown, comprising:
According to the page/view idsplay order, the page/corresponding root of view idsplay order is searched;
The data of the page/view corresponding with the page/view idsplay order are obtained from the root;
The data of the page/view are rendered and shown.
Preferably, before the step of detection page/view idsplay order, further includes:
Application service enabled instruction is detected, and where searching the application service according to the application service enabled instructionRoot;
The corresponding configuration file of the application service is searched in the root;
The configuration file is parsed, the corresponding data set of the application service enabled instruction is obtained, the data set includesThe page/viewdata of the application service.
Preferably, described after the completion of display, the step of page/viewdata is stored to stack-manager itAfterwards, further includes:
Detect global exit instruction;
The overall situation, which is sent, according to the global exit instruction detected exits broadcast;
It exits broadcast according to the overall situation and deletes and be located at the corresponding page/viewdata and in the stack-managerThe page/view of display.
Preferably, described that broadcast deletion is exited positioned at the corresponding page/view in the stack-manager according to the overall situationThe step of diagram data and the page/view shown, comprising:
Search and delete the page/view corresponding with the overall situation exit instruction of the stack top positioned at the stack-managerData.
Preferably, described that broadcast deletion is exited positioned at the corresponding page/view in the stack-manager according to the overall situationThe step of diagram data and the page/view shown, comprising:
The window shown is detected, and judges the type of window;
If window is view, enables system process window management tool and delete view;
If window is the page, life cycle management method is called to delete the page.
In addition, the present invention also provides a kind of intelligent terminal, including display, storage unit, processing unit and it is stored inIn storage unit and the control program of methods for interface management that can run on a processor, the processor execute the intercellular canalsMethods for interface management described above is realized when the control program of reason method.
In addition, being stored thereon with control program, the control program quilt the present invention also provides a kind of readable storage medium storing program for executingProcessor realizes methods for interface management described above when executing.
In technical solution of the present invention, after detecting the page/view idsplay order, according to the page/view idsplay order,The page/viewdata corresponding with the page/view idsplay order is obtained, and the page/viewdata is rendered and shown, andAnd after the completion of display, the page/viewdata is stored to stack-manager, includes being united by native system in stack-managerThe page/view of one management life cycle and the page/view that life cycle is not managed collectively by native system.Pass through above-mentioned sideFormula, the page/viewdata after display is stored in stack-manager by the present invention, by stack-manager to the page/viewLife cycle be managed collectively, the display of the page/view and disappearance are uniformly controlled by stack-manager, so as to solveThe problems such as page/the view in various floating windows occurred in does not exit, and then avoid the page occurred because control is unfavorableOverlap problem.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show belowThere is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only thisSome embodiments of invention for those of ordinary skill in the art without creative efforts, can be withThe structure shown according to these attached drawings obtains other attached drawings.
Fig. 1 is the hardware module structural schematic diagram of intelligent terminal involved in the embodiment of the present invention;
Fig. 2 is the flow diagram of the first embodiment of methods for interface management of the present invention;
Fig. 3 is the flow diagram of the second embodiment of methods for interface management of the present invention;
Fig. 4 is the flow diagram of the 3rd embodiment of methods for interface management of the present invention;
Fig. 5 is the flow diagram of the fourth embodiment of methods for interface management of the present invention;
Fig. 6 is the flow diagram of the 5th embodiment of methods for interface management of the present invention;
Fig. 7 is the flow diagram of the sixth embodiment of methods for interface management of the present invention;
Fig. 8 is the flow diagram of the 7th embodiment of methods for interface management of the present invention;
Fig. 9 is the flow diagram of the 8th embodiment of methods for interface management of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, completeSite preparation description, it is clear that described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.BaseEmbodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all itsHis embodiment, shall fall within the protection scope of the present invention.
It is to be appreciated that the directional instruction (such as up, down, left, right, before and after ...) of institute is only used in the embodiment of the present inventionIn explaining in relative positional relationship, the motion conditions etc. under a certain particular pose (as shown in the picture) between each component, if shouldWhen particular pose changes, then directionality instruction also correspondingly changes correspondingly.
In addition, the description for being such as related to " first ", " second " in the present invention is used for description purposes only, and should not be understood asIts relative importance of indication or suggestion or the quantity for implicitly indicating indicated technical characteristic.Define as a result, " first ",The feature of " second " can explicitly or implicitly include at least one of the features.In the description of the present invention, " multiple " containJustice is at least two, such as two, three etc., unless otherwise specifically defined.
In the present invention unless specifically defined or limited otherwise, term " connection ", " fixation " etc. shall be understood in a broad sense,For example, " fixation " may be a fixed connection, it may be a detachable connection, or integral;It can be mechanical connection, be also possible toElectrical connection;It can be directly connected, the connection inside two elements or two can also be can be indirectly connected through an intermediaryThe interaction relationship of a element, unless otherwise restricted clearly.It for the ordinary skill in the art, can basisConcrete condition understands the concrete meaning of above-mentioned term in the present invention.
It in addition, the technical solution between each embodiment of the present invention can be combined with each other, but must be general with this fieldBased on logical technical staff can be realized, it will be understood that when the combination of technical solution appearance is conflicting or cannot achieve thisThe combination of technical solution is not present, also not the present invention claims protection scope within.
The main thought of the embodiment of the present invention is: by customized stack-manager, will be managed by native system is unifiedView/page of reason life cycle show after the completion of data and not by native system be managed collectively the view of life cycle/Data after the completion of the page is shown are maintained in stack-manager, when needing to show the page/view again, from stack managementThe corresponding page/the viewdata saved is taken out in device, to show the page/view, when the page/view for needing complete deletion hidingWhen, then delete the page/viewdata being located in stack-manager.By customized stack-manager, view and the pageThe display of two types control is realized with hiding unification by stack-manager, and the life of view and the page in unified management application is reachedThe period is ordered, solving the view occurred because managing disunity or the page can not disappear and the problems such as can not showing, especially forNot by the page/view of the floating window application display of native system management life cycle, there is good management effect.
The present embodiments relate to methods for interface management be mainly used in display device, which can be individualComputer (personal computer, PC), portable computer, mobile terminal, smart television etc. have setting for processing functionIt is standby.
Referring to Fig.1, Fig. 1 is the hardware structural diagram of display device involved in the embodiment of the present invention.The present inventionIn embodiment, display device may include processor 1001 (such as central processing unit Central Processing Unit,CPU), communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is used forRealize the connection communication between these components;User interface 1003 may include display (Display), input unit such as keyDisk (Keyboard);Network interface 1004 optionally may include standard wireline interface and wireless interface (such as Wireless FidelityWIreless-FIdelity, WI-FI interface);Memory 1005 can be high-speed random access memory (random accessMemory, RAM), it is also possible to stable memory (non-volatile memory), such as magnetic disk storage, memory1005 optionally can also be the storage device independently of aforementioned processor 1001.
It, can be with it will be understood by those skilled in the art that hardware configuration shown in Fig. 1 and do not constitute a limitation of the inventionIncluding perhaps combining certain components or different component layouts than illustrating more or fewer components.
With continued reference to Fig. 1, the memory 1005 in Fig. 1 as a kind of computer readable storage medium may include operation systemSystem, network communication module and interface management program.In Fig. 1, network communication module is mainly used for connecting server, with serviceDevice carries out data communication;And processor 1001 can call the interface management program stored in memory 1005.
Based on the hardware configuration of above-mentioned display device, each embodiment of methods for interface management of the present invention is proposed.
The present invention provides a kind of methods for interface management.
It is the flow diagram of methods for interface management first embodiment of the present invention referring to Fig. 2, Fig. 2.It is described in the present embodimentMethods for interface management the following steps are included:
Step S10 detects the page/view idsplay order;
Methods for interface management in the embodiment of the present invention can by smart television etc. with Android system for primary systemThe display device of system executes, and display device includes display interface and the input equipment that connect with display device, and user passes through defeatedEnter equipment and send to display device operational order and operating result to be shown by display interface, input equipment can be keyboard,Mouse, touch screen or remote controler etc..When user issues the page/view idsplay order to display device by input equipmentWhen, processor 1001 can real-time detection to the page/view idsplay order, and for the page/view idsplay order for detectingMake corresponding response.In addition, the page/view idsplay order can also be the idsplay order automatically initiated by relative program,For example, the display of the floating windows such as advertisement jumped out automatically.
Step S20 is obtained corresponding with the page/view idsplay order according to the page detected/view idsplay orderThe page/viewdata, and the page/viewdata is rendered and is shown;
After processor 1001 detects the page/view idsplay order, according to the page/view detected from memory 1005It is middle to obtain corresponding with idsplay order target pages/viewdata, and after being rendered to target pages/viewdata of acquisitionIt will be shown on display interface.For example, application program is for example clear when the page/view idsplay order displaying target is the pageDomain name mapping is carried out according to the URL of request first when device of looking at receives the idsplay order of the page, and initiates to request to server, is connectMessage in-coming part (HTML, JS, CSS, image etc.) then carries out syntax parsing to the resource of load, establishes corresponding internal data knotStructure (such as dom tree of HTML, (object) attribute list of JS, the style rule etc. of CSS), finally constructs render tree, to each memberElement carries out position calculating, pattern calculates etc., is then rendered according to render tree to the page.
Step S30 stores the page/viewdata to stack-manager after the completion of display, the page/viewFigure includes the page/view that life cycle is managed collectively by native system and the page that life cycle is not managed collectively by native systemFace/view.
By the corresponding page/viewdata of rendering idsplay order, the page/view is shown in display interface.When the page/After view is shown in display interface, the page/viewdata is stored in stack-manager, to remain the display next time page/viewWhen transfer the page/viewdata.It should be noted that being stored in the page/viewdata in stack-manager at this time is after showingThe page/view interface window data type generated, by call window data type can fast implement the page/The display of view does not need to carry out to processes such as the parsing of the page/view initial data or renderings.Using stack-managerWhen the page of middle preservation/view window class data, can replace principle direct instanceization according to Li Shi needs object to be shown.The integrated floating window window of all page/view objects being managed being stored in stack-manager, using the side of reflectionFormula unified implementation example managed object.Different types of subobject, which shows and hides, executes different operations, and one page of every display/View just drops object and is added in stack-manager.Meanwhile it can not only save in stack-manager and be managed by native system is unifiedReason life cycle the page/view show after data, can also save not by native system be managed collectively life cycle pageFace/view show after data.By taking Android system as an example, existing Android system can only carry out unified life cycle to the pageManagement generally requires to depend on the corresponding page for the management of view life cycle, and cannot independent administration view lifeIt orders the period, secondly for floating window application, primary Android system cannot be then managed its life cycle.And the present embodimentIn, the page/view being either managed collectively by native system saves still not by the page/view of native system managementIn stack-manager, both it had been able to achieve by stack-manager and the page/view of all displays had been managed collectively.
In the technical solution of the present embodiment, after detecting the page/view idsplay order, shown according to the page/viewInstruction obtains the page/viewdata corresponding with the page/view idsplay order, and carries out to the page/viewdataIt renders and shows, also, after the completion of display, the page/viewdata is stored to stack-manager, in stack-managerIt can save and the page/view data of life cycle are managed collectively by native system and life are not managed collectively by native systemThe page/view data in period.The page/viewdata after display is stored in stack-manager, stack management is passed throughDevice is managed collectively the page/view life cycle, controls the display of the page/view and disappearance, energy by stack-managerThe problems such as enough various floating windows for solving to occur in application do not exit, can be to not answered by the floating window of native system management life cycleScene carries out life cycle management, and when can effectively avoid being exited by the page/view of native system management, not formerThe caused page occurred because control is unfavorable of the case where page/view of raw system administration is still shown/view overlapping etc.Problem.
It is the flow diagram of methods for interface management second embodiment of the present invention referring to Fig. 3, Fig. 3.Based on shown in above-mentioned Fig. 2Embodiment, in the present embodiment, after step S30 further include:
Step S40, detection return to the upper one layer of page/view instruction;
After display device shows the current page/view, real-time detection is to current page/view operational order.To working asThe operational order of the preceding page/view includes returning to the upper one layer of page/view operational order, opening the next layer of page/viewIt operational order and is back to the operational order of a certain specific webpage/view and exits global operational order.Display device inspectionThe operational order of a certain type is measured, then executes operation relevant to the operational order.When display device detects that return is currentWhen the upper one layer of page/view instruction of the page/view, display device further include judge current page/view instruction whether beTop level page/view, if current page/view is top level page/view, processor, which issues, exits the application service overall situationOperational order.If current page/view is not top level page/view, is searched from stack-manager and be located at current page/viewScheme upper one layer of the page/viewdata.
Step S50 obtains upper one layer according to the upper one layer of page/view instruction of return detected from stack-managerThe page/viewdata, and shown according to the upper one layer of page/viewdata.
After processor 1001 detects the upper one layer of page/view instruction of return, according to the upper one layer of page of the return detectedThe instruction of face/view obtains the upper one layer of page/viewdata from stack-manager, and by the upper one layer of page/view withThe form of window window is shown.Since the upper one layer of page/viewdata is to be stored in storehouse pipe with window class dataIn reason, therefore the upper one layer of page/view directly can be shown according to the upper one layer of page/view data, and no longer need to parse,The process of rendering.It should be noted that when entering the next layer of page/view by the upper one layer of page/view, upper one layer of pageFace/viewdata saves in stack-manager again, and the upper one layer of page/view is in the state for being hidden in running background, when againWhen the upper one layer of page/view of secondary opening, the upper one layer of page/view is placed in front end and shows, running background is then closed.
In computer field, storehouse is a kind of data structure of data item arranged in sequence, when stack-manager is with the side of stackWhen formula saves data, (stack top) data item can be inserted into or be deleted at one end, characteristic is: the last one is put into storehouseIn object always taken out at first, i.e. lifo queue.Advanced data are placed in the stack bottom (low address) of storehouse, afterInto data be placed in the stack top (high address) of storehouse, the data first gone out are the stack tops (high address) positioned at storehouse.It is beaten at firstThe page/the viewdata opened is placed in the stack bottom of storehouse, and the page/viewdata being finally opened is placed in the stack top of storehouse,When needing to open the upper one layer of page/view, by the current layer page/view data from then from the stack top of storehouse removal after and obtainThe one layer of page/view data are taken, and show the one layer of page/view.
It is the flow diagram of methods for interface management 3rd embodiment of the present invention referring to Fig. 4, Fig. 4.Based on shown in above-mentioned Fig. 2Embodiment, in the present embodiment, after step S30 further include:
Step S41, detection return to the instruction of top level page/view;
Step S51 obtains top layer page according to the return top level page/view instruction detected from stack-managerFace/viewdata, and shown according to the top level page/viewdata.
After display device shows the current page/view, real-time detection is to current page/view operational order.When aobviousAfter showing device detects the instruction of return top level page/view, it is preferable that processor 1001 (is moved from the layer-by-layer pop of stack-managerExcept) it is located at the data of stack top until the second layer page/view data are removed from stack-manager, acquisition is located at heap at this timeTop level page/the viewdata at the stack bottom (stack top) of stack manager, and it is displayed on the display interface with window form.At itIn his embodiment, stack-manager can also save data by the way of heap, store at this time and the disengaging in stack-managerOrder is random, i.e., there is no first-in last-out or the rule of first in first out for heap.At this point, when processor 1001 detects return top layerWhen the instruction of top level page/view, is instructed according to top level page/view and obtain top level page/view data address, and led toIt crosses and searches address acquisition top level page/view data, to show top level page/view.
It is the flow diagram of methods for interface management fourth embodiment of the present invention referring to Fig. 5, Fig. 5.Based on shown in above-mentioned Fig. 2Embodiment, in the present embodiment, step S20 includes:
Step S21 searches the page/corresponding root of view idsplay order according to the page/view idsplay order;
Step S22 obtains the number of the page/view corresponding with the page/view idsplay order from the rootAccording to;
Step S23 is rendered and is shown to the data of the page/view.
After detecting the page/view idsplay order, according to the page/view idsplay order, searches the page/view and showCorresponding root is instructed, the data of the page/view corresponding with the page/view idsplay order are obtained from root, and rightThe page/the viewdata render and be displayed on the display interface in the form of windows.Specifically, when detecting the page/viewAfter the idsplay order of figure, target pages/view initial data is downloaded by network, and by target pages/view initial data solutionIt is pressed under the root of current application, and finds the json file for showing layout in decompression catalogue, the data of parsing are stored inJson object.Locating function item resource folder of the same name simultaneously, as WholeEcologyHDRDolby represents function TAGName, while also representing function respective file resource packet name, data and resource are loaded into the corresponding page and being formed by renderingNeed the page/view to be shown.Alternatively, the data of each page/view have been saved under its root, pass through each page/viewData and resource are loaded into the corresponding page and are formed by rendering by the data and function items of figure resource folder of the same nameNeed the page/view to be shown.
It is understood that when detecting the page/view idsplay order, can first search from stack management and pageThe corresponding page/the viewdata of face/view idsplay order, if cannot be found in stack management and the page/view idsplay orderThe corresponding page/viewdata, then search the root of the corresponding page/view of the page/view idsplay order, and from rootThe middle acquisition page/view data.
It is the flow diagram of the 5th embodiment of methods for interface management of the present invention referring to Fig. 6, Fig. 6.Based on shown in above-mentioned Fig. 2Embodiment, in the present embodiment, before step S10 further include:
Step S01 detects application service enabled instruction, and searches the application according to the application service enabled instruction and takeRoot where being engaged in;
Step S02 searches the corresponding configuration file of the application service in the root;
Step S03 parses the configuration file, obtains the corresponding data set of the application service enabled instruction, the numberIt include the page/viewdata of the application service according to collection.
The page/view is before showing the page/view, to need to start corresponding based on existing for application serviceApplication service.When processor 1001 detects application service enabled instruction, the corresponding root of application service is searched, and from rootCorresponding page configuration file is searched in catalogue.Page configuration file is parsed, the corresponding data set of the application service can be obtained,The data set includes each page/viewdata of application service.Application service is installed in system by network in advance, and rawAt corresponding root, which saves storing directory, the machine of each resource file corresponding with application serviceThe storing directory of the configuration file of information and the root of configuration describe the information such as file.When needing to carry out the page/view display, thenIt is obtained from application service and corresponds to the page/view data, and rendering is carried out to the page/viewdata and is shown, it willThe page/view is shown in the form of windows in the display interface.
It is the flow diagram of methods for interface management sixth embodiment of the present invention referring to Fig. 7, Fig. 7.Based on shown in above-mentioned Fig. 2Embodiment, in the present embodiment, after step S30 further include:
Step S60 detects global exit instruction;
Step S70 sends the overall situation according to the global exit instruction detected and exits broadcast;
Step S80 exits broadcast according to the overall situation and deletes positioned at the corresponding page/number of views in the stack-managerAccording to the page/view for showing.
Global exit instruction can be the instruction for exiting a certain application service, be also possible to exit it is all be currently running answerWith the instruction of service.When detecting global exit instruction, target application service corresponding to global exit instruction is judged, and toWindow control module sends the overall situation and exits broadcast, and window control module, which according to the overall situation exits broadcast and recognizes the need for the overall situation, moves backApplication service out, and delete the corresponding page/view shown and the page/view for being hidden in running backgroundFigure.The present embodiment, can not only be by stack-manager come the display of administration page/view and disappearance, additionally it is possible to unified cleaningDisplay object in stack-manager, effective solution are not exited by such as floating window class window of native system management life cycle neverThe problem of.It can also be simplified by setting shortcut key and quickly exit floating window application.
It is the flow diagram of the 7th embodiment of methods for interface management of the present invention referring to Fig. 8, Fig. 8.Based on shown in above-mentioned Fig. 7Embodiment, in the present embodiment, step S80 step includes:
Step S81 is searched and is deleted the corresponding with the global exit instruction of the stack top positioned at the stack-managerThe page/viewdata;
Step S82 deletes the page/view shown corresponding with the overall situation exit instruction.
Certain memory can be distributed to stack-manager application in application program operation, different application programs is in storehouseThere is different memory sections in manager.When detecting global exit instruction, the overall situation is sent to window control module and is moved backIt broadcasts out, window control module identification needs the global application service exited, and needs are then found out from stack-managerThe page for the application service that the overall situation exits/viewdata set.
When finding out the page/viewdata set for needing the global application service exited, the overall situation is needed to exit at this timeApplication service the page/viewdata set local in stack-manager in a certain memory section.Then circulation removes positionIn the page/viewdata of the stack top in target memory section, until the corresponding page/viewdata of the global exit instruction is completeUntil portion removes.
It is the flow diagram of the 8th embodiment of methods for interface management of the present invention referring to Fig. 9, Fig. 9.Based on shown in above-mentioned Fig. 8Embodiment, in the present embodiment, wherein the step of step S82, comprising:
Step S821 detects the window shown, and judges the type of window;
Step S822 enables system process window management tool and deletes view if window is view;
Step S823 calls life cycle management method to delete the page if window is the page.
For the page/view shown, then can be realized with calling system function to the page/view shownCarry out delete, for view window, enable system process window management tool (such as windowManager) and delete view,For page window, then life cycle management method (such as finish () method) is called to delete the page.Specifically, windowWhen control module receives global exit instruction, display is being shown in for corresponding with the application service for exiting the overall situation is neededThe page/the view at interface is deleted.When window type is view, window control module then enables windowManagerFunction deletes view from display interface, and when window type is the page, window control module then calls the side finish ()Method deletes the page from display interface.So far, it realizes the page/view for being hidden in running background and is being shown inThe page/view deletion of front end has achieved the purpose that the display of the unified management page/view and has disappeared, and can also unify to clear upDisplay object in all stack-managers solves the problems such as various floating windows occurred in application can not moved back.
In addition, the present invention also provides a kind of intelligent terminal, including display, memory 1005, processor 1001 and storageOn a memory and the control program of methods for interface management that can run on a processor, the processor execute the intercellular canalsFollowing steps are realized when the control program of reason method:
Step S10 detects the page/view idsplay order;
Step S20 is obtained corresponding with the page/view idsplay order according to the page detected/view idsplay orderThe page/viewdata, and the page/viewdata is rendered and is shown;
Step S30 stores the page/viewdata to stack-manager after the completion of display, the page/viewFigure includes the page/view that life cycle is managed collectively by native system and the page that life cycle is not managed collectively by native systemFace/view.
In the technical solution of the present embodiment, after detecting the page/view idsplay order, shown according to the page/viewInstruction obtains the page/viewdata corresponding with the page/view idsplay order, and carries out to the page/viewdataIt renders and shows, also, after the completion of display, the page/viewdata is stored to stack-manager, the page/view packetInclude by native system be managed collectively life cycle the page/view and not by native system be managed collectively the page of life cycle/View.The page/viewdata after display is stored in stack-manager, by stack-manager to the life of the page/viewThe life period is managed collectively, control the display of the page/view and disappearance by stack-manager, is able to solve and occurs in applicationThe problems such as various floating windows do not exit, can be to the scene progress Life Cycle that do not applied by the floating window of native system management life cyclePeriod management, and when can effectively avoid being exited by the page/view of native system management, not by the page of native system management/The problems such as caused page occurred because control is unfavorable of the case where view is still shown/view overlapping.
Further, after step S30 further include:
Step S40, detection return to the upper one layer of page/view instruction;
Step S50 obtains upper one layer according to the upper one layer of page/view instruction of return detected from stack-managerThe page/viewdata, and shown according to the upper one layer of page/viewdata.
Further, can also include: after step S30
Step S41, detection return to the instruction of top level page/view;
Step S51 obtains top layer page according to the return top level page/view instruction detected from stack-managerFace/viewdata, and shown according to the top level page/viewdata.
Further, step S20 includes:
Step S21 searches the page/corresponding root of view idsplay order according to the page/view idsplay order;
Step S22 obtains the number of the page/view corresponding with the page/view idsplay order from the rootAccording to;
Step S23 is rendered and is shown to the data of the page/view.
Further, before step S10 further include:
Step S01 detects application service enabled instruction, and searches the application according to the application service enabled instruction and takeRoot where being engaged in;
Step S02 searches the corresponding configuration file of the application service in the root;
Step S03 parses the configuration file, obtains the corresponding data set of the application service enabled instruction, the numberIt include the page/viewdata of the application service according to collection.
Further, after step S30 further include:
Step S60 detects global exit instruction;
Step S70 sends the overall situation according to the global exit instruction detected and exits broadcast;
Step S80 exits broadcast according to the overall situation and deletes positioned at the corresponding page/number of views in the stack-managerAccording to the page/view for showing.
Further, step S80 includes:
Step S81 is searched and is deleted the corresponding with the global exit instruction of the stack top positioned at the stack-managerThe page/viewdata;
Step S82 deletes the page/view shown corresponding with the overall situation exit instruction.
Further, wherein step S82 further include:
Step S821 detects the window shown, and judges the type of window;
Step S822 enables system process window management tool and deletes view if window is view;
Step S823 calls life cycle management method to delete the page if window is the page.
Through the above technical solutions, realizing the page/view for being hidden in running background and being shown in front endThe deletion of the page/view has achieved the purpose that the display of the unified management page/view and has disappeared, can also uniformly clear up all heapsDisplay object in stack manager solves the problems such as various floating windows occurred in application can not moved back.
The present invention also provides a kind of readable storage medium storing program for executing, computer program, institute are stored on the readable storage medium storing program for executingIt states when computer program unit processed executes and realizes methods for interface management as the aforementioned.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer programProduct.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present inventionApply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) producesThe form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program productFigure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructionsThe combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programsInstruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produceA raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for realThe device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spyDetermine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram orThe function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that countingSeries of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer orThe instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram oneThe step of function of being specified in a box or multiple boxes.
It should be noted that in the claims, any reference symbol between parentheses should not be configured to powerThe limitation that benefit requires.Word "comprising" does not exclude the presence of component or step not listed in the claims.Before componentWord "a" or "an" does not exclude the presence of multiple such components.The present invention can be by means of including several different componentsIt hardware and is realized by means of properly programmed computer.In the unit claims listing several devices, these are filledSeveral in setting, which can be, to be embodied by the same item of hardware.The use of word first, second, and third is notIndicate any sequence.These words can be construed to title.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basicProperty concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted asIt selects embodiment and falls into all change and modification of the scope of the invention.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all at thisUnder the inventive concept of invention, using equivalent structure transformation made by description of the invention and accompanying drawing content, or directly/use indirectlyIt is included in other related technical areas in scope of patent protection of the invention.

Claims (10)

CN201811280700.5A2018-10-302018-10-30Interface management method, intelligent terminal and readable storage mediumActiveCN109361948B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811280700.5ACN109361948B (en)2018-10-302018-10-30Interface management method, intelligent terminal and readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811280700.5ACN109361948B (en)2018-10-302018-10-30Interface management method, intelligent terminal and readable storage medium

Publications (2)

Publication NumberPublication Date
CN109361948Atrue CN109361948A (en)2019-02-19
CN109361948B CN109361948B (en)2021-11-09

Family

ID=65347245

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811280700.5AActiveCN109361948B (en)2018-10-302018-10-30Interface management method, intelligent terminal and readable storage medium

Country Status (1)

CountryLink
CN (1)CN109361948B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110162303A (en)*2019-04-262019-08-23深圳智链物联科技有限公司A kind of Pagination Display method, system and terminal device
CN111857938A (en)*2020-08-052020-10-30广州繁星互娱信息科技有限公司Management method and device of popup view, terminal and storage medium
CN111901686A (en)*2020-08-032020-11-06海信视像科技股份有限公司Method for keeping normal display of user interface stack and display equipment
CN113395365A (en)*2020-03-122021-09-14中国移动通信集团山东有限公司Method and device for integrating view of micro-service system, computer equipment and storage medium
CN116048646A (en)*2022-07-012023-05-02荣耀终端有限公司Process processing method and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1116881A (en)*1993-07-191996-02-14塔里根特公司Objet-oriented host system
US20080034393A1 (en)*2006-08-022008-02-07Aaron CrayfordDistribution of content and advertisement
CN103279349A (en)*2013-05-312013-09-04正益无线(北京)科技有限公司Mobile phone or PDA multi-window browsing system based on moving middleware
JP2015114799A (en)*2013-12-112015-06-22キヤノン株式会社Information processing device, control method, program, and storage medium
CN105573835A (en)*2015-12-222016-05-11网易(杭州)网络有限公司Interface combined management system and method as well as terminal
CN106293584A (en)*2016-08-052017-01-04深圳市金立通信设备有限公司A kind of double-screen display method and terminal
CN106708498A (en)*2015-11-182017-05-24中兴通讯股份有限公司Terminal for realizing multi-mode application page, method and system
CN107506200A (en)*2017-09-122017-12-22深圳市金立通信设备有限公司A kind of screen content switching method, terminal and computer-readable recording medium
CN107609199A (en)*2017-10-242018-01-19网易无尾熊(杭州)科技有限公司A kind of method, equipment and storage medium for handling and recovering the page
CN108134812A (en)*2017-11-102018-06-08人人行科技股份有限公司Data processing method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1116881A (en)*1993-07-191996-02-14塔里根特公司Objet-oriented host system
US20080034393A1 (en)*2006-08-022008-02-07Aaron CrayfordDistribution of content and advertisement
CN103279349A (en)*2013-05-312013-09-04正益无线(北京)科技有限公司Mobile phone or PDA multi-window browsing system based on moving middleware
JP2015114799A (en)*2013-12-112015-06-22キヤノン株式会社Information processing device, control method, program, and storage medium
CN106708498A (en)*2015-11-182017-05-24中兴通讯股份有限公司Terminal for realizing multi-mode application page, method and system
CN105573835A (en)*2015-12-222016-05-11网易(杭州)网络有限公司Interface combined management system and method as well as terminal
CN106293584A (en)*2016-08-052017-01-04深圳市金立通信设备有限公司A kind of double-screen display method and terminal
CN107506200A (en)*2017-09-122017-12-22深圳市金立通信设备有限公司A kind of screen content switching method, terminal and computer-readable recording medium
CN107609199A (en)*2017-10-242018-01-19网易无尾熊(杭州)科技有限公司A kind of method, equipment and storage medium for handling and recovering the page
CN108134812A (en)*2017-11-102018-06-08人人行科技股份有限公司Data processing method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CRAIG A.LEE: "《A Design Space for Dynamic Service Level Agreements in OpenStack》", 《2013 IEEE/ACM 6TH INTERNATIONAL CONFERENCE ON UTILITY AND CLOUD COMPUTING》*
杨新庆: "《基于Android平台的无线旅游导航系统的设计与实现》", 《中国优秀硕士学位论文全文数据库》*
郑春益: "《大规模出租车OD数据可视分析系统》", 《中国优秀硕士学位论文全文数据库》*

Cited By (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110162303A (en)*2019-04-262019-08-23深圳智链物联科技有限公司A kind of Pagination Display method, system and terminal device
CN113395365A (en)*2020-03-122021-09-14中国移动通信集团山东有限公司Method and device for integrating view of micro-service system, computer equipment and storage medium
CN113395365B (en)*2020-03-122022-11-15中国移动通信集团山东有限公司 Microservice system view integration method, device, computer equipment and storage medium
CN111901686A (en)*2020-08-032020-11-06海信视像科技股份有限公司Method for keeping normal display of user interface stack and display equipment
CN111901686B (en)*2020-08-032022-04-08海信视像科技股份有限公司Method for keeping normal display of user interface stack and display equipment
CN111857938A (en)*2020-08-052020-10-30广州繁星互娱信息科技有限公司Management method and device of popup view, terminal and storage medium
CN111857938B (en)*2020-08-052024-09-03广州繁星互娱信息科技有限公司Method, device, terminal and storage medium for managing popup view
CN116048646A (en)*2022-07-012023-05-02荣耀终端有限公司Process processing method and electronic equipment
CN116048646B (en)*2022-07-012024-05-10荣耀终端有限公司 Process processing method and electronic equipment

Also Published As

Publication numberPublication date
CN109361948B (en)2021-11-09

Similar Documents

PublicationPublication DateTitle
CN109361948A (en)Methods for interface management, intelligent terminal and readable storage medium storing program for executing
KR102436987B1 (en) Method and terminal device for extracting web page content
CN111552473B (en)Application processing method, device and equipment
TWI776066B (en)Picture generating method, device, terminal, server and storage medium
KR101740495B1 (en)Method for displaying an icon, device, program and recording medium therof
CN107315580B (en)User interface component processing method, device and equipment and readable medium
CN105094557B (en)A kind of display control method and device, electronic equipment
US20150278164A1 (en)Method and apparatus for constructing documents
CN110007829B (en)Content display method, device, terminal and storage medium
JP2012043140A (en)Web page browsing system and relay server
CN113282268B (en)Sound effect configuration method and device, storage medium and electronic equipment
TW201826109A (en)Method and apparatus for page presentation
CN108256062A (en)Web animation implementation method, device, electronic equipment, storage medium
CN112774192A (en)Game scene jumping method and device, electronic equipment and storage medium
CN110020300B (en) A browser page synthesis method and terminal
US9754391B2 (en)Webpage display method and apparatus
CN107864384A (en)Redirect the method and device that internet video plays on cloud desktop
WO2016118142A1 (en)In-line editor insertion
CN115309516A (en)Application life cycle detection method and device and computer equipment
US20250078147A1 (en)Data interaction method and apparatus, and electronic device and storage medium
CN114845171B (en) Video editing method, device and electronic equipment
CN109246468B (en)Video list switching method, device and storage medium based on education system
CN113010766B (en)Information searching method, device and storage medium
CN110287397B (en)Content searching method and device based on screen saver and electronic equipment
CN108304169B (en)Implementation method, device and equipment for HTML5 application

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp