CN103116503B - The implementation method of a kind of multiwindow and device - Google Patents
The implementation method of a kind of multiwindow and device Download PDFInfo
- Publication number
- CN103116503B CN103116503B CN201110365851.2A CN201110365851A CN103116503B CN 103116503 B CN103116503 B CN 103116503B CN 201110365851 A CN201110365851 A CN 201110365851A CN 103116503 B CN103116503 B CN 103116503B
- Authority
- CN
- China
- Prior art keywords
- window
- new
- new window
- main
- mark
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 70
- 230000008569 process Effects 0.000 claims abstract description 48
- 239000000284 extract Substances 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 3
- 238000000605 extraction Methods 0.000 claims 1
- 230000006870 function Effects 0.000 description 109
- 238000010009 beating Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
Embodiments providing implementation method and the device of a kind of multiwindow, relate to the communications field, described method includes: terminal loads main window, and is loaded in described main window by window operation function when loading;When new window opened by needs, from described main window, call the window creation function in described window operation function;In the process of described main window, described new window is opened by described window creation function.Described device includes: load-on module, calling module and open module.The present invention can reduce occupying system resources.
Description
Technical field
The present invention relates to the communications field, particularly to implementation method and the device of a kind of multiwindow.
Background technology
At present when a window opened by the browser using terminal, it is also possible to open from this window one or more newly
Window, it is achieved process can particularly as follows: open a window by browser, if the text of this window include one or
Multiple codes for opening new window, then call the window creation function that browser carries, and the new window opened by needs
Relevant configuration information be transferred to browser, this relevant configuration information can include URL (Uniform/Universal
Resource Locator, URL) etc. information;Browser opens new window according to relevant configuration information.
When calling the window creation function that browser carries, system can create a process, and this process runs browser
Window creation function that browser carries also opens new window by this process, and the number of processes of such system creation can be along with beating
The number of the new window opened linearly increases, and takies substantial amounts of system resource.
Summary of the invention
In order to reduce occupying system resources, embodiments provide implementation method and the device of a kind of multiwindow.Institute
State technical scheme as follows:
A kind of implementation method of multiwindow, described method includes:
Terminal loads main window, and when loading, window operation function is loaded in described main window;
When new window opened by needs, from described main window, call the window creation letter in described window operation function
Number;
In the process of described main window, described new window is opened by described window creation function.
Described terminal is when loading described main window, if being resolved to the code for opening new window, it is determined that need to beat
New window;Or,
Described terminal is loading after main window, receive that user submits in described main window for opening new window
Request, it is determined that need to open new window, and according to described acquisition request for opening the code of described new window.
The window creation function in described window operation function is called from described main window, including:
From the described code for open new window, extract the mark of window creation function, call from described main window
The window creation function of the mark correspondence of described window creation function.
Described in the process of described main window, open described new window by described window creation function, including:
Described terminal runs described window creation function by the process of described main window, and obtains the window of described new window
Mouth configuration information;
Window configuration information according to described new window, generates described new window, and is inserted into by described new window described
In the window array of main window.
If the new window that need to create is the window with framework Frame control as carrier, the most described window configuration information, bag
Include uniform resource position mark URL, the mark of described new window, width, highly, the visible value of z-order, forms and described new window
Position coordinates in described main window;The described window configuration information according to described new window, generates described new window and includes:
Mark according to described new window, width, highly, value seen from z-order, forms and described new window be described master
The position coordinates of window, creates the forms of described new window;
And according to the content of the described URL described new window of download, the forms of described new window render described content.
If the new window that need to create is the window with little forms Widget control as carrier, the most described window configuration letter
Breath, including the mark of described new window, title, width, highly, windows content, color space RGBA form and described new window
Mouth is at the position coordinates of described main window;The described window configuration information according to described new window, generates described new window and includes:
Mark according to described new window, title, width, highly, RGBA form and described new window be at described main window
The position coordinates of mouth, creates the forms of described new window;
And in the forms of described new window, load described windows content.
Described in the process of described main window, open described new window by described window creation function after, also wrap
Include:
Receive the event that user submits to, obtain the mark of the window at focus place, according to the mark of the window of described acquisition
From the window array of described main window, obtain the window of correspondence, described event is submitted to the window of described acquisition, by described
Described event is processed by the window obtained.
A kind of multiwindow realize device, described device includes:
Load-on module, is used for loading main window, and is loaded in described main window by window operation function when loading;
Calling module, for when new window opened by needs, calls in described window operation function from described main window
Window creation function;
Open module, in opening described new window in the process of described main window by described window creation function.
Described calling module according to described load-on module load described main window time, be resolved to for opening new window
Code, determine and need to open new window;Or,
Loading after main window at described load-on module, according to the user received submit in described main window for
Open the request of new window, determine and need to open new window, and according to described acquisition request for opening the generation of described new window
Code.
Described calling module, specifically for determine open new window when needs time, from described for opening new window
Code extracts the mark of window creation function, from described main window, calls the window that the mark of described window creation function is corresponding
Mouth creates function.
Described module of opening is specifically for running described window creation function by the process of described main window, and obtains institute
State the window configuration information of new window;Window configuration information according to described new window, generates described new window;By described new window
Mouth is inserted in the window array of described main window.
If the new window that need to create is the window with framework Frame control as carrier, the most described window configuration information, bag
Include uniform resource position mark URL, the mark of described new window, width, highly, the visible value of z-order, forms and described new window
Position coordinates in described main window;Described open module generate described new window time, specifically for
Mark according to described new window, width, highly, value seen from z-order, forms and described new window be described master
The position coordinates of window, creates the forms of described new window;
And according to the content of the described URL described new window of download, the forms of described new window render described content.
If the new window that need to create is the window with little forms Widget control as carrier, the most described window configuration letter
Breath, including the mark of described new window, title, width, highly, mined out RGBA form of windows content, color and described new window
Mouth is at the position coordinates of described main window;Described open module generate described new window time, specifically for
Mark according to described new window, title, width, highly, RGBA form and described new window be at described main window
The position coordinates of mouth, creates the forms of described new window;
And in the forms of described new window, load described windows content.
Described device also includes:
Processing module, for receiving the event that user submits to, obtains the mark of the window at focus place, according to described acquisition
The mark of window from the window array of described main window, obtain the window of correspondence, described event is submitted to described acquisition
Window, is processed described event by the window of described acquisition.
In embodiments of the present invention, terminal loads main window, and when loading, window operation function is loaded into main window
In, when new window opened by needs, from main window, call the window creation function in window operation function, by the window called
Mouth creates function and opens new window in the process of main window, so can open needs by a main window process and open
Each new window, from without creating new process, so the new window that the number of processes created will not be opened along with needs
Number linearly increase, save substantial amounts of system resource.
Accompanying drawing explanation
Fig. 1 is the implementation method flow chart of a kind of multiwindow that one embodiment of the invention provides;
Fig. 2 is the implementation method flow chart of a kind of multiwindow that another embodiment of the present invention provides;
Fig. 3 be another embodiment of the present invention provide a kind of multiwindow realize device schematic diagram.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
As it is shown in figure 1, embodiments provide the implementation method of a kind of multiwindow, including:
Step 101: terminal loads main window, and when loading, window operation function is loaded in main window;
Wherein, this terminal can be the terminal with browser function, e.g., Set Top Box.Concrete, terminal passes through browser
Load main window, this main window can pre-set, e.g., the homepage of Set Top Box, it is also possible to be that user inputs, as by
User inputs URL.It should be noted that the window operation function in the embodiment of the present invention may include that window creation function, window
Mouth deletes function etc., and these window operation functions are self-defining function, may be used for carrying out creating, deleting in main window process
Windows etc. operate, and specifically refer to table 1.
Step 102: when new window opened by needs, calls the window creation letter in window operation function from main window
Number;
Concrete, during loading main window, if being resolved to the code for opening new window, it is determined that need to beat
New window;Or, loading after main window, terminal receive that user submits in main window for opening asking of new window
Asking, it is determined that need to open new window, now, terminal is used for opening the code of new window according to this acquisition request.Terminal from
The mark of window creation function is extracted, according to the mark of this window creation function from main window in the code open new window
Call the window creation function of its correspondence.
Step 103: open new window in the process of main window by the window creation function called.
Owing to window creation function is carried in main window, when therefore calling window creation function, by the process of main window
Run this window creation function, thus opened new window by main window process.
In embodiments of the present invention, terminal utilizes the window operation function being loaded in main window, in main window process
Open new window, thus be not necessary for the process that new window creation is new, decrease number of processes, save substantial amounts of system resource.
When implementing, above-mentioned steps 103 can specifically include:
1031: terminal runs the window creation function called from main window by the process of main window, and obtains new window
The window configuration information of mouth;
Concrete, terminal can obtain the window configuration information of new window from the code for opening new window.Wherein,
If the new window that need to create is the window with Frame control as carrier, then the window configuration information of new window, including URL, newly
The mark of window, width, highly, the visible value of zIndex (z-order), forms and new window position coordinates in main window;
If the new window that need to create is the window with Widget control as carrier, then the window configuration information of new window, including described
The mark of new window, title, width, highly, windows content, RGBA (Red (red) Green (green) Blue (blue) and
Alpha (image channel), color space) form and new window be at the position coordinates of main window.Need the window type created
By the code decision for opening new window.
1032: according to the window configuration information of new window, generate new window;
Concrete, if create is the window with Frame control as carrier, then according to the mark of new window, width, height
The visible value of degree, zIndex, forms and new window, at the position coordinates of main window, create the forms of new window;And according to window
URL in configuration information downloads the content of new window, renders the content of download, thus generate new window in the forms of new window
Mouthful.If create is the window with Widget control as carrier, then according to the mark of new window, title, width, highly,
RGBA form and new window, at the position coordinates of main window, create the forms of new window;And load in the forms of new window
The windows content of new window, thus generate new window.
1033: new window is inserted in the window array of main window.
It should be noted that loading window operation function to time in main window, window can be created further in main window
The new window that mouthful array creates below for storage, detailed process refers to the description in specific embodiment below.
Terminal loads main window, and window operation function is loaded in main window, when new window opened by needs when loading
Mouthful time, from main window, call the window creation function in window operation function, by the window creation function that calls at main window
The process of mouth opens new window, so can open, by a main window process, each new window needing to open, thus
Need not create new process, so the number of processes created linearly will not increase along with the number needing the new window opened
Long, save substantial amounts of system resource.
Below by a specific embodiment, the solution of the present invention is described in more detail, sees Fig. 2,
The present embodiment inputs URL to as a example by opening main window by user, and the method includes:
Step 201: terminal receives the request opening main window, creates main window process according to this request;
Wherein, user can input the URL of main window in the browser of terminal, and submits the request opening main window to.
It should be noted that this enforcement is user inputs URL to open main window, in other embodiments can also be in advance in terminal
Middle configuration main window, e.g., is previously stored the URL that main window is corresponding, upon power-up of the system, directly obtains and be previously stored main window
Corresponding URL.
Step 202: load main window, and when loading main window, window operation function is loaded in main window;
Specifically, terminal utilizes the main window process created to load main window, during loading main window, first will
The window operation function of self storage is loaded in main window, then according to the URL that main window is corresponding, obtains corresponding text literary composition
Part, text file be realize main window Html (Hypertext Markup Language, text mark up language) code or
Xml (Extensible Markup Language, extensible markup language) code etc.;The code obtained is resolved by terminal
And load.
Wherein, window operation function is self-defining function, can be pre-stored within terminal, and its concrete structure can be such as table 1
Shown in:
Table 1
As shown in table 1, window operation function includes window creation function, and window creation function is for creating in main window
New window, when reality is applied, window creation function can include two kinds of window creation function, a kind of for create with
Frame control is the new window of carrier, is referred to as pFrame window creation function in the embodiment of the present invention, another kind of for create with
Widget control is the new window of carrier, is referred to as pWidget window creation function in the embodiment of the present invention.In invoked procedure,
Specifically call what kind of window creation function, can be according to for opening the window creation letter carried in the code of new window
Number mark and/or window configuration parameter determine.
As shown in table 1, window operation function is in addition to including window creation function, it is also possible to farther include: delete window
Function, hide window function, start to drag window function, drag window function, stop dragging window function, improve window
ZIndex function and/or minimize window function.Accordingly, delete window function can also include deleting pFrame window function
With deletion pWidget window function.
After window operation function is loaded into main window by terminal, it is also possible to create window number further in main window
Group, including creating pFrame window array and pWidget window array, pFrame window array is for storing with Frame control
For the window of carrier, pWidget window array is for storing the window with Widget control as carrier.
Wherein, if needing the new window opened is the window with Frame control as carrier, then for opening new window
Code includes the mark of pFrame window creation function and the window configuration information of new window, and the window configuration letter of new window
Breath can include URL, the mark of new window, and the visible value of zIndex, forms, width and height and new window are in top-level windows
Position coordinates.
Wherein, if needing the new window opened is the window with Widget control as carrier, then it is used for opening new window
Code include the mark of pWidget window creation function and the window configuration information of new window, and the window of new window is joined
Confidence breath includes the mark of new window, title, RGBA form, width and height, new window main window position coordinates and
The windows content of new window.
Step 203: terminal is loading during main window, if being resolved to the code for opening new window, from for
Open mark and the window configuration information extracting window creation function in the code of new window;
Wherein, the mark of window creation function can be the mark of pFrame window creation function, it is also possible to be pWidget
The mark of window creation function.PFrame window creation function is used for creating with Frame control as carrier window, the window of the type
Mouth needs when opening to corresponding URL to go to download windows content;PWidget window creation function is controlled with Widget for creating
Part is carrier window, and the windows content of the window of the type is directly written in code, can be directly by windows content when opening
It is loaded in new window, it is not necessary to go to download according to URL.
If be the mark of pFrame window creation function for opening what the code of new window comprised, then new window
Window configuration information includes URL, the mark of new window, and the visible value of zIndex, forms, width and height and new window are at top layer
The position coordinates of window.
If comprise in the code opening new window is the mark of pWidget window creation function, then new window
Window configuration information include the mark of new window, title, RGBA form, width and height, new window is in the position of main window
Coordinate and the windows content of new window.
Step 204: terminal identifying from the window operation letter being loaded into main window according to the window creation function extracted
Number calls the window creation function of correspondence;
Specifically, if the pFrame that is designated of the window creation function extracted creates the mark of function, then from main window
Window operation function in call pFrame window creation function;If extract window creation function be designated pWidget
Create the mark of function, then from the window operation function of main window, call pWidget window creation function.
Step 205: terminal runs the window creation function called by the process of main window, and joins according to the window extracted
Confidence breath opens new window in main window, and is inserted in the window array of main window by the new window opened.
Concrete, terminal, when human window creates function, using window configuration information as input parameter, e.g., is run
During pFrame window creation function, then according to the mark of the new window in window configuration information, the visible value of zIndex, forms, width
Degree and height and new window main window position coordinates create new window forms, create new window forms, and according to
URL in window configuration information downloads the content of new window from network, renders the content of download in the forms of new window, then
New window is inserted in the pFrame window array of main window;When running pWidget window creation function, then join according to window
The mark of new window, title, RGBA form, width and height in confidence breath, new window creates at the position coordinates of main window
The forms of new window, and the windows content in window configuration information is loaded in the forms of new window, then new window is inserted
In the pWidget window array of main window.
Wherein, step 203-205 can perform repeatedly, when needing to open multiple new window in the code of such as main window, eventually
End be often resolved to one section for the code opening new window, be carried out once.
Above-described embodiment is to illustrate as a example by the scene automatically opening up new window by main window, in actual applications,
Can also be submitted to the request for opening new window in main window by user, terminal opens new window according to this request,
Under this scene, terminal can be concrete according to the acquisition request of user for opening the code of new window, can be according in request
The information carried is gone to obtain from main window and (for example, it is assumed that there is a button being used for opening new window in main window, and is somebody's turn to do
Button is to being applied to open the code of new window, and user can submit to for opening new window to browser by clicking on
Request;Terminal receives this request, according to the button information carried in this request, obtain this button corresponding be used for open new window
Mouthful code), it is also possible in Client-initiated is asked, carry that (such as, user, when clicking on button, automatically obtains corresponding generation
Code adds in request).The process that terminal gets after opening the code of new window is similar to the above embodiments, the most no longer
Repeat.
In embodiments of the present invention, if terminal is resolved in the text that main window is corresponding for opening new window
Code or receive user when submitting, in main window, the request opening new window to, then terminal utilizes main window process to open newly
Window, so when the new window opened, it is not necessary to create new process, so the number of processes created will not be beaten along with needs
The number of the new window opened linearly increases, and saves substantial amounts of system resource.
Further, the window opened can be operated by user, and the middleware sub-system provided by terminal to
The various events operating window submitted to by the browser of terminal.
Concrete, the browser in terminal receives, by middleware sub-system, the event that user submits to, obtains focus place
The mark of window, from the window array of main window, obtain corresponding window according to the mark of the window obtained, by this event
Submit to the window obtained, the window obtained this event is processed.
It should be noted that during in Fig. 2, the specific implementation of each step all can be applicable to the embodiment shown in Fig. 1.
As it is shown on figure 3, embodiments of the invention a kind of multiwindow is provided realize device, for realizing the above-mentioned of the present invention
Method, described device includes:
Load-on module 301, is used for loading main window, and is loaded in main window by window operation function when loading;
Calling module 302, for when new window opened by needs, calls the window in window operation function from main window
Create function;
Open module 303, in opening new window in the process of main window by window creation function.
Concrete, calling module 302 can according to load-on module 301 when loading main window, be resolved to for opening
The code of new window, determines and needs to open new window;Or, at load-on module 301 after loading main window, according to the use received
The request for opening new window that family is submitted in main window, determines and needs to open new window, and use according to this acquisition request
In the code opening new window.
Wherein, calling module 302, specifically for determine open new window when needs time, from for opening new window
Code extracts the mark of window creation function, from main window, calls the window creation letter that the mark of window creation function is corresponding
Number.
Open module 303 specifically for creating function by the process human window of main window, and obtain the window of new window
Mouth configuration information;Window configuration information according to new window, generates new window;New window is inserted into the window array of main window
In.
Wherein, if the new window that need to create is the window with Frame control as carrier, then the window configuration letter of new window
Breath, including URL, the mark of new window, width, highly, the visible value of zIndex, forms and new window position in main window
Coordinate;Open module 303 generate new window time, specifically for
Mark according to new window, width, highly, value seen from zIndex, forms and new window be in the position of main window
Coordinate, creates the forms of new window;
And according to the content of this URL download new window, the forms of new window render the content of download.
If the new window that need to create is the window with Widget control as carrier, then the window configuration information of new window,
Including the mark of new window, title, width, highly, windows content, RGBA form and new window sit in the position of main window
Mark;Open module 303 generate new window time, specifically for
Mark according to new window, title, width, highly, RGBA form and new window at the position coordinates of main window,
Create the forms of new window;
And in the forms of new window, load the windows content of new window.
Further, this device can also include:
Processing module, for receiving the event that user submits to, obtains the mark of the window at focus place, according to the window obtained
The mark of mouth obtains the window of correspondence from the window array of main window, the event of reception is submitted to the window obtained, by obtaining
Reception event is processed by the window taken.
It should be noted that the embodiment of the present invention provide multiwindow realize device can include processor, memorizer,
The parts such as display, wherein, above-mentioned each module can be run by processor, and self-defining window operation function can be in advance
In memory, each window (including main window, new window) is shown to user by display in storage.Above-mentioned each module concrete
The implementation realizing being referred in embodiment described in Fig. 2 realizes.
In embodiments of the present invention, terminal by load main window time window operation function is loaded in main window,
When new window opened by needs, from main window, call the window creation function in window operation function, by the window called
Create function in the process of main window, open new window, so can open what needs were opened by a main window process
Each new window, from without creating new process, so the number of processes created will not be along with the new window needing to open
Number linearly increases, and saves substantial amounts of system resource.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware
Completing, it is also possible to instruct relevant hardware by program and complete, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and
Within principle, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.
Claims (14)
1. the implementation method of a multiwindow, it is characterised in that described method includes:
Terminal loads main window, and when loading, window operation function is loaded in described main window;
When new window opened by needs, from described main window, call the window creation function in described window operation function;Institute
State window creation function to include: for creating the window creation function of the described new window with Frame control as carrier, and/or,
For creating the window creation function of the described new window with Widget control as carrier;
In the process of described main window, described new window is opened by described window creation function.
2. the method for claim 1, it is characterised in that
Described terminal is when loading described main window, if being resolved to the code for opening new window, it is determined that need to open newly
Window;Or,
Described terminal is loading after main window, receive that user submits in described main window for opening asking of new window
Ask, it is determined that need to open new window, and according to described acquisition request for opening the code of described new window.
3. method as claimed in claim 2, it is characterised in that call from described main window in described window operation function
Window creation function, including:
From the described code for open new window, extract the mark of window creation function, call described from described main window
The window creation function of the mark correspondence of window creation function.
4. the method as described in any one of claim 1-3, it is characterised in that described by described window creation function described
The process of main window is opened described new window, including:
Described terminal runs described window creation function by the process of described main window, and the window obtaining described new window is joined
Confidence ceases;
Window configuration information according to described new window, generates described new window, and described new window is inserted into described main window
In the window array of mouth.
5. method as claimed in claim 4, it is characterised in that
If the new window that need to create is the window with framework Frame control as carrier, the most described window configuration information, including system
One URLs URL, the mark of described new window, width, highly, the visible value of z-order, forms and described new window be in institute
State the position coordinates in main window;The described window configuration information according to described new window, generates described new window and includes:
Mark according to described new window, width, highly, value seen from z-order, forms and described new window be at described main window
Position coordinates, create the forms of described new window;
And according to the content of the described URL described new window of download, the forms of described new window render described content.
6. method as claimed in claim 4, it is characterised in that if the new window that need to create is with little forms Widget control
For the window of carrier, the most described window configuration information, including the mark of described new window, title, width, highly, windows content,
Color space RGBA form and described new window are at the position coordinates of described main window;The described window according to described new window
Configuration information, generates described new window and includes:
Mark according to described new window, title, width, highly, RGBA form and described new window be at described main window
Position coordinates, creates the forms of described new window;
And in the forms of described new window, load described windows content.
7. the method for claim 1, it is characterised in that described by described window creation function at described main window
After process is opened described new window, also include:
Receive the event that user submits to, obtain the mark of window at focus place, according to the mark of the window of described acquisition from institute
State the window obtaining correspondence in the window array of main window, described event is submitted to the window of described acquisition, by described acquisition
Window described event is processed.
8. a multiwindow realize device, it is characterised in that described device includes:
Load-on module, is used for loading main window, and is loaded in described main window by window operation function when loading;
Calling module, for when new window opened by needs, calls the window in described window operation function from described main window
Mouth creates function;Described window creation function includes: for creating the window wound of the described new window with Frame control as carrier
Build function, and/or, for creating the window creation function of the described new window with Widget control as carrier;
Open module, for opening described new window in the process of described main window by described window creation function.
9. device as claimed in claim 8, it is characterised in that described calling module is described in loading according to described load-on module
During main window, the code for opening new window being resolved to, determine and need to open new window;Or,
Loading after main window at described load-on module, according to the user received submit in described main window for opening
The request of new window, determines and needs to open new window, and according to described acquisition request for opening the code of described new window.
10. device as claimed in claim 9, it is characterised in that
Described calling module, specifically for determine open new window when needs time, from the described code for opening new window
The mark of middle extraction window creation function, calls the window wound that the mark of described window creation function is corresponding from described main window
Build function.
11. devices as described in any one of claim 8-10, it is characterised in that described in open module specifically for by described
The process of main window runs described window creation function, and obtains the window configuration information of described new window;According to described new window
The window configuration information of mouth, generates described new window;Described new window is inserted in the window array of described main window.
12. devices as claimed in claim 11, it is characterised in that
If the new window that need to create is the window with framework Frame control as carrier, the most described window configuration information, including system
One URLs URL, the mark of described new window, width, highly, the visible value of z-order, forms and described new window be in institute
State the position coordinates in main window;Described open module generate described new window time, specifically for
Mark according to described new window, width, highly, value seen from z-order, forms and described new window be at described main window
Position coordinates, create the forms of described new window;
And according to the content of the described URL described new window of download, the forms of described new window render described content.
13. devices as claimed in claim 11, it is characterised in that if the new window that need to create is to control with little forms Widget
Part is the window of carrier, the most described window configuration information, including the mark of described new window, title, width, highly, in window
Appearance, color space RGBA form and described new window are at the position coordinates of described main window;Described module of opening is generating institute
When stating new window, specifically for
Mark according to described new window, title, width, highly, RGBA form and described new window be at described main window
Position coordinates, creates the forms of described new window;
And in the forms of described new window, load described windows content.
14. devices as claimed in claim 8, it is characterised in that described device also includes:
Processing module, for receiving the event that user submits to, obtains the mark of the window at focus place, according to the window of described acquisition
The mark of mouth obtains the window of correspondence from the window array of described main window, and described event is submitted to the window of described acquisition
Mouthful, the window of described acquisition described event is processed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110365851.2A CN103116503B (en) | 2011-11-17 | 2011-11-17 | The implementation method of a kind of multiwindow and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110365851.2A CN103116503B (en) | 2011-11-17 | 2011-11-17 | The implementation method of a kind of multiwindow and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103116503A CN103116503A (en) | 2013-05-22 |
| CN103116503B true CN103116503B (en) | 2016-12-07 |
Family
ID=48414889
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201110365851.2A Active CN103116503B (en) | 2011-11-17 | 2011-11-17 | The implementation method of a kind of multiwindow and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103116503B (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105404512B (en) * | 2015-11-25 | 2019-05-10 | 飞天诚信科技股份有限公司 | Method and device for changing interface of application program window |
| CN105808047A (en) * | 2015-12-17 | 2016-07-27 | 宁波睿易教育科技股份有限公司 | Multi-window interactive teaching method executed on mobile equipment |
| CN105677351B (en) * | 2016-01-06 | 2019-01-08 | 福州瑞芯微电子股份有限公司 | The compatible display methods of multiwindow and device |
| CN105824629B (en) * | 2016-03-16 | 2019-03-12 | 烽火通信科技股份有限公司 | The method of child window control information is collected under C-sharp language in parent window |
| CN109151588B (en) * | 2018-10-08 | 2020-10-23 | 四川长虹电器股份有限公司 | Method for applying Android small parts on smart television |
| CN111273972A (en) * | 2018-12-04 | 2020-06-12 | 珠海格力电器股份有限公司 | Window management method, device, storage medium and terminal |
| CN110297998B (en) * | 2019-06-21 | 2021-11-19 | 四川盛趣时代网络科技有限公司 | Method for simultaneously displaying multiple windows on browser interface |
| CN114356435A (en) * | 2021-11-26 | 2022-04-15 | 中国航空无线电电子研究所 | Qt interface integration method and device |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1466076A (en) * | 2002-07-02 | 2004-01-07 | 陈文清 | Seaching-browser |
| CN101609470A (en) * | 2009-07-02 | 2009-12-23 | 腾讯科技(深圳)有限公司 | A kind of preventing apparent death of multi-page browser method and device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6874139B2 (en) * | 2000-05-15 | 2005-03-29 | Interfuse Technology Corporation | Method and system for seamless integration of preprocessing and postprocessing functions with an existing application program |
-
2011
- 2011-11-17 CN CN201110365851.2A patent/CN103116503B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1466076A (en) * | 2002-07-02 | 2004-01-07 | 陈文清 | Seaching-browser |
| CN101609470A (en) * | 2009-07-02 | 2009-12-23 | 腾讯科技(深圳)有限公司 | A kind of preventing apparent death of multi-page browser method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103116503A (en) | 2013-05-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103116503B (en) | The implementation method of a kind of multiwindow and device | |
| CN104636139B (en) | One kind visualizes cross-platform mobile application exploitation and generation system | |
| US11010538B2 (en) | Systems and methods for hosted applications | |
| US8930824B2 (en) | Facilitating propagation of user interface patterns or themes | |
| US10152362B2 (en) | Techniques to modify a document using a latent transfer surface | |
| CN101706796B (en) | Method and device for showing webpage resources | |
| US20130238982A1 (en) | Methods and apparatus for editing an application webpage | |
| US20150128017A1 (en) | Enabling interactive screenshots within collaborative applications | |
| US20090132919A1 (en) | Appending Hover Help to Hover Help for a User Interface | |
| CN103064738B (en) | Method and system for embedding local application form into browser under Linux | |
| CN107247544B (en) | Optimize software application user interface performance using interactive graphics | |
| CN104298721B (en) | A kind of arbitrarily a object split screen layout edit methods of the online courseware development based on Web | |
| KR20170135956A (en) | Method and apparatus for displaying an instant messaging window and computer readable medium | |
| AU2013213683B2 (en) | A method and system of application development for multiple device client platforms | |
| WO2022048141A1 (en) | Image processing method and apparatus, and computer readable storage medium | |
| CN104866318A (en) | Method and device for displaying label pages in multiple windows | |
| US20090132937A1 (en) | Modifying Hover Help for a User Interface | |
| CN108268260A (en) | It is a kind of quick micro- using assemble method based on integrated support technology | |
| CN110297624B (en) | Implementation method of Widget system based on electron framework and television adopting system | |
| US20180315400A1 (en) | Rendering graphical assets on electronic devices | |
| CN104050190B (en) | Method and system for processing relation chain data and client | |
| CN102915378B (en) | In webpage, content show state changes method and apparatus | |
| CN102142004B (en) | Service processing method and service engine | |
| CN107770377A (en) | A kind of method of the establishment interactive voice mobile phone news client based on HTML5 | |
| CN102999598B (en) | Change the method and apparatus of the show state of the content in webpage |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20200206 Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee after: HUAWEI TECHNOLOGIES Co.,Ltd. Address before: 210012 HUAWEI Nanjing base, 101 software Avenue, Yuhuatai District, Jiangsu, Nanjing Patentee before: Huawei Technologies Co.,Ltd. |
|
| TR01 | Transfer of patent right |