CN109218125A - A kind of method and system of heartbeat data interaction - Google Patents

A kind of method and system of heartbeat data interaction Download PDF

Info

Publication number
CN109218125A
CN109218125A CN201710551126.1A CN201710551126A CN109218125A CN 109218125 A CN109218125 A CN 109218125A CN 201710551126 A CN201710551126 A CN 201710551126A CN 109218125 A CN109218125 A CN 109218125A
Authority
CN
China
Prior art keywords
message
heartbeat
task
effective
type
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
Application number
CN201710551126.1A
Other languages
Chinese (zh)
Inventor
苗延超
齐英英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710551126.1A priority Critical patent/CN109218125A/en
Publication of CN109218125A publication Critical patent/CN109218125A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method and systems of heartbeat data interaction, are related to computer technology technical field.One specific embodiment of this method includes: to judge whether there is effective heartbeat task according to the crawl of client request;If it is present obtaining corresponding heartbeat data according to the effective heartbeat task;The heartbeat data is sent to client;Successful feedback information is received according to client, deletes the corresponding message of type of message of the heartbeat data.The embodiment solve rely at this stage manually occur with the limitation in dispatching person's communication process and often not in time the case where, realize issued by real-time messages avoid in vain dispense etc. technical effects, improve the operating efficiency of website.

Description

