CN110321205A - A kind of method and apparatus of the management boarding program in host program - Google Patents

A kind of method and apparatus of the management boarding program in host program Download PDF

Info

Publication number
CN110321205A
CN110321205A CN201910265259.1A CN201910265259A CN110321205A CN 110321205 A CN110321205 A CN 110321205A CN 201910265259 A CN201910265259 A CN 201910265259A CN 110321205 A CN110321205 A CN 110321205A
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
Application number
CN201910265259.1A
Other languages
Chinese (zh)
Other versions
CN110321205B (en
Inventor
苏勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Lianshang Network Technology Co Ltd
Original Assignee
Shanghai Lianshang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN201910265259.1A priority Critical patent/CN110321205B/en
Publication of CN110321205A publication Critical patent/CN110321205A/en
Application granted granted Critical
Publication of CN110321205B publication Critical patent/CN110321205B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Abstract

The purpose of the application is to provide a kind of method of management boarding program in host program, this method comprises: detecting whether to meet the trigger condition for generating the first interface assembly;If meeting the trigger condition, corresponding first interface assembly of the first boarding program is generated, wherein first interface assembly includes the identification information of the first boarding program;First interface assembly is recorded in the boarding program administrative center of the host program.The application generates corresponding first interface assembly of the first boarding program based on the trigger condition for generating the first interface assembly is met, and the first boarding program of generation is recorded in boarding program administrative center, the first boarding program is switched to based on first interface assembly to realize.

Description

A kind of method and apparatus of the management boarding program in host program
Technical field
This application involves the communications field more particularly to a kind of technologies for the management boarding program in host program.
Background technique
With advances in technology, user can installation and operation again in the host program by downloading installation in a user device Boarding program, for example, the small routine run in the application.User is frequently encountered and opens when using boarding program How the case where multiple boarding programs is preferably realized between multiple boarding program when multiple boarding programs are in running background Free switching at needing urgent problem to be solved.
Summary of the invention
The purpose of the application is to provide a kind of method and apparatus of management boarding program in host program.
According to the one aspect of the application, a kind of method of management boarding program in host program, this method are provided Include:
It detects whether to meet the trigger condition for generating the first interface assembly;
If meeting the trigger condition, corresponding first interface assembly of the first boarding program is generated, wherein first boundary Face component includes the identification information of the first boarding program;
First interface assembly is recorded in the boarding program administrative center of the host program.
According to further aspect of the application, a kind of equipment of management boarding program in host program is provided, this sets It is standby to include:
Module one by one, for detecting whether meeting the trigger condition for generating the first interface assembly;
One or two modules, if generating corresponding first interface assembly of the first boarding program for meeting the trigger condition, In, first interface assembly includes the identification information of the first boarding program;
One or three modules record first interface assembly for the boarding program administrative center in the host program.
According to the one aspect of the application, a kind of equipment of management boarding program 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 generates the first boarding based on the trigger condition for generating the first interface assembly is met Corresponding first interface assembly of program, and boarding program administrative center in record generation first boarding program, to realize The first boarding program is switched to based on first interface assembly.
Meanwhile the application saves the running state information of the first boarding program by the first interface assembly, and by this The first boarding program boarding program corresponding with other interface assemblies is isolated by one interface assembly, to support to post multiple The respective state of multiple boarding program is kept between Su Chengxu while free switching.
Further, when being again turned on the first boarding program, described first is obtained in the boarding program administrative center Interface assembly is switched to the operation on foreground, the first boarding program can be switched to foreground fortune by first interface assembly Row.
Further, record has one or more interface assemblies generated in the boarding program administrative center, works as acquisition When second contact surface component is switched to the operation on foreground in the boarding program administrative center, the second contact surface component is posted from this Su Chengxu administrative center switches to foreground, so that the corresponding second boarding program of the second contact surface component is held on foreground First interface assembly is switched to backstage by row, so that the first boarding program switches to backstage, to realize multiple post Free switching between 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 of management boarding program in host program according to the application one embodiment Figure;
Fig. 2 shows the sub-process figures according to the step S102 of the application one embodiment;
Fig. 3 shows a kind of EM equipment module that boarding program is managed in host program according to another embodiment of the application Figure;
Fig. 4 shows the module diagram of one or two modules according to the application another embodiment;
Fig. 5 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 of management boarding program in host program according to the application one embodiment Figure, wherein the method comprising the steps of S101, step S102 and step S103.In step s101, it detects whether to meet and generate The trigger condition of first interface assembly;In step s 102, if meeting the trigger condition, 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;In step S103 In, first interface assembly is recorded in the boarding program administrative center of the host program.In some embodiments, the place Main program includes but is not limited to application program (for example, social application, payment application, shopping application etc.).In some embodiments, The host program installation is on a user device, wherein the user equipment includes but is not limited to the meter such as mobile phone, plate, computer Calculate equipment.In some embodiments, the boarding program includes but is not limited to small routine, and the boarding program can be in the host It is run in program.In some embodiments, the boarding program administrative center is the functional module in the host program, one In a little embodiments, the functional module is a part of boarding program engine (for example, a part in small routine engine, owns The behavior for opening small routine will pass through the boarding program administrative center).In some embodiments, in the boarding program management The heart is used to manage installation or operates in one or more boarding programs in the host program, for example, the boarding program pipe Reason center is used to support starting, the operation of one or more of boarding programs;The boarding program administrative center is for recording The first interface assembly generated.In some embodiments, the interface assembly for rendering, the corresponding boarding program of operation.
Specifically, in step s101, detecting whether to meet the trigger condition for generating the first interface assembly.In some realities It applies in example, user equipment detects whether to meet by receiving the trigger action that user carries out the user equipment to generate the first boundary The trigger condition of face component.In some embodiments, the trigger condition includes but is not limited to start the behaviour of the first boarding program Make, for example, user opens the first boarding program by clicking the corresponding icon of the first boarding program, starts host's journey when having When the event of the first boarding program in sequence occurs, user equipment judgement meets the trigger condition for generating the first interface assembly, into And generate corresponding first interface assembly of the first boarding program.
In step s 102, if meeting the trigger condition, corresponding first interface assembly of the first boarding program is generated, In, first interface assembly includes the identification information of the first boarding program.In some embodiments, the identification information Including but not limited to icon, title etc..In some embodiments, first interface assembly is the component in user equipment, institute The first interface assembly is stated for showing its corresponding first boarding program, includes the first boarding program in first interface assembly Identification information, the identification information are switched to corresponding first boarding journey according to the identification information for lodging program administrative center Sequence, for example, the click handover operation (for example, clicking the first interface assembly for being presented in foreground) based on user, program of lodging Administrative center runs the first boarding program according to the identification information of the first boarding program in first interface assembly.User sets Be preset with one or more interface assembly resources in standby, by rendered in the interface assembly resource corresponding boarding program come Generate the corresponding interface assembly of boarding program.It is corresponding in android system to be about the generation of the first interface assembly Activity does interface assembly resource with Activity, and in some embodiments, android system is Activity Some processing, such as asset creation, isolation, release etc., further, based on the identification information of the first boarding program, Definition interfaces component inside Manifest.xml, generates corresponding first interface assembly by startActivity in code; UIView can be used in iOS system, in some embodiments, it is desirable to host program does the management of UIView life cycle, packet Asset creation and release are included, the work such as backstage are switched to, further, the identification information based on the first boarding program, which generates, to be corresponded to The first interface assembly.
In step s 103, first interface assembly is recorded in the boarding program administrative center of the host program.? In some embodiments, the switching between one or more boarding programs, program pipe of lodging are carried out by boarding program administrative center Reason center manages the process of switching by one or more interface assemblies of record generation.In some embodiments, the note Record includes but is not limited to storage, registration (for example, assigning the interface assembly unique identification generated), display (for example, in the boarding journey One or more interface assemblies of generation are shown in sequence administrative center).
It (is posted for example, being equipped on social application a), host program a for example, being equipped with host program a on user equipment Su Chengxu a1 (for example, small routine a1), boarding program a2 (for example, small routine a2), boarding program a3 (for example, small routine a3). User enables boarding program a1 by clicking the icon of boarding program a1, and user equipment detects the operation, and determines the behaviour Make to meet the trigger condition for generating interface assembly.Further, the corresponding interface assembly of boarding program a1 is generated, for example, with One or more interface assembly resources are preset in the equipment of family, by rendering corresponding boarding program in the interface assembly resource To generate the corresponding interface assembly of boarding program.For example, user equipment is based on the trigger condition on one or more of boundaries The interface assembly resource not being rendered is searched in the component resources of face, and the interface assembly resource is determined as the first interface assembly money Source renders boarding program a1 in the first interface assembly resource, to generate the corresponding first interface group of boarding program a1 Part, meanwhile, the identification information of boarding program a1 is passed to first interface assembly.Boarding journey is provided in host program a Sequence administrative center, further, in first interface assembly that boarding program administrative center record generates.The first interface group Part is for showing its corresponding first boarding program (for example, boarding program a1 in the present embodiment), in boarding program management One or more interface assemblies of generation are recorded in the heart, and each interface assembly is corresponding with boarding program, when boarding program to be switched When, the corresponding interface assembly of boarding program is searched by the boarding program administrative center, operation pair is shown by the interface assembly The boarding program answered, to realize the free switching between multiple boarding programs.In some embodiments, when interface assembly is corresponding For boarding program when being switched to foreground, i.e., the interface assembly is switched to foreground, to support to show by interface assembly pair The boarding program answered.
In some embodiments, the trigger condition includes following at least any one: being detected for enabling described first The operation for program of lodging;Detect the operation for the first boarding program to be switched to backstage.
For example, the trigger condition includes the operation detected for enabling the first boarding program.User passes through a little The icon of the first boarding program is hit to enable the first boarding program, user equipment detects the clicking operation, and determines the point It hits operation and meets the trigger condition for generating interface assembly.I.e. when user opens the first boarding program, the first boarding journey is generated Corresponding first interface assembly of sequence.In some embodiments, the boarding program administrative center is the boarding journey in host program Sequence engine (for example, small routine engine) therefore can be obtained by the boarding program administrative center and detect the enabling first boarding The operation of program.User open this first boarding program when generate corresponding first interface assembly, in order to it is subsequent again When being switched to the first boarding program free switching can be carried out by first interface assembly.In the present embodiment, first is being enabled The first boarding program corresponding first interface assembly is generated when program of lodging, it is logical when in order to switch the first boarding program It crosses first interface assembly and carries out free switching.
For another example the trigger condition includes the operation detected for the first boarding program to be switched to backstage. In some embodiments, running background has multiple boarding programs, be currently switched to foreground be the first boarding program not yet Other boarding programs are switched to front stage operation by clicking other boarding programs by corresponding first interface assembly, user, To which the first boarding program has been switched to backstage, at this point, corresponding first interface assembly of the first boarding program is generated, with Convenient for it is subsequent again switch to this first boarding program when can by first interface assembly carry out free switching.The present embodiment In, it is contemplated that it is currently running first boarding program may not yet corresponding first interface assembly, by this first boarding journey When sequence switches to backstage, corresponding first interface assembly of the first boarding program is generated, to switch first boarding again Free switching is carried out by first interface assembly when program.
In some embodiments, the trigger condition includes detecting for the first boarding program to be switched to backstage Operation;Wherein, the method also includes step S104 (not shown), in step S104, by the other of the host program Boarding program switches to foreground, so that other described boarding programs are performed on foreground;Or by the host program its Its corresponding other interface assembly of boarding program switches to foreground from the boarding program administrative center, so that described other are posted Su Chengxu is performed on foreground.In some embodiments, by other boarding programs be switched to foreground judge this first Boarding program has been switched to backstage.In some embodiments, other boarding programs in host program switch to the behaviour on foreground Make without by boarding program administrative center, for example, there is no the boarding program administrative center in the host program, alternatively, this its He lodge program enabling operation without by the boarding program administrative center, as long as user equipment obtains in the host program Other boarding programs switch to foreground, that is, determine that it meets " obtaining the operation that the first boarding program is switched to backstage " Trigger condition, to generate corresponding first interface assembly of the first boarding program;In further embodiments, before being switched to Other boarding programs of platform have generated other corresponding interface assemblies, which is switched to the operation on foreground It is that other corresponding interface groups are searched in other one or more interface assemblies of generation by the boarding program administrative center Part, and other interface assemblies are switched to foreground, so that other corresponding boarding programs of other interface assemblies be switched to Foreground, to judge that it meets the trigger condition of " obtaining the operation that the first boarding program is switched to backstage ", thus raw At corresponding first interface assembly of the first boarding program.In view of being based on boarding program administrative center and not having in the present embodiment There are two kinds of situations that boarding program switching is carried out based on boarding program administrative center, in both cases, by other journeys of lodging The operation that sequence switches to foreground can determine that as the first boarding program has been switched to backstage, to meet generation first boarding The trigger condition of corresponding first interface assembly of program.
In some embodiments, the method also includes step S105 (not shown), in step s105, if posting described Su Chengxu administrative center detects the operation for first interface assembly to be switched to foreground;By first interface assembly Foreground is switched to from the boarding program administrative center, so that the first boarding program is performed on foreground.In some realities It applies in example, after generating the first interface assembly, the switching to the first boarding program can be realized by first interface assembly. For example, record has multiple interface assemblies in boarding program administrative center, it include that the interface assembly is corresponding in each interface assembly The identification information for program of lodging.User equipment receives user to the handover operation of first interface assembly, for example, foreground presents Multiple interface assemblies, user click first interface assembly, at this point, the boarding program administrative center obtains first interface group Part is switched to the operation on foreground, and further, which posts according to first in first interface assembly The identification information of Su Chengxu binds the operation data of the first boarding program, and the first boarding program is performed on foreground.
In some embodiments, the trigger condition includes the operation detected for enabling the first boarding program; Wherein, the method also includes step S106 (not shown), in step s 106, enable the first boarding program.Some In embodiment, the trigger condition is to enable the operation of the first boarding program, user equipment be based on the operation enable this One boarding program.In some embodiments, it is corresponding to generate the first boarding program for the first boarding program after being activated First interface assembly, when switching second contact surface component by boarding program administrative center, which is switched to Foreground, first interface assembly are switched to backstage, realize to realize first interface assembly by generation and switch other The purpose for program of lodging.In some embodiments, the operation for enabling the first boarding program is by boarding program management What the heart was realized, so that the boarding program administrative center obtains the enabling operation about the first boarding program, and generate correspondence The first interface assembly.
In some embodiments, the method also includes step S107 (not shown), in step s 107, if detecting use In by it is described boarding program administrative center in second contact surface switch between components to foreground operation;By the second contact surface component from institute It states boarding program administrative center and switches to foreground, so that the corresponding second boarding program of the second contact surface component is in foreground quilt It executes;First interface assembly is switched into backstage, so that the first boarding program switches to backstage.In some embodiments In, it, can be by this after enabling the first boarding program triggering generation corresponding first interface assembly of the first boarding program First interface assembly realizes free switching the first boarding program.For example, when switching the second boundary by boarding program administrative center When the component of face, which is switched to foreground, first interface assembly be switched to backstage, with realize by this first Boarding program switches to backstage by first interface assembly, by the second boarding program by the second contact surface component on foreground Operation is presented, realizes free switching.
In some embodiments, as shown in Fig. 2, the step S102 includes step S1021 and step S1022.In step In rapid S1021, corresponding first interface of the first boarding program is determined from preset one or more interface assembly resources Component resources;In step S1022, the first boarding program is rendered, in the first interface assembly resource to generate State corresponding first interface assembly of the first boarding program, wherein first interface assembly includes the first boarding program Identification information.
Specifically, determining that described first posts from preset one or more interface assembly resources in step S1021 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 S1022, 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 S1021 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 S1021 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 S1021 further include: if not finding the current interface assembly to be rendered The interface assembly resource for the interface assembly that the boarding program administrative center records earliest is determined as first boarding by resource The corresponding first interface assembly resource of program.In order to timely and effectively find the first interface assembly money for the first boarding program Source, when interface assembly resource preset in user equipment has been rendered, user equipment is according to boarding program administrative center The generation time of one or more interface assemblies of record determines the first interface assembly resource.When interface assembly generates, that is, exist The interface assembly is recorded in boarding program administrative center, therefore, can be reserved for the interface assembly in the boarding program administrative center Generate the time.Wherein, each interface assembly includes the interface identification information of its corresponding interface assembly resource, user equipment root Preset multiple interface assembly resources can be identified according to the interface identification information, so that it is determined that currently available interface assembly provides Source.In some embodiments, in order to which uniformly using preset one or more interface assembly resources, user equipment is according to each boundary The generation time that face component resources generate interface assembly determines the first interface assembly resource.For example, having preset five in user equipment A interface assembly resource: 1# interface assembly resource, 2# interface assembly resource, 3# interface assembly resource, 4# interface assembly resource, 5# Interface assembly resource, wherein the time that 1# interface assembly resource generates interface assembly is earliest, and user equipment is by the 1# interface assembly Resource is determined as the first interface assembly resource.
In some embodiments, the step S1021 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.
Fig. 3 shows a kind of EM equipment module of management boarding program in host program according to the application one embodiment Figure, wherein the equipment includes module, one or two modules and one or three modules one by one.Module one by one generates for detecting whether meeting The trigger condition of first interface assembly;One or two modules, if it is corresponding to generate the first boarding program for meeting the trigger condition First interface assembly, wherein first interface assembly includes the identification information of the first boarding program;One or three modules are used First interface assembly is recorded in the boarding program administrative center in the host program.In some embodiments, the place Main program includes but is not limited to application program (for example, social application, payment application, shopping application etc.).In some embodiments, The host program installation is on a user device, wherein the user equipment includes but is not limited to the meter such as mobile phone, plate, computer Calculate equipment.In some embodiments, the boarding program includes but is not limited to small routine, and the boarding program can be in the host It is run in program.In some embodiments, the boarding program administrative center is the functional module in the host program, one In a little embodiments, the functional module is a part of boarding program engine (for example, a part in small routine engine, owns The behavior for opening small routine will pass through the boarding program administrative center).In some embodiments, in the boarding program management The heart is used to manage installation or operates in one or more boarding programs in the host program, for example, the boarding program pipe Reason center is used to support starting, the operation of one or more of boarding programs;The boarding program administrative center is for recording The first interface assembly generated.In some embodiments, the interface assembly for rendering, the corresponding boarding program of operation.
Specifically, module one by one, for detecting whether meeting the trigger condition for generating the first interface assembly.In some realities It applies in example, user equipment detects whether to meet by receiving the trigger action that user carries out the user equipment to generate the first boundary The trigger condition of face component.In some embodiments, the trigger condition includes but is not limited to start the behaviour of the first boarding program Make, for example, user opens the first boarding program by clicking the corresponding icon of the first boarding program, starts host's journey when having When the event of the first boarding program in sequence occurs, user equipment judgement meets the trigger condition for generating the first interface assembly, into And generate corresponding first interface assembly of the first boarding program.
One or two modules, if generating corresponding first interface assembly of the first boarding program for meeting the trigger condition, In, first interface assembly includes the identification information of the first boarding program.In some embodiments, the identification information Including but not limited to icon, title etc..In some embodiments, first interface assembly is the component in user equipment, institute The first interface assembly is stated for showing its corresponding first boarding program, includes the first boarding program in first interface assembly Identification information, the identification information are switched to corresponding first boarding journey according to the identification information for lodging program administrative center Sequence, for example, the click handover operation (for example, clicking the first interface assembly for being presented in foreground) based on user, program of lodging Administrative center runs the first boarding program according to the identification information of the first boarding program in first interface assembly.User sets Be preset with one or more interface assembly resources in standby, by rendered in the interface assembly resource corresponding boarding program come Generate the corresponding interface assembly of boarding program.It is corresponding in android system to be about the generation of the first interface assembly Activity does interface assembly resource with Activity, and in some embodiments, android system is Activity Some processing, such as asset creation, isolation, release etc., further, based on the identification information of the first boarding program, Definition interfaces component inside Manifest.xml, generates corresponding first interface assembly by startActivity in code; UIView can be used in iOS system, in some embodiments, it is desirable to host program does the management of UIView life cycle, packet Asset creation and release are included, the work such as backstage are switched to, further, the identification information based on the first boarding program, which generates, to be corresponded to The first interface assembly.
One or three modules record first interface assembly for the boarding program administrative center in the host program.? In some embodiments, the switching between one or more boarding programs, program pipe of lodging are carried out by boarding program administrative center Reason center manages the process of switching by one or more interface assemblies of record generation.In some embodiments, the note Record includes but is not limited to storage, registration (for example, assigning the interface assembly unique identification generated), display (for example, in the boarding journey One or more interface assemblies of generation are shown in sequence administrative center).
It (is posted for example, being equipped on social application a), host program a for example, being equipped with host program a on user equipment Su Chengxu a1 (for example, small routine a1), boarding program a2 (for example, small routine a2), boarding program a3 (for example, small routine a3). User enables boarding program a1 by clicking the icon of boarding program a1, and user equipment detects the operation, and determines the behaviour Make to meet the trigger condition for generating interface assembly.Further, the corresponding interface assembly of boarding program a1 is generated, for example, with One or more interface assembly resources are preset in the equipment of family, by rendering corresponding boarding program in the interface assembly resource To generate the corresponding interface assembly of boarding program.For example, user equipment is based on the trigger condition on one or more of boundaries The interface assembly resource not being rendered is searched in the component resources of face, and the interface assembly resource is determined as the first interface assembly money Source renders boarding program a1 in the first interface assembly resource, to generate the corresponding first interface group of boarding program a1 Part, meanwhile, the identification information of boarding program a1 is passed to first interface assembly.Boarding journey is provided in host program a Sequence administrative center, further, in first interface assembly that boarding program administrative center record generates.The first interface group Part is for showing its corresponding first boarding program (for example, boarding program a1 in the present embodiment), in boarding program management One or more interface assemblies of generation are recorded in the heart, and each interface assembly is corresponding with boarding program, when boarding program to be switched When, the corresponding interface assembly of boarding program is searched by the boarding program administrative center, operation pair is shown by the interface assembly The boarding program answered, to realize the free switching between multiple boarding programs.In some embodiments, when interface assembly is corresponding For boarding program when being switched to foreground, i.e., the interface assembly is switched to foreground, to support to show by interface assembly pair The boarding program answered.
In some embodiments, the trigger condition includes following at least any one: being detected for enabling described first The operation for program of lodging;Detect the operation for the first boarding program to be switched to backstage.
For example, the trigger condition includes the operation detected for enabling the first boarding program.User passes through a little The icon of the first boarding program is hit to enable the first boarding program, user equipment detects the clicking operation, and determines the point It hits operation and meets the trigger condition for generating interface assembly.I.e. when user opens the first boarding program, the first boarding journey is generated Corresponding first interface assembly of sequence.In some embodiments, the boarding program administrative center is the boarding journey in host program Sequence engine (for example, small routine engine) therefore can be obtained by the boarding program administrative center and detect the enabling first boarding The operation of program.User open this first boarding program when generate corresponding first interface assembly, in order to it is subsequent again When being switched to the first boarding program free switching can be carried out by first interface assembly.In the present embodiment, first is being enabled The first boarding program corresponding first interface assembly is generated when program of lodging, it is logical when in order to switch the first boarding program It crosses first interface assembly and carries out free switching.
For another example the trigger condition includes the operation detected for the first boarding program to be switched to backstage. In some embodiments, running background has multiple boarding programs, be currently switched to foreground be the first boarding program not yet Other boarding programs are switched to front stage operation by clicking other boarding programs by corresponding first interface assembly, user, To which the first boarding program has been switched to backstage, at this point, corresponding first interface assembly of the first boarding program is generated, with Convenient for it is subsequent again switch to this first boarding program when can by first interface assembly carry out free switching.The present embodiment In, it is contemplated that it is currently running first boarding program may not yet corresponding first interface assembly, by this first boarding journey When sequence switches to backstage, corresponding first interface assembly of the first boarding program is generated, to switch first boarding again Free switching is carried out by first interface assembly when program.
In some embodiments, the trigger condition includes detecting for the first boarding program to be switched to backstage Operation;Wherein, the equipment further includes one or four module (not shown), one or four modules, for by the other of the host program Boarding program switches to foreground, so that other described boarding programs are performed on foreground;Or by the host program its Its corresponding other interface assembly of boarding program switches to foreground from the boarding program administrative center, so that described other are posted Su Chengxu is performed on foreground.In some embodiments, by other boarding programs be switched to foreground judge this first Boarding program has been switched to backstage.In some embodiments, other boarding programs in host program switch to the behaviour on foreground Make without by boarding program administrative center, for example, there is no the boarding program administrative center in the host program, alternatively, this its He lodge program enabling operation without by the boarding program administrative center, as long as user equipment obtains in the host program Other boarding programs switch to foreground, that is, determine that it meets " obtaining the operation that the first boarding program is switched to backstage " Trigger condition, to generate corresponding first interface assembly of the first boarding program;In further embodiments, before being switched to Other boarding programs of platform have generated other corresponding interface assemblies, which is switched to the operation on foreground It is that other corresponding interface groups are searched in other one or more interface assemblies of generation by the boarding program administrative center Part, and other interface assemblies are switched to foreground, so that other corresponding boarding programs of other interface assemblies be switched to Foreground, to judge that it meets the trigger condition of " obtaining the operation that the first boarding program is switched to backstage ", thus raw At corresponding first interface assembly of the first boarding program.In view of being based on boarding program administrative center and not having in the present embodiment There are two kinds of situations that boarding program switching is carried out based on boarding program administrative center, in both cases, by other journeys of lodging The operation that sequence switches to foreground can determine that as the first boarding program has been switched to backstage, to meet generation first boarding The trigger condition of corresponding first interface assembly of program.
In some embodiments, the equipment further includes First Five-Year Plan module (not shown), First Five-Year Plan module, if in the boarding journey Sequence administrative center detects the operation for first interface assembly to be switched to foreground;By first interface assembly from institute It states boarding program administrative center and switches to foreground, so that the first boarding program is performed on foreground.In some embodiments In, after generating the first interface assembly, the switching to the first boarding program can be realized by first interface assembly.Example Such as, record has multiple interface assemblies in boarding program administrative center, and including that the interface assembly is corresponding in each interface assembly posts The identification information of Su Chengxu.User equipment receives user to the handover operation of first interface assembly, for example, foreground present it is more A interface assembly, user click first interface assembly, at this point, the boarding program administrative center obtains first interface assembly It is switched to the operation on foreground, further, the boarding program administrative center is according to the first boarding in first interface assembly The identification information of program binds the operation data of the first boarding program, and the first boarding program is performed on foreground.
In some embodiments, the trigger condition includes the operation detected for enabling the first boarding program; Wherein, the equipment further includes one or six module (not shown), one or six modules, for enabling the first boarding program.Some In embodiment, the trigger condition is to enable the operation of the first boarding program, user equipment be based on the operation enable this One boarding program.In some embodiments, it is corresponding to generate the first boarding program for the first boarding program after being activated First interface assembly, when switching second contact surface component by boarding program administrative center, which is switched to Foreground, first interface assembly are switched to backstage, realize to realize first interface assembly by generation and switch other The purpose for program of lodging.In some embodiments, the operation for enabling the first boarding program is by boarding program management What the heart was realized, so that the boarding program administrative center obtains the enabling operation about the first boarding program, and generate correspondence The first interface assembly.
In some embodiments, the equipment further includes one or seven module (not shown), one or seven modules, if for detecting use In by it is described boarding program administrative center in second contact surface switch between components to foreground operation;By the second contact surface component from institute It states boarding program administrative center and switches to foreground, so that the corresponding second boarding program of the second contact surface component is in foreground quilt It executes;First interface assembly is switched into backstage, so that the first boarding program switches to backstage.In some embodiments In, it, can be by this after enabling the first boarding program triggering generation corresponding first interface assembly of the first boarding program First interface assembly realizes free switching the first boarding program.For example, when switching the second boundary by boarding program administrative center When the component of face, which is switched to foreground, first interface assembly be switched to backstage, with realize by this first Boarding program switches to backstage by first interface assembly, by the second boarding program by the second contact surface component on foreground Operation is presented, realizes free switching.
In some embodiments, as shown in figure 4, one or two module includes one two one modules and one two two modules.One 21 modules, for determining corresponding first boundary of the first boarding program from preset one or more interface assembly resources Face component resources;One two two modules, for rendering the first boarding program in the first interface assembly resource, to generate Corresponding first interface assembly of the first boarding program, wherein first interface assembly includes the first boarding program Identification information.
Specifically, one two one modules, for determining described first from preset one or more interface assembly resources The corresponding first interface assembly resource of program of lodging.In some embodiments, one or more interfaces are preset in user equipment Component resources;In further embodiments, one or more interface assembly resources are preset in boarding program administrative center.Pass through Corresponding boarding program is rendered in the interface assembly resource to generate interface assembly.For example, about the first interface assembly It generates, 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.
One two two modules, for rendering the first boarding program in the first interface assembly resource, to generate State corresponding first interface assembly of the first boarding program, wherein first interface assembly includes the first boarding program Identification information.For including but is not limited to according to first boarding the first interface assembly of programs render resource: binding the boarding program Data, with realize by generate the first interface assembly can run the first boarding program;Render the first boarding program Identification information can recognize the corresponding first boarding journey of determining first interface assembly by first interface assembly to realize Sequence, to realize the switching realized between each boarding program by the switching of each interface inter-module.In some embodiments, in order to logical It crosses first interface assembly and the corresponding first boarding program of operation is presented, needing to render in the first interface assembly resource should First boarding program, to realize the status information for keeping the first boarding program (for example, after the first boarding program is switched to Interface state information when platform) and run by switching first interface assembly purpose of the first boarding program.One It include the identification information of the first boarding program in a little embodiments, in first interface assembly, in first interface assembly Middle presentation identification information facilitates user to select confirmation;In some embodiments, the identification information of the first boarding program is used In forming relationship maps with first interface assembly, to find corresponding first according to first interface assembly in switching Boarding program, to run and show the first boarding program in first interface assembly.
In some embodiments, one two one module is used for: according to the rendering state information of each interface assembly resource The corresponding first interface assembly resource of the first boarding program is determined from one or more of interface assembly resources.One In a little embodiments, 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 a interface assembly resource.It is one or more of in order to make full use of Interface assembly resource, in some embodiments, user equipment is according to the rendering states of one or more of interface assembly resources Information determines the corresponding first interface assembly resource of the first boarding program.In some embodiments, the rendering state letter Breath includes that the interface assembly resource has been rendered or has not been rendered.
In some embodiments, one two one module is used for: according to the rendering state information of each interface assembly resource Current interface assembly resource to be rendered is searched from one or more of interface assembly resources, it will be described current to be rendered Interface assembly resource is determined as the corresponding first interface assembly resource of the first boarding program.In some embodiments, described Interface assembly resource includes interface identification information (for example, 1# interface assembly resource, 2# interface assembly resource, 3# interface assembly provide Source, 4# interface assembly resource, 5# interface assembly resource), in some embodiments, in order to which each boarding program can be transported preferably It goes, can at most preset five interface assembly resources in user equipment.When detecting the trigger condition for meeting generation interface assembly, The interface assembly resource that user 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 two one module is also used to: if not finding the current interface group to be rendered The interface assembly resource for the interface assembly that the boarding program administrative center records earliest is determined as described first and posted by part resource The corresponding first interface assembly resource of Su Chengxu.In order to timely and effectively find the first interface assembly money for the first boarding program Source, when interface assembly resource preset in user equipment has been rendered, user equipment is according to boarding program administrative center The generation time of one or more interface assemblies of record determines the first interface assembly resource.When interface assembly generates, that is, exist The interface assembly is recorded in boarding program administrative center, therefore, can be reserved for the interface assembly in the boarding program administrative center Generate the time.Wherein, each interface assembly includes the interface identification information of its corresponding interface assembly resource, user equipment root Preset multiple interface assembly resources can be identified according to the interface identification information, so that it is determined that currently available interface assembly provides Source.In some embodiments, in order to which uniformly using preset one or more interface assembly resources, user equipment is according to each boundary The generation time that face component resources generate interface assembly determines the first interface assembly resource.For example, having preset five in user equipment A interface assembly resource: 1# interface assembly resource, 2# interface assembly resource, 3# interface assembly resource, 4# interface assembly resource, 5# Interface assembly resource, wherein the time that 1# interface assembly resource generates interface assembly is earliest, and user equipment is by the 1# interface assembly Resource is determined as the first interface assembly resource.
In some embodiments, one two one module is also used to: if not finding the current interface group to be rendered The boarding program administrative center is determined as by part resource in the interface assembly resource that foreground executes the shortest interface assembly of duration The corresponding first interface assembly resource of the first boarding program.In order to timely and effectively find first for the first boarding program Interface assembly resource, when interface assembly resource preset in user equipment has been rendered, user equipment is according to boarding journey The duration information that sequence is switched to foreground determines the first interface assembly resource.To a certain extent, before boarding program is switched to The duration of platform is longer to illustrate that user more likes with the boarding program, and similarly, boarding program is switched to the shorter theory of duration on foreground Bright user is delithted with the boarding program.In some embodiments, user equipment records in boarding program administrative center One or more interface assemblies in search be switched to interface assembly corresponding to the shortest interface assembly of duration on foreground money Source, and the interface assembly resource is determined as the first interface assembly resource.By posting the duration for being switched to foreground is shortest Su Chengxu determines the first interface assembly resource, and can screen out for user is not that occupancy interface assembly money is presented in the boarding being delithted with Source, so as to more fully make good use of each interface assembly resource.
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. 5 shows the exemplary system that can be used for implementing each embodiment described herein;
As shown in 5 figures in some embodiments, system 300 can be as any one equipment in each embodiment. In some embodiments, system 300 may include one or more computer-readable mediums with instruction (for example, system stores Device or NVM/ store equipment 320) and coupled with the one or more computer-readable medium and be configured as executing instruction with Realize module thereby executing movement described herein one or more processors (for example, (one or more) processor 305)。
For one embodiment, system control module 310 may include any suitable interface controller, with to (one or It is multiple) at least one of processor 305 and/or any suitable equipment or component that communicate with system control module 310 mentions For any suitable interface.
System control module 310 may include Memory Controller module 330, to provide interface to system storage 315.It deposits Memory controller module 330 can be hardware module, software module and/or firmware module.
System storage 315 can be used for for example, load of system 300 and storing data and/or instruction.For a reality Example is applied, system storage 315 may include any suitable volatile memory, for example, DRAM appropriate.In some embodiments In, system storage 315 may include four Synchronous Dynamic Random Access Memory of Double Data Rate type (DDR4SDRAM).
For one embodiment, system control module 310 may include one or more input/output (I/O) controller, with Equipment 320 is stored to NVM/ and (one or more) communication interface 325 provides interface.
For example, NVM/ storage equipment 320 can be used for storing data and/or instruction.NVM/ storage equipment 320 may include appointing It anticipates nonvolatile memory appropriate (for example, flash memory) and/or to may include that any suitable (one or more) is non-volatile deposit Equipment is stored up (for example, one or more hard disk drives (HDD), one or more CD (CD) drivers and/or one or more Digital versatile disc (DVD) driver).
NVM/ storage equipment 320 may include a part for the equipment being physically mounted on as system 300 Storage resource or its can by the equipment access without a part as the equipment.For example, NVM/ storage equipment 320 can It is accessed by network via (one or more) communication interface 325.
(one or more) communication interface 325 can be provided for system 300 interface with by one or more networks and/or with Other any equipment communications appropriate.System 300 can be according to any mark in one or more wireless network standards and/or agreement Quasi- and/or agreement is carried out wireless communication with the one or more components of wireless network.
For one embodiment, at least one of (one or more) processor 305 can be with system control module 310 The logic of one or more controllers (for example, Memory Controller module 330) is packaged together.For one embodiment, (one It is a or multiple) at least one of processor 305 can encapsulate with the logic of one or more controllers of system control module 310 Together to form system in package (SiP).For one embodiment, at least one of (one or more) processor 305 It can be integrated on same mold with the logic of one or more controllers of system control module 310.For one embodiment, At least one of (one or more) processor 305 can be with the logic of one or more controllers of system control module 310 It is integrated on same mold to form system on chip (SoC).
In various embodiments, system 300 can be, but not limited to be: server, work station, desk-top calculating equipment or movement It calculates equipment (for example, lap-top computing devices, handheld computing device, tablet computer, net book etc.).In various embodiments, System 300 can have more or fewer components and/or different frameworks.For example, in some embodiments, system 300 includes 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 of the management boarding program in host program, which is characterized in that the described method includes:
It detects whether to meet the trigger condition for generating the first interface assembly;
If meeting the trigger condition, corresponding first interface assembly of the first boarding program is generated, wherein first interface group Part includes the identification information of the first boarding program;
First interface assembly is recorded in the boarding program administrative center of the host program.
2. the method according to claim 1, wherein the trigger condition includes following at least any one:
Detect the operation for enabling the first boarding program;
Detect the operation for the first boarding program to be switched to backstage.
3. according to the method described in claim 2, it is characterized in that, the trigger condition includes detecting to be used for described first Boarding program switches to the operation on backstage;
Wherein, the method also includes:
Other boarding programs of the host program are switched into foreground, so that other described boarding programs are held on foreground Row;Or the corresponding other interface assemblies of other boarding programs of the host program are cut from the boarding program administrative center Foreground is shifted to, so that other described boarding programs are performed on foreground.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
If detecting the operation for first interface assembly to be switched to foreground in the boarding program administrative center;
First interface assembly is switched into foreground from the boarding program administrative center, so that the first boarding program It is performed on foreground.
5. according to the method described in claim 2, it is characterized in that, the trigger condition includes detecting for enabling described the The operation of one boarding program;
Wherein, the method also includes:
Enable the first boarding program.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
If detect for by it is described boarding program administrative center in second contact surface switch between components to foreground operation;
The second contact surface component is switched into foreground from the boarding program administrative center, so that the second contact surface component Corresponding second boarding program is performed on foreground;
First interface assembly is switched into backstage, so that the first boarding program switches to backstage.
7. method according to any one of claim 1 to 6, which is characterized in that if described meet the trigger condition, life At corresponding first interface assembly of the first boarding program, 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.
8. the method according to the description of claim 7 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.
9. according to the method described in claim 8, 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.
10. according to the method described in claim 9, it is characterized in that, the rendering state according to each interface assembly resource Information searches current interface assembly resource to be rendered from one or more of interface assembly resources, by described currently to wash with watercolours The interface assembly resource of dye is 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 boundary that the boarding program administrative center is recorded earliest The interface assembly resource of face component is determined as the corresponding first interface assembly resource of the first boarding program.
11. according to the method described in claim 9, it is characterized in that, the rendering state according to each interface assembly resource Information searches current interface assembly resource to be rendered from one or more of interface assembly resources, by described currently to wash with watercolours The interface assembly resource of dye is 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, will be executed in the boarding program administrative center on foreground The interface assembly resource of the shortest interface assembly of duration is determined as the corresponding first interface assembly resource of the first boarding program.
12. a kind of equipment of the management boarding program in host program, wherein 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.
CN201910265259.1A 2019-04-03 2019-04-03 Method and equipment for managing hosted program in hosted program Active CN110321205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910265259.1A CN110321205B (en) 2019-04-03 2019-04-03 Method and equipment for managing hosted program in hosted program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910265259.1A CN110321205B (en) 2019-04-03 2019-04-03 Method and equipment for managing hosted program in hosted program

Publications (2)

Publication Number Publication Date
CN110321205A true CN110321205A (en) 2019-10-11
CN110321205B CN110321205B (en) 2021-07-30

Family

ID=68113262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910265259.1A Active CN110321205B (en) 2019-04-03 2019-04-03 Method and equipment for managing hosted program in hosted program

Country Status (1)

Country Link
CN (1) CN110321205B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377504A (en) * 2020-03-10 2021-09-10 成都龙兵科技有限公司 Background switching management system for small programs

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1208889A (en) * 1997-07-25 1999-02-24 太阳微系统有限公司 Detachable JAVA applets
US20160134740A1 (en) * 2014-07-11 2016-05-12 Steven Samuel Gal Mobile device application execution
CN106802803A (en) * 2017-01-06 2017-06-06 腾讯科技(深圳)有限公司 The method and apparatus of application data treatment
CN108196930A (en) * 2018-01-18 2018-06-22 腾讯科技(深圳)有限公司 Applied program processing method, device, storage medium and computer equipment
CN108920266A (en) * 2018-06-27 2018-11-30 努比亚技术有限公司 program switching method, intelligent terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1208889A (en) * 1997-07-25 1999-02-24 太阳微系统有限公司 Detachable JAVA applets
US20160134740A1 (en) * 2014-07-11 2016-05-12 Steven Samuel Gal Mobile device application execution
CN106802803A (en) * 2017-01-06 2017-06-06 腾讯科技(深圳)有限公司 The method and apparatus of application data treatment
CN108196930A (en) * 2018-01-18 2018-06-22 腾讯科技(深圳)有限公司 Applied program processing method, device, storage medium and computer equipment
CN108920266A (en) * 2018-06-27 2018-11-30 努比亚技术有限公司 program switching method, intelligent terminal and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HIDEAKI KAWABATA等: ""SanAdBox: Sandboxing third party advertising libraries in a mobile application"", 《2013 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC)》 *
张晓燕: ""微信‘小程序’开发的系统实现及前景"", 《电子技术与软件工程》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377504A (en) * 2020-03-10 2021-09-10 成都龙兵科技有限公司 Background switching management system for small programs

Also Published As

Publication number Publication date
CN110321205B (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN110321189A (en) A kind of method and apparatus that boarding program being presented in host program
WO2020221189A1 (en) Method and device for managing hosting program
CN110266505B (en) Method and equipment for managing session group
CN109669709A (en) A kind of data migration method and data mover system of the upgrading of block chain
CN110290557A (en) A kind of method and apparatus of the interior page-tag of load application
CN109408696A (en) It is a kind of for search for boarding program method and apparatus
CN110502298A (en) It is a kind of for providing the method and apparatus of the update notifying information of e-book
CN110018920A (en) A kind of detection method, device and the equipment of page presentation exception
CN110502873A (en) A kind of method and apparatus for the reading permission managing novel chapters and sections
CN110333955A (en) A kind of method and apparatus managing message informing in application
CN110413179A (en) A kind of method and apparatus that conversation message is presented
CN107977254A (en) The response method and computer-readable recording medium asked in cloud data system
CN110336733A (en) A kind of method and apparatus that expression packet is presented
CN109947504A (en) A kind of method and apparatus executing boarding program in host program
CN105955743A (en) Resource data transfer request generating method, device and system
CN110262810A (en) A kind of method and apparatus of installation application
CN109710832A (en) It is a kind of for search for boarding program method and apparatus
CN110519250A (en) It is a kind of that the method and apparatus of information flow is provided
WO2021253890A1 (en) Method and device for replying communication information in instant messaging application
CN110321205A (en) A kind of method and apparatus of the management boarding program in host program
WO2021047278A1 (en) Method and device for posting sharing information in social networking space
CN110166955A (en) A kind of method and apparatus carrying out calendar prompting
CN110286920A (en) A kind of method and apparatus of installation application
CN110502299A (en) It is a kind of for providing the method and apparatus of novel information
CN109889664A (en) It is a kind of for providing the method and apparatus of the locking screen interface of application on a user device

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