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
CN109361948A CN201811280700.5A CN201811280700A CN109361948A CN 109361948 A CN109361948 A CN 109361948A CN 201811280700 A CN201811280700 A CN 201811280700A CN 109361948 A CN109361948 A CN 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 Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201811280700.5A priority Critical patent/CN109361948B/en
Publication of CN109361948A publication Critical patent/CN109361948A/en
Application granted granted Critical
Publication of CN109361948B publication Critical patent/CN109361948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4314Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

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 medium Matter.
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 a Global 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 broadcasting Backstage is exited to play.This application needs to cover view and the page, however Android system is not managed collectively view and page life The 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 unfavorable It 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 with The 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 solve Certainly 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 by The 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 wrap It 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 detected Diagram 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 it Afterwards, 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 detected According 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 order The 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 instruction Root;
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 includes The page/viewdata of the application service.
Preferably, described after the completion of display, the step of page/viewdata is stored to stack-manager it Afterwards, 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-manager The 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 situation The 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-manager Data.
Preferably, described that broadcast deletion is exited positioned at the corresponding page/view in the stack-manager according to the overall situation The 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 in In storage unit and the control program of methods for interface management that can run on a processor, the processor execute the intercellular canals Methods 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 executing Processor 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, and And after the completion of display, the page/viewdata is stored to stack-manager, includes being united by native system in stack-manager The 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 side Formula, the page/viewdata after display is stored in stack-manager by the present invention, by stack-manager to the page/view Life cycle be managed collectively, the display of the page/view and disappearance are uniformly controlled by stack-manager, so as to solve The problems such as page/the view in various floating windows occurred in does not exit, and then avoid the page occurred because control is unfavorable Overlap 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 below There 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 this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with The 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, complete Site preparation description, it is clear that described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its His 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 invention In explaining in relative positional relationship, the motion conditions etc. under a certain particular pose (as shown in the picture) between each component, if should When 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 as Its 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 " contain Justice 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 to Electrical connection;It can be directly connected, the connection inside two elements or two can also be can be indirectly connected through an intermediary The interaction relationship of a element, unless otherwise restricted clearly.It for the ordinary skill in the art, can basis Concrete 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 field Based on logical technical staff can be realized, it will be understood that when the combination of technical solution appearance is conflicting or cannot achieve this The 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 unified View/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 management The corresponding page/the viewdata saved is taken out in device, to show the page/view, when the page/view for needing complete deletion hiding When, then delete the page/viewdata being located in stack-manager.By customized stack-manager, view and the page The 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 reached The 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 for Not 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 individual Computer (personal computer, PC), portable computer, mobile terminal, smart television etc. have setting for processing function It 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 invention In 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 for Realize the connection communication between these components;User interface 1003 may include display (Display), input unit such as key Disk (Keyboard);Network interface 1004 optionally may include standard wireline interface and wireless interface (such as Wireless Fidelity WIreless-FIdelity, WI-FI interface);Memory 1005 can be high-speed random access memory (random access Memory, RAM), it is also possible to stable memory (non-volatile memory), such as magnetic disk storage, memory 1005 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 invention Including 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 system System, network communication module and interface management program.In Fig. 1, network communication module is mainly used for connecting server, with service Device 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 embodiment Methods 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 system The display device of system executes, and display device includes display interface and the input equipment that connect with display device, and user passes through defeated Enter 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 equipment When, processor 1001 can real-time detection to the page/view idsplay order, and for the page/view idsplay order for detecting Make 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 order The 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 1005 It is middle to obtain corresponding with idsplay order target pages/viewdata, and after being rendered to target pages/viewdata of acquisition It will be shown on display interface.For example, application program is for example clear when the page/view idsplay order displaying target is the page Domain 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 connect Message in-coming part (HTML, JS, CSS, image etc.) then carries out syntax parsing to the resource of load, establishes corresponding internal data knot Structure (such as dom tree of HTML, (object) attribute list of JS, the style rule etc. of CSS), finally constructs render tree, to each member Element 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/view Figure 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 system Face/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/view When transfer the page/viewdata.It should be noted that being stored in the page/viewdata in stack-manager at this time is after showing The 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-manager When 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 reflection Formula 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 unified Reason life cycle the page/view show after data, can also save not by native system be managed collectively life cycle page Face/view show after data.By taking Android system as an example, existing Android system can only carry out unified life cycle to the page Management generally requires to depend on the corresponding page for the management of view life cycle, and cannot independent administration view life It orders the period, secondly for floating window application, primary Android system cannot be then managed its life cycle.And the present embodiment In, the page/view being either managed collectively by native system saves still not by the page/view of native system management In 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/view Instruction obtains the page/viewdata corresponding with the page/view idsplay order, and carries out to the page/viewdata It renders and shows, also, after the completion of display, the page/viewdata is stored to stack-manager, in stack-manager It can save and the page/view data of life cycle are managed collectively by native system and life are not managed collectively by native system The page/view data in period.The page/viewdata after display is stored in stack-manager, stack management is passed through Device is managed collectively the page/view life cycle, controls the display of the page/view and disappearance, energy by stack-manager The 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 cycle Scene carries out life cycle management, and when can effectively avoid being exited by the page/view of native system management, not former The 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. 2 Embodiment, 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 as The 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/view It operational order and is back to the operational order of a certain specific webpage/view and exits global operational order.Display device inspection The operational order of a certain type is measured, then executes operation relevant to the operational order.When display device detects that return is current When the upper one layer of page/view instruction of the page/view, display device further include judge current page/view instruction whether be Top level page/view, if current page/view is top level page/view, processor, which issues, exits the application service overall situation Operational order.If current page/view is not top level page/view, is searched from stack-manager and be located at current page/view Scheme 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-manager The 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 detected The instruction of face/view obtains the upper one layer of page/viewdata from stack-manager, and by the upper one layer of page/view with The form of window window is shown.Since the upper one layer of page/viewdata is to be stored in storehouse pipe with window class data In 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 page Face/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 again When 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 stack When 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 storehouse In object always taken out at first, i.e. lifo queue.Advanced data are placed in the stack bottom (low address) of storehouse, after Into 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 first The 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 obtain The 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. 2 Embodiment, 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-manager Face/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 aobvious After 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-manager Except) 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 time Top 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 it In his embodiment, stack-manager can also save data by the way of heap, store at this time and the disengaging in stack-manager Order 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 layer When 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 to It 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. 2 Embodiment, 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 root According 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 show Corresponding root is instructed, the data of the page/view corresponding with the page/view idsplay order are obtained from root, and right The page/the viewdata render and be displayed on the display interface in the form of windows.Specifically, when detecting the page/view After the idsplay order of figure, target pages/view initial data is downloaded by network, and by target pages/view initial data solution It 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 in Json object.Locating function item resource folder of the same name simultaneously, as WholeEcologyHDRDolby represents function TAG Name, while also representing function respective file resource packet name, data and resource are loaded into the corresponding page and being formed by rendering Need the page/view to be shown.Alternatively, the data of each page/view have been saved under its root, pass through each page/view Data 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 name Need the page/view to be shown.
It is understood that when detecting the page/view idsplay order, can first search from stack management and page The corresponding page/the viewdata of face/view idsplay order, if cannot be found in stack management and the page/view idsplay order The corresponding page/viewdata, then search the root of the corresponding page/view of the page/view idsplay order, and from root The 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. 2 Embodiment, 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 take Root 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 number It 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 service Application service.When processor 1001 detects application service enabled instruction, the corresponding root of application service is searched, and from root Corresponding 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 raw At corresponding root, which saves storing directory, the machine of each resource file corresponding with application service The 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, then It 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 will The 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. 2 Embodiment, 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-manager According 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 answer With the instruction of service.When detecting global exit instruction, target application service corresponding to global exit instruction is judged, and to Window 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 back Application service out, and delete the corresponding page/view shown and the page/view for being hidden in running background Figure.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 cleaning Display object in stack-manager, effective solution are not exited by such as floating window class window of native system management life cycle never The 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. 7 Embodiment, 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-manager The 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 storehouse There is different memory sections in manager.When detecting global exit instruction, the overall situation is sent to window control module and is moved back It broadcasts out, window control module identification needs the global application service exited, and needs are then found out from stack-manager The 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 time Application service the page/viewdata set local in stack-manager in a certain memory section.Then circulation removes position In the page/viewdata of the stack top in target memory section, until the corresponding page/viewdata of the global exit instruction is complete Until 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. 8 Embodiment, 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 shown Carry 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, window When control module receives global exit instruction, display is being shown in for corresponding with the application service for exiting the overall situation is needed The page/the view at interface is deleted.When window type is view, window control module then enables windowManager Function 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 in The 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 up Display 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 storage On a memory and the control program of methods for interface management that can run on a processor, the processor execute the intercellular canals Following 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 order The 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/view Figure 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 system Face/view.
In the technical solution of the present embodiment, after detecting the page/view idsplay order, shown according to the page/view Instruction obtains the page/viewdata corresponding with the page/view idsplay order, and carries out to the page/viewdata It renders and shows, also, after the completion of display, the page/viewdata is stored to stack-manager, the page/view packet Include 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/view The life period is managed collectively, control the display of the page/view and disappearance by stack-manager, is able to solve and occurs in application The 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 cycle Period 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-manager The 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-manager Face/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 root According 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 take Root 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 number It 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-manager According 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-manager The 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 end The 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 heaps Display 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 executing It 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 program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply 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.) produces The 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 product Figure 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 instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The 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 spy Determine 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 or The 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 counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The 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 power The limitation that benefit requires.Word "comprising" does not exclude the presence of component or step not listed in the claims.Before component Word "a" or "an" does not exclude the presence of multiple such components.The present invention can be by means of including several different components It hardware and is realized by means of properly programmed computer.In the unit claims listing several devices, these are filled Several in setting, which can be, to be embodied by the same item of hardware.The use of word first, second, and third is not Indicate 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 basic Property 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 as It 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 this Under the inventive concept of invention, using equivalent structure transformation made by description of the invention and accompanying drawing content, or directly/use indirectly It is included in other related technical areas in scope of patent protection of the invention.

