CN108845842A - It is multiplexed the method and device of view - Google Patents
It is multiplexed the method and device of view Download PDFInfo
- Publication number
- CN108845842A CN108845842A CN201810348994.4A CN201810348994A CN108845842A CN 108845842 A CN108845842 A CN 108845842A CN 201810348994 A CN201810348994 A CN 201810348994A CN 108845842 A CN108845842 A CN 108845842A
- Authority
- CN
- China
- Prior art keywords
- unit
- view
- plug
- host
- multiplexed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4482—Procedural
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4488—Object-oriented
Abstract
The invention discloses a kind of method and devices for being multiplexed view to obtain each plug-in unit of host's management or the context of each application program, view to be multiplexed is generated according to the context of each plug-in unit or each application program by accessing the host process;Alternatively, generating each plug-in unit of host's management or the view to be multiplexed of each application program by the Classloader of access host process.View multiplexing can save great effort and develop duplicate function logic, code, reduce packet size, the time that load parsing bytecode occupies when reducing operation, reduce memory, while can also reduce coupling.
Description
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of method and device for being multiplexed view.
Background technique
In Android (Android) system, multiplexing view (view) has lot of advantages, for example, great effort can be saved
Duplicate function logic, code are developed, packet size is reduced, reduces and loads the time that parsing bytecode occupies when operation, in reduction
It deposits, while coupling can also be reduced.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
State the method and device of the multiplexing view of problem.
According to one aspect of the present invention, a kind of method being multiplexed view is provided, including:Determine host process;Pass through visit
It asks the host process, each plug-in unit of host's management or the context of each application program is obtained, according to each plug-in unit or respectively using journey
The context of sequence generates view to be multiplexed;Alternatively, generating host's management by the Classloader for accessing the host process
The view to be multiplexed of each plug-in unit or each application program;The view to be multiplexed is added in multiplexing view container.
It is described by accessing the host process, obtaining each plug-in unit of host's management or respectively answering in a kind of optional way
With the context of program, view to be multiplexed is generated according to the context of each plug-in unit or each application program, including:It is slow by accessing
Host process binder in depositing accesses host process binder by load plug-in unit, obtains each plug-in unit or each of host's management
Resource id is laid out in the context of application program;According to self-defined view pre-buried in layout resource, each of host's management is obtained
The context of plug-in unit or each application program generates view to be multiplexed according to the context of each plug-in unit or each application program.
It is described by accessing the host process, obtaining each plug-in unit of host's management or respectively answering in a kind of optional way
With the context of program, view to be multiplexed is generated according to the context of each plug-in unit or each application program, including:By reflecting machine
Layout resource id in plug-in unit or application program is made;Each plug-in unit or each application program that host manages are obtained according to layout resource
Context, view to be multiplexed is generated according to the context of each plug-in unit or each application program.
In a kind of optional way, the Classloader by accessing the host process generates each of host's management
The view to be multiplexed of plug-in unit or each application program, including:Multiplexing view is treated by the Classloader of host process to be infused
Volume and caching generate each plug-in unit of host's management or the view to be multiplexed of each application program.
In a kind of optional way, the process to be multiplexed is answered in different plug-in units, in host process or in difference
It is re-used between program.
According to another aspect of the invention, a kind of device being multiplexed view is provided, which is characterized in that including:Host is true
Order member, for determining host process;View generation unit to be multiplexed, for obtaining host by accessing the host process
Each plug-in unit of management or the context of each application program, view to be multiplexed is generated according to the context of each plug-in unit or each application program
Figure;Alternatively, by the Classloader for accessing the host process, generate host's management each plug-in unit or each application program to multiple
View;View adding unit, for the view to be multiplexed to be added in multiplexing view container.
In a kind of optional way, the view generation unit to be multiplexed is specifically used for:Pass through the host in access cache
Process binder accesses host process binder by load plug-in unit, obtain host's management each plug-in unit or each application program
Resource id is laid out in context;According to self-defined view pre-buried in layout resource, obtains each plug-in unit of host's management or respectively answer
With the context of program, view to be multiplexed is generated according to the context of each plug-in unit or each application program.
In a kind of optional way, the view generation unit to be multiplexed is specifically used for:Plug-in unit is obtained by reflection mechanism
Or resource id is laid out in application program;Each plug-in unit of host's management or the context of each application program are obtained according to layout resource,
View to be multiplexed is generated according to the context of each plug-in unit or each application program.
In a kind of optional way, the view generation unit to be multiplexed is specifically used for:It is loaded by the class of host process
Device treats multiplexing view and is registered and cached, and generates each plug-in unit of host's management or the view to be multiplexed of each application program.
In a kind of optional way, the process to be multiplexed is answered in different plug-in units, in host process or in difference
It is re-used between program.
As it can be seen that the method for multiplexing view provided in an embodiment of the present invention obtains host's pipe by accessing the host process
Each plug-in unit of reason or the context of each application program, view to be multiplexed is generated according to the context of each plug-in unit or each application program
Figure;Alternatively, by access host process Classloader, generate host management each plug-in unit or each application program it is to be multiplexed
View.Specifically view to be multiplexed can be generated there are many implementation, for example, by binder caching mechanism, reflection mechanism,
The modes such as Classloader are realized.It is multiplexed by view, great effort can be saved and develop duplicate function logic, code, reduce packet
Size, reduces memory, while can also reduce coupling at the time that load parsing bytecode occupies when reducing operation.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the method flow diagram of multiplexing view according to an embodiment of the invention;
Fig. 2 shows the first example flow charts of method of multiplexing view according to an embodiment of the invention;
Fig. 3 shows the second example flow chart of method of multiplexing view according to an embodiment of the invention;
Fig. 4 shows the method third example flow chart of multiplexing view according to an embodiment of the invention;And
Fig. 5 shows the apparatus structure schematic diagram of multiplexing view according to an embodiment of the invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
It saves development cost as previously mentioned, being multiplexed view (view) in android system and having, reduce memory etc. very much
Advantage.Specifically, view can be multiplexed in different plug-in units, similarly, plug-in unit view can also be multiplexed in host process.Separately
Outside, in virtualization technology, it can also be multiplexed view between different application (app), for example, injected by pre-buried pitching pile etc.
Mode, an app take view in another app, realize auxiliary or monitoring function, such as the acquisition of credulity Chat page or embedding
Enter.
The embodiment of the present invention provides a kind of method for being multiplexed view.Referring to Fig. 1, the method comprising the steps of S101-S103.
S101:Determine host process.
By taking the java process of Android as an example, java process be run in Android on dalvik virtual machine into
Journey.The host process of dalvik virtual machine is called by fork () system and is created, so each java process is to be present in one
In a native process, therefore, the Memory Allocation ratio native process of java process is complicated, because virtual there are one in process
Machine example.Application program in android system is substantially java process, such as desktop, phone, contact person, status bar.
S102:By accessing host process, each plug-in unit of host's management or the context of each application program are obtained, according to each
Plug-in unit or the context of each application program generate view to be multiplexed;Alternatively, being generated by the Classloader of access host process
Each plug-in unit of host's management or the view to be multiplexed of each application program.
It in the concrete realization, and may include at least three kinds of different implementation methods.Below to these three implementation methods with
Three examples illustrate.
In the first example, host process is accessed by the host process binder in access cache or by load plug-in unit
Binder obtains being laid out resource id in each plug-in unit of host's management or the context of each application program;According to pre- in layout resource
The self-defined view buried obtains each plug-in unit of host's management or the context of each application program, according to each plug-in unit or respectively using journey
The context of sequence generates view to be multiplexed.
Binder is Android striding course communication mode, it realizes IBinder interface, is service managerZ-HU
(ServiceManager) bridge of various Manager (such as WindowManager, ActivityManager) is connected.
Referring to fig. 2, the first example flow chart of method of multiplexing view according to an embodiment of the invention is shown.
S201:Plug-in unit inquires (query) host binder;
S202:Judge binder whether in the buffer;If it is not, executing S203;If so, executing S206;
S203:Whether plug-in unit loads?If executing S204;S205 is executed if not;
S204:The binder of business is obtained by the corresponding binder of plug-in unit;Then S204 is executed;
S205:Load plug-in unit;
S206:Generate plug-in unit correlation binder class;Then S207 is executed;
S207:Plug-in resource id is obtained by business binder;
S208:Specified resource id is loaded using the context of the plug-in unit or app cached in host;
View after being loaded according to specified resource id.Then view is added into (add) in subsequent step S103
Into specified multiplexing view container, wherein multiplexing view container can be located in host, plug-in unit or app.
As it can be seen that by safeguarding a set of binder caching mechanism in host, while using android in first example
Binder mechanism is provided, it can be achieved that the multiplexing of view in host, app or plug-in unit.
In the second example, obtain being laid out resource id in plug-in unit or application program by reflection mechanism;According to layout resource
Obtain each plug-in unit of host's management or the context of each application program, according to each plug-in unit or the context of each application program generate to
The view of multiplexing.
Referring to Fig. 3, the second example flow chart of method of multiplexing view according to an embodiment of the invention is shown.
S301:Plug-in unit user obtains the Classloader (classloader) of plug-in unit;
S302:Corresponding class (class) is obtained by classloader;
S303:By reflection mechanism, goal approach implementing result (resource id) in target class is obtained;
S304:Specified resource id is loaded using the context of the plug-in unit or app cached in host.
View after being loaded according to specified resource id.Then view is added into (add) in subsequent step S103
Into specified multiplexing view container, wherein multiplexing view container can be located in host, plug-in unit or app.
As it can be seen that in second example, compare example one, due to Maintenance free binder, the response time faster, connect
Enter more convenient.
In third example, multiplexing view is treated by the Classloader of host process and is registered and is cached, place is generated
Each plug-in unit of main management or the view to be multiplexed of each application program.
Referring to fig. 4, the method third example flow chart of multiplexing view according to an embodiment of the invention is shown.
S401:Requestor requests create specific plug-in or app specifies view;
S402:Host classloader is according to plug-in unit and view load view;
S403:The context of view is loaded as to the view of plug-in unit or corresponding app.
Then the view after load is added into (add) into specified multiplexing view container in subsequent step S103,
Middle multiplexing view container can be located in host, plug-in unit or app.
As it can be seen that realizing the generation of view in host's box rack-layer, use is more convenient, this is in the third example
A kind of plug-in unit scheme of view, is more suitable in the plug-in unit of large-scale canonical form app.
S103:View to be multiplexed is added in multiplexing view container.
In the embodiment of the present invention, multiplexing view container can be located in host, plug-in unit or app, correspondingly, described wait be multiplexed into
Journey is re-used in different plug-in units, in host process or between different application.
Corresponding with the method for above-mentioned multiplexing view, the embodiment of the present invention also provides a kind of device for being multiplexed view, referring to
Fig. 5, including:
Host's determination unit 501, for determining host process;
View generation unit 502 to be multiplexed, for by accessing the host process, obtain host's management each plug-in unit or
The context of each application program generates view to be multiplexed according to the context of each plug-in unit or each application program;Alternatively, passing through visit
It asks the Classloader of the host process, generates each plug-in unit of host's management or the view to be multiplexed of each application program;
View adding unit 503, for the view to be multiplexed to be added in multiplexing view container.
In a kind of optional way, the view generation unit 502 to be multiplexed is specifically used for:Pass through the place in access cache
Host process binder accesses host process binder by load plug-in unit, obtains each plug-in unit or each application program that host manages
Context in be laid out resource id;According to self-defined view pre-buried in layout resource, each plug-in unit or each of host's management is obtained
The context of application program generates view to be multiplexed according to the context of each plug-in unit or each application program.
In a kind of optional way, the view generation unit 502 to be multiplexed is specifically used for:It is inserted by reflection mechanism
Resource id is laid out in part or application program;According to layout resource obtain host management each plug-in unit or each application program up and down
Text generates view to be multiplexed according to the context of each plug-in unit or each application program.
In a kind of optional way, the view generation unit 502 to be multiplexed is specifically used for:Added by the class of host process
Load device treats multiplexing view and is registered and cached, and generates each plug-in unit of host's management or the view to be multiplexed of each application program
Figure.
In a kind of optional way, the process to be multiplexed is answered in different plug-in units, in host process or in difference
It is re-used between program.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention:It is i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
In the device of microprocessor or digital signal processor (DSP) to realize plug-in unit call notification according to an embodiment of the present invention column
Some or all components some or all functions.The present invention is also implemented as executing side as described herein
Some or all device or device programs (for example, computer program and computer program product) of method.It is such
It realizes that program of the invention can store on a computer-readable medium, or can have the shape of one or more signal
Formula.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any other shape
Formula provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
The embodiment of the present invention provides following scheme:
A1, a kind of method for being multiplexed view, including:
Determine host process;
By accessing the host process, each plug-in unit of host's management or the context of each application program are obtained, according to each
Plug-in unit or the context of each application program generate view to be multiplexed;Alternatively, by the Classloader for accessing the host process,
Generate each plug-in unit of host's management or the view to be multiplexed of each application program;
The view to be multiplexed is added in multiplexing view container.
A2, the method according to claim A1, it is described by accessing the host process, obtain each of host's management
The context of plug-in unit or each application program generates view to be multiplexed according to the context of each plug-in unit or each application program, including:
Host process binder is accessed by the host process binder in access cache or by load plug-in unit, obtains place
Resource id is laid out in each plug-in unit of main management or the context of each application program;
According to pre-buried self-defined view in layout resource, obtain host's management each plug-in unit or each application program up and down
Text generates view to be multiplexed according to the context of each plug-in unit or each application program.
A3, method according to a1, it is described by accessing the host process, obtain each plug-in unit or each of host's management
The context of application program generates view to be multiplexed according to the context of each plug-in unit or each application program, including:
It obtains being laid out resource id in plug-in unit or application program by reflection mechanism;
Each plug-in unit of host's management or the context of each application program are obtained according to layout resource, according to each plug-in unit or are respectively answered
View to be multiplexed is generated with the context of program.
A4, method according to a1, the Classloader by accessing the host process, generate host's management
The view to be multiplexed of each plug-in unit or each application program, including:
Multiplexing view is treated by the Classloader of host process to be registered and cached, and each plug-in unit of host's management is generated
Or the view to be multiplexed of each application program.
A5, according to the described in any item methods of A1-A4, the process to be multiplexed in different plug-in units, in host process
Or it is re-used between different application.
B6, a kind of device for being multiplexed view, including:
Host's determination unit, for determining host process;
View generation unit to be multiplexed, for obtaining each plug-in unit or each of host's management by accessing the host process
The context of application program generates view to be multiplexed according to the context of each plug-in unit or each application program;Alternatively, passing through access
The Classloader of the host process generates each plug-in unit of host's management or the view to be multiplexed of each application program;
View adding unit, for the view to be multiplexed to be added in multiplexing view container.
B7, the device according to B6, the view generation unit to be multiplexed are specifically used for:Pass through the place in access cache
Host process binder accesses host process binder by load plug-in unit, obtains each plug-in unit or each application program that host manages
Context in be laid out resource id;
According to pre-buried self-defined view in layout resource, obtain host's management each plug-in unit or each application program up and down
Text generates view to be multiplexed according to the context of each plug-in unit or each application program.
B8, the device according to B6, the view generation unit to be multiplexed are specifically used for:It is inserted by reflection mechanism
Resource id is laid out in part or application program;According to layout resource obtain host management each plug-in unit or each application program up and down
Text generates view to be multiplexed according to the context of each plug-in unit or each application program.
B9, the device according to B6, the view generation unit to be multiplexed are specifically used for:Added by the class of host process
Load device treats multiplexing view and is registered and cached, and generates each plug-in unit of host's management or the view to be multiplexed of each application program
Figure.
B10, according to the described in any item devices of B6-B9, the process to be multiplexed in different plug-in units, in host process
Or it is re-used between different application.
Claims (10)
1. a kind of method for being multiplexed view, which is characterized in that including:
Determine host process;
By accessing the host process, each plug-in unit of host's management or the context of each application program are obtained, according to each plug-in unit
Or the context of each application program generates view to be multiplexed;Alternatively, being generated by the Classloader for accessing the host process
Each plug-in unit of host's management or the view to be multiplexed of each application program;
The view to be multiplexed is added in multiplexing view container.
2. obtaining host's pipe the method according to claim 1, wherein described by accessing the host process
Each plug-in unit of reason or the context of each application program, view to be multiplexed is generated according to the context of each plug-in unit or each application program
Figure, including:
Host process binder is accessed by the host process binder in access cache or by load plug-in unit, obtains host's pipe
Resource id is laid out in each plug-in unit of reason or the context of each application program;
According to self-defined view pre-buried in layout resource, each plug-in unit of host's management or the context of each application program are obtained,
View to be multiplexed is generated according to the context of each plug-in unit or each application program.
3. obtaining host's pipe the method according to claim 1, wherein described by accessing the host process
Each plug-in unit of reason or the context of each application program, view to be multiplexed is generated according to the context of each plug-in unit or each application program
Figure, including:
It obtains being laid out resource id in plug-in unit or application program by reflection mechanism;
Each plug-in unit of host's management or the context of each application program are obtained according to layout resource, according to each plug-in unit or respectively using journey
The context of sequence generates view to be multiplexed.
4. the method according to claim 1, wherein the Classloader by accessing the host process,
Each plug-in unit of host's management or the view to be multiplexed of each application program are generated, including:
Multiplexing view is treated by the Classloader of host process to be registered and cached, and each plug-in unit or each of host's management is generated
The view to be multiplexed of application program.
5. method according to claim 1-4, which is characterized in that the process to be multiplexed in different plug-in units,
It is re-used in host process or between different application.
6. a kind of device for being multiplexed view, which is characterized in that including:
Host's determination unit, for determining host process;
View generation unit to be multiplexed, for obtaining each plug-in unit or each application that host manages by accessing the host process
The context of program generates view to be multiplexed according to the context of each plug-in unit or each application program;Alternatively, by described in access
The Classloader of host process generates each plug-in unit of host's management or the view to be multiplexed of each application program;
View adding unit, for the view to be multiplexed to be added in multiplexing view container.
7. device according to claim 6, which is characterized in that the view generation unit to be multiplexed is specifically used for:Pass through
Host process binder in access cache accesses host process binder by load plug-in unit, obtains each of host's management and inserts
Resource id is laid out in part or the context of each application program;
According to self-defined view pre-buried in layout resource, each plug-in unit of host's management or the context of each application program are obtained,
View to be multiplexed is generated according to the context of each plug-in unit or each application program.
8. device according to claim 6, which is characterized in that the view generation unit to be multiplexed is specifically used for:Pass through
Reflection mechanism obtains being laid out resource id in plug-in unit or application program;Each plug-in unit of host's management is obtained according to layout resource or is respectively answered
With the context of program, view to be multiplexed is generated according to the context of each plug-in unit or each application program.
9. device according to claim 6, which is characterized in that the view generation unit to be multiplexed is specifically used for:Pass through
The Classloader of host process treats multiplexing view and is registered and cached, and generates each plug-in unit or each application program that host manages
View to be multiplexed.
10. according to the described in any item devices of claim 6-9, which is characterized in that the process to be multiplexed in different plug-in units,
It is re-used in host process or between different application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810348994.4A CN108845842A (en) | 2018-04-18 | 2018-04-18 | It is multiplexed the method and device of view |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810348994.4A CN108845842A (en) | 2018-04-18 | 2018-04-18 | It is multiplexed the method and device of view |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108845842A true CN108845842A (en) | 2018-11-20 |
Family
ID=64212039
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810348994.4A Pending CN108845842A (en) | 2018-04-18 | 2018-04-18 | It is multiplexed the method and device of view |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108845842A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080295110A1 (en) * | 2007-05-23 | 2008-11-27 | Fabrizio Muscarella | Framework for Startup of Local Instance of Remote Application |
CN104123151A (en) * | 2013-04-28 | 2014-10-29 | 百度在线网络技术(北京)有限公司 | Plug-in management method and device for application program in mobile terminal and mobile terminal |
CN104133664A (en) * | 2013-09-29 | 2014-11-05 | 腾讯科技(深圳)有限公司 | Notification bar generating method and notification bar generating device |
CN105867956A (en) * | 2015-10-28 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Method and device for showing plugin view element in host application page |
CN106445598A (en) * | 2016-09-28 | 2017-02-22 | 北京奇虎科技有限公司 | Plug-in loading method and Plug-in loading device |
-
2018
- 2018-04-18 CN CN201810348994.4A patent/CN108845842A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080295110A1 (en) * | 2007-05-23 | 2008-11-27 | Fabrizio Muscarella | Framework for Startup of Local Instance of Remote Application |
CN104123151A (en) * | 2013-04-28 | 2014-10-29 | 百度在线网络技术(北京)有限公司 | Plug-in management method and device for application program in mobile terminal and mobile terminal |
CN104133664A (en) * | 2013-09-29 | 2014-11-05 | 腾讯科技(深圳)有限公司 | Notification bar generating method and notification bar generating device |
CN105867956A (en) * | 2015-10-28 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Method and device for showing plugin view element in host application page |
CN106445598A (en) * | 2016-09-28 | 2017-02-22 | 北京奇虎科技有限公司 | Plug-in loading method and Plug-in loading device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106569856B (en) | A kind of loading method and device of application view resource file | |
KR101793306B1 (en) | Virtual application extension points | |
US20190354705A1 (en) | Multiple containers assigned to an application | |
CN105940409A (en) | Web service sandbox system | |
US10572385B2 (en) | Granting exclusive cache access using locality cache coherency state | |
US20160004858A1 (en) | Security-Enhanced Web Application Module Translation | |
CN104199711A (en) | Method and device for creating root access | |
US10956232B2 (en) | Instructing the use of application programming interface commands in a runtime environment | |
CN105550596B (en) | A kind of access processing method and device | |
CN104731622B (en) | The loading method of a kind of application program, device and mobile terminal | |
CN103975336A (en) | Encoding labels in values to capture information flows | |
US20170235829A1 (en) | System and Methods for Optimizing the Response to a Request for Dynamic Web Content | |
CN105554085B (en) | A kind of dynamic timeout treatment method and apparatus based on server connection | |
JP5540109B2 (en) | System and method for loading application classes | |
CN109254804A (en) | A kind of static resource loading method, device, equipment and readable storage medium storing program for executing | |
CN105068806A (en) | Browser cache control method and system | |
CN102981903B (en) | A kind of method that in multi-core browser, process is multiplexing and multi-core browser thereof | |
US9223557B1 (en) | Application provided browser plugin | |
US10572254B2 (en) | Instruction to query cache residency | |
CA2842063A1 (en) | Font delivery service | |
CN104504331A (en) | Virtualization security detection method and system | |
JP2022104872A (en) | Method, system, and computer program for providing boundary information access in buffer protection | |
US9189405B2 (en) | Placement of data in shards on a storage device | |
WO2020073374A1 (en) | Advertisement anti-shielding method and device | |
TWI665605B (en) | Computer program product,computer implemented method and computer system for temporarily suppressing processing of a restrained storage operand request |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181120 |
|
RJ01 | Rejection of invention patent application after publication |