CN110321189A - A kind of method and apparatus that boarding program being presented in host program - Google Patents
A kind of method and apparatus that boarding program being presented in host program Download PDFInfo
- Publication number
- CN110321189A CN110321189A CN201910265412.0A CN201910265412A CN110321189A CN 110321189 A CN110321189 A CN 110321189A CN 201910265412 A CN201910265412 A CN 201910265412A CN 110321189 A CN110321189 A CN 110321189A
- Authority
- CN
- China
- Prior art keywords
- interface assembly
- program
- boarding program
- boarding
- resource
- 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
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/451—Execution arrangements for user interfaces
-
- 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Stored Programmes (AREA)
Abstract
The purpose of the application is to provide a kind of method that boarding program is presented in host program, this method comprises: obtaining the current execution page of the first boarding program if detecting the operation for the be currently running in host program first boarding program to be switched to backstage;According to the current window setting for executing the page and corresponding first interface assembly of the first boarding program, the corresponding thumbnail of the first boarding program is generated, wherein thumbnail matches with window setting;The first interface assembly is presented in host program, thumbnail is shown in the window of the first interface assembly.The corresponding current thumbnail for executing the page of boarding program is presented in host program, to make user by click, the thumbnail can be realized and be switched to the boarding program, when program of lodging does not operate in foreground, user can also check that the current execution page of corresponding boarding program, the thumbnail in window by clicking the interface assembly are switched to the boarding program by interface assembly.
Description
Technical field
This application involves the communications field more particularly to a kind of technologies that boarding program is presented in host program.
Background technique
Program of lodging is that one kind relies on host program, does not need the i.e. workable program of downloading installation.Lodge program into
One step has expanded the function of host program.User is frequently encountered when using boarding program and opens multiple boarding programs
Situation, when multiple boarding programs are in running background, since multiple boarding program operates in backstage, user can not check that this is more
The current execution page status of a boarding program cannot realize the free switching between multiple boarding programs well.
Summary of the invention
The purpose of the application is to provide a kind of method and apparatus that boarding program is presented in host program.
According to the one aspect of the application, a kind of method that boarding program is presented in host program, this method are provided
Include:
If detecting the operation for the be currently running in host program first boarding program to be switched to backstage, institute is obtained
State the current execution page of the first boarding program;
It is set according to the window of the current execution page and corresponding first interface assembly of the first boarding program
It sets, generates the corresponding thumbnail of the first boarding program, wherein the thumbnail matches with window setting;
First interface assembly is presented in the host program, wherein the thumbnail is shown in described first
In the window of interface assembly.
According to further aspect of the application, a kind of equipment that boarding program is presented in host program is provided, this sets
It is standby to include:
Module one by one, if for detecting for the be currently running in host program first boarding program to be switched to backstage
Operation, obtain it is described first boarding program the current execution page;
One or two modules, for according to the current execution page and corresponding first interface of the first boarding program
The window of component is arranged, and generates the corresponding thumbnail of the first boarding program, wherein the thumbnail and the window are arranged
Match;
One or three modules, for first interface assembly to be presented in the host program, wherein the thumbnail
It is shown in the window of first interface assembly.
According to the one aspect of the application, a kind of equipment that boarding program is presented in host program, the equipment are provided
Include:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
Reason device executes the operation of either method as described above.
According to further aspect of the application, the computer-readable medium of store instruction is provided, described instruction is being held
System is made to carry out the operation of either method as described above when row.
Compared with prior art, the application by based on detect for by be currently running in host program first boarding
Program switches to the operation on backstage, obtains the current execution page of the first boarding program, according to the current execution page,
And the window setting of corresponding first interface assembly of the first boarding program, generate the corresponding contracting of the first boarding program
First interface assembly is presented in sketch map in the host program, is corresponded to supporting to present boarding program in host program
The current execution page thumbnail, so that user be made to can be realized by clicking the thumbnail and be switched to the boarding program,
When boarding program does not operate in foreground, user can also check the current execution page of corresponding boarding program by interface assembly
Face, further, the thumbnail in window by clicking the interface assembly are switched to the boarding program.
Also, the application generates corresponding first boundary by rendering the first boarding program in the first interface assembly resource
The first boarding program is switched to front stage operation by the first interface assembly to realize by face component, and when backstage, generation has multiple
When interface assembly, the free switching between multiple boarding programs is realized by multiple interface assembly.Meanwhile passing through the first interface group
Part saves the running state information of the first boarding program, and passes through first interface assembly for the first boarding program and other boundaries
Component corresponding boarding program in face is isolated, to support that keeping multiple while free switching between multiple boarding programs posts
The respective state of Su Chengxu.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 shows a kind of method flow that boarding program is presented in host program according to the application one embodiment
Figure;
Fig. 2 shows a kind of EM equipment modules that boarding program is presented in host program according to another embodiment of the application
Figure;
Fig. 3 shows the interface schematic diagram that boarding program is presented in host program according to the application one embodiment;
Fig. 4 shows the interface schematic diagram that boarding program is presented in host program according to another embodiment of the application;
Fig. 5 shows a kind of method flow that boarding program is presented in host program according to another embodiment of the application
Figure;
Fig. 6 shows a kind of EM equipment module that boarding program is presented in host program according to another embodiment of the application
Figure;
Fig. 7 shows the exemplary system that can be used for implementing each embodiment described herein.
The same or similar appended drawing reference represents the same or similar component in attached drawing.
Specific embodiment
The application is described in further detail with reference to the accompanying drawing.
In a typical configuration of this application, terminal, the equipment of service network and trusted party include one or more
Processor (for example, central processing unit (Central Processing Unit, CPU)), input/output interface, network interface and
Memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (Random
Access Memory, RAM) and/or the forms such as Nonvolatile memory, such as read-only memory (Read Only Memory, ROM)
Or flash memory (Flash Memory).Memory is the example of computer-readable medium.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer include, but are not limited to phase change memory (Phase-Change Memory, PCM), it is programmable with
Machine accesses memory (Programmable Random Access Memory, PRAM), static random access memory
(Static Random-Access Memory, SRAM), dynamic random access memory (Dynamic Random Access
Memory, DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable it is read-only
Memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), flash memory
Or other memory techniques, read-only disc read only memory (CD-ROM) (Compact Disc Read-Only Memory, CD-ROM), number
Multifunctional optical disk (Digital Versatile Disc, DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage
Or other magnetic storage devices or any other non-transmission medium, it can be used for storing and can be accessed by a computing device information.
The application meaning equipment includes but is not limited to that user equipment, the network equipment or user equipment and the network equipment pass through
Network is integrated constituted equipment.The user equipment includes but is not limited to that any one can carry out human-computer interaction with user
The mobile electronic product, such as smart phone, tablet computer etc. of (such as human-computer interaction is carried out by touch tablet), the mobile electricity
Sub- product can use any operating system, such as android operating system, iOS operating system.Wherein, the network equipment
The electronic equipment of numerical value calculating and information processing can be carried out automatically according to the instruction for being previously set or storing including a kind of,
Hardware includes but is not limited to microprocessor, specific integrated circuit (Application Specific Integrated
Circuit, ASIC), programmable logic device (Programmable Logic Device, PLD), field programmable gate array
(Field Programmable Gate Array, FPGA), digital signal processor (Digital Signal Processor,
DSP), embedded device etc..The network equipment includes but is not limited to computer, network host, single network server, multiple
The cloud that network server collection or multiple servers are constituted;Here, cloud is by the big meter based on cloud computing (Cloud Computing)
Calculation machine or network server are constituted, wherein cloud computing is one kind of distributed computing, by the computer set group of a group loose couplings
At a virtual supercomputer.The network includes but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, VPN net
Network, wireless self-organization network (Ad Hoc network) etc..Preferably, the equipment, which can also be, runs on the user equipment, net
Network equipment or user equipment are mutually collected with touch terminal by network with the network equipment, the network equipment, touch terminal or the network equipment
At the program in the equipment constituted.
Certainly, those skilled in the art will be understood that above equipment is only for example, other are existing or are likely to occur from now on
Equipment be such as applicable to the application, should also be included within the application protection scope, and be incorporated herein by reference.
In the description of the present application, the meaning of " plurality " is two or more, unless otherwise specifically defined.
Fig. 1 shows a kind of method flow that boarding program is presented in host program according to the application one embodiment
Figure.The method comprising the steps of S101, step S102 and step S103.In step s101, if detecting for by host's journey
The first boarding program being currently running in sequence switches to the operation on backstage, obtains the current execution page of the first boarding program
Face;In step s 102, according to the current execution page and corresponding first interface assembly of the first boarding program
Window setting generates the corresponding thumbnail of the first boarding program, wherein phase is arranged with the window in the thumbnail
Match;In step s 103, first interface assembly is presented in the host program, wherein the thumbnail is shown in
In the window of first interface assembly.In some embodiments, the host program includes but is not limited to application program (example
Such as, social application, payment application, shopping application etc.).In some embodiments, the host program is installed on a user device,
Wherein, the user equipment includes but is not limited to that mobile phone, plate, computer etc. calculate equipment.In some embodiments, the boarding
Program (for example, described first boarding program) includes but is not limited to small routine, and the boarding program can be on the host program
Operation.In some embodiments, first interface assembly is based on the first boarding Program Generating, first interface
Component is the component in user equipment, for rendering the first boarding program, for example, passing through the window of first interface assembly
The current execution page of the first boarding program is presented in mouth.In some embodiments, the interface assembly is (for example, described
One interface assembly) it is corresponding in android system be Activity, interface assembly resource is done with Activity, in some realities
It applies in example, android system has done some processing, such as asset creation, isolation, release etc. to Activity, further
Ground defines the interface assembly based on the identification information (for example, icon) of the first boarding program inside Manifest.xml
(for example, described first interface assembly), generates corresponding first interface assembly by startActivity in code;Another
In some embodiments, UIView is can be used in the interface assembly (for example, described first interface assembly) in iOS system, one
In a little embodiments, host program is needed to do the management of UIView life cycle, including asset creation and release, is switched to backstage etc.
Work, further, the identification information based on the first boarding program generate corresponding first interface assembly.Pass through the first interface group
Part saves the running state information of the first boarding program, and passes through first interface assembly for the first boarding program and other boundaries
Component corresponding boarding program in face is isolated, to support that keeping multiple while free switching between multiple boarding programs posts
The respective state of Su Chengxu.
Specifically, in step s101, if detecting for be currently running in host program first to lodge program
The operation on backstage is switched to, the current execution page of the first boarding program is obtained.In some embodiments, host's journey
The first boarding program being currently running in sequence includes that the first boarding program of operation currently is presented on foreground.For example, user is in society
It hands over using small routine a is opened in A, small routine a is currently running in foreground, and user is operated by corresponding user equipment
(for example, pressing Home key, or small routine b) is opened, which is based on the operation and small routine a is switched to backstage.
Further, user equipment obtains the current execution page of small routine a.
In step s 102, according to the current execution page and corresponding first interface of the first boarding program
The window of component is arranged, and generates the corresponding thumbnail of the first boarding program, wherein the thumbnail and the window are arranged
Match.In some embodiments, first interface assembly includes window, the window current execution page for rendering
Face.In some embodiments, user equipment generates the current execution page of the first boarding program based on the dimension scale of the window
The corresponding thumbnail in face.In some embodiments, the thumbnail is used to present the first boarding program to user and is switched to
Current execution page when backstage.In some embodiments, generating in user equipment has one or more interface assemblies, Mei Gejie
Face component includes corresponding window, and the boarding that one or more is switched to backstage is presented to user by the window in user equipment
The thumbnail of program obtains by the thumbnail current execution page when corresponding boarding program is switched to backstage so as to user
Face, to be more convenient for carrying out the free switching between multiple boarding programs.
In step s 103, first interface assembly is presented in the host program, wherein the thumbnail
It is shown in the window of first interface assembly.In some embodiments, first interface assembly includes window, the window
The thumbnail, the thumbnail are that the current execution page based on the first boarding program is drawn to mouth for rendering.?
In some embodiments, the dimension scale of the thumbnail is identical as the dimension scale of window of first interface assembly.One
In a little embodiments, user equipment generation has one or more interface assemblies, one or more of interface assemblies for rendering by
Switch to the current execution page of one or more boarding programs on backstage.Further, in some embodiments, the host
One or more interface assemblies are presented in program, the interface assembly is presented corresponding boarding program by window and is switched to
The corresponding thumbnail of the current execution page on backstage.In some embodiments, user is corresponding by clicking each boarding program
Thumbnail carries out the switching of corresponding boarding program.
For example, please referring to Fig. 1, Fig. 3 and Fig. 4.Host program A (for example, social application A) is installed in user equipment,
Operation has boarding program a (for example, small routine a), boarding program b are (for example, small routine b), boarding program c in the host program
(for example, small routine c).Small routine b and small routine c has been switched to backstage, and small routine b and small routine c have respectively corresponded the
Second interface component and third interface assembly.It in front stage operation is currently small routine a, wherein small routine a is corresponding with the first boundary
Face component.For user by the way that small routine a has been switched to backstage by Home key, user equipment obtains currently holding for small routine a
The row page (for example, page when small routine a is switched to backstage).Further, user equipment is according to the current execution page
Face and corresponding first interface assembly of small routine a draw the corresponding thumbnail of small routine a, for example, according to first boundary
The thumbnail of the scale comparable size of the window of face component.Further, presented in social application A this first
Interface assembly, and the thumbnail that small routine a currently executes the page is presented by the window of first interface assembly.Such as Fig. 3 institute
Show, in some embodiments, first interface assembly, second contact surface component and third interface assembly are presented on social application
In the conversation page of A, wherein in the conversation page by interface assembly can present the icon 100 of small routine, title 200 with
And the current thumbnail 300 for executing the page.As shown in figure 4, in further embodiments, first interface assembly, the second boundary
Face component and third interface assembly are presented on the small routine administrative center page of social application A, wherein in the small routine management
Icon 100, title 200 and the current thumbnail for executing the page of small routine can be presented in the page of center by interface assembly
300.Certainly, those skilled in the art will be understood that above-described icon 100, title 200 and the current contracting for executing the page
The presentation mode of sketch map 300 is only for example, other presentation modes that are existing or being likely to occur from now on such as can be suitably used for the application,
It is also contained in the protection scope of the application, and is incorporated herein by reference.For example, in some embodiments, passing through boundary
Thumbnail 300, the icon 100 of the current execution page of boarding program is presented in face component in host program;In some embodiments
In, thumbnail 300, the title 200 of the current execution page of boarding program is presented in host program by interface assembly.User
It can currently be switched to one or more boarding programs on backstage by the thumbnail preview that the window of interface assembly is presented, and lead to
It crosses and clicks the thumbnail and switch to corresponding boarding program, support multitask switching and show, improve user experience.
In some embodiments, the method also includes step S108 (not shown), in step S108, persistent storage
The thumbnail;Wherein, the step S103 includes: first interface assembly to be presented in the host program, and read
The thumbnail and the window that the thumbnail is shown in first interface assembly.In some embodiments, in order to keep away
Exempt to lead to show the corresponding thumbnail of boarding program because of the closing of non-residential program itself, user equipment meeting persistence is deposited
Store up the thumbnail generated.For example, after host program closing or accidentally quit, when being again turned on the host program, the boarding journey
The execution state (for example, the corresponding thumbnail of boarding program) of sequence can still be read, be shown.For example, user equipment will give birth to
At thumbnail save in a hard disk so that can continue after host program or the user equipment are restarted read show the contracting
Sketch map.
In some embodiments, the thumbnail includes any one of following: the current execution page through reducing processing;
The current page subject matter information executed in the page;Tabbed information belonging to the current execution page.In some implementations
In example, understand in order to facilitate the thumbnail that user is presented by the window of interface assembly one for being currently switched to backstage or
The current execution page situation of multiple boarding programs, the thumbnail may include a variety of situations.
For example, the thumbnail includes the current execution page for being reduced processing.In some embodiments, interface group
The size of the window of part is less than the size of the current execution page of boarding program, therefore, in order to pass through thumbnail in the window
The current full content for executing the page is presented, which is the current execution page by reducing processing.
For another example the thumbnail includes the current page subject matter information executed in the page.In some embodiments,
The thumbnail can show the current page subject matter information for executing the page, and user can also be helped to understand and be currently switched to
The current execution page situation of the boarding program on backstage.For example, shopping small routine includes book page, the clothes page, general merchandise page
The page subject matters information such as face, when which is switched to backstage by user, the current execution page of the shopping small routine is
Book page, then the page subject matter information of the book page is presented in the window of the corresponding interface assembly of shopping small routine.
In another example the thumbnail includes tabbed information belonging to the current execution page.In some embodiments,
The thumbnail can show tabbed information belonging to the current execution page, and user can also be helped to understand and be currently switched
To the current execution page situation of the boarding program on backstage.For example, shopping small routine includes the labels such as homepage, classification, shopping cart
Page information, when which is switched to backstage by user, Shipping Options Page belonging to the current execution page of the shopping small routine
Information is shopping cart, then the tabbed information of the shopping cart is presented in the window of the corresponding interface assembly of shopping small routine.
In some embodiments, the method is before the step S101 further include: when the first boarding program quilt
It enables, generates corresponding first interface assembly of the first boarding program.In some embodiments, the first boarding program quilt
Corresponding first interface assembly of the first boarding program is generated after enabling.To be again turned on the first boarding program subsequent
When switched over by first interface assembly.
In some embodiments, as shown in figure 5, described generate corresponding first interface assembly of the first boarding program,
Including step S104 and step S105, in step S104, institute is determined from preset one or more interface assembly resources
State the corresponding first interface assembly resource of the first boarding program;In step s105, the wash with watercolours in the first interface assembly resource
The first boarding program is contaminated, to generate corresponding first interface assembly of the first boarding program, wherein first interface
Component includes the identification information of the first boarding program.
Specifically, determining that described first posts from preset one or more interface assembly resources in step S104
The corresponding first interface assembly resource of Su Chengxu.In some embodiments, one or more interface groups are preset in user equipment
Part resource;In further embodiments, one or more interface assembly resources are preset in boarding program administrative center.By
Corresponding boarding program is rendered in the interface assembly resource to generate interface assembly.For example, the life about the first interface assembly
At, corresponding in android system is Activity, interface assembly resource is done with Activity, in some embodiments,
Android system has done some processing, such as asset creation, isolation, release etc. to Activity, further, is based on
The identification information of first boarding program, the definition interfaces component inside Manifest.xml pass through in code
StartActivity generates corresponding first interface assembly;UIView can be used in iOS system, in some embodiments, need
Principal host's program does the management of UIView life cycle, including asset creation and release, is switched to the work such as backstage, further
Ground, the identification information based on the first boarding program generate corresponding first interface assembly.In some embodiments, according to described one
The rendering state information of a or multiple interface assembly resources determines the corresponding first interface assembly resource of the first boarding program,
For example, search the interface assembly resource not being rendered from one or more of interface assembly resources, and by the interface assembly
Resource is determined as the first interface assembly resource.In some embodiments, the interface assembly resource includes interface identification information, institute
Stating interface identification information includes but is not limited to the number information about interface assembly resource, for example, default, there are five interface assemblies
Resource, five interface assembly resources are distinguished with number 1,2,3,4,5 respectively.In some embodiments, according to the boundary
Face identification information, which is searched, determines the first interface resources, for example, at the interface that five interface assembly resource lookups are 1 to number
Component resources are the idle state not being rendered, and the interface assembly resource for being 1 using the number is as the first interface assembly resource.It is logical
Crossing the interface identification information can also realize that the mapping between the first interface assembly resource and the identification information of the first boarding program is corresponding,
To be switched to the first boarding program based on the interface identification information searching, alternatively, the mark letter based on the first boarding program
Breath finds corresponding first interface assembly resource.
In step s105, the first boarding program is rendered in the first interface assembly resource, described in generating
Corresponding first interface assembly of first boarding program, wherein first interface assembly includes the mark of the first boarding program
Know information.In some embodiments, it in order to which the corresponding first boarding program of operation is presented by first interface assembly, needs
The first boarding program is rendered in the first interface assembly resource, to realize the status information for keeping the first boarding program
(for example, the interface state information of the first boarding program when being switched to backstage) and by switch first interface assembly come
Run the purpose of the first boarding program.For including but unlimited according to first boarding the first interface assembly of programs render resource
In: the data of the boarding program are bound, the first boarding program can be run by the first interface assembly generated to realize;Rendering
The identification information of the first boarding program determines first interface assembly pair by the way that first interface assembly is i.e. recognizable to realize
The the first boarding program answered, to realize the switching realized between each boarding program by the switching of each interface inter-module.Some
It include the identification information of the first boarding program in embodiment, in first interface assembly, in first interface assembly
The identification information is presented, user is facilitated to select confirmation;In some embodiments, the identification information of the first boarding program is used for
Relationship maps are formed with first interface assembly, are posted to find corresponding first according to first interface assembly in switching
Su Chengxu, to run and show the first boarding program in first interface assembly.
In some embodiments, the step S104 include: according to the rendering state information of each interface assembly resource from
The corresponding first interface assembly resource of the first boarding program is determined in one or more of interface assembly resources.Some
In embodiment, after receiving the trigger condition for meeting generation interface assembly, user equipment is needed from preset one or more
The interface assembly resource for generating interface assembly is determined in interface assembly resource.In order to make full use of one or more of boundaries
Face component resources, in some embodiments, user equipment are believed according to the rendering state of one or more of interface assembly resources
Breath determines the corresponding first interface assembly resource of the first boarding program.In some embodiments, the rendering state information
It has been rendered including the interface assembly resource or has not been rendered.
In some embodiments, the step S104 include: according to the rendering state information of each interface assembly resource from
Current interface assembly resource to be rendered is searched in one or more of interface assembly resources, by the current boundary to be rendered
Face component resources are determined as the corresponding first interface assembly resource of the first boarding program.In some embodiments, the boundary
Face component resources include interface identification information (for example, 1# interface assembly resource, 2# interface assembly resource, 3# interface assembly resource,
4# interface assembly resource, 5# interface assembly resource), in some embodiments, in order to which each boarding program can preferably be run,
Five interface assembly resources can be at most preset in user equipment.When detecting the trigger condition for meeting generation interface assembly, use
The interface assembly resource that family equipment is not rendered currently according to the rendering state information searching of five interface assembly resources, example
Such as, user equipment successively searches the rendering state information of five interface assembly resources according to the sequence of interface identification information,
In, 5# interface assembly resource is not rendered, which is determined as the first interface assembly resource by user equipment, and
Corresponding first boarding program is rendered in the 5# interface assembly resource.According to the wash with watercolours of one or more of interface assembly resources
Dye status information searches the first interface assembly resource for rendering the first boarding program, can find the interface group of current idle
Part resource is conducive to the effective use of resource to more fully utilize the one or more interface assembly resource.
In some embodiments, the step S104 further include: if not finding the current interface assembly to be rendered
The interface assembly resource for the interface assembly that boarding program administrative center records earliest is determined as the first boarding program by resource
Corresponding first interface assembly resource.In some embodiments, the boarding program administrative center is in the host program
Functional module, in some embodiments, the functional module are a part of boarding program engine (for example, in small routine engine
A part, it is all open small routines behaviors will pass through the boarding program administrative center).In some embodiments, described
One or more boarding programs of the boarding program administrative center for management operating in the host program, for example, described post
Su Chengxu administrative center is used to support starting, the operation of one or more of boarding programs;The boarding program administrative center
For recording the first interface assembly generated.In some embodiments, the interface assembly for rendering, the corresponding boarding of operation
Program.In order to timely and effectively find the first interface assembly resource for the first boarding program, when boundary preset in user equipment
When face component resources have been rendered, user equipment according to boarding program administrative center record one or more interface assemblies
The generation time determine the first interface assembly resource.When interface assembly generates, i.e., record should in boarding program administrative center
Therefore interface assembly can be reserved for the generation time of the interface assembly in the boarding program administrative center.Wherein, each interface group
Part includes the interface identification information of its corresponding interface assembly resource, and user equipment can be identified according to the interface identification information
Preset multiple interface assembly resources, so that it is determined that currently available interface assembly resource.In some embodiments, in order to uniform
Using preset one or more interface assembly resources, user equipment generates the life of interface assembly according to each interface assembly resource
The first interface assembly resource is determined at the time.For example, having preset five interface assembly resources in user equipment: 1# interface assembly money
Source, 2# interface assembly resource, 3# interface assembly resource, 4# interface assembly resource, 5# interface assembly resource, wherein the interface 1# group
The time that part resource generates interface assembly is earliest, which is determined as the first interface assembly and provided by user equipment
Source.
In some embodiments, the step S104 further include: if not finding the current interface assembly to be rendered
The boarding program administrative center is determined as institute in the interface assembly resource that foreground executes the shortest interface assembly of duration by resource
State the corresponding first interface assembly resource of the first boarding program.In order to timely and effectively find the first boundary for the first boarding program
Face component resources, when interface assembly resource preset in user equipment has been rendered, user equipment is according to boarding program
The duration information for being switched to foreground determines the first interface assembly resource.To a certain extent, boarding program is switched to foreground
Duration it is longer illustrate that user more likes with the boarding program, similarly, boarding program is switched to the shorter explanation of duration on foreground
User is delithted with the boarding program.In some embodiments, user equipment records in boarding program administrative center
It is searched in one or more interface assemblies and is switched to interface assembly resource corresponding to the shortest interface assembly of duration on foreground,
And the interface assembly resource is determined as the first interface assembly resource.The shortest boarding journey of duration by the way that foreground will be switched to
Sequence determines the first interface assembly resource, and can screen out for user is not that occupancy interface assembly resource is presented in the boarding being delithted with,
So as to more fully make good use of each interface assembly resource.
In some embodiments, if the step S101 includes: detected for will be currently running in host program
One boarding program switches to the operation on backstage, generates corresponding first interface assembly of the first boarding program, and described in acquisition
The current execution page info of first boarding program.In some embodiments, the trigger condition for generating the first interface assembly
For the operation that the be currently running in host program first boarding program is switched to backstage.For example, be currently running first
Program of lodging is there are no corresponding first interface assembly, when the first boarding program is switched to backstage, generates this and first posts
The first interface assembly of Su Chengxu, meanwhile, the current execution page info of the first boarding program is obtained, is currently held with generating this
The corresponding thumbnail of row page info, and the thumbnail is presented in first interface assembly.
In some embodiments, first interface assembly includes the identification information of the first boarding program, and described the
The identification information and the thumbnail of one boarding program are presented in the host program jointly and show first interface assembly
Window or first interface assembly window where region in.In some embodiments, user equipment is generating first
Identification information based on corresponding first boarding program when interface assembly, which is passed in first interface assembly.
In some embodiments, as shown in figure 3, the identification information 100 of the first boarding program and the thumbnail 300 generated are presented jointly
The region of first interface assembly is shown in the host program;In further embodiments, as shown in figure 4, first posts
The identification information 100 of Su Chengxu and the thumbnail 300 generated are presented in the host program jointly and show first boundary
The region 400 (for example, the dotted box portion in Fig. 4 is the region for showing first interface assembly) of face component.Certainly, this field
Technical staff will be understood that the presentation mode in Fig. 3 and Fig. 4 is only for example, other are existing or what is be likely to occur from now on is in
Existing mode such as can be suitably used for the application, be also contained in the protection scope of the application, and be incorporated herein by reference.
Fig. 2 shows a kind of EM equipment modules that boarding program is presented in host program according to the application one embodiment
Figure.The equipment includes module, one or two modules and one or three modules one by one.Module one by one, if for detecting for by host's journey
The first boarding program being currently running in sequence switches to the operation on backstage, obtains the current execution page of the first boarding program
Face;One or two modules are used for corresponding first interface assembly of program of lodging according to the current execution page and described first
Window setting generates the corresponding thumbnail of the first boarding program, wherein phase is arranged with the window in the thumbnail
Match;One or three modules, for first interface assembly to be presented in the host program, wherein the thumbnail is shown in
In the window of first interface assembly.In some embodiments, the host program includes but is not limited to application program (example
Such as, social application, payment application, shopping application etc.).In some embodiments, the host program is installed on a user device,
Wherein, the user equipment includes but is not limited to that mobile phone, plate, computer etc. calculate equipment.In some embodiments, the boarding
Program (for example, described first boarding program) includes but is not limited to small routine, and the boarding program can be on the host program
Operation.In some embodiments, first interface assembly is based on the first boarding Program Generating, first interface
Component is the component in user equipment, for rendering the first boarding program, for example, passing through the window of first interface assembly
The current execution page of the first boarding program is presented in mouth.In some embodiments, the interface assembly is (for example, described
One interface assembly) it is corresponding in android system be Activity, interface assembly resource is done with Activity, in some realities
It applies in example, android system has done some processing, such as asset creation, isolation, release etc. to Activity, further
Ground defines the interface assembly based on the identification information (for example, icon) of the first boarding program inside Manifest.xml
(for example, described first interface assembly), generates corresponding first interface assembly by startActivity in code;Another
In some embodiments, UIView is can be used in the interface assembly (for example, described first interface assembly) in iOS system, one
In a little embodiments, host program is needed to do the management of UIView life cycle, including asset creation and release, is switched to backstage etc.
Work, further, the identification information based on the first boarding program generate corresponding first interface assembly.Pass through the first interface group
Part saves the running state information of the first boarding program, and passes through first interface assembly for the first boarding program and other boundaries
Component corresponding boarding program in face is isolated, to support that keeping multiple while free switching between multiple boarding programs posts
The respective state of Su Chengxu.
Specifically, module one by one, if for detecting for be currently running in host program first to lodge program
The operation on backstage is switched to, the current execution page of the first boarding program is obtained.In some embodiments, host's journey
The first boarding program being currently running in sequence includes that the first boarding program of operation currently is presented on foreground.For example, user is in society
It hands over using small routine a is opened in A, small routine a is currently running in foreground, and user is operated by corresponding user equipment
(for example, pressing Home key, or small routine b) is opened, which is based on the operation and small routine a is switched to backstage.
Further, user equipment obtains the current execution page of small routine a.
One or two modules, for according to the current execution page and corresponding first interface of the first boarding program
The window of component is arranged, and generates the corresponding thumbnail of the first boarding program, wherein the thumbnail and the window are arranged
Match.In some embodiments, first interface assembly includes window, the window current execution page for rendering
Face.In some embodiments, user equipment generates the current execution page of the first boarding program based on the dimension scale of the window
The corresponding thumbnail in face.In some embodiments, the thumbnail is used to present the first boarding program to user and is switched to
Current execution page when backstage.In some embodiments, generating in user equipment has one or more interface assemblies, Mei Gejie
Face component includes corresponding window, and the boarding that one or more is switched to backstage is presented to user by the window in user equipment
The thumbnail of program obtains by the thumbnail current execution page when corresponding boarding program is switched to backstage so as to user
Face, to be more convenient for carrying out the free switching between multiple boarding programs.
One or three modules, for first interface assembly to be presented in the host program, wherein the thumbnail
It is shown in the window of first interface assembly.In some embodiments, first interface assembly includes window, the window
The thumbnail, the thumbnail are that the current execution page based on the first boarding program is drawn to mouth for rendering.?
In some embodiments, the dimension scale of the thumbnail is identical as the dimension scale of window of first interface assembly.One
In a little embodiments, user equipment generation has one or more interface assemblies, one or more of interface assemblies for rendering by
Switch to the current execution page of one or more boarding programs on backstage.Further, in some embodiments, the host
One or more interface assemblies are presented in program, the interface assembly is presented corresponding boarding program by window and is switched to
The corresponding thumbnail of the current execution page on backstage.In some embodiments, user is corresponding by clicking each boarding program
Thumbnail carries out the switching of corresponding boarding program.
For example, please referring to Fig. 1, Fig. 3 and Fig. 4.Host program A (for example, social application A) is installed in user equipment,
Operation has boarding program a (for example, small routine a), boarding program b are (for example, small routine b), boarding program c in the host program
(for example, small routine c).Small routine b and small routine c has been switched to backstage, and small routine b and small routine c have respectively corresponded the
Second interface component and third interface assembly.It in front stage operation is currently small routine a, wherein small routine a is corresponding with the first boundary
Face component.For user by the way that small routine a has been switched to backstage by Home key, user equipment obtains currently holding for small routine a
The row page (for example, page when small routine a is switched to backstage).Further, user equipment is according to the current execution page
Face and corresponding first interface assembly of small routine a draw the corresponding thumbnail of small routine a, for example, according to first boundary
The thumbnail of the scale comparable size of the window of face component.Further, presented in social application A this first
Interface assembly, and the thumbnail that small routine a currently executes the page is presented by the window of first interface assembly.Such as Fig. 3 institute
Show, in some embodiments, first interface assembly, second contact surface component and third interface assembly are presented on social application
In the conversation page of A, wherein in the conversation page by interface assembly can present the icon 100 of small routine, title 200 with
And the current thumbnail 300 for executing the page.As shown in figure 4, in further embodiments, first interface assembly, the second boundary
Face component and third interface assembly are presented on the small routine administrative center page of social application A, wherein in the small routine management
Icon 100, title 200 and the current thumbnail for executing the page of small routine can be presented in the page of center by interface assembly
300.Certainly, those skilled in the art will be understood that above-described icon 100, title 200 and the current contracting for executing the page
The presentation mode of sketch map 300 is only for example, other presentation modes that are existing or being likely to occur from now on such as can be suitably used for the application,
It is also contained in the protection scope of the application, and is incorporated herein by reference.For example, in some embodiments, passing through boundary
Thumbnail 300, the icon 100 of the current execution page of boarding program is presented in face component in host program;In some embodiments
In, thumbnail 300, the title 200 of the current execution page of boarding program is presented in host program by interface assembly.User
It can currently be switched to one or more boarding programs on backstage by the thumbnail preview that the window of interface assembly is presented, and lead to
It crosses and clicks the thumbnail and switch to corresponding boarding program, support multitask switching and show, improve user experience.
In some embodiments, the equipment further includes one or eight module (not shown), and one or eight module is used for persistence
Store the thumbnail;Wherein, one or three module is used for: first interface assembly is presented in the host program, and
It reads the thumbnail and the thumbnail is shown in the window of first interface assembly.In some embodiments, it is
The closing because of non-residential program itself is avoided to cause to show that the corresponding thumbnail of boarding program, user equipment can be lasting
Change the thumbnail that storage generates.For example, when being again turned on the host program, this is posted after host program closing or accidentally quit
The execution state (for example, the corresponding thumbnail of boarding program) of Su Chengxu can still be read, be shown.For example, user equipment
The thumbnail of generation is saved in a hard disk, so that can continue to read display after host program or the user equipment are restarted
The thumbnail.
In some embodiments, the thumbnail includes any one of following: the current execution page through reducing processing;
The current page subject matter information executed in the page;Tabbed information belonging to the current execution page.In some implementations
In example, understand in order to facilitate the thumbnail that user is presented by the window of interface assembly one for being currently switched to backstage or
The current execution page situation of multiple boarding programs, the thumbnail may include a variety of situations.
For example, the thumbnail includes the current execution page for being reduced processing.In some embodiments, interface group
The size of the window of part is less than the size of the current execution page of boarding program, therefore, in order to pass through thumbnail in the window
The current full content for executing the page is presented, which is the current execution page by reducing processing.
For another example the thumbnail includes the current page subject matter information executed in the page.In some embodiments,
The thumbnail can show the current page subject matter information for executing the page, and user can also be helped to understand and be currently switched to
The current execution page situation of the boarding program on backstage.For example, shopping small routine includes book page, the clothes page, general merchandise page
The page subject matters information such as face, when which is switched to backstage by user, the current execution page of the shopping small routine is
Book page, then the page subject matter information of the book page is presented in the window of the corresponding interface assembly of shopping small routine.
In another example the thumbnail includes tabbed information belonging to the current execution page.In some embodiments,
The thumbnail can show tabbed information belonging to the current execution page, and user can also be helped to understand and be currently switched
To the current execution page situation of the boarding program on backstage.For example, shopping small routine includes the labels such as homepage, classification, shopping cart
Page information, when which is switched to backstage by user, Shipping Options Page belonging to the current execution page of the shopping small routine
Information is shopping cart, then the tabbed information of the shopping cart is presented in the window of the corresponding interface assembly of shopping small routine.
In some embodiments, the module one by one is also used to: when the first boarding program is activated, generating described the
Corresponding first interface assembly of one boarding program.In some embodiments, the first boarding program is generated after being activated and is somebody's turn to do
Corresponding first interface assembly of first boarding program.So as to it is subsequent be again turned on the first boarding program when by first boundary
Face component switches over.
In some embodiments, as shown in fig. 6, described generate corresponding first interface assembly of the first boarding program,
The equipment further includes one or four modules and First Five-Year Plan module, one or four modules, for providing from preset one or more interface assemblies
The corresponding first interface assembly resource of the first boarding program is determined in source;First Five-Year Plan module, in first interface group
The first boarding program is rendered in part resource, to generate corresponding first interface assembly of the first boarding program, wherein institute
State the identification information that the first interface assembly includes the first boarding program.
Specifically, one or four modules, for determining that described first posts from preset one or more interface assembly resources
The corresponding first interface assembly resource of Su Chengxu, wherein the interface assembly resource includes interface identification information.In some implementations
In example, one or more interface assembly resources are preset in user equipment;In further embodiments, boarding program administrative center
In be preset with one or more interface assembly resources.By rendering corresponding boarding program next life in the interface assembly resource
At interface assembly.For example, the generation about the first interface assembly, corresponding in android system is Activity, is used
Activity does interface assembly resource, and in some embodiments, android system has done some processing to Activity,
Such as asset creation, isolation, release etc., further, based on the identification information of the first boarding program, in Manifest.xml
Face definition interfaces component generates corresponding first interface assembly by startActivity in code;It can in iOS system
UIView is used, in some embodiments, it is desirable to host program does the management of UIView life cycle, including asset creation and is released
It puts, is switched to the work such as backstage, further, the identification information based on the first boarding program generates corresponding first interface group
Part.In some embodiments, determine that described first posts according to the rendering state information of one or more of interface assembly resources
The corresponding first interface assembly resource of Su Chengxu, is not rendered for example, searching from one or more of interface assembly resources
Interface assembly resource, and the interface assembly resource is determined as the first interface assembly resource.In some embodiments, the boundary
Face component resources include interface identification information, and the interface identification information includes but is not limited to the number about interface assembly resource
Information, for example, default there are five interface assembly resource, five interface assembly resources are carried out with number 1,2,3,4,5 respectively
It distinguishes.In some embodiments, the first interface resources are determined according to the interface identification information searching, for example, on five boundaries
It is the idle state not being rendered, the interface group for being 1 by the number that face component resources, which find the interface assembly resource that number is 1,
Part resource is as the first interface assembly resource.It can also realize that the first interface assembly resource is posted with first by the interface identification information
Mapping between the identification information of Su Chengxu is corresponding, to be switched to the first boarding program based on the interface identification information searching, or
Person, the identification information based on the first boarding program find corresponding first interface assembly resource.
First Five-Year Plan module, for rendering the first boarding program in the first interface assembly resource, described in generating
Corresponding first interface assembly of first boarding program, wherein first interface assembly includes the mark of the first boarding program
Know information.In some embodiments, it in order to which the corresponding first boarding program of operation is presented by first interface assembly, needs
The first boarding program is rendered in the first interface assembly resource, to realize the status information for keeping the first boarding program
(for example, the interface state information of the first boarding program when being switched to backstage) and by switch first interface assembly come
Run the purpose of the first boarding program.For including but unlimited according to first boarding the first interface assembly of programs render resource
In: the data of the boarding program are bound, the first boarding program can be run by the first interface assembly generated to realize;Rendering
The identification information of the first boarding program determines first interface assembly pair by the way that first interface assembly is i.e. recognizable to realize
The the first boarding program answered, to realize the switching realized between each boarding program by the switching of each interface inter-module.Some
It include the identification information of the first boarding program in embodiment, in first interface assembly, in first interface assembly
The identification information is presented, user is facilitated to select confirmation;In some embodiments, the identification information of the first boarding program is used for
Relationship maps are formed with first interface assembly, are posted to find corresponding first according to first interface assembly in switching
Su Chengxu, to run and show the first boarding program in first interface assembly.
In some embodiments, one or four module is used for: according to the rendering state information of each interface assembly resource from
The corresponding first interface assembly resource of the first boarding program is determined in one or more of interface assembly resources.Some
In embodiment, after receiving the trigger condition for meeting generation interface assembly, user equipment is needed from preset one or more
The interface assembly resource for generating interface assembly is determined in interface assembly resource.In order to make full use of one or more of boundaries
Face component resources, in some embodiments, user equipment are believed according to the rendering state of one or more of interface assembly resources
Breath determines the corresponding first interface assembly resource of the first boarding program.In some embodiments, the rendering state information
It has been rendered including the interface assembly resource or has not been rendered.
In some embodiments, one or four module is used for: according to the rendering state information of each interface assembly resource from
Current interface assembly resource to be rendered is searched in one or more of interface assembly resources, by the current boundary to be rendered
Face component resources are determined as the corresponding first interface assembly resource of the first boarding program.In some embodiments, the boundary
Face component resources include interface identification information (for example, 1# interface assembly resource, 2# interface assembly resource, 3# interface assembly resource,
4# interface assembly resource, 5# interface assembly resource), in some embodiments, in order to which each boarding program can preferably be run,
Five interface assembly resources can be at most preset in user equipment.When detecting the trigger condition for meeting generation interface assembly, use
The interface assembly resource that family equipment is not rendered currently according to the rendering state information searching of five interface assembly resources, example
Such as, user equipment successively searches the rendering state information of five interface assembly resources according to the sequence of interface identification information,
In, 5# interface assembly resource is not rendered, which is determined as the first interface assembly resource by user equipment, and
Corresponding first boarding program is rendered in the 5# interface assembly resource.According to the wash with watercolours of one or more of interface assembly resources
Dye status information searches the first interface assembly resource for rendering the first boarding program, can find the interface group of current idle
Part resource is conducive to the effective use of resource to more fully utilize the one or more interface assembly resource.
In some embodiments, one or four module is also used to: if not finding the current interface assembly to be rendered
The interface assembly resource for the interface assembly that boarding program administrative center records earliest is determined as the first boarding program by resource
Corresponding first interface assembly resource.In some embodiments, the boarding program administrative center is in the host program
Functional module, in some embodiments, the functional module are a part of boarding program engine (for example, in small routine engine
A part, it is all open small routines behaviors will pass through the boarding program administrative center).In some embodiments, described
One or more boarding programs of the boarding program administrative center for management operating in the host program, for example, described post
Su Chengxu administrative center is used to support starting, the operation of one or more of boarding programs;The boarding program administrative center
For recording the first interface assembly generated.In some embodiments, the interface assembly for rendering, the corresponding boarding of operation
Program.In order to timely and effectively find the first interface assembly resource for the first boarding program, when boundary preset in user equipment
When face component resources have been rendered, user equipment according to boarding program administrative center record one or more interface assemblies
The generation time determine the first interface assembly resource.When interface assembly generates, i.e., record should in boarding program administrative center
Therefore interface assembly can be reserved for the generation time of the interface assembly in the boarding program administrative center.Wherein, each interface group
Part includes the interface identification information of its corresponding interface assembly resource, and user equipment can be identified according to the interface identification information
Preset multiple interface assembly resources, so that it is determined that currently available interface assembly resource.In some embodiments, in order to uniform
Using preset one or more interface assembly resources, user equipment generates the life of interface assembly according to each interface assembly resource
The first interface assembly resource is determined at the time.For example, having preset five interface assembly resources in user equipment: 1# interface assembly money
Source, 2# interface assembly resource, 3# interface assembly resource, 4# interface assembly resource, 5# interface assembly resource, wherein the interface 1# group
The time that part resource generates interface assembly is earliest, which is determined as the first interface assembly and provided by user equipment
Source.
In some embodiments, one or four module is also used to: if not finding the current interface assembly to be rendered
The boarding program administrative center is determined as institute in the interface assembly resource that foreground executes the shortest interface assembly of duration by resource
State the corresponding first interface assembly resource of the first boarding program.In order to timely and effectively find the first boundary for the first boarding program
Face component resources, when interface assembly resource preset in user equipment has been rendered, user equipment is according to boarding program
The duration information for being switched to foreground determines the first interface assembly resource.To a certain extent, boarding program is switched to foreground
Duration it is longer illustrate that user more likes with the boarding program, similarly, boarding program is switched to the shorter explanation of duration on foreground
User is delithted with the boarding program.In some embodiments, user equipment records in boarding program administrative center
It is searched in one or more interface assemblies and is switched to interface assembly resource corresponding to the shortest interface assembly of duration on foreground,
And the interface assembly resource is determined as the first interface assembly resource.The shortest boarding journey of duration by the way that foreground will be switched to
Sequence determines the first interface assembly resource, and can screen out for user is not that occupancy interface assembly resource is presented in the boarding being delithted with,
So as to more fully make good use of each interface assembly resource.
In some embodiments, the module one by one is used for: if detecting for will be currently running in host program
One boarding program switches to the operation on backstage, generates corresponding first interface assembly of the first boarding program, and described in acquisition
The current execution page info of first boarding program.In some embodiments, the trigger condition for generating the first interface assembly
For the operation that the be currently running in host program first boarding program is switched to backstage.For example, be currently running first
Program of lodging is there are no corresponding first interface assembly, when the first boarding program is switched to backstage, generates this and first posts
The first interface assembly of Su Chengxu, meanwhile, the current execution page info of the first boarding program is obtained, is currently held with generating this
The corresponding thumbnail of row page info, and the thumbnail is presented in first interface assembly.
In some embodiments, first interface assembly includes the identification information of the first boarding program, and described the
The identification information and the thumbnail of one boarding program are presented in the host program jointly and show first interface assembly
Window or first interface assembly window where region in.In some embodiments, user equipment is generating first
Identification information based on corresponding first boarding program when interface assembly, which is passed in first interface assembly.
In some embodiments, as shown in figure 3, the identification information 100 of the first boarding program and the thumbnail 300 generated are presented jointly
The region of first interface assembly is shown in the host program;In further embodiments, as shown in figure 4, first posts
The identification information 100 of Su Chengxu and the thumbnail 300 generated are presented in the host program jointly and show first boundary
The region 400 (for example, the dotted box portion in Fig. 4 is the region for showing first interface assembly) of face component.Certainly, this field
Technical staff will be understood that the presentation mode in Fig. 3 and Fig. 4 is only for example, other are existing or what is be likely to occur from now on is in
Existing mode such as can be suitably used for the application, be also contained in the protection scope of the application, and be incorporated herein by reference.
Present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage has calculating
Machine code, when the computer code is performed, such as preceding described in any item methods are performed.
Present invention also provides a kind of computer program products, when the computer program product is executed by computer equipment
When, such as preceding described in any item methods are performed.
Present invention also provides a kind of computer equipment, the computer equipment includes:
One or more processors;
Memory, for storing one or more computer programs;
When one or more of computer programs are executed by one or more of processors so that it is one or
Multiple processors realize such as preceding described in any item methods.
Fig. 7 shows the exemplary system that can be used for implementing each embodiment described herein;
As shown in Figure 7 in some embodiments, system 1000 can be as any one network in each embodiment
Equipment, the first user equipment or second user equipment.In some embodiments, system 1000 may include with instruction one or
Multiple computer-readable mediums (for example, system storage or NVM/ store equipment 1020) and with the one or more computer
Readable medium is coupled and is configured as executing instruction to realize module thereby executing one or more of movement described herein
A processor (for example, (one or more) processor 1005).
For one embodiment, system control module 1010 may include any suitable interface controller, with to (one or
It is multiple) at least one of processor 1005 and/or any suitable equipment or component that are communicated with system control module 1010
Any suitable interface is provided.
System control module 1010 may include Memory Controller module 1030, to connect to the offer of system storage 1015
Mouthful.Memory Controller module 1030 can be hardware module, software module and/or firmware module.
System storage 1015 can be used for for example, load of system 1000 and storing data and/or instruction.For one
Embodiment, system storage 1015 may include any suitable volatile memory, for example, DRAM appropriate.In some implementations
In example, system storage 1015 may include four Synchronous Dynamic Random Access Memory of Double Data Rate type (DDR4SDRAM).
For one embodiment, system control module 1010 may include one or more input/output (I/O) controller,
To store equipment 1020 and the offer interface of (one or more) communication interface 1025 to NVM/.
For example, NVM/ storage equipment 1020 can be used for storing data and/or instruction.NVM/ stores equipment 1020
Any suitable nonvolatile memory (for example, flash memory) and/or may include that any suitable (one or more) is non-volatile
Store equipment (for example, one or more hard disk drive (Hard Disk, HDD), one or more CD (CD) drivers and/
Or one or more digital versatile disc (DVD) drivers).
NVM/ storage equipment 1020 may include a part for the equipment being physically mounted on as system 1000
Storage resource or its can by the equipment access without a part as the equipment.For example, NVM/ stores equipment 1020
It can be accessed by network via (one or more) communication interface 1025.
(one or more) communication interface 1025 can be provided for system 1000 interface with by one or more networks and/or
It is communicated with other any equipment appropriate.System 1000 can be according to appointing in one or more wireless network standards and/or agreement
Meaning standard and/or agreement are carried out wireless communication with the one or more components of wireless network.
For one embodiment, at least one of (one or more) processor 1005 can be with system control module 1010
The logics of one or more controllers (for example, Memory Controller module 1030) be packaged together.For one embodiment,
At least one of (one or more) processor 1005 can be patrolled with one or more controllers of system control module 1010
It collects and is packaged together to form system in package (SiP).For one embodiment, in (one or more) processor 1005 extremely
Few one can be integrated on same mold with the logic of one or more controllers of system control module 1010.For a reality
Example is applied, at least one of (one or more) processor 1005 can be with one or more controllers of system control module 1010
Logic be integrated on same mold to form system on chip (SoC).
In various embodiments, system 1000 can be, but not limited to be: server, work station, desk-top calculating equipment or shifting
It is dynamic to calculate equipment (for example, lap-top computing devices, handheld computing device, tablet computer, net book etc.).In each embodiment
In, system 1000 can have more or fewer components and/or different frameworks.For example, in some embodiments, system 1000
Including one or more video cameras, keyboard, liquid crystal display (LCD) screen (including touch screen displays), nonvolatile memory
Port, mutiple antennas, graphic chips, specific integrated circuit (ASIC) and loudspeaker.
It should be noted that the application can be carried out in the assembly of software and/or software and hardware, for example, can adopt
With specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment
In, the software program of the application can be executed to implement the above steps or functions by processor.Similarly, the application
Software program (including relevant data structure) can be stored in computer readable recording medium, for example, RAM memory,
Magnetic or optical driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the application, example
Such as, as the circuit cooperated with processor thereby executing each step or function.
In addition, a part of the application can be applied to computer program product, such as computer program instructions, when its quilt
When computer executes, by the operation of the computer, it can call or provide according to the present processes and/or technical solution.
Those skilled in the art will be understood that the existence form of computer program instructions in computer-readable medium includes but is not limited to
Source file, executable file, installation package file etc., correspondingly, the mode that computer program instructions are computer-executed include but
Be not limited to: the computer directly execute the instruction or the computer compile the instruction after execute program after corresponding compiling again,
Perhaps the computer reads and executes the instruction or after the computer reads and install and execute corresponding installation again after the instruction
Program.Here, computer-readable medium can be for computer access any available computer readable storage medium or
Communication media.
Communication media includes whereby including, for example, computer readable instructions, data structure, program module or other data
Signal of communication is transmitted to the medium of another system from a system.Communication media may include having the transmission medium led (such as electric
Cable and line (for example, optical fiber, coaxial etc.)) and can propagate wireless (not having the transmission the led) medium of energy wave, such as sound, electricity
Magnetic, RF, microwave and infrared.Computer readable instructions, data structure, program module or other data can be embodied as example wireless
Medium (such as carrier wave or be such as embodied as spread spectrum technique a part similar mechanism) in modulated message signal.
Term " modulated message signal " refers to that one or more feature is modified or is set in a manner of encoded information in the signal
Fixed signal.Modulation can be simulation, digital or Hybrid Modulation Technology.
As an example, not a limit, computer readable storage medium may include such as computer-readable finger for storage
Enable, the volatile and non-volatile that any method or technique of the information of data structure, program module or other data is realized, can
Mobile and immovable medium.For example, computer readable storage medium includes, but are not limited to volatile memory, such as with
Machine memory (RAM, DRAM, SRAM);And nonvolatile memory, such as flash memory, various read-only memory (ROM, PROM,
EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memory (MRAM, FeRAM);And magnetic and optical storage apparatus (hard disk,
Tape, CD, DVD);Or other currently known media or Future Development can store the computer used for computer system
Readable information/data.
Here, including a device according to one embodiment of the application, which includes for storing computer program
The memory of instruction and processor for executing program instructions, wherein when the computer program instructions are executed by the processor
When, trigger method and/or technology scheme of the device operation based on aforementioned multiple embodiments according to the application.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned exemplary embodiment, Er Qie
In the case where without departing substantially from spirit herein or essential characteristic, the application can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and scope of the present application is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the application.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in device claim is multiple
Unit or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to table
Show title, and does not indicate any particular order.
Claims (13)
1. a kind of method that boarding program is presented in host program, which is characterized in that the described method includes:
If detecting for the be currently running in host program first boarding program to be switched to the operation on backstage, described the is obtained
The current execution page of one boarding program;
It is raw according to the window setting of the current execution page and corresponding first interface assembly of the first boarding program
At the corresponding thumbnail of the first boarding program, wherein the thumbnail matches with window setting;
First interface assembly is presented in the host program, wherein the thumbnail is shown in first interface group
In the window of part.
2. the method according to claim 1, wherein the method also includes:
Thumbnail described in persistent storage;
Wherein, described that first interface assembly is presented in the host program, wherein the thumbnail is shown in described
In the window of one interface assembly, comprising:
First interface assembly is presented in the host program, and reads the thumbnail and shows the thumbnail
In the window of first interface assembly.
3. method according to claim 1 or 2, which is characterized in that the thumbnail includes any one of following:
Through the current execution page for reducing processing;
The current page subject matter information executed in the page;
Tabbed information belonging to the current execution page.
4. according to the method in any one of claims 1 to 3, which is characterized in that if the method detects use described
In the operation that the be currently running in host program first boarding program is switched to backstage, working as the first boarding program is obtained
The preceding execution page, before further include:
When the first boarding program is activated, corresponding first interface assembly of the first boarding program is generated.
5. according to the method described in claim 4, it is characterized in that, described generate corresponding first boundary of the first boarding program
Face component, comprising:
The corresponding first interface assembly money of the first boarding program is determined from preset one or more interface assembly resources
Source;
The first boarding program is rendered in the first interface assembly resource, it is corresponding to generate the first boarding program
First interface assembly, wherein first interface assembly includes the identification information of the first boarding program.
6. according to the method described in claim 5, it is characterized in that, described from preset one or more interface assembly resources
Determine the corresponding first interface assembly resource of the first boarding program, comprising:
Described in being determined from one or more of interface assembly resources according to the rendering state information of each interface assembly resource
The corresponding first interface assembly resource of first boarding program.
7. according to the method described in claim 6, it is characterized in that, described believe according to the rendering state of each interface assembly resource
Breath determines the corresponding first interface assembly resource of the first boarding program, packet from one or more of interface assembly resources
It includes:
It is searched from one or more of interface assembly resources according to the rendering state information of each interface assembly resource current
It is corresponding to be determined as the first boarding program by interface assembly resource to be rendered for the current interface assembly resource to be rendered
The first interface assembly resource.
8. the method according to the description of claim 7 is characterized in that described believe according to the rendering state of each interface assembly resource
It ceases and searches current interface assembly resource to be rendered from one or more of interface assembly resources, it will be described current to be rendered
Interface assembly resource be determined as the corresponding first interface assembly resource of the first boarding program, further includes:
If not finding the current interface assembly resource to be rendered, the interface group that program administrative center of lodging is recorded earliest
The interface assembly resource of part is determined as the corresponding first interface assembly resource of the first boarding program.
9. the method according to the description of claim 7 is characterized in that described believe according to the rendering state of each interface assembly resource
It ceases and searches current interface assembly resource to be rendered from one or more of interface assembly resources, it will be described current to be rendered
Interface assembly resource be determined as the corresponding first interface assembly resource of the first boarding program, further includes:
If the current interface assembly resource to be rendered is not found, by the boarding program administrative center when foreground executes
The interface assembly resource of long shortest interface assembly is determined as the corresponding first interface assembly resource of the first boarding program.
10. according to the method in any one of claims 1 to 3, which is characterized in that the step a includes:
If detecting for the be currently running in host program first boarding program to be switched to the operation on backstage, described the is generated
Corresponding first interface assembly of one boarding program, and obtain the current execution page info of the first boarding program.
11. method according to any one of claim 1 to 10, which is characterized in that first interface assembly includes institute
The identification information of the first boarding program is stated, the identification information and the thumbnail of the first boarding program are presented in described jointly
It is shown in host program in the region where the window of first interface assembly or the window of first interface assembly.
12. a kind of equipment that boarding program is presented in host program, which is characterized in that the equipment includes:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the processor when executed
Execute the operation as described in any one of claims 1 to 11 method.
13. a kind of computer-readable medium of store instruction, described instruction makes system carry out such as claim 1 when executed
To operation described in any one of 11 methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910265412.0A CN110321189B (en) | 2019-04-03 | 2019-04-03 | Method and equipment for presenting hosted program in hosted program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910265412.0A CN110321189B (en) | 2019-04-03 | 2019-04-03 | Method and equipment for presenting hosted program in hosted program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110321189A true CN110321189A (en) | 2019-10-11 |
CN110321189B CN110321189B (en) | 2022-10-11 |
Family
ID=68112854
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910265412.0A Active CN110321189B (en) | 2019-04-03 | 2019-04-03 | Method and equipment for presenting hosted program in hosted program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110321189B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111367581A (en) * | 2020-02-28 | 2020-07-03 | 上海盛付通电子支付服务有限公司 | Method and equipment for providing hosted program |
CN113377504A (en) * | 2020-03-10 | 2021-09-10 | 成都龙兵科技有限公司 | Background switching management system for small programs |
CN114666390A (en) * | 2022-05-19 | 2022-06-24 | 云账户技术(天津)有限公司 | Page monitoring method and device of application program, electronic equipment and storage medium |
WO2023116167A1 (en) * | 2021-12-20 | 2023-06-29 | 北京有竹居网络技术有限公司 | Lifecycle event management method and apparatus, storage medium and electronic device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140164966A1 (en) * | 2012-12-06 | 2014-06-12 | Samsung Electronics Co., Ltd. | Display device and method of controlling the same |
CN104777967A (en) * | 2015-05-07 | 2015-07-15 | 北京金山安全软件有限公司 | Page information display method and device |
US20150293664A1 (en) * | 2012-11-20 | 2015-10-15 | Jolla Oy | Managing applications in multitasking environment |
CN106227423A (en) * | 2016-07-15 | 2016-12-14 | 百度在线网络技术(北京)有限公司 | Method and apparatus for displayed page |
CN106802803A (en) * | 2017-01-06 | 2017-06-06 | 腾讯科技(深圳)有限公司 | The method and apparatus of application data treatment |
CN107145385A (en) * | 2017-04-25 | 2017-09-08 | 努比亚技术有限公司 | A kind of multitask interface display methods, mobile terminal and computer-readable storage medium |
CN108664304A (en) * | 2018-05-03 | 2018-10-16 | 广州腾讯科技有限公司 | Applied program processing method, device, storage medium and computer equipment |
CN108846100A (en) * | 2018-06-19 | 2018-11-20 | 上海掌门科技有限公司 | The method and apparatus of fast search boarding application |
CN108932147A (en) * | 2018-06-27 | 2018-12-04 | 上海掌门科技有限公司 | Method and apparatus for switching boarding application |
-
2019
- 2019-04-03 CN CN201910265412.0A patent/CN110321189B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150293664A1 (en) * | 2012-11-20 | 2015-10-15 | Jolla Oy | Managing applications in multitasking environment |
US20140164966A1 (en) * | 2012-12-06 | 2014-06-12 | Samsung Electronics Co., Ltd. | Display device and method of controlling the same |
CN104777967A (en) * | 2015-05-07 | 2015-07-15 | 北京金山安全软件有限公司 | Page information display method and device |
CN106227423A (en) * | 2016-07-15 | 2016-12-14 | 百度在线网络技术(北京)有限公司 | Method and apparatus for displayed page |
CN106802803A (en) * | 2017-01-06 | 2017-06-06 | 腾讯科技(深圳)有限公司 | The method and apparatus of application data treatment |
CN107145385A (en) * | 2017-04-25 | 2017-09-08 | 努比亚技术有限公司 | A kind of multitask interface display methods, mobile terminal and computer-readable storage medium |
CN108664304A (en) * | 2018-05-03 | 2018-10-16 | 广州腾讯科技有限公司 | Applied program processing method, device, storage medium and computer equipment |
CN108846100A (en) * | 2018-06-19 | 2018-11-20 | 上海掌门科技有限公司 | The method and apparatus of fast search boarding application |
CN108932147A (en) * | 2018-06-27 | 2018-12-04 | 上海掌门科技有限公司 | Method and apparatus for switching boarding application |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111367581A (en) * | 2020-02-28 | 2020-07-03 | 上海盛付通电子支付服务有限公司 | Method and equipment for providing hosted program |
CN111367581B (en) * | 2020-02-28 | 2024-02-09 | 上海盛付通电子支付服务有限公司 | Method and equipment for providing hosted program |
CN113377504A (en) * | 2020-03-10 | 2021-09-10 | 成都龙兵科技有限公司 | Background switching management system for small programs |
WO2023116167A1 (en) * | 2021-12-20 | 2023-06-29 | 北京有竹居网络技术有限公司 | Lifecycle event management method and apparatus, storage medium and electronic device |
CN114666390A (en) * | 2022-05-19 | 2022-06-24 | 云账户技术(天津)有限公司 | Page monitoring method and device of application program, electronic equipment and storage medium |
CN114666390B (en) * | 2022-05-19 | 2022-08-05 | 云账户技术(天津)有限公司 | Page monitoring method and device of application program, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110321189B (en) | 2022-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110321189A (en) | A kind of method and apparatus that boarding program being presented in host program | |
WO2020063846A1 (en) | Method and device for presenting update information of guest program | |
WO2020221189A1 (en) | Method and device for managing hosting program | |
CN110336735A (en) | It is a kind of for sending the method and apparatus of reminder message | |
CN110502298A (en) | It is a kind of for providing the method and apparatus of the update notifying information of e-book | |
CN110333955B (en) | Method and equipment for managing message notification in application | |
CN110266505A (en) | A kind of method and apparatus managing session group | |
CN110290557A (en) | A kind of method and apparatus of the interior page-tag of load application | |
CN110336733B (en) | Method and equipment for presenting emoticon | |
CN110519250A (en) | It is a kind of that the method and apparatus of information flow is provided | |
JP2017534977A (en) | Application interface navigation | |
CN110174980A (en) | A kind of method and apparatus that information being presented in session window | |
CN109947504A (en) | A kind of method and apparatus executing boarding program in host program | |
CN110515692A (en) | A kind of method and apparatus applied for starting reading | |
CN110502299A (en) | It is a kind of for providing the method and apparatus of novel information | |
CN110262810A (en) | A kind of method and apparatus of installation application | |
CN110780955A (en) | Method and equipment for processing emoticon message | |
WO2021047278A1 (en) | Method and device for posting sharing information in social networking space | |
CN110286920A (en) | A kind of method and apparatus of installation application | |
CN109977711A (en) | A kind of method and household electrical appliance of the household electrical appliance interaction based on two dimensional code | |
CN111817945A (en) | Method and equipment for replying communication information in instant communication application | |
CN110321205A (en) | A kind of method and apparatus of the management boarding program in host program | |
CN110515685A (en) | A kind of information flow methods of exhibiting and equipment | |
CN110166955A (en) | A kind of method and apparatus carrying out calendar prompting | |
CN110460642B (en) | Method and device for managing reading mode |
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 |