Claims (10)

1. a kind of methods for interface management, which is characterized in that the methods for interface management includes:
Detect the page/view idsplay order;
According to the page detected/view idsplay order, the page/view corresponding with the page/view idsplay order is obtained Data, 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 by primary The page/view of system unified management life cycle and the page/view that life cycle is not managed collectively by native system.
2. methods for interface management as described in claim 1, which is characterized in that it is described after the completion of display, by the page/view After the step of diagram data is stored to stack-manager, further includes:
Detection returns to the upper one layer of page/view instruction;
The upper one layer of page/number of views is obtained from stack-manager according to the upper one layer of page/view instruction of return detected According to, and shown according to the upper one layer of page/viewdata.
3. methods for interface management as described in claim 1, which is characterized in that it is described after the completion of display, by the page/view After the step of diagram data is stored to stack-manager, comprising:
Detection returns to the instruction of top level page/view;
Top level page/viewdata is obtained from stack-manager according to the return top level page/view instruction detected, and It is shown according to the top level page/viewdata.
4. methods for interface management as claimed any one in claims 1 to 3, which is characterized in that the page that the basis detects Face/view idsplay order, obtains corresponding with the page/view idsplay order page/viewdata, and to the page/ The step of viewdata is rendered and is 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.
5. methods for interface management as claimed in claim 4, which is characterized in that the detection page/view idsplay order step Before rapid, further includes:
Application service enabled instruction is detected, and searches the root mesh where the application service according to the application service enabled instruction Record;
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 includes described The page/viewdata of application service.
6. methods for interface management as claimed any one in claims 1 to 3, which is characterized in that it is described after the completion of display, it will After the step of page/viewdata is stored to stack-manager, further includes:
Detect global exit instruction;
The overall situation, which is sent, according to the global exit instruction detected exits broadcast;
Broadcast is exited according to the overall situation to delete positioned at the corresponding page/viewdata in the stack-manager and showing The page/view.
7. methods for interface management as claimed in claim 6, which is characterized in that described to exit broadcast deletion position according to the overall situation The corresponding page/viewdata and the step of the page/view shown in the stack-manager, comprising:
Search and delete the page/number of views corresponding with the overall situation exit instruction of the stack top positioned at the stack-manager According to.
8. methods for interface management as claimed in claim 6, which is characterized in that described to exit broadcast deletion position according to the overall situation The corresponding page/viewdata and the step of the page/view shown in the stack-manager, further includes:
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.
9. a kind of intelligent terminal, which is characterized in that including display, storage unit, processing unit and be stored in storage unit And the control program for the methods for interface management that can be run on a processor, the processor execute the control of the methods for interface management Such as methods for interface management described in any item of the claim 1 to 8 is realized when processing procedure sequence.
10. a kind of readable storage medium storing program for executing is stored thereon with control program, which is characterized in that the control program is held by processor Methods for interface management described in any item of the claim 1 to 8 is realized when row.
CN201811280700.5A 2018-10-30 2018-10-30 Interface management method, intelligent terminal and readable storage medium Active CN109361948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811280700.5A CN109361948B (en) 2018-10-30 2018-10-30 Interface management method, intelligent terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811280700.5A CN109361948B (en) 2018-10-30 2018-10-30 Interface management method, intelligent terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN109361948A true CN109361948A (en) 2019-02-19
CN109361948B CN109361948B (en) 2021-11-09

