CN110389936A - A kind of method, equipment and computer storage medium starting small routine - Google Patents
A kind of method, equipment and computer storage medium starting small routine Download PDFInfo
- Publication number
- CN110389936A CN110389936A CN201910676590.2A CN201910676590A CN110389936A CN 110389936 A CN110389936 A CN 110389936A CN 201910676590 A CN201910676590 A CN 201910676590A CN 110389936 A CN110389936 A CN 110389936A
- Authority
- CN
- China
- Prior art keywords
- host
- small routine
- file
- running environment
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/176—Support for shared access to files; File sharing support
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
Abstract
The present invention provides a kind of method, equipment and computer storage mediums for starting small routine, and wherein method includes: that host's application of terminal device gets the event of triggering small routine starting;Confirm the file for thering is the small routine running environment to rely on the presence or absence of host's application memory in the terminal device;If it is, running environment is initialized using the file that the small routine running environment relies on, to start the small routine;Otherwise, the file that the small routine running environment relies on is downloaded and stored from server end, and the storage location of file other host's applications for being arranged that the small routine running environment relies on are also readable.The present invention solves the problems, such as the file repeated downloads that small routine running environment relies on, and improves the starting efficiency of small routine, and economize on resources.
Description
[technical field]
The present invention relates to computer application technology, in particular to a kind of method, equipment and calculating for starting small routine
Machine storage medium.
[background technique]
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein
Description is not regarded as the prior art because being included in this section.
Small routine (Mini Program) is that one kind does not need the i.e. workable application of installation, runs on host's application and mentions
For in the environment of.It is more and more widely used due to can be used at any time without install unloading.Current each host answers
When used in starting small routine, it is required to be locally-downloaded and initialize the running environment of a set of small routine in host's application respectively.But
On the one hand since browser kernel, JS engine that small routine running environment relies on very greatly, will lead to starting small routine in equal volume
The time for needing to wait is very long, on the other hand, necessarily will cause the waste of resource.
[summary of the invention]
In view of this, the present invention provides a kind of method, equipment and computer storage medium for starting small routine, to improve
The starting efficiency of small routine, economizes on resources.
Specific technical solution is as follows:
In a first aspect, the present invention provides a kind of method for starting small routine, it, should by host's application execution of terminal device
Method includes:
Get the event of triggering small routine starting;
Confirm the file for thering is the small routine running environment to rely on the presence or absence of host's application memory in the terminal device;
If it is, running environment is initialized using the file that the small routine running environment relies on, it is described small to start
Program;
Otherwise, the file that the small routine running environment relies on is downloaded and stores, from server end to initialize operation ring
Border simultaneously starts the small routine, other hosts of the storage location of file application that the small routine running environment dependence is arranged can also
It reads.
A preferred embodiment according to the present invention, confirm in the terminal device with the presence or absence of host's application memory have it is described
The file that small routine running environment relies on, comprising: confirm in the terminal device and belong to same host alliance with this host application
Each host application, whether each host's application for judging to determine be stored with the text that the small routine running environment relies on
Part;
The storage location of file other host's applications for being arranged that the small routine running environment relies on are also readable, comprising: set
The storage location of the file that the small routine running environment relies on is set for each host of the host alliance using readable;
Wherein, each host applies and uses identical small routine standard in same host alliance.
A preferred embodiment according to the present invention, this method further include:
The information applied from the synchronous each host for belonging to same host alliance with this host application of server end, and determine institute
State host's application message of the installed host alliance of terminal device.
A preferred embodiment according to the present invention, confirm in the terminal device with the presence or absence of host's application memory have it is described
The file that small routine running environment relies on, comprising:
Judge the file for thering is the small routine running environment to rely on the presence or absence of host's application memory in the terminal device
And this document meets the release requirement of this host application.
A preferred embodiment according to the present invention, the storage location for the file that the small routine running environment relies on are this place
Under the privately owned catalogue of main application.
A preferred embodiment according to the present invention, confirm in the terminal device with the presence or absence of host's application memory have it is described
The file that small routine running environment relies on, comprising:
First confirm the file relied under the privately owned catalogue of this host application with the presence or absence of the small routine running environment;
If it does not, judging to store under the privately owned catalogue that the terminal device is applied with the presence or absence of other hosts again
The file of small routine running environment dependence is stated, if it is, loading under the privately owned catalogue that other described hosts apply described small
The file that program execution environments rely on.
A preferred embodiment according to the present invention, confirm in the terminal device with the presence or absence of host's application memory have it is described
The file that small routine running environment relies on, comprising: it is described small to judge whether the shared memory space of the terminal device is stored with
The file that program execution environments rely on;
The file that the small routine running environment is downloaded and stored from server end and is relied on, comprising: from server end
Download the file that the small routine running environment relies on and the shared memory space for being stored in the terminal device.
A preferred embodiment according to the present invention, the file that the small routine running environment relies on include:
Kernel dynamic link library SO, JS engine SO and small routine frame SO.
Second aspect, the present invention provides a kind of equipment, the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes as above any method.
The third aspect, a kind of storage medium comprising computer executable instructions, the computer executable instructions by
For executing as above any method when computer processor executes.
As can be seen from the above technical solutions, in the present invention in same terminal device the downloading of each host's Application share it is small
The file that program execution environments rely on initializes running environment.Under file repetition to solve the dependence of small routine running environment
The problem of load, the starting efficiency of small routine is improved, and economized on resources.
[Detailed description of the invention]
Fig. 1 be the present embodiments relate to system architecture schematic diagram;
Fig. 2 is main method flow chart provided in an embodiment of the present invention;
Fig. 3 is that the host that the embodiment of the present invention one provides applies 1 method flow diagram executed;
Fig. 4 is that host provided by Embodiment 2 of the present invention applies 1 method flow diagram executed;
Fig. 5 shows the block diagram for being suitable for the exemplary computer system for being used to realize embodiment of the present invention.
[specific embodiment]
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments
The present invention is described in detail.
In order to facilitate the understanding of the present invention, system architecture according to the present invention and main concept are retouched first
It states.As shown in fig. 1, which mainly includes that host applies with host using corresponding server end.
Small routine relies on host's application to run on the terminal device, and the environment where small routine operation is that host's application provides
's.Wherein terminal device can include but is not limited to such as: intelligent mobile terminal, smart home device, the network equipment, wearable
Formula equipment, intelligent medical equipment, PC (personal computer) etc..Wherein Intelligent mobile equipment may include such as mobile phone, plate electricity
Brain, laptop, PDA (personal digital assistant), internet automobile etc..Smart home device may include that intelligent appliance is set
It is standby, smart television, intelligent sound box etc..The network equipment may include interchanger, wireless aps, server etc..It is wearable
Formula equipment may include that such as smartwatch, intelligent glasses, Intelligent bracelet, virtual reality device, augmented reality equipment, mixing are existing
Real equipment (equipment that can support virtual reality and augmented reality) etc..
It may be applied comprising multiple hosts on same terminal device, to be using 2 using 1 and host comprising host in Fig. 1
Example.Multiple small routines may also be run in one host's application, and different hosts application may run different small routines, it can also
Identical small routine can be run.As shown in fig. 1, host applies and runs small routine a and small routine b in 1, and host applies to be transported in 2
Row small routine b and small routine c.
Small routine needs to rely on certain running environment, which needs small in starting when host's application is run
It is initialized before program using the file of running environment.
There are corresponding server ends for each host's application, and as shown in fig. 1, host applies 1 corresponding server end 1,
Host applies 2 corresponding server ends 2.Each host application can corresponding server end interact.
Each server end can be single server, be also possible to the server farm that multiple servers are constituted.It should manage
It solves, terminal device, host's application in Fig. 1, small routine, the number of server end are only schematical.According to realize needs,
It can have any number of terminal device, host's application, small routine, server end.
Core of the invention thought is, the small routine running environment of each host's Application share downloading in same terminal device
The file of dependence carries out the starting of small routine, thus solve the problems, such as the file repeated downloads that small routine running environment relies on,
The starting efficiency of small routine is improved, and is economized on resources.Fig. 2 is main method flow chart provided in an embodiment of the present invention, the party
Method by terminal device host's application execution, executive device can be positioned at terminal device host application plug-in unit or software development
The functional units such as kit (Software Development Kit, SDK).As shown in Fig. 2, this method mainly includes following step
It is rapid:
In 201, the event of triggering small routine starting is obtained.
The present invention is not limited to trigger the event type of small routine starting in host applies, such as it can be user in place
Small routine icon is clicked in main application to trigger small routine starting, is also possible to user and is clicked certain link triggering in host's application
Corresponding small routine starting, etc..
In 202, confirm the text for thering is the small routine running environment to rely on the presence or absence of host's application memory in terminal device
Part, if so, executing 203;Otherwise, 204 are executed.
Since small routine needs to rely at runtime certain running environment, host is applied before starting small routine
The file relied on using small routine running environment is needed to initialize running environment.In the present embodiment, terminal device can be first
First judge whether this host application is stored with the file of small routine running environment dependence, if there is then directly utilizing;Otherwise continue
Judge whether other hosts application is stored with the file of small routine running environment dependence.
Wherein, the file that small routine running environment relies on may include kernel SO (dynamic link library), JS engine SO, little Cheng
Sequence frame SO etc..Wherein kernel refers to that browser kernel, JS engine can be such as V8 engine.
In 203, running environment is initialized using the file that the small routine running environment relies on, to start the small routine,
Terminate process.
If the file for having had host's application memory to have the small routine running environment to rely in terminal device, is not necessarily to
Repeated downloads directly initialize running environment using the file that stored running environment relies on.
In 204, the file of small routine running environment dependence is downloaded and stores, from server end to initialize operation ring
Border simultaneously starts the small routine, and the storage location of file other host's applications that small routine running environment dependence is arranged are also readable.
If being needed there is no the file that host's application memory has the small routine running environment to rely on from clothes in terminal device
The downloading of business device end, and store the file of small routine running environment dependence.The text relied on for the small routine running environment of downloading
Part can also be used by other hosts application, in addition to this host applies depositing for the file of readable small routine running environment dependence
Except storage space is set, the storage location is also readable to other host's applications.
Then host applies the file relied on using the small routine running environment of this downloading to initialize running environment, and opens
Dynamic small routine.
In embodiments of the present invention using the small routine running environment of host's Application share storage in same terminal device according to
The mode of bad file, wherein sharing mode can be used but is not limited to following several:
First way: the file that the small routine running environment of downloading relies on is stored in this host application by host's application
Under privately owned catalogue, it is also readable to other host's applications which is set.
The second way: the file that the small routine running environment of downloading relies on is stored in terminal device by host's application
Memory space is shared, each host's application shares the text that memory space reads the dependence of small routine running environment from this in terminal device
Part carries out the initialization of running environment.
Above two mode is described in detail respectively below in conjunction with specific embodiment.In addition, it is necessary to explanation,
One kind is it is desired that all hosts application is all made of identical small routine standard.But often in a practical situation, some places
Main application is using identical small routine standard, but other hosts application then uses other small routine standards.It so can be with
Host's application using identical small routine standard is known as a host alliance.It is answered for each host for belonging to same host alliance
By the way of sharing the file that small routine running environment relies on provided by the embodiment of the present invention.Which applied about host
Belonging to same host alliance then can be in the unified configuration of server end, and then each host applies obtains from server end.Below
Embodiment in the way of the file that each host's Application share small routine running environment of same host alliance relies on for
It is described.
Embodiment one,
Fig. 3 is the method flow diagram that provides of the embodiment of the present invention one, in the present embodiment to the first above-mentioned implementation into
Row description.Assuming that user is intended in host using starting small routine c in 1, as shown in figure 3, the method executed using 1 by host can be with
Including following procedure:
In 301, when host is using 1 starting, the information of host alliance is synchronized from server end and is stored in host using 1
Local database.
Host on startup, can send the synchronization request of host alliance, corresponding server using 1 to corresponding server end
The information for holding each host for returning to host alliance using 1 to the host to apply, such as packet name.Then host can determine using 1
Host's application message of the installed host alliance of this terminal device.
When host using 1 starting when, can to place terminal device, locally mounted application program is scanned, then into
One step utilizes the information for the host alliance being synchronized to from server end, it will be able to determine the installed host of this terminal device
The information that these hosts apply can be stored in the database that this host applies with tabular form by host's application message of alliance
In.
For example, it is assumed that the information for the host alliance that server end issues includes: that host applies 1, host using 2, place
Main application 3, host apply 4 ....Host has found that this installing terminal equipment has host using 1 after scanning this terminal device using 1
2 are applied with host, then host can be stored in host using 1 using 2 information using 1 and host using 1 by host
In the database on ground.
In 302, after getting host using the event of small routine c starting in 1, judge that host applies 1 privately owned catalogue
Under whether be stored with small routine c running environment dependence file, if so, execute 303;Otherwise 304 are executed.
In 303, initialized using host using the file that the small routine c running environment stored under 1 privately owned catalogue relies on
Running environment terminates this Booting sequence to start small routine c.
In 304, it inquires under the privately owned catalogue of other hosts application of same host alliance and whether is stored with small routine c fortune
The file of row condition depended, if so, executing 305;Otherwise, 306 are executed.
In this step, on the one hand determine whether other hosts application of same host alliance is stored with small routine c operation
The file of condition depended, on the other hand determines whether the file of the running environment dependence of storage meets host and want using 1 version
It asks, in the case that two aspects are all satisfied, execute 305, otherwise execute 306.If usual host be lower than using the version of 1 demand or
Equal to the version of other host's application memories, then it is assumed that meet release requirement.
In 305, host reads what small routine c running environment relied under the privately owned catalogue that other hosts apply using 1
File, and to initialize running environment in host is using 1 and start small routine c, terminate this Booting sequence.
If such as applying the file for being stored with the dependence of small routine c running environment in 2, host's application through inquiry host
The file that running environment relies on is read under the 1 privately owned catalogue from host using 2, carries out the initial of running environment using 1 in host
Change, and starts small routine c.
In 306, the file that host relies on using 1 from corresponding server end downloading small routine c running environment is stored in
Host applies under 1 privately owned catalogue, and the permission that the privately owned catalogue is arranged is each host of host alliance using readable.
As a preferred embodiment, the safety in order to guarantee content under privately owned catalogue, can be only arranged privately owned
The permission of catalogue is each host of host alliance using readable not writeable.
Under normal conditions, the file of small routine running environment dependence is for each small routine of same host alliance
It is available, only exist the difference of version.Therefore, it is relied in the small routine running environment that server end can store multiple versions
File.The version information of itself can be sent to server end using 1 by host, so that server end will correspond to the small of version
The file that program execution environments rely on is sent to host using 1.
In 307, host initializes running environment using the file of downloading using 1, and starts small routine c.
Embodiment two,
Fig. 4 is method flow diagram provided by Embodiment 2 of the present invention, in the present embodiment to above-mentioned second of implementation into
Row description.Assuming that user is intended in host using starting small routine c in 1, as shown in figure 4, the method executed using 1 by host can be with
Including following procedure:
In 401, host obtains the event that small routine c starts using 1.
In 402, host judges whether the shared memory space of terminal device is stored with small routine c running environment using 1
The file of dependence, if so, executing 403;Otherwise 404 are executed.
In the present embodiment, shared memory space is set in terminal device, and the shared memory space is in host alliance
Each open access limit of host's application.The file that host's application in host alliance relies on the small routine running environment of downloading
The shared memory space is stored in share within the scope of host alliance.
In this step, same on the one hand to determine whether shared memory space is stored with the dependence of small routine c running environment
File, on the other hand determines whether the file that the small routine c running environment of storage relies on meets the release requirement that host applies 1,
In the case that two aspects are all satisfied, 403 are executed, otherwise executes 404.If usual host is lower than or waits using the version of 1 demand
In stored version, then it is assumed that meet release requirement.
In 403, host reads the file that small routine c running environment relies on, initialization fortune from shared memory space using 1
Row environment simultaneously starts small routine c, terminates this Booting sequence.
In 404, the file that host relies on using 1 from corresponding server end downloading small routine c running environment is stored in
The shared memory space of terminal device.
It is for host using 1 because version needs to download the file packet of the more highest version of small routine c, then empty for shared storage
Between in the already existing file packet compared with lowest version can retain, can also delete.
The present invention is not limited thereto for the form of above-mentioned shared memory space, such as can use SDCard, can also adopt
With the shared memory space of other forms.
In 405, host initializes running environment using the file of downloading using 1, and starts small routine c.
Fig. 5 shows the block diagram for being suitable for the exemplary computer system 012 for being used to realize embodiment of the present invention.Fig. 5 is aobvious
The computer system 012 shown is only an example, should not function to the embodiment of the present invention and use scope bring any limit
System.
As shown in figure 5, computer system 012 is showed in the form of universal computing device.The component of computer system 012 can
To include but is not limited to: one or more processor or processing unit 016, system storage 028 connect not homologous ray group
The bus 018 of part (including system storage 028 and processing unit 016).
Bus 018 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer system 012 typically comprises a variety of computer system readable media.These media can be it is any can
The usable medium accessed by computer system 012, including volatile and non-volatile media, moveable and immovable Jie
Matter.
System storage 028 may include the computer system readable media of form of volatile memory, such as deposit at random
Access to memory (RAM) 030 and/or cache memory 032.Computer system 012 may further include it is other it is removable/
Immovable, volatile/non-volatile computer system storage medium.Only as an example, storage system 034 can be used for reading
Write immovable, non-volatile magnetic media (Fig. 5 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 5,
The disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided, and non-easy to moving
The CD drive that the property lost CD (such as CD-ROM, DVD-ROM or other optical mediums) is read and write.In these cases, each
Driver can be connected by one or more data media interfaces with bus 018.Memory 028 may include at least one
Program product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform this
Invent the function of each embodiment.
Program/utility 040 with one group of (at least one) program module 042, can store in such as memory
In 028, such program module 042 includes --- but being not limited to --- operating system, one or more application program, other
It may include the realization of network environment in program module and program data, each of these examples or certain combination.Journey
Sequence module 042 usually executes function and/or method in embodiment described in the invention.
Computer system 012 can also be with one or more external equipments 014 (such as keyboard, sensing equipment, display
024 etc.) it communicates, in the present invention, computer system 012 is communicated with external radar equipment, can also be with one or more
Enable a user to the equipment interacted with the computer system 012 communication, and/or with enable the computer system 012 and one
Or a number of other any equipment (such as network interface card, modem etc.) communications for calculating equipment and being communicated.This communication can
To be carried out by input/output (I/O) interface 022.Also, computer system 012 can also pass through network adapter 020 and one
A or multiple networks (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.Such as figure
Shown, network adapter 020 is communicated by bus 018 with other modules of computer system 012.Although should be understood that in Fig. 5
It is not shown, other hardware and/or software module can be used in conjunction with computer system 012, including but not limited to: microcode is set
Standby driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system
System etc..
Processing unit 016 by the program that is stored in system storage 028 of operation, thereby executing various function application with
And data processing, such as realize method flow provided by the embodiment of the present invention.
Above-mentioned computer program can be set in computer storage medium, i.e., the computer storage medium is encoded with
Computer program, the program by one or more computers when being executed, so that one or more computers execute in the present invention
State method flow shown in embodiment and/or device operation.For example, it is real to execute the present invention by said one or multiple processors
Apply method flow provided by example.
With time, the development of technology, medium meaning is more and more extensive, and the route of transmission of computer program is no longer limited by
Tangible medium, can also be directly from network downloading etc..It can be using any combination of one or more computer-readable media.
Computer-readable medium can be computer-readable signal media or computer readable storage medium.Computer-readable storage medium
Matter for example may be-but not limited to-system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or
Any above combination of person.The more specific example (non exhaustive list) of computer readable storage medium includes: with one
Or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM),
Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light
Memory device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium can
With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
Person is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium other than computer readable storage medium, which can send, propagate or
Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.In
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN) is connected to subscriber computer, or, it may be connected to outer computer (such as provided using Internet service
Quotient is connected by internet).
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.
Claims (10)
1. a kind of method for starting small routine, by host's application execution of terminal device, which is characterized in that this method comprises:
Get the event of triggering small routine starting;
Confirm the file for thering is the small routine running environment to rely on the presence or absence of host's application memory in the terminal device;
If it is, running environment is initialized using the file that the small routine running environment relies on, to start the small routine;
Otherwise, the file that the small routine running environment relies on is downloaded and stores, from server end to initialize running environment simultaneously
Start the small routine, the storage location of file other host's applications for being arranged that the small routine running environment relies on are also readable.
2. being deposited the method according to claim 1, wherein confirming in the terminal device with the presence or absence of host's application
Contain the file that the small routine running environment relies on, comprising: confirm same using belonging to this host in the terminal device
Each host of host alliance applies, judge each host's application determined whether be stored with the small routine running environment according to
Bad file;
The storage location of file other host's applications for being arranged that the small routine running environment relies on are also readable, comprising: setting institute
The storage location of the file of small routine running environment dependence is stated for each host of the host alliance using readable;
Wherein, each host applies and uses identical small routine standard in same host alliance.
3. according to the method described in claim 2, it is characterized in that, this method further include:
The information applied from the synchronous each host for belonging to same host alliance with this host application of server end, and determine the end
Host's application message of the installed host alliance of end equipment.
4. being deposited the method according to claim 1, wherein confirming in the terminal device with the presence or absence of host's application
Contain the file that the small routine running environment relies on, comprising:
Judge the file for thering is the small routine running environment to rely on the presence or absence of host's application memory in the terminal device and is somebody's turn to do
File meets the release requirement of this host application.
5. the method according to claim 1, wherein the storage position for the file that the small routine running environment relies on
It is set under the privately owned catalogue of this host application.
6. according to the method described in claim 5, being deposited it is characterized in that, confirming in the terminal device with the presence or absence of host's application
Contain the file that the small routine running environment relies on, comprising:
First confirm the file relied under the privately owned catalogue of this host application with the presence or absence of the small routine running environment;
If it does not, judging that the terminal device is described small with the presence or absence of being stored under the privately owned catalogue of other hosts application again
The file that program execution environments rely on, if it is, loading the small routine under the privately owned catalogue that other described hosts apply
The file that running environment relies on.
7. being deposited the method according to claim 1, wherein confirming in the terminal device with the presence or absence of host's application
Contain the file that the small routine running environment relies on, comprising: judge whether the shared memory space of the terminal device stores
The file for thering is the small routine running environment to rely on;
The file that the small routine running environment is downloaded and stored from server end and is relied on, comprising: downloaded from server end
The file of the small routine running environment dependence and the shared memory space for being stored in the terminal device.
8. the method according to claim 1, wherein the file that the small routine running environment relies on includes:
Kernel dynamic link library SO, JS engine SO and small routine frame SO.
9. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as method described in any one of claims 1-8.
10. a kind of storage medium comprising computer executable instructions, the computer executable instructions are by computer disposal
For executing such as method described in any one of claims 1-8 when device executes.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910676590.2A CN110389936B (en) | 2019-07-25 | 2019-07-25 | Method, equipment and computer storage medium for starting small program |
PCT/CN2020/104099 WO2021013243A1 (en) | 2019-07-25 | 2020-07-24 | Method for starting mini program, device, and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910676590.2A CN110389936B (en) | 2019-07-25 | 2019-07-25 | Method, equipment and computer storage medium for starting small program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110389936A true CN110389936A (en) | 2019-10-29 |
CN110389936B CN110389936B (en) | 2021-05-14 |
Family
ID=68287446
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910676590.2A Active CN110389936B (en) | 2019-07-25 | 2019-07-25 | Method, equipment and computer storage medium for starting small program |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110389936B (en) |
WO (1) | WO2021013243A1 (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110879728A (en) * | 2019-11-18 | 2020-03-13 | 口碑(上海)信息技术有限公司 | Method and device for starting small program |
CN110908738A (en) * | 2019-11-29 | 2020-03-24 | 百度在线网络技术(北京)有限公司 | Method and device for running small program |
CN110909319A (en) * | 2019-11-29 | 2020-03-24 | Oppo(重庆)智能科技有限公司 | Application processing method and related product |
CN111722886A (en) * | 2020-06-23 | 2020-09-29 | 平安医疗健康管理股份有限公司 | Tool starting method and device, computer equipment and computer readable storage medium |
CN112149169A (en) * | 2020-10-12 | 2020-12-29 | Oppo广东移动通信有限公司 | Application access method and device and computer readable storage medium |
WO2021013243A1 (en) * | 2019-07-25 | 2021-01-28 | 上海连尚网络科技有限公司 | Method for starting mini program, device, and computer storage medium |
CN112416374A (en) * | 2020-11-18 | 2021-02-26 | 北京字跳网络技术有限公司 | Data processing method, device, terminal and storage medium |
CN112835632A (en) * | 2019-11-06 | 2021-05-25 | 上海连尚网络科技有限公司 | Method and device for calling end capability and computer storage medium |
US11831735B2 (en) | 2020-06-28 | 2023-11-28 | Baidu Online Network Technology (Beijing) Co., Ltd. | Method and device for processing mini program data |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113360212A (en) * | 2021-06-30 | 2021-09-07 | 远光软件股份有限公司 | Application program starting method, computer device and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109710333A (en) * | 2018-12-28 | 2019-05-03 | 上海掌门科技有限公司 | Processing method, equipment and the computer readable storage medium of boarding application |
US20190163453A1 (en) * | 2017-11-27 | 2019-05-30 | Microsoft Technology Licensing, Llc | Progressive web app auto-ingestion |
CN109933442A (en) * | 2019-03-04 | 2019-06-25 | 上海连尚网络科技有限公司 | The means of communication, equipment and computer storage medium between small routine platform |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7484095B2 (en) * | 2003-01-16 | 2009-01-27 | Sun Microsystems, Inc. | System for communicating program data between a first device and a second device |
CN109995877B (en) * | 2019-04-12 | 2021-10-12 | 上海连尚网络科技有限公司 | Information pushing method and device |
CN110389936B (en) * | 2019-07-25 | 2021-05-14 | 上海连尚网络科技有限公司 | Method, equipment and computer storage medium for starting small program |
-
2019
- 2019-07-25 CN CN201910676590.2A patent/CN110389936B/en active Active
-
2020
- 2020-07-24 WO PCT/CN2020/104099 patent/WO2021013243A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190163453A1 (en) * | 2017-11-27 | 2019-05-30 | Microsoft Technology Licensing, Llc | Progressive web app auto-ingestion |
CN109710333A (en) * | 2018-12-28 | 2019-05-03 | 上海掌门科技有限公司 | Processing method, equipment and the computer readable storage medium of boarding application |
CN109933442A (en) * | 2019-03-04 | 2019-06-25 | 上海连尚网络科技有限公司 | The means of communication, equipment and computer storage medium between small routine platform |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021013243A1 (en) * | 2019-07-25 | 2021-01-28 | 上海连尚网络科技有限公司 | Method for starting mini program, device, and computer storage medium |
CN112835632A (en) * | 2019-11-06 | 2021-05-25 | 上海连尚网络科技有限公司 | Method and device for calling end capability and computer storage medium |
CN110879728A (en) * | 2019-11-18 | 2020-03-13 | 口碑(上海)信息技术有限公司 | Method and device for starting small program |
CN110908738A (en) * | 2019-11-29 | 2020-03-24 | 百度在线网络技术(北京)有限公司 | Method and device for running small program |
CN110909319A (en) * | 2019-11-29 | 2020-03-24 | Oppo(重庆)智能科技有限公司 | Application processing method and related product |
US11550599B2 (en) | 2019-11-29 | 2023-01-10 | Baidu Online Network Technology (Beijing) Co., Ltd. | Method and apparatus for running applet |
CN111722886A (en) * | 2020-06-23 | 2020-09-29 | 平安医疗健康管理股份有限公司 | Tool starting method and device, computer equipment and computer readable storage medium |
US11831735B2 (en) | 2020-06-28 | 2023-11-28 | Baidu Online Network Technology (Beijing) Co., Ltd. | Method and device for processing mini program data |
CN112149169A (en) * | 2020-10-12 | 2020-12-29 | Oppo广东移动通信有限公司 | Application access method and device and computer readable storage medium |
CN112416374A (en) * | 2020-11-18 | 2021-02-26 | 北京字跳网络技术有限公司 | Data processing method, device, terminal and storage medium |
CN112416374B (en) * | 2020-11-18 | 2022-10-25 | 北京字跳网络技术有限公司 | Data processing method, device, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110389936B (en) | 2021-05-14 |
WO2021013243A1 (en) | 2021-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110389936A (en) | A kind of method, equipment and computer storage medium starting small routine | |
CN110389935A (en) | A kind of method, equipment and computer storage medium starting small routine | |
US20220214932A1 (en) | Methods, devices and computer storage media for inter-mini program platform communication | |
CN106687975B (en) | Trusted execution environment extensible computing device interface | |
KR20170022996A (en) | Integrated apis and uis for consuming services across different distributed networks | |
EP1950656A1 (en) | Method of loading software in mobile and desktop environments | |
CN110377369A (en) | A kind of method, equipment and computer storage medium running small routine | |
US20220245005A1 (en) | Methods, devices and computer storage media for inter-mini program platform discovery | |
CN112398936B (en) | Kubernetes-based multi-network card container implementation method and system | |
CN102043645A (en) | Plug-in loading method and device | |
US7818467B2 (en) | Method of indentifying devices in mobile and desktop environments | |
CN112835632B (en) | Method and equipment for calling end capability and computer storage medium | |
CN101895531B (en) | Client equipment, multimedia data unloading system and unloading method | |
CN112202744A (en) | Multi-system data communication method and device | |
CN109218393A (en) | A kind of implementation method of push, device, equipment and computer storage medium | |
CN114244654A (en) | URL forwarding method, device, equipment and computer storage medium | |
US20200326998A1 (en) | Two-way clipboard exchange in virtual console | |
CN108293047B (en) | System and method for accessing resources by a user across multiple distributed computing networks | |
CN110377328A (en) | A kind of data capture method, device, equipment and storage medium | |
CN106843895B (en) | Method, system and readable storage medium for processing requests | |
CN111142972B (en) | Method, apparatus, system, and medium for extending functions of application program | |
CN110365839B (en) | Shutdown method, shutdown device, shutdown medium and electronic equipment | |
CN109388536B (en) | Data collection method and device | |
CN114253691A (en) | Multi-card self-adaption method and device based on operating system and electronic equipment | |
CN117112061A (en) | Method for preassembling application of intelligent television terminal shielding system |
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 |