CN109995877A - Information-pushing method and device - Google Patents
Information-pushing method and device Download PDFInfo
- Publication number
- CN109995877A CN109995877A CN201910293145.8A CN201910293145A CN109995877A CN 109995877 A CN109995877 A CN 109995877A CN 201910293145 A CN201910293145 A CN 201910293145A CN 109995877 A CN109995877 A CN 109995877A
- Authority
- CN
- China
- Prior art keywords
- host
- application
- small routine
- information
- operation platform
- 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
- 238000000034 method Methods 0.000 title claims abstract description 57
- 230000004044 response Effects 0.000 claims abstract description 48
- 238000004590 computer program Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000005291 magnetic effect Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000002716 delivery method Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the present application discloses information-pushing method and device.One specific embodiment of this method includes: in response to receiving the enabled instruction to the small routine operation platform of the first host application at least one host application, it is determined whether established push path between presence server and the small routine operation platform of at least one host application;In response to determining that there are the established push paths, if the established push path does not include the push path of the small routine operation platform pushed information for applying to first host, the push path for the small routine operation platform which is applied as first host.The embodiment of the present application can push path to avoid repeating to establish for the same small routine operation platform.At the same time it can also ensure that duplicate small routine operation platform relevant information will not be pushed to the user of terminal device.
Description
Technical field
The invention relates to field of computer technology, and in particular to Internet technical field more particularly to information push away
Delivery method and device.
Background technique
Little Cheng for the small routine operation platform using same architecture between different hosts application, in each host's application
Sort run platform can all have respective small routine message push channel, so if being equipped with multiple hosts on a user terminal
Using can then there is multiple message push channels.In this way, when multiple small routine operation platforms, which are all issued, a certain small routine,
When the small routine server carries out message push to user, the small routine operation platform of multiple host's applications then will receive the little Cheng
The same message of sequence push causes the same user terminal to will receive a plurality of PUSH message, therefore wastes the fortune of user terminal
Row resource, influences user experience.
Summary of the invention
The embodiment of the present application proposes information-pushing method and device.
In a first aspect, the embodiment of the present application provides a kind of information-pushing method, comprising: 1, a kind of information-pushing method,
Applied to terminal device, installing terminal equipment at least one host application, method includes: in response to receiving at least one
Host application in the first host application small routine operation platform enabled instruction, it is determined whether presence server and at least one
Established push path between the small routine operation platform of host's application;In response to determining there are established push path,
If established push path does not include the push path of the small routine operation platform pushed information for applying to the first host,
The push path for the small routine operation platform that established push path is applied as the first host.
Second aspect, the embodiment of the present application provide a kind of information push-delivery apparatus, comprising: installing terminal equipment at least one
A host's application, device includes: receiving unit, is configured in response to receive to the first host at least one host application
The enabled instruction of the small routine operation platform of application, it is determined whether the small routine fortune of presence server and at least one host application
Established push path between row platform;Determination unit is configured in response to determine that there are established push paths, if
Established push path does not include the push path of the small routine operation platform pushed information for applying to the first host, will
The push path for the small routine operation platform that established push path is applied as the first host.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: one or more processors;Storage dress
It sets, for storing one or more programs, when one or more programs are executed by one or more processors, so that one or more
A processor realizes the method such as information-pushing method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes the method such as information-pushing method when the program is executed by processor.
Information provided by the embodiments of the present application pushes scheme, firstly, in response to receiving at least one host application
The enabled instruction of the small routine operation platform of first host application, it is determined whether presence server and at least one host application
Established push path between small routine operation platform.Later, in response to determining that there are established push paths, if built
Vertical push path does not include the push path of the small routine operation platform pushed information for applying to the first host, will be built
The push path for the small routine operation platform that vertical push path is applied as the first host.Scheme provided by the embodiments of the present application
The time loss for establishing push path for each application can be reduced, avoids repeating to build for the same small routine operation platform
Vertical push path, to save the operation resource of terminal device.Meanwhile the embodiment of the present application may also be ensured that and will not set to terminal
Standby user pushes duplicate small routine operation platform relevant information.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart according to one embodiment of the information-pushing method of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the information-pushing method of the application;
Fig. 4 is the flow chart according to another embodiment of the information-pushing method of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the information push-delivery apparatus of the application;
Fig. 6 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the exemplary system of the embodiment of the information-pushing method or information push-delivery apparatus of the application
System framework 100.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105.
Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out
Send message etc..Various telecommunication customer end applications can be installed on terminal device 101,102,103, such as information push application,
Video class application, live streaming application, instant messaging tools, mailbox client, social platform software etc..
Here terminal device 101,102,103 can be hardware, be also possible to software.When terminal device 101,102,
103 be hardware when, can be the various electronic equipments with display screen, including but not limited to smart phone, tablet computer, electronics
Book reader, pocket computer on knee and desktop computer etc..It, can be with when terminal device 101,102,103 is software
It is mounted in above-mentioned cited electronic equipment.Multiple softwares or software module may be implemented into (such as providing distribution in it
The multiple softwares or software module of formula service), single software or software module also may be implemented into.It is not specifically limited herein.
Server 105 can be to provide the server of various services, such as provide support to terminal device 101,102,103
Background server.Background server can establish the data such as request to the push path received and carry out the processing such as analyzing, and
Processing result (such as push path is established and completes message) is fed back into terminal device.
It should be noted that information-pushing method provided by the embodiment of the present application generally by terminal device 101,102,
103 execute, and correspondingly, information push-delivery apparatus can be set in terminal device 101,102,103.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the process 200 of one embodiment of the information-pushing method according to the application is shown.The letter
Method for pushing is ceased, terminal device is applied to, is applied at least one host of the installing terminal equipment.Should the following steps are included:
Step 201, in response to receiving the small routine operation platform to the first host application at least one host application
Enabled instruction, it is determined whether established pushed away between presence server and the small routine operation platform of at least one host application
Send path.
In the present embodiment, the executing subject (such as terminal device shown in FIG. 1) of information-pushing method is if receive pair
The enabled instruction of small routine in small routine operation platform may determine whether to have been set up to above-mentioned small routine operation platform
Push path, i.e., established push path.It can be the first host of starting to the enabled instruction of above-mentioned small routine platform to answer
Used time triggering generates, and triggering generates when being also possible to start the small routine of the small routine operation platform.Specifically, road is pushed
For diameter for connecting above-mentioned server and above-mentioned terminal device, server can be by above-mentioned push path to above-mentioned terminal device
Above-mentioned small routine operation platform pushed information in host's application.Here push path can be at least one above-mentioned place
The push path that any one host application in main application is established.Pushing path can be between server and terminal device
Long connection establishing, for pushed information.Host's application refers to that there are the applications of small routine operation platform.
Here small routine runs on above-mentioned small routine operation platform.First host application can be installing terminal equipment
There are the host of above-mentioned small routine operation platform applications for any one.Specifically, small routine operation platform is used to apply in host
In for small routine provide running environment, be the necessary condition that small routine can be started and run in host applies.Small routine fortune
Row platform can provide the template at interface to be shown, browser to small routine and for different hosts application or different behaviour
Make the personalized service of system.
In practice, enumerative technique can be used, to determine the push road established for above-mentioned small routine operation platform
Diameter.In turn, it may be determined whether for the established push path of the small routine operation platform.
Step 202, in response to determining there are established push path, if established push path do not include for
The push path of the small routine operation platform pushed information of first host application, using established push path as the first host
The push path of the small routine operation platform of application.
In the present embodiment, above-mentioned executing subject can be pushed away in response to determining that above-mentioned small routine operation platform has had been established
Path is sent, does not include the push path of the small routine operation platform pushed information for being applied to the first host in push path
In the case of, then the above-mentioned small routine operation platform that can apply in above-mentioned established push path as above-mentioned first host
Push path.In this way, the first host application can original host corresponding with established push path apply share it is same
A push path.The above-mentioned small routine operation platform pushed information that server can be applied to the first host.Herein, it is pushed
Information can be the information for showing to user, be also possible to pending instruction or one section of code etc..In practice, institute
The quantity in the established push path enumerated is generally one.In some cases, if that is enumerated established pushes away
Send path quantity be it is multiple, can by it is random or according to preset selection in a manner of, from the multiple established push enumerated
A push path is chosen in path, and the above-mentioned small routine that the push path of selection is applied as above-mentioned first host is run
The push path of platform.
In some optional implementations of the present embodiment, in step 202 using established push path as
The push path of the small routine operation platform of one host application, comprising:
The corresponding host's application identities collection in established push path is added in host's application identities of first host application
It closes.
In these optional implementations, above-mentioned executing subject can add host's application identities that the first host applies
Enter the corresponding host's application identities set in established push path.Specifically, the corresponding host in established push path answers
Refer to that server can push the set that the host of arrival applies by the established push path pushed information with logo collection.
After above-mentioned host's application identities set is added in host's application identities of the first host application, server then can be by built
The above-mentioned small routine operation platform PUSH message that vertical push path is applied to the first host.
In practice, above-mentioned set can embody in the name of the service in above-mentioned established push path.The name
In may include each host application where above-mentioned small routine operation platform mark.In this way, being present in the name of service
Host's application of mark instruction of host's application can receive server and pushed by above-mentioned established push path
Information.
These implementations can cannot achieve the above-mentioned small routine applied to the first host in established push path
In the case where operation platform pushed information, make the first host total using original host's application corresponding with established push path
With the same push path, the time loss and resource occupation for establishing push path are reduced.
In some optional implementations of the present embodiment, after step 201, the above method further include:
Established push path is not present in response to determining, establishes for pushing away to small routine operation platform pushed information
Send path.
In these optional implementations, above-mentioned executing subject is in response to determining that there is no server and at least one places
Established push path between the above-mentioned small routine operation platform of main application then can establish for flat to small routine operation
The push path of platform pushed information.Here the push path established is established for the first application, i.e., server can pass through
Small routine operation platform pushed information of the above-mentioned push path to the first application.Other application can add their application identities
Enter the corresponding application identities set in the push path, enables the server to transport by the push path to the small routine in them
Row platform pushed information.
With continued reference to the schematic diagram that Fig. 3, Fig. 3 are according to the application scenarios of the information-pushing method of the present embodiment.?
In the application scenarios of Fig. 3, executing subject 301 can be in response to receiving the little Cheng to the instant messaging application W in 10 applications
The enabled instruction 302 of game small routine y in sort run platform A, it is determined whether presence server and at least one host apply
Small routine operation platform between established push path 303.In response to there are established push paths 303, if built
Vertical push path does not include for the push path of instant messaging application W pushed information, by established push path 303
The push path of small routine operation platform A as instant messaging application W.
The method provided by the above embodiment of the application can reduce for each application establish push path time disappear
Consumption avoids repeating to establish push path for the same small routine operation platform, to save the operation resource of terminal device.Together
When, the present embodiment, which may also be ensured that, to push duplicate small routine operation platform relevant information to the user of terminal device.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of information-pushing method.Information push
The process 400 of method, comprising the following steps:
Step 401, in response to receiving the small routine operation platform to the first host application at least one host application
Enabled instruction, it is determined whether established pushed away between presence server and the small routine operation platform of at least one host application
Send path.
In the present embodiment, the executing subject (such as terminal device shown in FIG. 1) of information-pushing method is if receive pair
Whether the enabled instruction of the small routine in small routine operation platform can detecte and have been set up to above-mentioned small routine operation platform
Push path, i.e., established push path.The enabled instruction of above-mentioned small routine platform can be and starting the first host
Using when triggering generate, be also possible to start the small routine operation platform small routine when triggering generate.Specifically, it pushes away
Send path for connecting above-mentioned server and above-mentioned terminal device, server can be set by above-mentioned push path to above-mentioned terminal
Above-mentioned small routine operation platform pushed information in standby host's application.
Step 402, in response to determining there are established push path, if established push path do not include for
The push path of the small routine operation platform pushed information of first host application, using established push path as the first host
The push path of the small routine operation platform of application.
In the present embodiment, above-mentioned executing subject can be pushed away in response to determining that above-mentioned small routine operation platform has had been established
Path is sent, does not include the push path of the small routine operation platform pushed information for being applied to the first host in push path
In the case of, then the above-mentioned small routine operation platform that can apply in above-mentioned established push path as above-mentioned first host
Push path.In this way, the first host application can original host corresponding with established push path apply share it is same
A push path.The above-mentioned small routine operation platform pushed information that server can be applied to the first host.
Step 403, it receives server and passes through the information of established push path push.
In the present embodiment, server can be by above-mentioned established push path, to the above-mentioned little Cheng of terminal device
Sort run platform pushed information.To which above-mentioned executing subject can receive the information of server push.
In some optional implementations of the present embodiment, step 403 may include:
Not in operation in response to the application where small routine operation platform, it receives server and passes through established push road
The information of diameter push.
In these optional implementations, above-mentioned executing subject can be in any one where small routine operation platform
Using not in operation in the case where, receive server by it is above-mentioned it is established push path push information.That is, passing through
Whether push path can not be influenced in operation to small routine operation platform pushed information by application where platform.No matter
Using the state exited in operation, has still been in, it is logical that the small routine operation platform of the application can receive server
Cross the information that push path is pushed.
Step 404, it in response to determining that pushed information includes receiving hosted information, will receive indicated by hosted information
Host applies the reception host as the information pushed to apply, wherein receiving host's application message includes that will receive to be pushed
Information host application host's application identities.
In the present embodiment, above-mentioned executing subject is if it is determined that the information that server is pushed includes receiving hosted information, then
The host that the reception hosted information can be indicated applies as reception host's application.That is, server can answer the host
The above-mentioned small routine operation platform used is pushed as push target, and then the host application of above-mentioned terminal device can connect
Receive pushed information.Here host's application identities can reflect out the small routine fortune which host's application server specifies
Row platform is as push target.
In some optional implementations of the present embodiment, the above method further include:
Include receiving hosted information in response to determining pushed information not, judge whether there is and enliven host's application,
In, enliven the small routine for existing in the small routine operation platform of host's application and being currently running;Host is enlivened in response to determining to exist
Using, from enliven host application in determine pushed information reception host application.
In these optional implementations, above-mentioned executing subject can not include above-mentioned reception place in the information pushed
In the case where main application message, judges whether there is and enliven host's application.If it is present can and then be applied from host is enlivened
In determine receive host application to receive pushed information.Herein, the above-mentioned small routine operation for enlivening host's application is flat
During at least one small routine in platform is currently running.The quantity for enlivening host's application can be one or more.If it is one
It is a, then this is enlivened into host and applied as reception host's application.If it is multiple, then can therefrom be selected, to determine
Receive host's application.
These implementations can be pushed in the small routine operation platform reception of which not specified host's application of server
In the case where information, the corresponding host of running small routine is applied as reception host's application.In this way, can allow in time
Information plays a role, to be updated or will visualize message display to small routine as early as possible to user.
In some optional application scenarios of these implementations, it is above-mentioned from enliven host application in determine to be pushed
Information reception application, comprising:
Quantity in response to enlivening host's application is at least two, determines that the target enlivened in host's application is enlivened host and answered
With, wherein before the small routine that target enlivens in the small routine operation platform of host's application is run in default historical time section
Platform;It is enlivened from target and determines to receive host's application in host's application.
In these optional host's application scenarios, in the case where enlivening the quantity of host's application is at least two, on
Stating executing subject can enliven in host's application from each, determine that target enlivens host's application.For example, target enlivens place
Main application can be in past 10 minutes, once where the small routine platform that the small routine that front stage operation is crossed is run on
Host's application.Here the foreground that runs on refers in operational process, will be in the visualization of small routine on the display of terminal device
Appearance shows user.Specifically, if the quantity that target enlivens host's application is one, which is enlivened into host's application and is made
To receive host's application.If the quantity that target enlivens host's application is at least two, can therefrom be selected, to determine
Receive host's application.
These application scenarios can determine next user most may be used by selecting the small routine for just having run on foreground
The small routine that can be used, and then by the corresponding host of the small routine using the reception application as information, thus further in time
The effect of ground performance institute's pushed information.
It include that small routine identifies in some optional situations in these application scenarios, in the information that is pushed;It is above-mentioned
It is enlivened from target and determines to receive host's application in host's application, comprising:
The quantity for enlivening host's application in response to target is at least two, determines that target enlivens the target place in host's application
Main application, wherein the small routine operation platform of target host application has run small routine mark in default historical time section and referred to
The small routine shown;It determines to receive host's application from target host application.
In these optional situations, above-mentioned executing subject can be at least in the quantity that target actively applies host to apply
It in the case where two, therefrom determines that target application host applies, and one or more of target application host application is answered
It uses host to apply as reception to apply using host.Specifically, above-mentioned executing subject can be according to server in the information of push
Specified small routine mark to determine small routine, and then determines that target application host applies.
These situations can be identified by the small routine in the information that is pushed, to accurately determine out server instruction
Receive host's application.
Further, it determines to receive host's application from target host application, may include:
In response to target host application quantity be at least two, will be run in default historical time section foreground and by
The indicated small routine of small routine mark, is determined as candidate small routine;From candidate small routine, when determining last front stage operation
Last candidate small routine is engraved in as target small routine, and the corresponding target host of target small routine is applied as reception place
Main application.
Specifically, if the quantity of target host application is at least two, above-mentioned executing subject can will be in above-mentioned small routine
The last front stage operation moment of operation platform is applied in last small routine as host is received.Specifically, last front stage operation
Moment refers to some small routine finally at the time of front stage operation.Specifically, the last foreground of each candidate small routine can be transported
The row moment is ranked up sequentially in time, takes and comes the last time of running, and the candidate that the moment is run on foreground is small
Program is as target small routine.It can also determine the difference at last the front stage operation moment and current time of each candidate small routine
Value, and by difference the smallest last front stage operation moment corresponding candidate small routine target small routine the most.
Here the corresponding target host application of candidate small routine refers to the above-mentioned last front stage operation time in last candidate
Target host application where the above-mentioned small routine operation platform that small routine is run.It, can be with by the last front stage operation time
It determines that user has just used the even corresponding target host application of small routine currently in use, can allow pushed letter in this way
Breath is played a role with prestissimo.
In some optional implementations of the present embodiment, receives server and pass through the push of established push path
Information, comprising: receive server and pass through the information to be displayed of established push path push;Method further include: pass through first
The small routine that the small routine operation platform of host's application is run, shows information to be displayed.
In these optional implementations, the information that server is pushed is the information up for being shown to user.?
The corresponding application host in established push path is added in application host's application identities of above-mentioned first application host's application to answer
After logo collection, server can be to above-mentioned small routine operation platform pushed information, and terminal device is made to be shown to use
Family.
These optional implementations push information to be displayed, to avoid user not by established push path
Same information is repeatedly seen in same host's application.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of push of information to fill
The one embodiment set, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to respectively
In kind electronic equipment.
As shown in figure 5, the information push-delivery apparatus 500 of the present embodiment includes: receiving unit 501 and determination unit 502.Its
In, detection unit receiving unit 501 is configured to receive the small routine to the first host application at least one host application
The enabled instruction of operation platform, it is determined whether between presence server and the small routine operation platform of at least one host application
The push path of foundation;Determination unit 502 is configured in response to determine that there are established push paths, if established
Push path does not include the push path of the small routine operation platform pushed information for applying to the first host, will be established
The push path for the small routine operation platform that push path is applied as the first host.
In some embodiments, if the receiving unit 501 of information push-delivery apparatus 500 is received in small routine operation platform
Small routine enabled instruction, may determine whether to have been set up the push path to above-mentioned small routine operation platform, i.e.,
The push path of foundation.Triggering generates when can be starting the first host application to the enabled instruction of above-mentioned small routine platform,
Triggering generates when being also possible to start the small routine of the small routine operation platform.Specifically, push path is above-mentioned for connecting
Server and above-mentioned terminal device, server can be upper into the host of above-mentioned terminal device application by above-mentioned push path
State small routine operation platform pushed information.
In some embodiments, determination unit 502 can have been established above-mentioned small routine operation platform in response to determination
Path is pushed, does not include the push path of the small routine operation platform pushed information for being applied to the first host in push path
In the case where, then it can be using the above-mentioned established above-mentioned small routine operation platform that pushes path and be applied as above-mentioned first host
Push path.In this way, the first host application can original host application corresponding with established push path share together
One push path.
In some optional implementations of the present embodiment, determination unit is further configured to as follows
It executes the push path for the small routine operation platform that established push path is applied as the first host: the first host is answered
The corresponding host's application identities set in established push path is added in host's application identities.
In some optional implementations of the present embodiment, device further include: information receiving unit is configured to receive
The information that server passes through the push of established push path;Using determination unit, it is configured in response to what determination was pushed
Information includes receiving hosted information, will receive host indicated by hosted information using the reception host as the information pushed
Using, wherein receiving host's application message includes that will receive host's application identities of host's application of pushed information.
In some optional implementations of the present embodiment, device further include: judging unit is configured in response to really
Fixed pushed information does not include receiving hosted information, judges whether there is and enlivens host's application, wherein enlivens host's application
There is the small routine being currently running in small routine operation platform;Determination unit is received, is configured in response to determine exist actively
Host's application determines that the reception host of pushed information applies from enlivening in host's application.
In some optional implementations of the present embodiment, determination unit is received, is executed as follows from active
The reception host application of pushed information is determined in host's application: the quantity in response to enlivening host's application is at least two
It is a, determine that the target enlivened in host's application enlivens host's application, wherein target enlivens the small routine operation platform of host's application
In small routine run on foreground in default historical time section;It is enlivened from target and determines that receiving host answers in host's application
With.
It include that small routine identifies in some optional implementations of the present embodiment, in the information that is pushed;It receives true
Order member executes to enliven from target as follows and determines to receive host's application in host's application: is active in response to target
The quantity of host's application is at least two, determines that target enlivens the target host application in host's application, wherein target host is answered
Small routine operation platform has run the small routine of small routine mark instruction in default historical time section;It is answered from target host
It determines to receive host's application in.
In some optional implementations of the present embodiment, determination unit is received, is executed as follows from target
Determine to receive host's application in host's application: the quantity in response to target host application is at least two, will be in default history
Foreground is run in period and the small routine indicated by small routine mark, be determined as candidate small routine;From candidate small routine
In, determine that the last front stage operation moment corresponds in last candidate small routine as target small routine, and by target small routine
Target host apply as receive host application.
In some optional implementations of the present embodiment, information receiving unit executes receive clothes as follows
Business device passes through the information of established push path push: receiving server by established and pushes the to be shown of path push
Information;Device further include: display unit is configured to the little Cheng run by the small routine operation platform that the first host applies
Sequence shows information to be displayed.
In some optional implementations of the present embodiment, device further include: establish unit, be configured in response to really
Surely established push path is not present, establishes for the push path of small routine operation platform pushed information.
In some optional implementations of the present embodiment, information receiving unit executes receive clothes as follows
Be engaged in information of the device by the push of established push path: in response to where small routine operation platform using not in operation,
It receives server and passes through the information of established push path push.
Below with reference to Fig. 6, it illustrates the computer systems 600 for the electronic equipment for being suitable for being used to realize the embodiment of the present application
Structural schematic diagram.Electronic equipment shown in Fig. 6 is only an example, function to the embodiment of the present application and should not use model
Shroud carrys out any restrictions.
As shown in fig. 6, electronic equipment 600 may include processing unit (such as central processing unit, graphics processor etc.)
601, random access can be loaded into according to the program being stored in read-only memory (ROM) 602 or from storage device 608
Program in memory (RAM) 603 and execute various movements appropriate and processing.In RAM 603, it is also stored with electronic equipment
Various programs and data needed for 600 operations.Processing unit 601, ROM 602 and RAM603 are connected with each other by bus 604.
Input/output (I/O) interface 605 is also connected to bus 604.
In general, following device can connect to I/O interface 605: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph
As the input unit 606 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration
The output device 607 of dynamic device etc.;Storage device 608;And communication device 609.Communication device 609 can permit electronic equipment
600 are wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 6 shows the electronic equipment with various devices
600, it should be understood that being not required for implementing or having all devices shown.It can alternatively implement or have more
Or less device.Each box shown in Fig. 6 can represent a device, also can according to need and represent multiple devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communication device 609, or from storage device 608
It is mounted, or is mounted from ROM 602.When the computer program is executed by processing unit 601, the implementation of the disclosure is executed
The above-mentioned function of being limited in the method for example.It should be noted that the computer-readable medium of embodiment of the disclosure can be meter
Calculation machine readable signal medium or computer readable storage medium either the two any combination.Computer-readable storage
Medium 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.The more specific example of computer readable storage medium can include but is not limited to: have one
Or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access storage device (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 embodiment of the disclosure, computer-readable to deposit
Storage media can be any tangible medium for including or store program, which can be commanded execution system, device or device
Part use or in connection.And in embodiment of the disclosure, computer-readable signal media may include in base band
In or as carrier wave a part propagate data-signal, wherein carrying computer-readable program code.This propagation
Data-signal can take various forms, including but not limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Meter
Calculation machine readable signal medium can also be any computer-readable medium other than computer readable storage medium, which can
Read signal medium can be sent, propagated or be transmitted for being used by instruction execution system, device or device or being tied with it
Close the program used.The program code for including on computer-readable medium can transmit with any suitable medium, including but not
It is limited to: electric wire, optical cable, RF (radio frequency) etc. or above-mentioned any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet
Include receiving unit and determination unit.Wherein, the title of these units does not constitute the limit to the unit itself under certain conditions
It is fixed, for example, receiving unit is also described as " answering the first host at least one described host application in response to receiving
The enabled instruction of small routine operation platform, it is determined whether the small routine of presence server and at least one described host application
The unit in established push path between operation platform ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating
Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should
Device: the starting of the small routine operation platform of the first host application at least one described host application is referred in response to receiving
It enables, it is determined whether established push road between presence server and the small routine operation platform of at least one described host application
Diameter;In response to determining there are the established push path, if the established push path does not include for described
First host application the small routine operation platform pushed information push path, using the established push path as
The push path of the small routine operation platform of the first host application.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (12)
1. a kind of information-pushing method, it is applied to terminal device, the installing terminal equipment at least one host application is described
Method includes:
The starting of the small routine operation platform of the first host application at least one described host application is referred in response to receiving
It enables, it is determined whether established push road between presence server and the small routine operation platform of at least one described host application
Diameter;
In response to determining there are the established push path, if the established push path does not include for described
First host application the small routine operation platform pushed information push path, using the established push path as
The push path of the small routine operation platform of the first host application.
2. described using the established push path as first host according to the method described in claim 1, wherein
The push path of the small routine operation platform of application, comprising:
The corresponding host's application mark in the established push path is added in host's application identities of first host application
Know set.
3. according to the method described in claim 1, wherein, described using the established push path as first place
After the push path of the small routine operation platform of main application, the method also includes:
It receives the server and passes through the information of the established push path push;
In response to determining that pushed information includes receiving hosted information, host indicated by the reception hosted information is applied
Reception host as the information pushed applies, wherein reception host's application message includes that will receive pushed letter
Host's application identities of host's application of breath.
4. according to the method described in claim 3, wherein, the method also includes:
In response to determining that pushed information does not include the reception hosted information, judges whether there is and enlivens host's application,
In, there is the small routine being currently running in the small routine operation platform for enlivening host's application;
Host's application is enlivened in response to determining to exist, determines the reception place of pushed information from described enliven in host's application
Main application.
5. described to determine pushed information from described enliven in host's application according to the method described in claim 4, wherein
Reception host application, comprising:
It is at least two in response to the quantity for enlivening host's application, determines that the target enlivened in host's application enlivens place
Main application, wherein the target enlivens the small routine in the small routine operation platform of host's application in default historical time
Foreground is run in section;
It is enlivened from the target and determines the reception host application in host's application.
6. according to the method described in claim 5, wherein, in the information pushed including that small routine identifies;
Described enliven from the target determines the reception host application in host's application, comprising:
The quantity for enlivening host's application in response to the target is at least two, determines that the target enlivens the mesh in host's application
Mark host's application, wherein the small routine operation platform of the target host application is transported in the default historical time section
The small routine that the small routine mark of having gone indicates;
The reception host application is determined from target host application.
7. described to determine the reception host from target host application according to the method described in claim 6, wherein
Using, comprising:
In response to the target host application quantity be at least two, will be run in default historical time section foreground and by
The indicated small routine of the small routine mark, is determined as candidate small routine;
From the candidate small routine, determine the last front stage operation moment in last candidate small routine as target little Cheng
Sequence, and the corresponding target host of the target small routine is applied and is applied as the reception host.
8. according to the method described in claim 3, wherein, the reception server passes through the established push path push
Information, comprising:
It receives the server and passes through the information to be displayed of the established push path push;
The method also includes:
The small routine run by the small routine operation platform that first host applies shows the letter to be shown
Breath.
9. according to the method described in claim 1, wherein, determining whether there is server and at least one described host described
Between the small routine operation platform of application after established push path, the method also includes:
The established push path is not present in response to determining, establishes described for being pushed to the small routine operation platform
The push path of information.
10. according to the method described in claim 3, wherein, the reception server is pushed away by the established push path
The information sent, comprising:
In operation in response to the application where the small routine operation platform, the server is not received to have been established by described
Push path push information.
11. a kind of electronic equipment, comprising:
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
The now method as described in any in claim 1-10.
12. a kind of computer readable storage medium, is stored thereon with computer program, wherein when the program is executed by processor
Realize the method as described in any in claim 1-10.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910293145.8A CN109995877B (en) | 2019-04-12 | 2019-04-12 | Information pushing method and device |
PCT/CN2020/084113 WO2020207454A1 (en) | 2019-04-12 | 2020-04-10 | Information pushing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910293145.8A CN109995877B (en) | 2019-04-12 | 2019-04-12 | Information pushing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109995877A true CN109995877A (en) | 2019-07-09 |
CN109995877B CN109995877B (en) | 2021-10-12 |
Family
ID=67133487
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910293145.8A Active CN109995877B (en) | 2019-04-12 | 2019-04-12 | Information pushing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109995877B (en) |
WO (1) | WO2020207454A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110865855A (en) * | 2019-11-18 | 2020-03-06 | 百度在线网络技术(北京)有限公司 | Applet processing method and related device |
CN110929233A (en) * | 2019-11-22 | 2020-03-27 | 连尚(新昌)网络科技有限公司 | Information processing method and device |
CN111586128A (en) * | 2020-04-28 | 2020-08-25 | 百度在线网络技术(北京)有限公司 | Method, device and equipment for acquiring applet data and storage medium |
WO2020207454A1 (en) * | 2019-04-12 | 2020-10-15 | 上海连尚网络科技有限公司 | Information pushing method and device |
CN112000880A (en) * | 2020-07-31 | 2020-11-27 | 北京百度网讯科技有限公司 | Push message processing method and device, electronic equipment and readable storage medium |
WO2021013243A1 (en) * | 2019-07-25 | 2021-01-28 | 上海连尚网络科技有限公司 | Method for starting mini program, device, and computer storage medium |
CN112653769A (en) * | 2021-01-08 | 2021-04-13 | 青岛海尔科技有限公司 | Message pushing method and system |
CN114168215A (en) * | 2021-11-17 | 2022-03-11 | 广东太平洋互联网信息服务有限公司 | Plug-in processing method, system and medium for multiple applet functional modules |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559980B (en) * | 2020-11-24 | 2023-05-05 | 深圳凡泰极客科技有限责任公司 | Applet runtime capable of embedding a plurality of random APP |
CN114125047A (en) * | 2021-11-10 | 2022-03-01 | 携程商旅信息服务(上海)有限公司 | Message pushing method, system, equipment and storage medium based on third-party system |
CN114553949A (en) * | 2022-02-15 | 2022-05-27 | 北京京东乾石科技有限公司 | Page message pushing method and device |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008282088A (en) * | 2007-05-08 | 2008-11-20 | Up-Frontier Inc | Blog parts, widget cooperation system, and cooperation method |
CN102281305A (en) * | 2004-12-30 | 2011-12-14 | 茨特里克斯系统公司 | Systems and methods for providing client-side accelerating technology |
CN103617218A (en) * | 2013-11-21 | 2014-03-05 | 北京奇虎科技有限公司 | Light application creating method and clients |
CN104065729A (en) * | 2014-06-27 | 2014-09-24 | 广州金山网络科技有限公司 | Information pushing method and information pushing device |
CN104426893A (en) * | 2013-09-09 | 2015-03-18 | 中国移动通信集团公司 | Method, device and system for awakening mobile terminal |
CN104539740A (en) * | 2015-01-26 | 2015-04-22 | 北京奇艺世纪科技有限公司 | Information push method and device |
CN105306418A (en) * | 2014-06-24 | 2016-02-03 | 博雅网络游戏开发(深圳)有限公司 | Method and system for sharing communication connection by multiple application programs |
CN107169134A (en) * | 2017-06-08 | 2017-09-15 | 北京金山安全软件有限公司 | Promotion information display method and device and electronic equipment |
CN108833521A (en) * | 2018-06-06 | 2018-11-16 | 广州视源电子科技股份有限公司 | Information push method, device, system, computer equipment and storage medium |
CN109428923A (en) * | 2017-08-29 | 2019-03-05 | 努比亚技术有限公司 | Information push method, server, terminal and computer readable storage medium |
CN109558536A (en) * | 2018-11-15 | 2019-04-02 | 安徽信果网络科技有限公司 | One kind obtained automatically based on wechat small routine news, screening system and method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104536776B (en) * | 2014-11-28 | 2018-11-23 | 百度在线网络技术(北京)有限公司 | A kind of method and apparatus running plug-in application in the plug-in component operation environment of host end |
CN105847366A (en) * | 2016-03-29 | 2016-08-10 | 乐视控股(北京)有限公司 | Method and apparatus for sharing push service |
CN106487928B (en) * | 2016-12-09 | 2019-12-13 | 北京小米移动软件有限公司 | Message pushing method and device |
CN108287836B (en) * | 2017-01-09 | 2022-09-13 | 腾讯科技(深圳)有限公司 | Resource caching method and device |
CN109995877B (en) * | 2019-04-12 | 2021-10-12 | 上海连尚网络科技有限公司 | Information pushing method and device |
-
2019
- 2019-04-12 CN CN201910293145.8A patent/CN109995877B/en active Active
-
2020
- 2020-04-10 WO PCT/CN2020/084113 patent/WO2020207454A1/en active Application Filing
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102281305A (en) * | 2004-12-30 | 2011-12-14 | 茨特里克斯系统公司 | Systems and methods for providing client-side accelerating technology |
JP2008282088A (en) * | 2007-05-08 | 2008-11-20 | Up-Frontier Inc | Blog parts, widget cooperation system, and cooperation method |
CN104426893A (en) * | 2013-09-09 | 2015-03-18 | 中国移动通信集团公司 | Method, device and system for awakening mobile terminal |
CN103617218A (en) * | 2013-11-21 | 2014-03-05 | 北京奇虎科技有限公司 | Light application creating method and clients |
CN105306418A (en) * | 2014-06-24 | 2016-02-03 | 博雅网络游戏开发(深圳)有限公司 | Method and system for sharing communication connection by multiple application programs |
CN104065729A (en) * | 2014-06-27 | 2014-09-24 | 广州金山网络科技有限公司 | Information pushing method and information pushing device |
CN104539740A (en) * | 2015-01-26 | 2015-04-22 | 北京奇艺世纪科技有限公司 | Information push method and device |
CN107169134A (en) * | 2017-06-08 | 2017-09-15 | 北京金山安全软件有限公司 | Promotion information display method and device and electronic equipment |
CN109428923A (en) * | 2017-08-29 | 2019-03-05 | 努比亚技术有限公司 | Information push method, server, terminal and computer readable storage medium |
CN108833521A (en) * | 2018-06-06 | 2018-11-16 | 广州视源电子科技股份有限公司 | Information push method, device, system, computer equipment and storage medium |
CN109558536A (en) * | 2018-11-15 | 2019-04-02 | 安徽信果网络科技有限公司 | One kind obtained automatically based on wechat small routine news, screening system and method |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020207454A1 (en) * | 2019-04-12 | 2020-10-15 | 上海连尚网络科技有限公司 | Information pushing method and device |
WO2021013243A1 (en) * | 2019-07-25 | 2021-01-28 | 上海连尚网络科技有限公司 | Method for starting mini program, device, and computer storage medium |
CN110865855B (en) * | 2019-11-18 | 2023-10-27 | 百度在线网络技术(北京)有限公司 | Applet processing method and related equipment |
CN110865855A (en) * | 2019-11-18 | 2020-03-06 | 百度在线网络技术(北京)有限公司 | Applet processing method and related device |
CN110929233B (en) * | 2019-11-22 | 2022-11-15 | 连尚(新昌)网络科技有限公司 | Information processing method and device |
CN110929233A (en) * | 2019-11-22 | 2020-03-27 | 连尚(新昌)网络科技有限公司 | Information processing method and device |
CN111586128B (en) * | 2020-04-28 | 2023-06-09 | 百度在线网络技术(北京)有限公司 | Method, device, equipment and storage medium for acquiring applet data |
US11677838B2 (en) | 2020-04-28 | 2023-06-13 | Baidu Online Network Technology (Beijing) Co., Ltd. | Acquisition method, apparatus, device and storage medium for applet data |
CN111586128A (en) * | 2020-04-28 | 2020-08-25 | 百度在线网络技术(北京)有限公司 | Method, device and equipment for acquiring applet data and storage medium |
CN112000880A (en) * | 2020-07-31 | 2020-11-27 | 北京百度网讯科技有限公司 | Push message processing method and device, electronic equipment and readable storage medium |
CN112000880B (en) * | 2020-07-31 | 2024-01-23 | 北京百度网讯科技有限公司 | Push message processing method and device, electronic equipment and readable storage medium |
CN112653769A (en) * | 2021-01-08 | 2021-04-13 | 青岛海尔科技有限公司 | Message pushing method and system |
CN114168215A (en) * | 2021-11-17 | 2022-03-11 | 广东太平洋互联网信息服务有限公司 | Plug-in processing method, system and medium for multiple applet functional modules |
CN114168215B (en) * | 2021-11-17 | 2024-03-19 | 广东太平洋互联网信息服务有限公司 | Plug-in processing method, system and medium for multiple small program function modules |
Also Published As
Publication number | Publication date |
---|---|
WO2020207454A1 (en) | 2020-10-15 |
CN109995877B (en) | 2021-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109995877A (en) | Information-pushing method and device | |
CN109146490A (en) | block generation method, device and system | |
CN110471733A (en) | Information processing method and device | |
CN110098998B (en) | Method and apparatus for processing information | |
CN109992732A (en) | Information sharing method, device, electronic equipment and storage medium | |
CN110321738A (en) | Information processing method and device | |
CN106293765A (en) | A kind of layout updates method and device | |
CN110781373B (en) | List updating method and device, readable medium and electronic equipment | |
CN110377440A (en) | Information processing method and device | |
CN110007936B (en) | Data processing method and device | |
CN109582873A (en) | Method and apparatus for pushed information | |
CN109510881A (en) | Method, apparatus, electronic equipment and the readable storage medium storing program for executing of sharing files | |
CN109446442A (en) | Method and apparatus for handling information | |
CN110069919A (en) | Information acquisition method and device | |
CN108733527B (en) | System, method and apparatus for testing server functionality | |
CN109413056A (en) | Method and apparatus for handling information | |
CN112152879B (en) | Network quality determination method, device, electronic equipment and readable storage medium | |
CN110046000A (en) | Small routine operation method and device | |
CN109165723A (en) | Method and apparatus for handling data | |
CN108959102A (en) | Method and apparatus for generating test data, test application to be tested | |
CN110113176A (en) | Information synchronization method and device for configuration server | |
CN111580883A (en) | Application program starting method, device, computer system and medium | |
CN108810105A (en) | For pushed information, the method and apparatus for showing information | |
CN109995543A (en) | Method and apparatus for adding group members | |
CN109614603A (en) | Method and apparatus for generating information |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231108 Address after: 200240 building 41, 398 Heqing Road, Minhang District, Shanghai Patentee after: Shanghai Chenlian Technology Co.,Ltd. Address before: 201306 N2025 room 24, 2 New Town Road, mud town, Pudong New Area, Shanghai Patentee before: SHANGHAI LIANSHANG NETWORK TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |