CN108897631A - Information push method, device, equipment and storage medium - Google Patents
Information push method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN108897631A CN108897631A CN201810677931.3A CN201810677931A CN108897631A CN 108897631 A CN108897631 A CN 108897631A CN 201810677931 A CN201810677931 A CN 201810677931A CN 108897631 A CN108897631 A CN 108897631A
- Authority
- CN
- China
- Prior art keywords
- message
- target
- transaction
- subscribing relationship
- push
- 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
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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/548—Queue
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/549—Remote execution
Abstract
The embodiment of the invention discloses a kind of information push method, device, equipment and storage mediums.This method includes:Receive the transaction message that electric business platform is sent;The subscribing relationship of the transaction message is obtained, and target message is generated according to the subscribing relationship and the transaction message;The target information is sent to message queue;The target message is pushed into target subscriber from the message queue according to the subscribing relationship.Information push method provided in an embodiment of the present invention, the target message generated by transaction message is sent to target subscriber according to subscribing relationship, transaction message is actively called without third party, the timeliness of message push can be improved, waste system resource is avoided, mating interface is saved and exploits natural resources.
Description
Technical field
The present embodiments relate to Internet technical field more particularly to a kind of information push method, device, equipment and deposit
Storage media.
Background technique
It with the fast development of Internet technology, is that the e-commerce relied on is developed with swift and violent speed with virtual economy
Come.In internet, electric business scene is had been more and more widely used.
In electric business scene, there is the scenes that a large amount of electric business platforms and third party businessman carry out data interaction, due to belonging to
In across public network interaction, there is no good message-oriented middlewares to support, the general calling for participating in http mode and carrying out message data.Example
Such as:If businessman needs to pull electric business, platform order messages are delivered, and current relatively common mode is that electric business platform provides number
According to interface, by timed task, such as scanning platform interface obtains order messages to businessman every few minutes.This kind of mode exists
Following problem:Message timeliness, i.e. businessman can not timely aware platform data variations by timed task scanning platform interface;System
System capacity bottleneck, a large amount of invalid interfaces call, cause plateform system resource serious waste, influence systematic entirety energy;Docking is multiple
Miscellaneous degree requires each businessman individually to develop mating interface, and waste is exploited natural resources.
Summary of the invention
The embodiment of the present invention provides a kind of information push method, device, equipment and storage medium, and message push can be improved
Timeliness, avoid waste system resource, save mating interface exploit natural resources.
In a first aspect, the embodiment of the invention provides a kind of information push method, this method includes:
Receive the transaction message that electric business platform is sent;
The subscribing relationship of the transaction message is obtained, and target is generated according to the subscribing relationship and the transaction message and is disappeared
Breath;
The target information is sent to message queue;
The target message is pushed into target subscriber from the message queue according to the subscribing relationship.
Further, after receiving the transaction message that electric business platform is sent, further include:
Obtain the transaction categories of the transaction message, the transaction categories include trade successfully, transaction closes and trades change
More;
The transaction message is parsed using the transaction categories corresponding resolver, is obtained in the transaction message
Basic message;
Correspondingly, target message is generated according to the subscribing relationship and the transaction message, including:
The subscribing relationship and the basic message are packaged according to setting data format, obtain target message.
Further, the target message is sent in message queue, including:
The push classification of the target message is obtained according to the subscribing relationship;
The target message is sent in the corresponding message queue of the push classification.
Further, the target message is pushed to target subscription according to the subscribing relationship from the message queue
Person, including:
The target message is read from the message queue, and the target message is parsed;
Obtain the message push interface of target subscriber in the subscribing relationship;
The message push interface is called, interface is pushed by the message, the target message is pushed into target subscription
Person.
Further, before the target message being pushed to target subscriber according to the subscribing relationship, further include:
Obtain current push frequency;
Judge whether the push frequency reaches given threshold;
If reaching, the target message is sent to repeating transmission message queue, until the push frequency is less than described set
Determine threshold value, the target message is pushed into the target subscriber from the repeating transmission message queue again;Alternatively,
Pause pushes the target message, until the push frequency is less than the given threshold, by the target message
Again the target subscriber is pushed to.
Further, before the target message is pushed to target subscriber according to the subscribing relationship, further include:
The target message is encrypted according to setting cipher mode.
Second aspect, the embodiment of the invention also provides a kind of message driving means, which includes:
Transaction message receiving module, for receiving the transaction message of electric business platform transmission;
Target message generation module, for obtaining the subscribing relationship of the transaction message, and according to the subscribing relationship and
The transaction message generates target message;
Message queue sending module, for the target information to be sent to message queue;
Target message pushing module, for being pushed away the target message from the message queue according to the subscribing relationship
It send to target subscriber.
Further, further include:
Transaction categories obtain module, and for obtaining the transaction categories of the transaction message, the transaction categories include transaction
Success, transaction are closed and transaction change;
Basic message obtains module, for being solved using the corresponding resolver of the transaction categories to the transaction message
Analysis, obtains the basic message in the transaction message;
Correspondingly, the target message generation module, is also used to:
The subscribing relationship and the basic message are packaged according to setting data format, obtain target message.
The third aspect the embodiment of the invention also provides a kind of computer equipment, including memory, processor and is stored in
On memory and the computer program that can run on a processor, the processor are realized when executing described program as the present invention is real
Apply information push method described in example.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program, the program realize information push method as described in the embodiments of the present invention when being executed by processor.
The transaction message that the embodiment of the present invention, first reception electric business platform are sent, the subscription for then obtaining transaction message are closed
System, and target message is generated according to subscribing relationship and transaction message, target information is subsequently sent to message queue, last root
Target message is pushed to target subscriber from message queue according to subscribing relationship.Information push method provided in this embodiment,
The target message generated by transaction message is sent to target subscriber according to subscribing relationship, actively calls transaction without third party
The timeliness of message push can be improved in message, avoids waste system resource, saves mating interface and exploits natural resources.
Detailed description of the invention
Fig. 1 is the flow chart of one of the embodiment of the present invention one information push method;
Fig. 2 is the flow chart of another information push method in the embodiment of the present invention one;
Fig. 3 is the structural schematic diagram of one of embodiment of the present invention two message driving means;
Fig. 4 is the structural schematic diagram of one of the embodiment of the present invention three computer equipment.
Specific embodiment
The present invention 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 the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart of a kind of information push method that the embodiment of the present invention one provides, and the present embodiment is applicable to pair
The case where transaction message is pushed, this method can be executed by a kind of message driving means, the device can by hardware and/or
Software composition, and can generally be integrated in computer, server and all terminals comprising message push function.As shown in Figure 1,
This method specifically comprises the following steps.
Step 110, the transaction message that electric business platform is sent is received.
Wherein, electric business platform, which can be, provides the platform of online transaction for enterprise or individual, and it is enterprising to be built upon internet
It does business and is engaged in movable virtual network and ensures the management environment that commercial activity is smoothly runed.Enterprise and businessman can use electricity
The shared resources expansion business such as network infrastructure, payment platform, security platform, management platform that sub- business platform provides is living
It is dynamic.Such as:Current common Taobao, Jingdone district, only product can wait and belong to business platform.Transaction message can be electric business platform and quotient
Any message interacted between family, such as:Information that the order information that generates after trading successfully, transaction generate after closing is handed over
The easily information, inventory message, notice of punishment message and the field notice- message of commodity etc. of change generation.Illustratively, transaction at
Order information after function may include buy the quantity of commodity, attribute (such as color, model), price, consignee, harvest address,
Harvest people's contact method etc.;The information that transaction generates after closing may include cancel an order information or return of goods information etc.;Transaction becomes
More information may include the change of quantity, the change of attribute, the change for harvesting address or change of consignee's contact method etc..
Under this application scene, when consumer is after electric business platform carries out transaction, electric business platform is according to the friendship of consumer
Easily activity generates transaction message, then calls the service interface of message driving means, and transaction message is sent by service interface
Transaction message receiving module into message driving means.Alternatively, transaction message is sent to by electric business platform by message queue
The transaction message receiving module of message driving means.
Step 120, the subscribing relationship of transaction message is obtained, and target message is generated according to subscribing relationship and transaction message.
Wherein, subscribing relationship can be subscriber (businessman) to the subscription information of transaction message.Subscribing relationship may include
Subscriber selects the push classification of transaction message, the message of subscriber push interface IP address etc..
In the present embodiment, the mode for obtaining the subscribing relationship of transaction message be can be, according to belonging to commodity in transaction message
Businessman obtain transaction message subscriber, search in the database the subscriber be directed to transaction message subscribing relationship.According to
The process that subscribing relationship and transaction message generate target information can be subscribing relationship and transaction message according to setting data lattice
Formula is packaged, and target message is obtained.Illustratively, the format of target message can be:Transaction categories+subscribing relationship+transaction
Message.
Step 130, target information is sent to message queue.
Wherein, message queue may include retransmitting message queue, exclusively enjoying message queue and shared message queue.Retransmit message
Queue is used to save the target information of push failure, exclusively enjoys message queue for saving the target message for belonging to same businessman, altogether
Message queue is enjoyed for saving the target message of a variety of businessmans.
Optionally, target information being sent to message queue can be implemented by following manner:Mesh is obtained according to subscribing relationship
Mark the push classification of message;Target message is sent in the corresponding message queue of push classification.
Wherein, push classification may include exclusively enjoying push classification and shared push classification.Push classification is exclusively enjoyed to be understood that
It exclusively enjoys a message queue for the transaction message of certain businessman and pushes;Shared push classification can be understood as with other businessmans'
Transaction message is shared a message queue and is pushed.In the present embodiment, when businessman subscribes to transaction message, it can choose
The push classification of the transaction message of subscription is selected to exclusively enjoy push classification or shared News Category, message driving means according to businessman
The push classification selected generates subscribing relationship, and subscribing relationship is stored into database.
Specifically, target message is sent out according to push classification after according to the push classification of subscribing relationship acquisition target message
It send into corresponding message queue.If the push classification of target message is to exclusively enjoy push classification, target message is sent to quotient
What family subscribed to exclusively enjoys in message queue, if the push classification of target message is shared push classification, target message is pushed to
In shared message queue.
Step 140, target message is pushed to according to subscribing relationship by target subscriber from message queue.
Wherein, target subscriber can be the businessman that subscribing relationship is established with target message, and businessman can be enterprise or a
People.Specifically, message driving means connects according to the message push in subscribing relationship after target message is sent to message queue
Target message is sent to target subscriber by port address.
Optionally, target message is pushed to target subscriber from message queue according to subscribing relationship can be by following sides
Formula is implemented:Target message is read from message queue, and target message is parsed;Obtain target subscriber in subscribing relationship
Message pushes interface;It calls message to push interface, interface is pushed by message, target message is pushed into target subscriber.
Specifically, message driving means reads target from message queue and disappears after target message is sent to message queue
Breath, and target message is parsed, the message push interface that subscribing relationship includes in target message is obtained, then this is called to disappear
Breath push interface, pushes interface by message and target message is pushed to target subscriber.
The transaction message that the technical solution of the present embodiment, first reception electric business platform are sent, then obtains transaction message
Subscribing relationship, and target message is generated according to subscribing relationship and transaction message, target information is subsequently sent to message queue,
Target message is finally pushed to according to subscribing relationship by target subscriber from message queue.Message push provided in this embodiment
The target message generated by transaction message is sent to target subscriber according to subscribing relationship by method, is actively adjusted without third party
With transaction message, the timeliness of message push can be improved, avoid waste system resource, save mating interface and exploit natural resources.
It optionally, further include following steps after receiving the transaction message that electric business platform is sent:Obtain transaction message
Transaction categories;Transaction message is parsed using transaction categories corresponding resolver, obtains the basic message in transaction message.
Correspondingly, generating target message according to subscribing relationship and transaction message, can be implemented by following manner:By subscribing relationship and basis
Message is packaged according to setting data format, obtains target message.
Wherein, transaction categories may include trade successfully, transaction close and transaction change.In the present embodiment, different friendships
Easy classification corresponds to different resolvers.It, can be in transaction message when electric business platform generates transaction message according to the transaction of user
Middle addition can characterize the information of transaction categories, such as:It can be embodied in the form of keyword.If transaction message belong to transaction at
Function message then parses transaction message using the corresponding resolver of transaction successful message;It is closed if transaction message belongs to transaction
Message is closed, then the corresponding resolver of message is closed using transaction and transaction message is parsed;Transaction message belongs to transaction change
Message then parses transaction message using the corresponding resolver of transaction change message.
Basic message can be the message for being able to reflect key message in transaction message.Setting data format can be exploitation
The data format of personnel setting.Illustratively, the form for the target message being packed into according to setting data format can be:It hands over
Easy classification+subscribing relationship+basic message.
It optionally, further include following steps before target message is pushed to target subscriber according to subscribing relationship:It obtains
Take current push frequency;Judge to push whether frequency reaches given threshold;If reaching, target message is sent to repeating transmission and is disappeared
Queue is ceased, until push frequency is less than given threshold, target message is pushed into target from repeating transmission message queue again and is subscribed to
Person;Alternatively, target message is pushed to target again and ordered by pause push target message until push frequency is less than given threshold
Reader.
Wherein, push frequency can be the number of push target message in the unit time.Given threshold can be according to subscription
The ability that person receives message determines, for cannot subscriber, given threshold can be different.Specifically, being pushed away by target message
It send to before target subscriber, first the current push frequency of acquisition PUSH message to target subscriber, if push frequency reaches
To given threshold, then target message is sent to repeating transmission message queue, until push frequency is less than given threshold, by target message
Target subscriber is pushed to again from message queue is retransmitted.
Optionally, if push frequency reaches given threshold, suspend push target message, until push frequency is less than setting
Target message is pushed to target subscriber by threshold value again.
Target message is sent to repeating transmission message when pushing frequency greater than given threshold by the technical solution of the present embodiment
Queue or pause push target message, until push frequency is less than given threshold, then push target message to target is ordered again
Reader.Push frequency can be prevented to be more than the ability to bear of target subscriber and so that the system where target subscriber is run quickly and burst, from
And target message push failure is caused, improve the reliability of message push.
It optionally, further include following steps before target message is pushed to target subscriber according to subscribing relationship:It is right
Target message is encrypted according to setting cipher mode.
Setting cipher mode can be the cipher mode with target subscriber agreement.In the present embodiment, message driving means
Target message is encrypted using private key, after target message is pushed to target subscriber, target subscriber uses public key
Simultaneously sign test is decrypted to target message, judges whether target message is legal target message.The advantage of doing so is that preventing
Criminal pushes target message to target subscriber by illegal channels, and the safety of network can be improved.
Fig. 2 is the flow chart for another information push method that the embodiment of the present invention one provides.As to above-described embodiment
Be explained further, as shown in Fig. 2, this method comprises the following steps.
Step 210, the transaction message that electric business platform is sent is received.
Step 220, the transaction categories for obtaining transaction message carry out transaction message using the corresponding resolver of transaction categories
Parsing obtains the basic message in transaction message.
Step 230, subscribing relationship and basic message are packaged according to setting data format, obtain target message.
Step 240, target message is sent to push classification pair by the push classification that target message is obtained according to subscribing relationship
In the message queue answered.
Step 250, target message is read from message queue, and target message is parsed.
Step 260, target message is encrypted according to setting cipher mode.
Step 270, current push frequency is obtained, judges to push whether frequency reaches given threshold.If reaching, execute
Step 280, if it is not, thening follow the steps 290.
Step 280, target message is sent to repeating transmission message queue, until push frequency is less than given threshold, by target
Message pushes to target subscriber from repeating transmission message queue again.
Step 290, the message for obtaining target subscriber in subscribing relationship pushes interface, calls message to push interface, passes through
Message pushes interface and target message is pushed to target subscriber.
Embodiment two
Fig. 3 is a kind of structural schematic diagram of message driving means provided by Embodiment 2 of the present invention.As shown in figure 3, the dress
Set including:Transaction message receiving module 310, target message generation module 320, message queue sending module 330 and target message
Pushing module 340.
Transaction message receiving module 310, for receiving the transaction message of electric business platform transmission;
Target message generation module 320 disappears for obtaining the subscribing relationship of transaction message, and according to subscribing relationship and transaction
Breath generates target message;
Message queue sending module 330, for target information to be sent to message queue;
Target message pushing module 340, for target message to be pushed to target from message queue according to subscribing relationship
Subscriber.
Optionally, further include:
Transaction categories obtain module, for obtaining the transaction categories of transaction message, transaction categories include trade successfully, trade
It closes and transaction is changed;
Basic message obtains module, for being parsed using the corresponding resolver of transaction categories to transaction message, obtains
Basic message in transaction message;
Correspondingly, target message generation module 320, is also used to:
Subscribing relationship and basic message are packaged according to setting data format, obtain target message.
Optionally, message queue sending module 330, is also used to:
The push classification of target message is obtained according to subscribing relationship;
Target message is sent in the corresponding message queue of push classification.
Optionally, target message pushing module 340, is also used to:
Target message is read from message queue, and target message is parsed;
The message for obtaining target subscriber in subscribing relationship pushes interface;
It calls message to push interface, interface is pushed by message, target message is pushed into target subscriber.
Optionally, further include:
Frequency acquisition module is pushed, for obtaining current push frequency;
Given threshold judgment module pushes whether frequency reaches given threshold for judging;
Again pushing module, for when reaching given threshold, target message to be sent to repeating transmission message queue, until pushing away
It send frequency to be less than given threshold, target message is pushed into target subscriber from repeating transmission message queue again;Alternatively, pause pushes away
Target message is sent, until push frequency is less than given threshold, target message is pushed to target subscriber again.
Optionally, further include:
Encrypting module, for being encrypted to target message according to setting cipher mode.
Embodiment three
Fig. 4 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention three provides, as shown in figure 4, this implementation
A kind of computer equipment that example provides, including:Processor 41 and memory 42.Processor in the computer equipment can be one
A or multiple, in Fig. 4 by taking a processor 41 as an example, processor 41 and memory 42 in the computer equipment can pass through
Bus or other modes connect, in Fig. 4 for being connected by bus.
Message driving means provided by the above embodiment is integrated in the present embodiment in the processor 41 of computer equipment.This
Outside, the memory 42 in the computer equipment is used as a kind of computer readable storage medium, can be used for storing one or more journeys
Sequence, described program can be software program, computer executable program and module, such as message push side in the embodiment of the present invention
Corresponding program instruction/the module of method.Software program, instruction and the mould that processor 41 is stored in memory 42 by operation
Block, thereby executing the various function application and data processing of equipment, i.e. information push method in realization above method embodiment.
Memory 42 may include storing program area and storage data area, wherein storing program area can storage program area, extremely
Application program needed for a few function;Storage data area, which can be stored, uses created data etc. according to equipment.In addition, depositing
Reservoir 42 may include high-speed random access memory, can also include nonvolatile memory, and a for example, at least disk is deposited
Memory device, flush memory device or other non-volatile solid state memory parts.In some instances, memory 42 can further comprise
The memory remotely located relative to processor 41, these remote memories can pass through network connection to equipment.Above-mentioned network
Example include but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
The program that processor 41 is stored in memory 42 by operation, at various function application and data
Reason realizes example information push method provided in an embodiment of the present invention.
Example IV
The computer storage medium of the embodiment of the present invention, is stored thereon with computer program, which is filled by data backup
Such as information push method provided in an embodiment of the present invention is realized when setting execution.
Computer-readable medium can be computer-readable signal media or computer readable storage medium.Computer can
Reading storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device
Or device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:
Electrical connection, portable computer diskette, hard disk, random access memory (RAM), read-only storage with one or more conducting wires
Device (ROM), erasable programmable read only memory (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 any tangible medium for including or store program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used 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++, also
Such as including conventional procedural programming language-" C " language or similar programming language.Program code can be complete
Ground executes on the user computer, partly executes on the user computer, executing as an independent software package, partially existing
Part executes on the remote computer or executes on a remote computer or server completely on subscriber computer.It is being related to
In the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or wide area
Net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as using ISP come
It is connected by internet).
Method provided by the executable aforementioned all embodiments of the present invention of above-mentioned apparatus, it is corresponding to have the execution above method
Functional module and beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to the aforementioned all implementations of the present invention
Method provided by example.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of information push method, which is characterized in that including:
Receive the transaction message that electric business platform is sent;
The subscribing relationship of the transaction message is obtained, and target message is generated according to the subscribing relationship and the transaction message;
The target information is sent to message queue;
The target message is pushed into target subscriber from the message queue according to the subscribing relationship.
2. the method according to claim 1, wherein being gone back after receiving the transaction message that electric business platform is sent
Including:
Obtain the transaction categories of the transaction message, the transaction categories include trade successfully, transaction closes and trades and change;
The transaction message is parsed using the transaction categories corresponding resolver, obtains the base in the transaction message
Plinth message;
Correspondingly, target message is generated according to the subscribing relationship and the transaction message, including:
The subscribing relationship and the basic message are packaged according to setting data format, obtain target message.
3. the method according to claim 1, wherein the target message is sent in message queue, including:
The push classification of the target message is obtained according to the subscribing relationship;
The target message is sent in the corresponding message queue of the push classification.
4. the method according to claim 1, wherein according to the subscribing relationship by the target message from described
Target subscriber is pushed in message queue, including:
The target message is read from the message queue, and the target message is parsed;
Obtain the message push interface of target subscriber in the subscribing relationship;
The message push interface is called, interface is pushed by the message, the target message is pushed into target subscriber.
5. the method according to claim 1, wherein the target message is pushed according to the subscribing relationship
To before target subscriber, further include:
Obtain current push frequency;
Judge whether the push frequency reaches given threshold;
If reaching, the target message is sent to repeating transmission message queue, until the push frequency is less than the setting threshold
Value, pushes to the target subscriber from the repeating transmission message queue for the target message again;Alternatively,
Pause pushes the target message, until the push frequency is less than the given threshold, again by the target message
Push to the target subscriber.
6. -5 any method according to claim 1, which is characterized in that the target is being disappeared according to the subscribing relationship
Breath pushes to before target subscriber, further includes:
The target message is encrypted according to setting cipher mode.
7. a kind of message driving means, which is characterized in that including:
Transaction message receiving module, for receiving the transaction message of electric business platform transmission;
Target message generation module, for obtaining the subscribing relationship of the transaction message, and according to the subscribing relationship and described
Transaction message generates target message;
Message queue sending module, for the target information to be sent to message queue;
Target message pushing module, for being pushed to the target message from the message queue according to the subscribing relationship
Target subscriber.
8. device according to claim 7, which is characterized in that further include:
Transaction categories obtain module, for obtaining the transaction categories of the transaction message, the transaction categories include trade successfully,
Transaction is closed and transaction change;
Basic message obtains module, for being parsed using the corresponding resolver of the transaction categories to the transaction message,
Obtain the basic message in the transaction message;
Correspondingly, the target message generation module, is also used to:
The subscribing relationship and the basic message are packaged according to setting data format, obtain target message.
9. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, which is characterized in that the processor realizes such as side as claimed in any one of claims 1 to 6 when executing described program
Method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Such as method as claimed in any one of claims 1 to 6 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810677931.3A CN108897631A (en) | 2018-06-27 | 2018-06-27 | Information push method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810677931.3A CN108897631A (en) | 2018-06-27 | 2018-06-27 | Information push method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108897631A true CN108897631A (en) | 2018-11-27 |
Family
ID=64346548
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810677931.3A Pending CN108897631A (en) | 2018-06-27 | 2018-06-27 | Information push method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108897631A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109672748A (en) * | 2019-01-03 | 2019-04-23 | 深圳怡化电脑股份有限公司 | Processing method, processing unit and the processing system of self-service device transaction journal |
CN110413424A (en) * | 2019-07-24 | 2019-11-05 | 深圳乐信软件技术有限公司 | Configurable third party's message callback method, device, server and storage medium |
CN110413425A (en) * | 2019-07-24 | 2019-11-05 | 深圳乐信软件技术有限公司 | Third party's message callback method, device, server and storage medium |
CN111770183A (en) * | 2020-06-30 | 2020-10-13 | 山东浪潮通软信息科技有限公司 | Data interaction method and electronic equipment |
CN112836236A (en) * | 2021-02-04 | 2021-05-25 | 航天广通科技(深圳)有限公司 | Method and system for subscribing database table resources of data sharing exchange platform |
CN112887397A (en) * | 2021-01-22 | 2021-06-01 | 山东众阳健康科技集团有限公司 | Message pushing method and system based on interface |
CN112887420A (en) * | 2021-02-09 | 2021-06-01 | 网银在线(北京)科技有限公司 | Message pushing method and device, computer readable storage medium and electronic equipment |
CN112927020A (en) * | 2021-03-11 | 2021-06-08 | 北京有竹居网络技术有限公司 | Information processing method, device and equipment |
CN113839987A (en) * | 2021-08-24 | 2021-12-24 | 广州市瑞立德信息系统有限公司 | Message queue-based message distribution method, access control system and storage medium |
CN114531349A (en) * | 2022-02-21 | 2022-05-24 | 山东浪潮通软信息科技有限公司 | Method and device for configuring message subscription |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1701325A (en) * | 2002-08-01 | 2005-11-23 | 甲骨文国际公司 | Asynchronous information sharing system |
CN103020056A (en) * | 2011-09-20 | 2013-04-03 | 佳都新太科技股份有限公司 | Subscription pushing engine for cross-open-platform social intercourse information optimizing computation |
US20130110877A1 (en) * | 2011-10-31 | 2013-05-02 | Advanced Community Services | Managing homeowner association messages |
CN103208064A (en) * | 2012-12-06 | 2013-07-17 | 浙江大学 | Online short-range payment method |
CN104408622A (en) * | 2014-12-10 | 2015-03-11 | 公安部第三研究所 | System and method for confirming electronic trade based on independent password equipment |
CN104426746A (en) * | 2013-09-05 | 2015-03-18 | 北大方正集团有限公司 | Client message pushing method, client message pushing device and server |
CN104539450A (en) * | 2014-12-17 | 2015-04-22 | 广州酷狗计算机科技有限公司 | Website operation activity processing system, method and device |
CN106204000A (en) * | 2016-07-05 | 2016-12-07 | 康存乐付保数据科技(上海)有限公司 | A kind of service consumption method for processing payment information and system |
CN106230922A (en) * | 2016-07-28 | 2016-12-14 | 上海斐讯数据通信技术有限公司 | A kind of news subscribing method, message production unit and message reception units |
CN107784552A (en) * | 2017-07-24 | 2018-03-09 | 上海壹账通金融科技有限公司 | Information push task executing method, device, computer equipment and storage medium |
CN108011805A (en) * | 2016-12-29 | 2018-05-08 | 北京车和家信息技术有限责任公司 | Method, apparatus, intermediate server and the car networking system of message screening |
-
2018
- 2018-06-27 CN CN201810677931.3A patent/CN108897631A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1701325A (en) * | 2002-08-01 | 2005-11-23 | 甲骨文国际公司 | Asynchronous information sharing system |
CN103020056A (en) * | 2011-09-20 | 2013-04-03 | 佳都新太科技股份有限公司 | Subscription pushing engine for cross-open-platform social intercourse information optimizing computation |
US20130110877A1 (en) * | 2011-10-31 | 2013-05-02 | Advanced Community Services | Managing homeowner association messages |
CN103208064A (en) * | 2012-12-06 | 2013-07-17 | 浙江大学 | Online short-range payment method |
CN104426746A (en) * | 2013-09-05 | 2015-03-18 | 北大方正集团有限公司 | Client message pushing method, client message pushing device and server |
CN104408622A (en) * | 2014-12-10 | 2015-03-11 | 公安部第三研究所 | System and method for confirming electronic trade based on independent password equipment |
CN104539450A (en) * | 2014-12-17 | 2015-04-22 | 广州酷狗计算机科技有限公司 | Website operation activity processing system, method and device |
CN106204000A (en) * | 2016-07-05 | 2016-12-07 | 康存乐付保数据科技(上海)有限公司 | A kind of service consumption method for processing payment information and system |
CN106230922A (en) * | 2016-07-28 | 2016-12-14 | 上海斐讯数据通信技术有限公司 | A kind of news subscribing method, message production unit and message reception units |
CN108011805A (en) * | 2016-12-29 | 2018-05-08 | 北京车和家信息技术有限责任公司 | Method, apparatus, intermediate server and the car networking system of message screening |
CN107784552A (en) * | 2017-07-24 | 2018-03-09 | 上海壹账通金融科技有限公司 | Information push task executing method, device, computer equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
武安状: "《实用ObjectARX 2008测量软件开发技术》", 30 November 2013 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109672748A (en) * | 2019-01-03 | 2019-04-23 | 深圳怡化电脑股份有限公司 | Processing method, processing unit and the processing system of self-service device transaction journal |
CN109672748B (en) * | 2019-01-03 | 2021-08-13 | 深圳怡化电脑股份有限公司 | Processing method, processing device and processing system for self-service equipment transaction flow |
CN110413424A (en) * | 2019-07-24 | 2019-11-05 | 深圳乐信软件技术有限公司 | Configurable third party's message callback method, device, server and storage medium |
CN110413425A (en) * | 2019-07-24 | 2019-11-05 | 深圳乐信软件技术有限公司 | Third party's message callback method, device, server and storage medium |
CN110413424B (en) * | 2019-07-24 | 2021-12-10 | 深圳乐信软件技术有限公司 | Configurable third-party message callback method, device, server and storage medium |
CN111770183A (en) * | 2020-06-30 | 2020-10-13 | 山东浪潮通软信息科技有限公司 | Data interaction method and electronic equipment |
CN112887397A (en) * | 2021-01-22 | 2021-06-01 | 山东众阳健康科技集团有限公司 | Message pushing method and system based on interface |
CN112836236A (en) * | 2021-02-04 | 2021-05-25 | 航天广通科技(深圳)有限公司 | Method and system for subscribing database table resources of data sharing exchange platform |
CN112887420A (en) * | 2021-02-09 | 2021-06-01 | 网银在线(北京)科技有限公司 | Message pushing method and device, computer readable storage medium and electronic equipment |
CN112927020A (en) * | 2021-03-11 | 2021-06-08 | 北京有竹居网络技术有限公司 | Information processing method, device and equipment |
CN113839987A (en) * | 2021-08-24 | 2021-12-24 | 广州市瑞立德信息系统有限公司 | Message queue-based message distribution method, access control system and storage medium |
CN114531349A (en) * | 2022-02-21 | 2022-05-24 | 山东浪潮通软信息科技有限公司 | Method and device for configuring message subscription |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108897631A (en) | Information push method, device, equipment and storage medium | |
EP0589757B1 (en) | Telecommunications installation with secured downloading of prepayment means and method for the download | |
CN104348792B (en) | Data processing method, device and system | |
CN113095749A (en) | Logistics information transmission method, system and device based on block chain | |
CN105681309B (en) | A kind of information processing method, first terminal, second terminal and server | |
CN108648084A (en) | A kind of data processing method, device, equipment and the storage medium of block chain network | |
CN110502887A (en) | Electric paying method and device | |
CN108234636A (en) | Voice broadcast method, device, system and intellectual broadcast equipment | |
CN109831374A (en) | A kind of email distribution and reception system based on block chain | |
CN104702644B (en) | Information transmitting methods, device and logistics information server | |
CN102802150B (en) | phone number verification method, system and terminal | |
CN106959982A (en) | Obtain methods, devices and systems, monitoring method and the device of resource | |
CN109509041A (en) | A kind of Internet advertising put-on method and device | |
CN110598480A (en) | Data right confirming method and device | |
CN109598550A (en) | A kind of Internet advertising put-on method and device | |
CN104301293A (en) | Data processing method, device and system | |
CN111917631A (en) | Internet financial service method, device, electronic equipment, readable storage medium and system | |
CN109005208A (en) | Method and apparatus for pushed information | |
Radu et al. | Practical EMV relay protection | |
CN106385516A (en) | Business transfer setting method, device and terminal | |
EP1545091A1 (en) | Communication system between mobile terminal and communication server and associated methods | |
CN110011903A (en) | The evidence store method and equipment of Content of Communication | |
CN110264224A (en) | A kind of approaches to IM of item object, device, equipment and medium | |
CN102510431B (en) | Method, system, device and user terminal for obtaining remote resource | |
EP1737191B1 (en) | Method for creating a user equipment split between a terminal equipment and serially connected equipments |
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: 20181127 |
|
RJ01 | Rejection of invention patent application after publication |