A kind of method and system of heartbeat data interaction
Technical field
The present invention relates to field of computer technology more particularly to a kind of method and systems of heartbeat data interaction.
Background technique
With the high speed development of online shopping business, the function that dispatching hand-held terminal device undertakes is more and more, and client is each The special service of kind is also more and more.In order to ensure the special service of client, it would be desirable to the characteristic industry in time issuing client Message of being engaged in (such as client's reminder, pickup issues, order deletes locking, businessman's audit, intercepts order) is issued to handheld terminal etc., But existing hand-held terminal device after dispatching person is outbound, can not just obtain the notice of order due to the influence of hardware in time Message.
At this stage, after dispatching person is outbound, website can only generally be linked up by phone and dispatching person, and this communication way has been It is complete to rely on manually.Dispatching person is during dispatching, it is more likely that is inconvenient to receive calls, or because network cause receives It is in the presence of many artificial limitations and mesh dependence so being linked up by phone and dispatching person less than phone or information 's.So link up by phone and dispatching person, message transmission will lead between website and dispatching person not in time, and then cause client It is discontented in addition complain.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method and system of heartbeat data interaction, can be sent out according to client The crawl sent requests heartbeat data sending client, and then the message transmission in time issuing client is solved to dispatching person The problem of fully relying on the limitation manually linked up with dispatching person at this stage and information cannot be transmitted in time.
To achieve the above object, according to an aspect of an embodiment of the present invention, a kind of side of heartbeat data interaction is provided Method.
A kind of method of heartbeat data interaction of the embodiment of the present invention includes: to be judged whether according to the crawl of client request There are effective heartbeat tasks;If it is present obtaining corresponding heartbeat data according to the effective heartbeat task;It will be described Heartbeat data is sent to client;Successful feedback information is received according to client, deletes the type of message of the heartbeat data Corresponding message.
Optionally, the method for a kind of heartbeat data interaction of the embodiment of the present invention further include: in the crawl according to client Before request judges whether there is effective heartbeat task, externally input message is received, and according to the message class of the message Type creates heartbeat task.
Optionally, the method for a kind of heartbeat data interaction of the embodiment of the present invention further include: receive externally input message Later, before and creating heartbeat task according to the type of message of the message, confirm that the related data of the message has been mended Entirely.
Optionally, the method for a kind of heartbeat data interaction of the embodiment of the present invention further include: receive externally input message Later, before and creating heartbeat task according to the type of message of the message, judge whether the type of message of the message is deposited If it does not exist, then newly-increased type of message.
Optionally, obtaining corresponding heartbeat data according to the effective heartbeat task includes: obtaining the effective heart The type of message of jump task, and corresponding heartbeat data is obtained according to the type of message.
Optionally, described to request to judge whether there is effective heartbeat task to include: to receive visitor according to the crawl of client The crawl request that family end is regularly sent;It is requested according to the crawl, judges whether order belonging to the heartbeat task is completed, with And the order and crawl request whether there is effective relationship;If the order belonging to described is not completed, and described is ordered Single there are effective relationships with crawl request, then determine that there are effective heartbeat tasks.
Other side according to an embodiment of the present invention provides a kind of system of heartbeat data interaction.
A kind of system of heartbeat data interaction of the embodiment of the present invention includes: judgment module, for grabbing according to client Request is taken to judge whether there is effective heartbeat task;Module is obtained, for judging that there are effective heartbeats in determination module After task, corresponding heartbeat data is obtained according to the effective heartbeat task;Sending module is used for the heartbeat data It is sent to client;Removing module deletes the message of the heartbeat data for receiving successful feedback information according to client The message of type.
Optionally, a kind of system of heartbeat data interaction of the embodiment of the present invention further includes creation module, for judging Before module judges whether there is effective heartbeat task according to the crawl of client request, externally input message is received, with And heartbeat task is created according to the type of message of the message.
Optionally, the creation module is also used to after receiving externally input message, and according to the message Before type of message creates heartbeat task, the related data completion of the message is confirmed.
Optionally, the creation module is also used to after receiving externally input message, and according to the message Before type of message creates heartbeat task, judge that the type of message of the message whether there is, if it does not exist, then newly-increased message Type.
Optionally, obtaining module according to the corresponding heartbeat data of the effective heartbeat task acquisition includes: described in acquisition The type of message of effective heartbeat task obtains corresponding heartbeat data according to the type of message.
Optionally, the judgment module judges whether there is effective heartbeat task packet according to the crawl of client request It includes: receiving the crawl request that client is regularly sent;It is requested according to the crawl, judges that order belonging to the heartbeat task is No completion and the order and crawl request whether there is effective relationship;If the order belonging to described is not completed, And there are effective relationships for the order and crawl request, then determine that there are effective heartbeat tasks.
Another aspect according to an embodiment of the present invention provides a kind of server of heartbeat data interaction.
A kind of server of heartbeat data interaction of the embodiment of the present invention includes: one or more processors;Storage device, For storing one or more programs, when one or more of programs are executed by one or more of processors, so that institute State the method that one or more processors realize above-mentioned heartbeat data interaction.
Another aspect according to an embodiment of the present invention provides a kind of computer-readable medium.
A kind of computer-readable medium of the embodiment of the present invention, is stored thereon with computer program, which is characterized in that described The method of above-mentioned heartbeat data interaction is realized when program is executed by processor.
One embodiment in foregoing invention has the following advantages that or the utility model has the advantages that because using automatic according to crawl request Effective heartbeat task is judged whether there is, and corresponding heartbeat data is obtained according to effective heartbeat task, by heartbeat data It is sent to the technological means of client, relies on the message for manually proposing customer and dispatching person's progress ditch at this stage so overcoming It is logical non-timely the technical issues of, reached and special order pulled by heartbeat increment in real time, realize message it is real-time under It passes.And issued by real-time messages, dispatching etc. in vain is avoided, improves the operating efficiency of website, and by message management The heart, realization issue all dispatching person's real-time informings and message, the efficiency for improving dispatching person's management and linking up.
Further effect possessed by above-mentioned non-usual optional way adds hereinafter in conjunction with specific embodiment With explanation.
Detailed description of the invention
Attached drawing for a better understanding of the present invention, does not constitute an undue limitation on the present invention.Wherein:
Fig. 1 is the schematic diagram of the main flow of the method for heartbeat data interaction according to an embodiment of the present invention;
Fig. 2 is the schematic diagram that the method for heartbeat data interaction according to an embodiment of the present invention is realized;
Fig. 3 is the schematic diagram of the main modular of the system of heartbeat data interaction according to an embodiment of the present invention;
Fig. 4 is that the embodiment of the present invention can be applied to exemplary system architecture figure therein;
Fig. 5 is adapted for the structural representation of the computer system for the terminal device or server of realizing the embodiment of the present invention Figure.
Specific embodiment
Below in conjunction with attached drawing, an exemplary embodiment of the present invention will be described, including the various of the embodiment of the present invention Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize It arrives, it can be with various changes and modifications are made to the embodiments described herein, without departing from scope and spirit of the present invention.Together Sample, for clarity and conciseness, descriptions of well-known functions and structures are omitted from the following description.
Fig. 1 is the schematic diagram of the main flow of the method for heartbeat data interaction according to an embodiment of the present invention.
As shown in Figure 1, the method for the heartbeat data interaction of the embodiment of the present invention specifically includes that
Step S101: effective heartbeat task is judged whether there is according to the crawl of client request.Before this, it receives Externally input message confirms the related data completion of the message, and creates heartbeat according to the type of message of the message and appoint Business.After receiving externally input message, and according to the type of message of message create heartbeat task before, judge that this disappears The type of message of breath whether there is, if it does not exist, then newly-increased type of message.If it is present the message is corresponding corresponding Under type of message.External input at this can input for user or related management personnel, be also possible to the input of external system.Its In, heartbeat task is to initiate to request to server-side, pull the mode of incremental data by timed task mode.
Also, judging whether there is effective heartbeat task according to the crawl of client request includes: to receive client to determine When send crawl request;It is requested according to crawl, judges whether order belonging to heartbeat task is completed and order is asked with crawl Seeking Truth is no, and there are effective relationships;If affiliated order is not completed, and order and crawl request then determine there are effective relationship There are effective heartbeat tasks.It receives client and regularly sends crawl request, illustrate that client is to can receive information , therefore receive after crawl is requested and after corresponding heartbeat data is sent to client, client can receive. Also, the operation that client regularly sends crawl request is by background thread automatic running.
Step S102: if it is present obtaining corresponding heartbeat data according to effective heartbeat task.According to the effective heart Jump task obtains corresponding heartbeat data: obtaining the type of message of effective heartbeat task, and is obtained according to type of message Corresponding heartbeat data.Alternatively, the type of message and order odd numbers of effective heartbeat task are obtained, according to type of message and order Odd numbers gets heartbeat data.Wherein, heartbeat data is the entire message content of the corresponding message of heartbeat task.
Step S103: heartbeat data is sent to client.Because being made before creating heartbeat task to type of message Judgement, and the creation of heartbeat task is also to be created according to type of message, it, can therefore after client receives heartbeat data The type of the heartbeat data received is got information about, and then carries out the operation of next step according to the type.
Step S104: receiving successful feedback information according to client, and the type of message for deleting heartbeat data corresponding disappears Breath.After client has successfully received heartbeat data, successful feedback information will be received and sent back to come, and then according to the feedback message The corresponding message of the type of message of heartbeat data is deleted.
Fig. 2 is the schematic diagram that the method for heartbeat data interaction according to an embodiment of the present invention is realized.
As shown in Fig. 2, client is periodically to background server in the method for the heartbeat data interaction of the embodiment of the present invention The crawl request of heartbeat task is initiated, to check whether that there are new reminder messages.Timing at this can pass through self-setting, example Such as primary crawl request just is sent to server every 5 minutes clients.Server is asked in the crawl for receiving client transmission After asking, according to the dimension mark (such as dispatching person id) in crawl request checked in task processing system in redis whether There are effective heartbeat tasks.Background server can be stored when storing message according to certain dimension, such as according to matching The person's of sending dimension achieves order messages, and then can find the message stored under the dimension according to dimension mark.If deposited in redis It contains order and does not dispense completion, and order and dispatching person then send the data to client there are the data of effective relationship.
The reception message center of server is only to store type of message externally input message is carried out storage.Its In, type of message includes cancellation of order, pickup issues, businessman audits, the modification of message informing, order status, device upgrade, text The types such as this message.Moreover, after receiving externally input message, judge system whether to the type of message of the message into Row storage, if it can, next step operation can be carried out directly.If cannot to the message class at message store, can lead to It crosses newly-increased type of message to store it, or directly returning to external input display cannot store it.The message received is deposited After storage, judge whether the message is processed, if processed, can directly delete the corresponding message of the type of message, If be not processed, which is subjected to message completion (by the corresponding dispatching person id of message, order number and type of message All in addition).Processing at this refers to whether dispatching person matches and passes through the order, if said with (processed) is passed through Data completion before bright to the message, then do not need to carry out completion operation to it.
After client receives data, corresponding data can be shown in waiting task column, and be deposited according to server The type of the data of storage, is shown under the respective type in waiting task column.In turn, dispatching person passes through in viewing client-side Information, the type of waiting task can be got information about.Also, according to the type of the business acquired, carry out every kind of industry Business data pull, and are individually handled and reminded.After client receives successfully, server is successful according to receiving Feedback information notifies that the task processing system on backstage is deleted, so that next client is when sending crawl request, if do not had There is new task then not repeat notice client.
Fig. 3 is the schematic diagram of the main modular of the system of heartbeat data interaction according to an embodiment of the present invention.
As shown in figure 3, the system of the heartbeat data interaction of the embodiment of the present invention specifically includes that
301 judgment module of module, for judging whether there is effective heartbeat task according to the crawl of client request.Sentence It includes: to receive client to regularly send that disconnected module, which judges whether there is effective heartbeat task according to the crawl of client request, Crawl request;It is requested according to crawl, judges whether order belonging to heartbeat task is completed and whether order is deposited with crawl request In effective relationship;If affiliated order is not completed, and there are effective relationships for order and crawl request, then determine to exist effective Heartbeat task.
The system further includes creation module, for having been judged whether there is in judgment module according to the crawl of client request Before the heartbeat task of effect, externally input message is received, and heartbeat task is created according to the type of message of message.Create mould Block is also used to after receiving externally input message, and before creating heartbeat task according to the type of message of message, confirmation The completion of the related data of message.Creation module is also used to after receiving externally input message, and according to message Before type of message creates heartbeat task, judge that the type of message of message whether there is, if it does not exist, then newly-increased message class Type.
Module 302 obtains module, for judging in determination module there are after effective heartbeat task, according to effective Heartbeat task obtains corresponding heartbeat data.Module, which is obtained, according to the corresponding heartbeat data of effective heartbeat task acquisition includes: The type of message for obtaining effective heartbeat task obtains corresponding heartbeat data according to type of message.
303 sending module of module, for heartbeat data to be sent to client.After client receives data, accordingly Data can be shown in waiting task column, and the type of the data according to server storage, be shown in waiting task Under respective type in column.Also, after client receives data, it can notify to dispense by modes such as jingle bell or pop-up boxes Member, in turn, dispatching person can intuitively and timely be recognized the type of waiting task and be appointed by the information in viewing client-side Business.
304 removing module of module deletes the message class of heartbeat data for receiving successful feedback information according to client The message of type.After client has successfully received heartbeat data, successful feedback information will be received and sent back to come, and then anti-according to this Message is presented to delete the corresponding message of the type of message of heartbeat data.
The system of the heartbeat data interaction of the embodiment of the present invention can real-time reception foreground order message, such as cancel an order Deng, and send the message to client in time and remind client process, the dispatching task that dispatching person is invalid is avoided, promotion is matched Send efficiency.And then realize group, the channel that region, website notify dispatching person's real-time messages, get through client and dispatching person Message channel, can improve customer satisfaction.Also, by the technical program, dispatching person is after receiving heartbeat data, energy Immediately know that the type of waiting task.Existing type includes: pickup list, interception, negotiates throwing, retreating list again and pull receipts.It avoids Following unusual condition: after customer order is cancelled, dispatching person still goes to client house to dispense, then client's rejection, and leads to visitor It complains at family;Dispatching person is unaware of after client's reminder, leads to customer complaint;Finance are initiated to intercept, and dispatching person's correct-distribute is completed, and lead to money Goods two is empty;Businessman's order can dispense after auditing, but dispatching person does not have notice, leads to secondary dispatching;Foreground client Order locking, unlock are initiated, dispatching person can not synchronize in time after receiving, and order is caused to be unable to complete;Dispatching person outside, does not disappear Breath notice, the head of a station notify dispatching person that can only link up by phone, wechat.
Fig. 4 is shown can be using the method for the heartbeat data interaction of the embodiment of the present invention or the system of heartbeat data interaction Exemplary system architecture 400.
As shown in figure 4, system architecture 400 may include terminal device 401,402,403, network 404 and server 405. Network 404 between terminal device 401,402,403 and server 405 to provide the medium of communication link.Network 404 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 401,402,403 and be interacted by network 404 with server 405, to receive or send out Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 401,402,403 (merely illustrative) such as the application of page browsing device, searching class application, instant messaging tools, mailbox client, social platform softwares.
Terminal device 401,402,403 can be the various electronic equipments with display screen and supported web page browsing, packet Include but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 405 can be to provide the server of various services, such as utilize terminal device 401,402,403 to user The shopping class website browsed provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to reception To the data such as information query request analyze etc. processing, and by processing result (such as target push information, product letter Breath -- merely illustrative) feed back to terminal device.
It should be noted that the method for the interaction of heartbeat data provided by the embodiment of the present invention is generally held by server 405 Row, correspondingly, the system of heartbeat data interaction are generally positioned in server 405.
It should be understood that the number of terminal device, network and server in Fig. 4 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
Below with reference to Fig. 5, it illustrates the computer systems 500 for the terminal device for being suitable for being used to realize the embodiment of the present invention Structural schematic diagram.Terminal device shown in Fig. 5 is only an example, function to the embodiment of the present invention and should not use model Shroud carrys out any restrictions.
As shown in figure 5, computer system 500 includes central processing unit (CPU) 501, it can be read-only according to being stored in Program in memory (ROM) 502 or be loaded into the program in random access storage device (RAM) 503 from storage section 508 and Execute various movements appropriate and processing.In RAM 503, also it is stored with system 500 and operates required various programs and data. CPU 501, ROM 502 and RAM 503 are connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to always Line 504.
I/O interface 505 is connected to lower component: the importation 506 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 507 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 508 including hard disk etc.; And the communications portion 509 of the network interface card including LAN card, modem etc..Communications portion 509 via such as because The network of spy's net executes communication process.Driver 510 is also connected to I/O interface 505 as needed.Detachable media 511, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 510, in order to read from thereon Computer program be mounted into storage section 508 as needed.
Particularly, disclosed embodiment, the process described above with reference to flow chart may be implemented as counting according to the present invention Calculation machine software program.For example, embodiment disclosed by the invention includes a kind of computer program product comprising be carried on computer Computer program on readable medium, the computer program include the program code for method shown in execution flow chart.? In such embodiment, which can be downloaded and installed from network by communications portion 509, and/or from can Medium 511 is dismantled to be mounted.When the computer program is executed by central processing unit (CPU) 501, system of the invention is executed The above-mentioned function of middle restriction.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In application, 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.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, 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 above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On 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 wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hard The mode of part is realized.Described module also can be set in the processor, for example, can be described as: a kind of processor packet It includes judgment module, sending module, obtain module and removing module.Wherein, the title of these modules not structure under certain conditions The restriction of the pairs of module itself, for example, sending module is also described as " heartbeat data being sent to client Module ".
As on the other hand, the present invention also provides a kind of computer-readable medium, which be can be Included in equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying equipment.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the equipment, makes Obtaining the equipment includes:
Effective heartbeat task is judged whether there is according to the crawl of client request;
If it is present obtaining corresponding heartbeat data according to effective heartbeat task;
Heartbeat data is sent to client;
Successful feedback information is received according to client, deletes the corresponding message of type of message of heartbeat data.
Technical solution according to an embodiment of the present invention opens group, the new paragon that region, website are communicated with dispatching person, Realize order whole process real-time messages notice.And solving order status delay client returns, dispatching person has dispensed order At the empty problem of property two;It has beaten the wildcard person of sending and client messages notifies, realized and client's real-time interactive;It is abnormal to realize appearance In the case where order, function that dispatching person is reminded in real time.
Above-mentioned specific embodiment, does not constitute a limitation on the scope of protection of the present invention.Those skilled in the art should be bright It is white, design requirement and other factors are depended on, various modifications, combination, sub-portfolio and substitution can occur.It is any Made modifications, equivalent substitutions and improvements etc. within the spirit and principles in the present invention, should be included in the scope of the present invention Within.