Family

ID=65347245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811280700.5A Active CN109361948B (en) 2018-10-30 2018-10-30 Interface management method, intelligent terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN109361948B (en)

Cited By (5)

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

Citations (10)

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

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1116881A (en) * 1993-07-19 1996-02-14 塔里根特公司 Objet-oriented host system
US20080034393A1 (en) * 2006-08-02 2008-02-07 Aaron Crayford Distribution of content and advertisement
CN103279349A (en) * 2013-05-31 2013-09-04 正益无线(北京)科技有限公司 Mobile phone or PDA multi-window browsing system based on moving middleware
JP2015114799A (en) * 2013-12-11 2015-06-22 キヤノン株式会社 Information processing device, control method, program, and storage medium
CN106708498A (en) * 2015-11-18 2017-05-24 中兴通讯股份有限公司 Terminal for realizing multi-mode application page, method and system
CN105573835A (en) * 2015-12-22 2016-05-11 网易(杭州)网络有限公司 Interface combined management system and method as well as terminal
CN106293584A (en) * 2016-08-05 2017-01-04 深圳市金立通信设备有限公司 A kind of double-screen display method and terminal
CN107506200A (en) * 2017-09-12 2017-12-22 深圳市金立通信设备有限公司 A kind of screen content switching method, terminal and computer-readable recording medium
CN107609199A (en) * 2017-10-24 2018-01-19 网易无尾熊(杭州)科技有限公司 A kind of method, equipment and storage medium for handling and recovering the page
CN108134812A (en) * 2017-11-10 2018-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 (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162303A (en) * 2019-04-26 2019-08-23 深圳智链物联科技有限公司 A kind of Pagination Display method, system and terminal device
CN113395365A (en) * 2020-03-12 2021-09-14 ***通信集团山东有限公司 Method and device for integrating view of micro-service system, computer equipment and storage medium
CN113395365B (en) * 2020-03-12 2022-11-15 ***通信集团山东有限公司 Method and device for integrating view of micro-service system, computer equipment and storage medium
CN111901686A (en) * 2020-08-03 2020-11-06 海信视像科技股份有限公司 Method for keeping normal display of user interface stack and display equipment
CN111901686B (en) * 2020-08-03 2022-04-08 海信视像科技股份有限公司 Method for keeping normal display of user interface stack and display equipment
CN111857938A (en) * 2020-08-05 2020-10-30 广州繁星互娱信息科技有限公司 Management method and device of popup view, terminal and storage medium
CN116048646A (en) * 2022-07-01 2023-05-02 荣耀终端有限公司 Process processing method and electronic equipment
CN116048646B (en) * 2022-07-01 2024-05-10 荣耀终端有限公司 Process processing method and electronic equipment

Also Published As

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

Similar Documents

Publication Publication Date Title
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
JP2020504865A (en) Application data processing method, apparatus, and storage medium
WO2017219833A1 (en) Method and apparatus for developing and managing application program page
CN102147744B (en) Method and system for loading program
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
US20080155414A1 (en) Display method of flash-based user interface, computer program product and system based on the same
CN114115681B (en) Page generation method and device, electronic equipment and medium
TW201826109A (en) Method and apparatus for page presentation
US9754391B2 (en) Webpage display method and apparatus
CN111737618A (en) Vector diagram display method and device for Web end and computer equipment
CN112774192A (en) Game scene jumping method and device, electronic equipment and storage medium
CN115309516A (en) Application life cycle detection method and device and computer equipment
WO2016118142A1 (en) In-line editor insertion
CN113010766B (en) Information searching method, device and storage medium
CN106383705B (en) Method and device for setting mouse display state in application thin client
CN109246468B (en) Video list switching method, device and storage medium based on education system
CN108304169B (en) Implementation method, device and equipment for HTML5 application
CN105898399A (en) Video resource loading method and device and smart television

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant