CN109960540A - Small routine triggering method, computer equipment and storage medium - Google Patents
Small routine triggering method, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109960540A CN109960540A CN201910168478.8A CN201910168478A CN109960540A CN 109960540 A CN109960540 A CN 109960540A CN 201910168478 A CN201910168478 A CN 201910168478A CN 109960540 A CN109960540 A CN 109960540A
- Authority
- CN
- China
- Prior art keywords
- host
- instruction
- small routine
- application
- proprietary
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000008569 process Effects 0.000 claims description 13
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 5
- 238000012545 processing Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 5
- 230000005291 magnetic effect Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4482—Procedural
Abstract
The invention discloses small routine triggering method, computer equipment and storage medium, wherein method can include: host's application obtains the first proprietary instruction;The proprietary instruction of host's analytic application first;Host, which applies, determines the first corresponding small routine of proprietary instruction according to parsing result, and searches for and find the small routine;Host's application starts the small routine.Using scheme of the present invention, the application scenarios of small routine can be extended, promote the performance etc. of small routine.
Description
[technical field]
The present invention relates to Computer Applied Technologies, in particular to small routine triggering method, computer equipment and storage medium.
[background technique]
Small routine is the mode of completely new connection user and service a kind of, it usually needs apply, i.e., cannot dependent on host
It is detached from host's application and individually runs.
At present, it usually needs user actively triggers the operation of small routine, such as finds small routine and clicks, and cannot pass through rear end
It actively triggers, to limit the application scenarios of small routine.
[summary of the invention]
In view of this, the present invention provides small routine triggering method, computer equipment and storage mediums.
Specific technical solution is as follows:
A kind of small routine triggering method, comprising:
Host's application obtains the first proprietary instruction;
First proprietary instruction described in host's analytic application;
The host, which applies, determines the described first corresponding small routine of proprietary instruction according to parsing result, and searches for lookup
To the small routine;
Host's application starts the small routine.
A kind of small routine triggering method, comprising:
Instruct generating platform to send proprietary instruction to host's application, so as to host's application searches find it is described proprietary
Corresponding small routine is instructed, and starts the small routine.
A kind of computer equipment, including memory, processor and be stored on the memory and can be in the processor
The computer program of upper operation, the processor realize method as described above when executing described program.
A kind of computer readable storage medium is stored thereon with computer program, real when described program is executed by processor
Now method as described above.
It can be seen that based on above-mentioned introduction using scheme of the present invention, can actively trigger small routine by rear end, thus
The application scenarios for extending small routine improve the performance of small routine.
[Detailed description of the invention]
Fig. 1 is the flow chart of small routine triggering method embodiment of the present invention.
Fig. 2 is the flow chart of the small routine triggering method preferred embodiment under the first scene of the present invention.
Fig. 3 is the flow chart of the small routine triggering method preferred embodiment under the second scene of the present invention.
Fig. 4 shows the block diagram for being suitable for the exemplary computer system/server 12 for being used to realize embodiment of the present invention.
[specific embodiment]
In order to be clearer and more clear technical solution of the present invention, hereinafter, referring to the drawings and the embodiments, to institute of the present invention
The scheme of stating is further described.
Obviously, described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on the present invention
In embodiment, those skilled in the art's all other embodiment obtained without creative efforts, all
Belong to the scope of protection of the invention.
In addition, it should be understood that the terms "and/or", a kind of only incidence relation for describing affiliated partner, expression can
With there are three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three feelings of individualism B
Condition.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Fig. 1 is the flow chart of small routine triggering method embodiment of the present invention.As shown in Figure 1, including real in detail below
Existing mode.
In 101, host's application obtains the first proprietary instruction.
In 102, the proprietary instruction of host's analytic application first.
In 103, host, which applies, determines the first corresponding small routine of proprietary instruction according to parsing result, and searches for lookup
To small routine.
In 104, host's application starting small routine.
Host's application can parse the first proprietary instruction got, and the first proprietary instruction that can obtain parsing
The small routine of middle carrying identifies corresponding small routine as the corresponding small routine of the first proprietary instruction, further, host's application
Push (push) message for being suitble to applet process can be also generated according to parsing result, and after search finds small routine, is opened
Dynamic small routine, is sent to small routine for PUSH message.
The present embodiment the method is applicable to different scenes, as host using the first scene in operating status with
And host applies the second inactive scene, is illustrated individually below to the specific implementation under different scenes.
1) the first scene
Under the scene, host's application in operating status can acquisition instruction generating platform led to by the push that host apply
The first proprietary instruction that road is sent, the push channel can be established when host's application starts.
Host's application can be according to the corresponding small routine of the proprietary instruction of the parsing result of the first proprietary instruction generation suitable first
The PUSH message of processing, and can start small routine after search finds small routine, the PUSH message of generation is sent to little Cheng
Sequence is handled.
The first instruction parameter and small routine mark etc. can be carried in first proprietary instruction.Correspondingly, host's application can
Determine whether the first proprietary instruction is small routine triggering command according to the first instruction parameter, if so, can be according to small routine mark
The first corresponding small routine of proprietary instruction is determined in knowledge, and then produces the PUSH message etc. of suitable applet process.
The second instruction parameter can be also carried in first proprietary instruction.Host's application can be determined according to the second instruction parameter
Instruction execution mode, such as may include silent executive mode and display advice method, according to the difference of instruction execution mode, it is subsequent can
Take different processing modes.
Based on above-mentioned introduction, Fig. 2 is the stream of the small routine triggering method preferred embodiment under the first scene of the present invention
Cheng Tu.As shown in Fig. 2, including implementation in detail below.
In 201, host's application obtains and analyzes the instruction the first proprietary instruction of generating platform transmission.
Host's application can the first proprietary instruction of push channel transmission apply by host of acquisition instruction generating platform.
Following information: the first instruction parameter, small routine mark and the second instruction parameter can be carried in first proprietary instruction
Deng.The structure of first proprietary instruction can be as follows: instruction head+separator+small routine mark+separator+data.Wherein, refer to
The first instruction parameter can be carried by enabling in head, be used to indicate whether the first proprietary instruction is small routine triggering command, small routine mark
Knowledge is the label for unique identification small routine, and such as small routine id, data portion can carry the specific interior of the first proprietary instruction
Hold information, wherein may include the second instruction parameter and some other information, as after small routine starting displayed page, in displaying
Hold information etc., it such as may include silent executive mode and display advice method that the second instruction parameter, which is used to indicate instruction execution mode,
Deng.Host's application can obtain the various information wherein carried by carrying out parsing to the first proprietary instruction.
In 202, host's application determines whether the first proprietary instruction is small routine triggering command, if so, 203 are executed,
Otherwise, terminate process.
Whether host's application can determine the first proprietary instruction according to the first instruction parameter carried in the first proprietary instruction
It otherwise, can not deal with, can also be carried out according to the concrete type of instruction if so, can be performed 203 for small routine triggering command
Corresponding processing etc..
In 203, host is applied according to the first proprietary instruction, the corresponding applet process of the proprietary instruction of generation suitable first
PUSH message.
The first proprietary instruction that host's application is got generallys use the message format of suitable host's application processing, is not suitable for
Small routine can be suitble to handle therefore, it is necessary to generate the PUSH message for being suitble to applet process by host's application according to small routine
Message format, generate PUSH message.
In 204, host is that silent executive mode still shows advice method using determine instruction executive mode, if quiet
Silent executive mode, then execute 205, if display advice method, then execute 206.
Host's application can determine instruction execution mode according to the second instruction parameter carried in the first proprietary instruction, if
Silent executive mode then can be performed 205, if display advice method, then can be performed 206.
In the present embodiment, it is illustrated so that instruction execution mode is silent executive mode and display advice method as an example, but
Both modes are not limited in practical application.
In 205, host's application searches find small routine, and start small routine, and PUSH message is sent to small routine
It is handled, terminates process later.
Host's application can search for finding the corresponding small routine of the first proprietary instruction, and adjust small routine, by PUSH message
Small routine is sent to be handled.Wherein, local search can be not limited to the lookup of small routine to search, may also comprise online search
Search etc., local search lookup can be such as carried out first, if not finding, can be carried out searching on the net and be searched.
It is the prior art that how small routine, which carries out processing to PUSH message,.
In silent executive mode, small routine can only start on backstage, exit after having executed relevant treatment, user can not
See.
In 206, host's application display notification message, and working as the triggering command for receiving user and being directed to notification message
When, search finds small routine, and starts small routine, and PUSH message is sent to small routine and is handled, terminates process later.
By taking Android (android) system as an example, the first proprietary instruct can be resolved to the logical of Android system by host's application
Know column imperative structures, i.e., proprietary intention (intent) notice, and shows that the particular content of displaying can be according to first in notification bar
Depending on the particular content of proprietary instruction, such as certain electric business platform has pushed ten yuan of discount coupon to user, then can will mutually inside the Pass
Appearance shows user.
If receiving the triggering command that user is directed to shown sending out notice message, such as determine that user performs click behaviour
Make, then can search for finding the corresponding small routine of the first proprietary instruction, and adjustable small routine, PUSH message is sent to small
Program is handled.
Wherein, local search can be not limited to the lookup of small routine to search, may also comprise online search lookup etc..
2) the second scene
Under the scene, host's application can obtain proprietary instruction from instruction generating platform by means of intermediary service platform.
For example, host's application can obtain the first proprietary instruction of intermediary service platform transmission, the first proprietary instruction is centre
After service platform gets the second proprietary instruction of the instruction generating platform by the manufacturer's push channel transmission established, according to second
What proprietary instruction generated.
Host's application can be according to the corresponding small routine of the proprietary instruction of the parsing result of the first proprietary instruction generation suitable first
The PUSH message of processing, and can start small routine after search finds small routine, the PUSH message of generation is sent to little Cheng
Sequence is handled.
The first instruction parameter and small routine mark etc. can be carried in first proprietary instruction.Correspondingly, host's application can
Determine whether the first proprietary instruction is small routine triggering command according to the first instruction parameter, if so, can be according to small routine mark
The first corresponding small routine of proprietary instruction is determined in knowledge, and then produces the PUSH message etc. of suitable applet process.
The second instruction parameter can be also carried in first proprietary instruction.Host's application can be determined according to the second instruction parameter
Instruction execution mode, such as may include silent executive mode and display advice method, according to the difference of instruction execution mode, it is subsequent can
Take different processing modes.
In addition, the first proprietary command information and host's application identities can be carried in the second proprietary instruction, host's application
Mark is used to indicate the host's application for receiving the first proprietary instruction.
Based on above-mentioned introduction, Fig. 3 is the stream of the small routine triggering method preferred embodiment under the second scene of the present invention
Cheng Tu.As shown in figure 3, including implementation in detail below.
In 301, host's application obtains and parses the first proprietary instruction of intermediary service platform transmission, the first proprietary instruction
After getting the second proprietary instruction that instruction generating platform is sent by manufacturer's push channel for intermediary service platform, according to second
What proprietary instruction generated.
Following information: the first instruction parameter, small routine mark and the second instruction parameter can be carried in first proprietary instruction
Deng.The structure of first proprietary instruction can be as follows: instruction head+separator+small routine mark+separator+data.Wherein, refer to
The first instruction parameter can be carried by enabling in head, be used to indicate whether the first proprietary instruction is small routine triggering command, data portion
The particular content information of the first proprietary instruction can be carried, wherein may include the second instruction parameter and some other information, such as
Displayed page, displaying content information after small routine starting etc., the second instruction parameter are used to indicate instruction execution mode, can such as wrap
Include silent executive mode and display advice method etc..Host's application can wherein be taken by carrying out parsing acquisition to the first proprietary instruction
The various information of band.
Instructing before head can also further comprise a preposition head, so that the second proprietary instruction is constituted, it can in preposition head
Host's application identities are carried, host's application identities are used to indicate the host's application for receiving the first proprietary instruction.
After intermediary service platform gets the second proprietary instruction, place can be determined according to the host's application identities wherein carried
Main application, and then can will remove the first proprietary instruction after preposition head and be sent to host's application.
In 302, host's application determines whether the first proprietary instruction is small routine triggering command, if so, 303 are executed,
Otherwise, terminate process.
Whether host's application can determine the first proprietary instruction according to the first instruction parameter carried in the first proprietary instruction
For small routine triggering command.
In 303, host is applied according to the first proprietary instruction, the corresponding applet process of the proprietary instruction of generation suitable first
PUSH message.
Host's application can be suitble to the message format of processing according to small routine, generate PUSH message.
In 304, host is that silent executive mode still shows advice method using determine instruction executive mode, if quiet
Silent executive mode, then execute 305, if display advice method, then execute 306.
Host's application can determine that instruction execution mode is quiet according to the second instruction parameter carried in the first proprietary instruction
Silent executive mode still shows advice method.
In 305, host's application searches find small routine, and start small routine, and PUSH message is sent to small routine
It is handled, terminates process later.
Host's application can search for finding the corresponding small routine of the first proprietary instruction, and adjustable small routine, and push is disappeared
Breath is sent to small routine and is handled.
In 306, host's application display notification message, and working as the triggering command for receiving user and being directed to notification message
When, search finds small routine, and starts small routine, and PUSH message is sent to small routine and is handled, terminates process later.
Host's application can show sending out notice message for user, if the triggering for receiving user for sending out notice message refers to
It enables, such as determines that user performs clicking operation, then the first corresponding small routine of proprietary instruction can be found, and adjustable little Cheng
PUSH message is sent to small routine and handled by sequence.
It is above that mainly scheme of the present invention is illustrated from host using side, below from instruction generating platform one
Scheme of the present invention is further described in side.
For instruction generating platform, proprietary instruction can be sent to host's application, so that host's application searches are found
It is proprietary to instruct corresponding small routine, and start small routine.
Wherein, instruction generating platform sends the mode of proprietary instruction to host's application can include: instruction generating platform passes through
The push channel of host's application sends the first proprietary instruction to host's application, alternatively, instruction generating platform is logical by manufacturer's push
Road sends the second proprietary instruction to intermediary service platform, so that intermediary service platform is proprietary according to the second proprietary instruction generation first
First proprietary instruction is sent to host's application by instruction.
Wherein, former mode is primarily adapted for use in host using the first scene in operating status, latter approach master
To be suitable for host and apply the second inactive scene.
The first proprietary command information and host's application identities can be carried in second proprietary instruction, host's application identities are used
Host's application of the first proprietary instruction is received in instruction.
The structure of first proprietary instruction can be as follows: instruction head+separator+small routine mark+separator+data.Refer to
Enabling can also further comprise a preposition head before head, to constitute the second proprietary instruction, can carry host in preposition head
Application identities, host's application identities are used to indicate the host's application for receiving the first proprietary instruction.
After intermediary service platform gets the second proprietary instruction, place can be determined according to the host's application identities wherein carried
Main application, and then can will remove the first proprietary instruction after preposition head and be sent to host's application.
Intermediary service platform is specially which kind of platform does not limit.For example, when it is wechat that host, which applies, intermediary service platform
It can be the background service platform etc. of wechat.
It should be noted that for the various method embodiments described above, for simple description, being all expressed as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, because according to
According to the present invention, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know that,
The embodiments described in the specification are all preferred embodiments, and not necessarily the present invention must for related actions and modules
Must.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.
In short, can actively trigger small routine by rear end using scheme of the present invention, and it can realize that small routine message pushes away
It send, to extend the application scenarios of small routine, improves the performance etc. of small routine.
Fig. 4 shows the block diagram for being suitable for the exemplary computer system/server 12 for being used to realize embodiment of the present invention.
The computer system/server 12 that Fig. 4 is shown is only an example, should not function and use scope to the embodiment of the present invention
Bring any restrictions.
As shown in figure 4, computer system/server 12 is showed in the form of universal computing device.Computer system/service
The component of device 12 can include but is not limited to: one or more processor (processing unit) 16, memory 28, connect not homology
The bus 18 of system component (including memory 28 and processor 16).
Bus 18 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/server 12 typically comprises a variety of computer system readable media.These media, which can be, appoints
What usable medium that can be accessed by computer system/server 12, including volatile and non-volatile media, it is moveable and
Immovable medium.
Memory 28 may include the computer system readable media of form of volatile memory, such as random access memory
Device (RAM) 30 and/or cache memory 32.Computer system/server 12 may further include it is other it is removable/no
Movably, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing
Immovable, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").Although not shown in fig 4, may be used
To provide the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk "), and it is non-volatile to moving
Property CD (such as CD-ROM, DVD-ROM or other optical mediums) read and write CD drive.In these cases, each drive
Dynamic device can be connected by one or more data media interfaces with bus 18.Memory 28 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 the present invention
The function of each embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28
In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs
It may include the realization of network environment in module and program data, each of these examples or certain combination.Program mould
Block 42 usually executes function and/or method in embodiment described in the invention.
Computer system/server 12 can also be (such as keyboard, sensing equipment, aobvious with one or more external equipments 14
Show device 24 etc.) communication, it is logical that the equipment interacted with the computer system/server 12 can be also enabled a user to one or more
Letter, and/or with the computer system/server 12 any is set with what one or more of the other calculating equipment was communicated
Standby (such as network interface card, modem etc.) communicates.This communication can be carried out by input/output (I/O) interface 22.And
And computer system/server 12 can also pass through network adapter 20 and one or more network (such as local area network
(LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown in figure 4, network adapter 20 passes through bus
18 communicate with other modules of computer system/server 12.It should be understood that although not shown in the drawings, computer can be combined
Systems/servers 12 use other hardware and/or software module, including but not limited to: microcode, device driver, at redundancy
Manage unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
The program that processor 16 is stored in memory 28 by operation, at various function application and data
Reason, such as realize the method in Fig. 1, Fig. 2 or embodiment illustrated in fig. 3.
The present invention discloses a kind of computer readable storage mediums, are stored thereon with computer program, the program quilt
The method as shown in Figure 1, Figure 2 or in embodiment illustrated in fig. 3 will be realized when processor executes.
It can be using any combination of one or more computer-readable media.Computer-readable medium can be calculating
Machine readable signal medium or computer readable storage medium.Computer readable storage medium for example can be --- but it is unlimited
In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates
The more specific example (non exhaustive list) of machine readable storage medium storing program for executing includes: electrical connection with one or more conducting wires, just
Taking formula computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In this document, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or 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++,
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.?
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)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
In several embodiments provided by the present invention, it should be understood that disclosed device and method etc. can pass through
Other modes are realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit,
Only a kind of logical function partition, there may be another division manner in actual implementation.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. it is various
It can store the medium of program code.
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 (15)
1. a kind of small routine triggering method characterized by comprising
Host's application obtains the first proprietary instruction;
First proprietary instruction described in host's analytic application;
The host, which applies, determines the described first corresponding small routine of proprietary instruction according to parsing result, and searches for and find institute
State small routine;
Host's application starts the small routine.
2. the method according to claim 1, wherein
The host, which applies, determines that the described first corresponding small routine of proprietary instruction includes: according to parsing result
Host's application will parse the small routine carried in the described first obtained proprietary instruction and identify corresponding small routine work
For the described first corresponding small routine of proprietary instruction.
3. the method according to claim 1, wherein
After first proprietary instruction described in host's analytic application, further comprise: being generated according to parsing result described in being suitble to
The PUSH message of applet process;
After host's application starts the small routine, further comprises: the PUSH message is sent to the small routine.
4. the method according to claim 1, wherein
Host's application obtains the first proprietary instruction
Described the first of the push channel transmission that the host is applied using acquisition instruction generating platform by the host is proprietary
Instruction.
5. the method according to claim 1, wherein
Host's application obtains the first proprietary instruction
Host's application obtains the described first proprietary instruction that intermediary service platform is sent, and the first proprietary instruction is described
After intermediary service platform gets the second proprietary instruction that described instruction generating platform is sent by manufacturer's push channel, according to institute
State what the second proprietary instruction generated.
6. according to the method described in claim 5, it is characterized in that,
The described first proprietary command information and host's application identities, host's application are carried in the second proprietary instruction
Mark is used to indicate the host's application for receiving the first proprietary instruction.
7. the method according to claim 1, wherein
After first proprietary instruction described in host's analytic application, further comprise:
The host, which applies, determines described the according to the first instruction parameter carried in obtained the described first proprietary instruction of parsing
Whether one proprietary instruction is small routine triggering command, if so, determining the described first corresponding small routine of proprietary instruction.
8. the method according to claim 1, wherein
It includes following one or whole that described search, which finds the small routine: scanning for searching from local, carry out from network
Search is searched.
9. the method according to claim 1, wherein
Host's application starts the small routine and includes:
The host applies the carry in the described first proprietary instruction obtained according to parsing second instruction parameter to determine to instruct
Executive mode;
If described instruction executive mode is silent executive mode, search finds the small routine, and starts the small routine;
If described instruction executive mode is display advice method, notification message is shown, and receive user for described working as
When the triggering command of notification message, search finds the small routine, and starts the small routine.
10. a kind of small routine triggering method characterized by comprising
Generating platform is instructed to send proprietary instruction to host's application, so that host's application searches find the proprietary instruction
Corresponding small routine, and start the small routine.
11. according to the method described in claim 10, it is characterized in that,
Described instruction generating platform sends proprietary instruction to host's application
The push channel that described instruction generating platform is applied by the host sends the first proprietary instruction to host application.
12. according to the method described in claim 10, it is characterized in that,
Described instruction generating platform sends proprietary instruction to host's application
Described instruction generating platform sends the second proprietary instruction to intermediary service platform by manufacturer's push channel, in described
Between service platform the first proprietary instruction generated according to the described second proprietary instruction, the described first proprietary instruction is sent to the place
Main application.
13. according to the method for claim 12, which is characterized in that
The described first proprietary command information and host's application identities, host's application are carried in the second proprietary instruction
Mark is used to indicate the host's application for receiving the first proprietary instruction.
14. a kind of computer equipment, including memory, processor and it is stored on the memory and can be on the processor
The computer program of operation, which is characterized in that the processor is realized when executing described program as any in claim 1~13
Method described in.
15. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed
The method as described in any one of claim 1~13 is realized when device executes.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910168478.8A CN109960540A (en) | 2019-03-06 | 2019-03-06 | Small routine triggering method, computer equipment and storage medium |
PCT/CN2020/077909 WO2020177734A1 (en) | 2019-03-06 | 2020-03-05 | App triggering method, computer device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910168478.8A CN109960540A (en) | 2019-03-06 | 2019-03-06 | Small routine triggering method, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109960540A true CN109960540A (en) | 2019-07-02 |
Family
ID=67023984
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910168478.8A Pending CN109960540A (en) | 2019-03-06 | 2019-03-06 | Small routine triggering method, computer equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109960540A (en) |
WO (1) | WO2020177734A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110557502A (en) * | 2019-08-09 | 2019-12-10 | 五八有限公司 | Method and device for calling up applet, electronic device and readable storage medium |
CN110865855A (en) * | 2019-11-18 | 2020-03-06 | 百度在线网络技术(北京)有限公司 | Applet processing method and related device |
CN110990270A (en) * | 2019-11-28 | 2020-04-10 | 百度在线网络技术(北京)有限公司 | AB experiment implementation method and device, electronic equipment and storage medium |
WO2020177734A1 (en) * | 2019-03-06 | 2020-09-10 | 上海连尚网络科技有限公司 | App triggering method, computer device, and storage medium |
CN112148345A (en) * | 2020-09-28 | 2020-12-29 | 北京百度网讯科技有限公司 | Applet package transmitting method, apparatus, electronic device and computer readable medium |
CN112612517A (en) * | 2020-12-18 | 2021-04-06 | 深圳市思为软件技术有限公司 | Data acquisition method and related equipment |
WO2022127005A1 (en) * | 2020-12-18 | 2022-06-23 | 百度在线网络技术(北京)有限公司 | Application intention response method and apparatus, device, storage medium and program product |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101909082A (en) * | 2010-07-29 | 2010-12-08 | 中国运载火箭技术研究院 | Model-driven grid portal configuration system and method |
WO2013182063A1 (en) * | 2012-06-08 | 2013-12-12 | 腾讯科技(深圳)有限公司 | Webapp startup method and device |
US20160359945A1 (en) * | 2015-06-08 | 2016-12-08 | Wesley John Boudville | Cookies and anti-ad blocker using deep links in mobile apps |
CN108733991A (en) * | 2017-04-19 | 2018-11-02 | 腾讯科技(深圳)有限公司 | Web application access method and device, storage medium |
CN108958780A (en) * | 2018-09-30 | 2018-12-07 | 上海掌门科技有限公司 | A kind of method and apparatus of the more new information for program of lodging for rendering |
CN109086097A (en) * | 2018-07-03 | 2018-12-25 | 百度在线网络技术(北京)有限公司 | A kind of starting method, apparatus, server and the storage medium of small routine |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109960540A (en) * | 2019-03-06 | 2019-07-02 | 上海连尚网络科技有限公司 | Small routine triggering method, computer equipment and storage medium |
-
2019
- 2019-03-06 CN CN201910168478.8A patent/CN109960540A/en active Pending
-
2020
- 2020-03-05 WO PCT/CN2020/077909 patent/WO2020177734A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101909082A (en) * | 2010-07-29 | 2010-12-08 | 中国运载火箭技术研究院 | Model-driven grid portal configuration system and method |
WO2013182063A1 (en) * | 2012-06-08 | 2013-12-12 | 腾讯科技(深圳)有限公司 | Webapp startup method and device |
US20160359945A1 (en) * | 2015-06-08 | 2016-12-08 | Wesley John Boudville | Cookies and anti-ad blocker using deep links in mobile apps |
CN108733991A (en) * | 2017-04-19 | 2018-11-02 | 腾讯科技(深圳)有限公司 | Web application access method and device, storage medium |
CN109086097A (en) * | 2018-07-03 | 2018-12-25 | 百度在线网络技术(北京)有限公司 | A kind of starting method, apparatus, server and the storage medium of small routine |
CN108958780A (en) * | 2018-09-30 | 2018-12-07 | 上海掌门科技有限公司 | A kind of method and apparatus of the more new information for program of lodging for rendering |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020177734A1 (en) * | 2019-03-06 | 2020-09-10 | 上海连尚网络科技有限公司 | App triggering method, computer device, and storage medium |
CN110557502A (en) * | 2019-08-09 | 2019-12-10 | 五八有限公司 | Method and device for calling up applet, electronic device and readable storage medium |
CN110865855A (en) * | 2019-11-18 | 2020-03-06 | 百度在线网络技术(北京)有限公司 | Applet processing method and related device |
CN110865855B (en) * | 2019-11-18 | 2023-10-27 | 百度在线网络技术(北京)有限公司 | Applet processing method and related equipment |
CN110990270A (en) * | 2019-11-28 | 2020-04-10 | 百度在线网络技术(北京)有限公司 | AB experiment implementation method and device, electronic equipment and storage medium |
CN110990270B (en) * | 2019-11-28 | 2023-07-21 | 百度在线网络技术(北京)有限公司 | AB experiment implementation method and device, electronic equipment and storage medium |
CN112148345A (en) * | 2020-09-28 | 2020-12-29 | 北京百度网讯科技有限公司 | Applet package transmitting method, apparatus, electronic device and computer readable medium |
CN112148345B (en) * | 2020-09-28 | 2023-07-25 | 北京百度网讯科技有限公司 | Method, device, electronic equipment and computer readable medium for transmitting small program package |
CN112612517A (en) * | 2020-12-18 | 2021-04-06 | 深圳市思为软件技术有限公司 | Data acquisition method and related equipment |
WO2022127005A1 (en) * | 2020-12-18 | 2022-06-23 | 百度在线网络技术(北京)有限公司 | Application intention response method and apparatus, device, storage medium and program product |
CN112612517B (en) * | 2020-12-18 | 2024-04-05 | 深圳市思为软件技术有限公司 | Data acquisition method and related equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2020177734A1 (en) | 2020-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109960540A (en) | Small routine triggering method, computer equipment and storage medium | |
CN108683937A (en) | Interactive voice feedback method, system and the computer-readable medium of smart television | |
CN108363556A (en) | A kind of method and system based on voice Yu augmented reality environmental interaction | |
CN110297635A (en) | Display methods, device, equipment and the storage medium of the page | |
CN109243425A (en) | Speech recognition test method, device, system, computer equipment and storage medium | |
US11087758B2 (en) | Method and voice input apparatus for converting voice input to text input | |
CN108932066A (en) | Method, apparatus, equipment and the computer storage medium of input method acquisition expression packet | |
CN109933269A (en) | Method, equipment and the computer storage medium that small routine is recommended | |
CN109446907A (en) | A kind of method, apparatus of Video chat, equipment and computer storage medium | |
CN110166455A (en) | A kind of multi-operator platform data adaptation method and relevant device | |
CN109346074A (en) | A kind of method of speech processing and system | |
CN110377750A (en) | Comment generates and comment generates model training method, device and storage medium | |
CN109785829A (en) | A kind of customer service householder method and system based on voice control | |
CN109783345A (en) | A kind of small routine performance test methods and system | |
CN109495549A (en) | Method, equipment and the computer storage medium of work are drawn in a kind of application | |
CN108540552A (en) | Apparatus interconnection method, apparatus, system, equipment and storage medium | |
CN108701045A (en) | Client operating system screenshot method and device in computer equipment | |
CN109933254A (en) | Show method, equipment and the computer storage medium of reading content | |
CN109657127A (en) | A kind of answer acquisition methods, device, server and storage medium | |
CN108829646A (en) | Data storage and analytic method, device, system and storage medium | |
CN109656464A (en) | A kind of processing method of interaction data, device, equipment and storage medium | |
CN109033456A (en) | A kind of condition query method, apparatus, electronic equipment and storage medium | |
CN107862035A (en) | Network read method, device, Intelligent flat and the storage medium of minutes | |
CN110213310B (en) | Method, device and storage medium for acquiring path of network service | |
CN115936016A (en) | Emotion theme recognition method, device, equipment and medium based on conversation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190702 |