Claims (14)

1. a kind of method of heartbeat data interaction characterized by comprising
Effective heartbeat task is judged whether there is according to the crawl of client request;
If it is present obtaining corresponding heartbeat data according to the effective heartbeat task;
The heartbeat data is sent to client;
Successful feedback information is received according to client, deletes the corresponding message of type of message of the heartbeat data.
2. the method according to claim 1, wherein further include: it is being according to the crawl of client request judgement It is no there are before effective heartbeat task,
Externally input message is received, and heartbeat task is created according to the type of message of the message.
3. according to the method described in claim 2, it is characterized by further comprising: after receiving externally input message, Yi Jigen Before creating heartbeat task according to the type of message of the message,
Confirm the related data completion of the message.
4. according to the method described in claim 2, it is characterized by further comprising: after receiving externally input message, Yi Jigen Before creating heartbeat task according to the type of message of the message,
Judge that the type of message of the message whether there is, if it does not exist, then newly-increased type of message.
5. the method according to claim 1, wherein obtaining corresponding heartbeat according to the effective heartbeat task Data include:
The type of message of the effective heartbeat task is obtained, and corresponding heartbeat data is obtained according to the type of message.
6. the method according to claim 1, wherein described judge whether there is according to the crawl of client request Effectively heartbeat task includes:
Receive the crawl request that client is regularly sent;
It is requested according to the crawl, judges whether order belonging to the heartbeat task is completed and the order is grabbed with described Take request with the presence or absence of effective relationship;
If the order belonging to described is not completed, and there are effective relationships for the order and crawl request, then determine to deposit In effective heartbeat task.
7. a kind of system of heartbeat data interaction characterized by comprising
Judgment module, for judging whether there is effective heartbeat task according to the crawl of client request;
Module is obtained, for judging to appoint there are after effective heartbeat task according to the effective heartbeat in determination module Business obtains corresponding heartbeat data;
Sending module, for the heartbeat data to be sent to client;
Removing module deletes disappearing for the type of message of the heartbeat data for receiving successful feedback information according to client Breath.
8. system according to claim 7, which is characterized in that further include creation module, be used in judgment module according to visitor Before the crawl request at family end judges whether there is effective heartbeat task, externally input message is received, and according to described The type of message of message creates heartbeat task.
9. system according to claim 8, which is characterized in that the creation module is also used to receiving externally input disappear After breath, and according to the type of message of the message create heartbeat task before, confirmed the related data of the message Completion.
10. system according to claim 8, which is characterized in that the creation module is also used to externally input in reception After message, and according to the type of message of the message create heartbeat task before, judge that the type of message of the message is No presence, if it does not exist, then newly-increased type of message.
11. system according to claim 7, which is characterized in that obtain module and obtained according to the effective heartbeat task Corresponding heartbeat data includes:
The type of message for obtaining the effective heartbeat task obtains corresponding heartbeat data according to the type of message.
12. system according to claim 7, which is characterized in that the judgment module is sentenced according to the crawl of client request It is disconnected to include: with the presence or absence of effective heartbeat task
Receive the crawl request that client is regularly sent;
It is requested according to the crawl, judges whether order belonging to the heartbeat task is completed and the order is grabbed with described Take request with the presence or absence of effective relationship;
If the order belonging to described is not completed, and there are effective relationships for the order and crawl request, then determine to deposit In effective heartbeat task.
13. a kind of server of heartbeat data interaction characterized by 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 Now such as method as claimed in any one of claims 1 to 6.
14. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor Such as method as claimed in any one of claims 1 to 6 is realized when row.
CN201710551126.1A 2017-07-07 2017-07-07 A kind of method and system of heartbeat data interaction Pending CN109218125A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710551126.1A CN109218125A (en) 2017-07-07 2017-07-07 A kind of method and system of heartbeat data interaction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710551126.1A CN109218125A (en) 2017-07-07 2017-07-07 A kind of method and system of heartbeat data interaction

Publications (1)

Publication Number Publication Date
CN109218125A true CN109218125A (en) 2019-01-15

Family

ID=64990651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710551126.1A Pending CN109218125A (en) 2017-07-07 2017-07-07 A kind of method and system of heartbeat data interaction

Country Status (1)

Country Link
CN (1) CN109218125A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110222500A (en) * 2019-06-14 2019-09-10 深圳前海微众银行股份有限公司 Method for edition management, device, equipment and computer readable storage medium
CN112737797A (en) * 2021-01-29 2021-04-30 重庆攸亮科技股份有限公司 Message transmission system and method supporting unicast and broadcast
CN113496366A (en) * 2020-03-20 2021-10-12 北京京东振世信息技术有限公司 Information processing method and system, server and user side

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101872453A (en) * 2010-07-23 2010-10-27 深圳视融达科技有限公司 Order processing system and method thereof
CN102779300A (en) * 2012-07-05 2012-11-14 华为技术有限公司 Information processing method, server and logistics terminal
CN103544585A (en) * 2013-10-24 2014-01-29 深圳先进技术研究院 Electronic commerce logistics distribution system and method
CN105046338A (en) * 2015-08-24 2015-11-11 扬州大学 Intelligent express distribution method on mobile platform
CN106296352A (en) * 2016-08-04 2017-01-04 多点生活(中国)网络科技有限公司 Order data treating method and apparatus
CN106600036A (en) * 2016-11-09 2017-04-26 浙江工业大学 Multi-point express delivery distribution method based on Android

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101872453A (en) * 2010-07-23 2010-10-27 深圳视融达科技有限公司 Order processing system and method thereof
CN102779300A (en) * 2012-07-05 2012-11-14 华为技术有限公司 Information processing method, server and logistics terminal
CN103544585A (en) * 2013-10-24 2014-01-29 深圳先进技术研究院 Electronic commerce logistics distribution system and method
CN105046338A (en) * 2015-08-24 2015-11-11 扬州大学 Intelligent express distribution method on mobile platform
CN106296352A (en) * 2016-08-04 2017-01-04 多点生活(中国)网络科技有限公司 Order data treating method and apparatus
CN106600036A (en) * 2016-11-09 2017-04-26 浙江工业大学 Multi-point express delivery distribution method based on Android

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110222500A (en) * 2019-06-14 2019-09-10 深圳前海微众银行股份有限公司 Method for edition management, device, equipment and computer readable storage medium
CN113496366A (en) * 2020-03-20 2021-10-12 北京京东振世信息技术有限公司 Information processing method and system, server and user side
CN112737797A (en) * 2021-01-29 2021-04-30 重庆攸亮科技股份有限公司 Message transmission system and method supporting unicast and broadcast
CN112737797B (en) * 2021-01-29 2024-03-29 重庆攸亮科技股份有限公司 Message transmission system and transmission method supporting unicast and broadcast

Similar Documents

Publication Publication Date Title
CN110245011A (en) A kind of method for scheduling task and device
CN108897854A (en) A kind of monitoring method and device of overtime task
CN108874513A (en) Handle method, system, electronic equipment and the computer-readable medium of timed task
CN107844324A (en) Customer terminal webpage redirects treating method and apparatus
CN112311868A (en) Message touch method and device and electronic equipment
CN109002395A (en) A kind of code coverage management method and device
CN109995801A (en) A kind of method for message transmission and device
CN110473036A (en) A kind of method and apparatus generating order number
CN109218125A (en) A kind of method and system of heartbeat data interaction
CN110427304A (en) O&M method, apparatus, electronic equipment and medium for banking system
CN108932157A (en) Method, system, electronic equipment and the readable medium of distributed treatment task
CN109656744A (en) The method and apparatus for realizing data check and injection are explained based on Java
CN110515741A (en) A kind of degradation processing method and device based on local task queue
CN110377416A (en) Distributed subregion method for scheduling task and device
CN109918191A (en) A kind of method and apparatus of the anti-frequency of service request
CN109150929A (en) Data request processing method and apparatus under high concurrent scene
CN111190868A (en) File processing method and device
CN110083457A (en) A kind of data capture method, device and data analysing method, device
CN107463642A (en) The method and apparatus for lifting Tool for Data Warehouse resource utilization
CN108984197A (en) A kind of code update method and device
CN109960212A (en) Task sending method and device
CN108933823A (en) User's touching reaches method and apparatus
CN109976919A (en) A kind of transmission method and device of message request
CN110389976A (en) A kind of dispatching method and device of multi-interface data
CN109977139A (en) Data processing method and device based on type of structured query statement

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: 20190115

RJ01 Rejection of invention patent application after publication