CN109672735A - A kind of method, device and equipment of Message Processing - Google Patents
A kind of method, device and equipment of Message Processing Download PDFInfo
- Publication number
- CN109672735A CN109672735A CN201811567520.5A CN201811567520A CN109672735A CN 109672735 A CN109672735 A CN 109672735A CN 201811567520 A CN201811567520 A CN 201811567520A CN 109672735 A CN109672735 A CN 109672735A
- Authority
- CN
- China
- Prior art keywords
- business
- trace logs
- track identification
- service
- logs
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/535—Tracking the activity of the user
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Abstract
The embodiment of the present application provides a kind of method, device and equipment of Message Processing, comprising: receives service order, generates corresponding business trace logs according to service order, business trace logs are used for the life cycle of record traffic instruction;Trace logs are parsed, determine the business track identification in trace logs;Judgement business track identification whether there is in default subscribing service home banking;In case of presence, the corresponding trace logs of business track identification are converted to PUSH message, in order to be pushed to PUSH message to the user terminal of subscribing service track identification based on CometD service.The application realizes message and does not land the client for being directly sent to subscription, shortens the time interval for being generated to data exhibiting from data;It is accurately positioned according to business track identification, shows tracking business processing track according to trace logs, improve processing speed, reduce and manually wait, achieved the effect that real-time tracking, multi-client interface while tracking, to promote user experience.
Description
Technical field
The invention belongs to data service technical field more particularly to a kind of method, apparatus of Message Processing, equipment and calculating
Machine storage medium.
Background technique
The Web system of traditional mode works in such a way that client issues request, server end response.It is not able to satisfy very much
The demand of practical application, for example: showing, needed to the same of business processing trajectory analysis for business processing track following result
When, check the result of business trajectory analysis.Data analysis polymerization processing routine is called at general server end, in the mistake of business processing
Processing result is saved in database table by Cheng Zhonghui.Then by interface program by reading database table as a result, being in by result
Now in user interface.This mode is due to being the client data result that actively connection obtains, so can generate to a certain degree
Delay, and also will increase the carrying pressure of server end.
In addition, in the business processing track for big concurrent (i.e. data volume is greater than certain threshold value and needs to be handled simultaneously)
Scene under, if selecting any one business processing track (the i.e. business number being concerned by above-mentioned database table query filter
According to life cycle), since data volume is big, query process time-consuming can be very long, reduce user experience.
Summary of the invention
The embodiment of the present application provides the method, apparatus, equipment and computer storage medium of a kind of Message Processing, passes through track
Log carries business track identification, and the life cycle of record traffic instruction, can be accurately positioned exhibition by business track identification
Show tracking business processing track.Disappear in addition, actively being pushed to the user terminal of subscribing service track identification according to server-side wait push
Breath shortens processing speed, promotes user experience.
In a first aspect, the embodiment of the present application provides a kind of method of Message Processing, this method may include: reception business
Instruction generates corresponding business trace logs according to service order, and business trace logs are used for the Life Cycle of record traffic instruction
Phase;
Trace logs are parsed, determine the business track identification in trace logs;
Judgement business track identification whether there is in default subscribing service home banking;
In case of presence, the corresponding trace logs of business track identification are converted to PUSH message, in order to base
It will be pushed to PUSH message to the user terminal of subscribing service track identification in CometD service.
The application realizes message and does not land the client for being directly sent to subscription without showing while being stored,
Shorten the time interval that data exhibiting is generated to from data;It is accurately positioned according to business track identification, according to trace logs exhibition
Show tracking business processing track, improve processing speed, reduces artificial waiting, reach real-time tracking, multi-client interface simultaneously
The effect of tracking.In addition, this method can support the client of multiple subscription while monitor the business track of same pen, to be promoted
User experience.
It is above-mentioned " to parse trace logs, determining the business track mark in trace logs in a kind of possible embodiment
In the step of knowledge ", it can specifically include:
Trace logs are parsed according to desired guiding trajectory log resolution rules, determine the business track identification in trace logs.
In alternatively possible embodiment, above-mentioned " trace logs parsed, determine the business track in trace logs
Before the step of mark ", can also include:
The state of business trace logs is revised as processed state from armed state.
In another possible embodiment, above-mentioned " trace logs parsed, determine the business track in trace logs
In the step of mark ", it can specifically include:
In the case where the state of business trace logs is processed state, trace logs are parsed, are determined in trace logs
Business track identification.
In another possible embodiment, above-mentioned " trace logs parsed, determine the business track in trace logs
Before the step of mark ", can also include:
The cache business trace logs in the list of service order sequentially in time.
In another possible embodiment, above-mentioned " trace logs parsed, determine the business track in trace logs
In the step of mark ", it can specifically include:
The business trace logs cached in the list of service order are parsed sequentially in time, determine the industry in trace logs
Business track identification.
In another possible embodiment, " judges that business track identification whether there is above-mentioned and subscribe to industry in default
Be engaged in home banking in " the step of in, may include: call CometD service, according to CometD service judgement business track identification be
It is no to be present in default subscribing service home banking.
In another possible embodiment, above-mentioned " in case of presence, by the corresponding rail of business track identification
Mark log is converted to PUSH message " the step of in, can specifically include:
It is serviced according to CometD and is converted to the corresponding trace logs of business track identification to PUSH message.
In another possible embodiment, the above method can also include: in case of absence, to abandon and industry
The corresponding trace logs of business track identification.
In another possible embodiment, wherein " default subscribing service home banking " can be true based on following steps
It is fixed: the default subscribing service home banking of user's creation to be received by user terminal, presetting subscribing service home banking includes at least one
Default subscribing service mark.
Second aspect, the embodiment of the present application provide a kind of device of Message Processing, the apparatus may include:
Transceiver module generates corresponding business trace logs, business track according to service order for receiving service order
Log is used for the life cycle of record traffic instruction;
Parsing module determines the business track identification in trace logs for parsing trace logs;
Judgment module, for judging that business track identification whether there is in default subscribing service home banking;
Processing module, in case of presence, the corresponding trace logs of business track identification to be converted to wait push
Message will be to PUSH message to subscribing service track identification based on CometD service in order to which processing module calls transceiver module
User terminal push.
The application realizes message and does not land the client for being directly sent to subscription without showing while being stored,
Shorten the time interval that data exhibiting is generated to from data;It is accurately positioned according to business track identification, according to trace logs exhibition
Show tracking business processing track, improve processing speed, reduces artificial waiting, reach real-time tracking, multi-client interface simultaneously
The effect of tracking.In addition, this method can support the client of multiple subscription while monitor the business track of same pen, to be promoted
User experience.In a kind of possible embodiment, above-mentioned " parsing module " specifically can be used for, according to desired guiding trajectory log
Resolution rules parse trace logs, determine the business track identification in trace logs.
In alternatively possible embodiment, above-mentioned " processing module " is also used to, by the state of business trace logs from
Armed state is revised as processed state.
In another possible embodiment, above-mentioned " parsing module " specifically can be used for, in business trace logs
In the case that state is processed state, trace logs are parsed, determine the business track identification in trace logs.
In another possible embodiment, the device further include: cache module, for sequentially in time in business
Cache business trace logs in the list of instruction.
In another possible embodiment, above-mentioned " parsing module " specifically can be used for, and parse sequentially in time
The business trace logs cached in the list of service order determine the business track identification in trace logs.
In another possible embodiment, above-mentioned " judgment module " specifically can be used for, and call CometD service, root
It whether there is in default subscribing service home banking according to CometD service judgement business track identification.
In another possible embodiment, above-mentioned " processing module " specifically can be used for, and being serviced according to CometD will
The corresponding trace logs of business track identification are converted to PUSH message.
In another possible embodiment, in case of absence, above-mentioned " processing module " be can be also used for, and be put
Abandon trace logs corresponding with business track identification.
In another possible embodiment, above-mentioned " processing module " be can be also used for, and determine " default subscribing service mark
Know library ", the default subscribing service home banking of user's creation is received by user terminal, presetting in subscribing service home banking includes at least
One default subscribing service mark.
The third aspect, the embodiment of the present application provide a kind of equipment of Message Processing, which includes processor and deposit
Contain the memory of computer program instructions;
Processor realizes such as the service fulfillment of first aspect any one and the side of layout when executing computer program instructions
Method.
The application realizes message and does not land the client for being directly sent to subscription without showing while being stored,
Shorten the time interval that data exhibiting is generated to from data;It is accurately positioned according to business track identification, according to trace logs exhibition
Show tracking business processing track, improve processing speed, reduces artificial waiting, reach real-time tracking, multi-client interface simultaneously
The effect of tracking.In addition, this method can support the client of multiple subscription while monitor the business track of same pen, to be promoted
User experience.
Fourth aspect, the embodiment of the present application provides a kind of computer readable storage medium, including instruction, when it is being calculated
When being run on machine, so that computer executes the method such as first aspect any one.
5th aspect, the embodiment of the present application provides a kind of computer program product comprising instruction, when it is in computer
When upper operation, so that computer executes the method such as first aspect any one.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application will make below to required in the embodiment of the present application
Attached drawing is briefly described, for those of ordinary skill in the art, without creative efforts, also
Other drawings may be obtained according to these drawings without any creative labor.
Fig. 1 is a kind of technical framework diagram for Message Processing that the application one embodiment provides;
Fig. 2 is a kind of flow chart of the method for Message Processing that the application one embodiment provides;
Fig. 3 is a kind of data flow diagram of the method for Message Processing that the application one embodiment provides;
Fig. 4 is a kind of structural schematic diagram of the device for Message Processing that the application one embodiment provides;
Fig. 5 is a kind of structural schematic diagram of the equipment for Message Processing that the application one embodiment provides.
Specific embodiment
The feature and exemplary embodiment of the various aspects of the application is described more fully below, in order to make the mesh of the application
, technical solution and advantage be more clearly understood, below in conjunction with drawings and the specific embodiments, the application is carried out further detailed
Description.It should be understood that specific embodiment described herein is only configured to explain the application, it is not configured as limiting this Shen
Please.To those skilled in the art, the application can be in the case where not needing some details in these details
Implement.Below the description of embodiment is used for the purpose of preferably managing the application to provide by showing the example of the application
Solution.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including
There is also other identical elements in the process, method, article or equipment of element.
Firstly, understanding content involved in the application for convenience, first introduce, CometD service, the CometD is (again
Claim " Comet ") it is one based on HTTP, and use the event routing bus program of Ajax push technology.In conjunction with Fig. 1 to the application
The Technical Architecture of application makes certain explanation, and server-side receives client (can be understood as subscription end) and subscribes to business rail
The default subscribing service home banking of mark mark, default subscribing service home banking include at least one default subscribing service mark (example
Such as: subscribing service track identification is the trace logs of a and d), then, server-side receive multiple counties and cities grade client (such as:
Customer end A, B, C and D) establish business trace logs instruction, the business trace logs include business track identification (such as: a, b, c
And d), server-side gathers the trace logs of same business track identification, by the corresponding track of business track identification
Log is converted to PUSH message, in order to be serviced based on CometD by the client to PUSH message to subscribing service track identification
End push (such as: subscription is that the trace logs that business track identification is a and d only push the rail of a and d when push
Mark log certainly, can be with after the corresponding trace logs of push a and d in another mode in the cards
Push the corresponding trace logs of b and c) same trace logs can be subscribed to and show simultaneously in order to pass through web interface.It can be with
Understand, this application involves to two clients, wherein subscribing service and corresponding to the client of subscribing service track identification
Be subscription end, data source, that is, customer end A of receiving, B, C and D are generally referred to as the corresponding client of subsidiary.
The application is for a certain business processing track of multi-client real-time tracking, using CometD message push technology,
Shorten the time-consuming that data are generated between data exhibiting.
Certain explanation is made to the specific method of this programme below in conjunction with Fig. 2.
Fig. 2 is a kind of flow chart of the method for Message Processing that the application one embodiment provides.
As shown in Fig. 2, the method for the Message Processing can specifically include S210-S240, the content in step is as follows:
S210: receiving service order, generates corresponding business trace logs according to service order, business trace logs are used for
The life cycle of record traffic instruction.
It specifically, can also include: to be received by client before this step in a kind of possible embodiment
The default subscribing service home banking of user's creation, default subscribing service home banking include at least one default subscribing service mark.
Wherein, it is related to business trace logs, specifically can be understood as one problem of record from beginning setting up to the problem
The process being processed, in record, (i.e. the problem is located to which corresponding platform for the track passed through including the problem
Reason), such as: problem 1, settling time: on December 1st, 2018;It handles for the first time: in platform 1, state: processed;Platform is arrived
2, state: untreated.
S220: parsing trace logs determine the business track identification in trace logs.
Specifically, trace logs are parsed according to desired guiding trajectory log resolution rules, determines the business track in trace logs
Mark.
In a kind of possible embodiment, before this step, can also include: by the state of business trace logs from
Armed state is revised as processed state.Then, in the case where the state of business trace logs is processed state, parsing
Trace logs determine the business track identification in trace logs.
It can also include: to refer to sequentially in time in business before this step in alternatively possible embodiment
Cache business trace logs in the list of order.Then, the business rail cached in the list of service order is parsed sequentially in time
Mark log determines the business track identification in trace logs.
It should be noted that can be in conjunction with above two possible embodiment, i.e., in alternatively possible embodiment
In, it can also include: that the state of business trace logs is revised as processed state from armed state before this step;
The cache business trace logs in the list of service order sequentially in time;Then, service order is parsed sequentially in time
List in the business trace logs that cache, determine the business track identification in trace logs.
Alternatively, can also include: to exist sequentially in time before this step in another possible embodiment
Cache business trace logs in the list of service order;The cache business track day in the list of service order sequentially in time
Will.Then, the business trace logs cached in the list of service order are parsed sequentially in time, determine the industry in trace logs
Business track identification.
S230: judge that business track identification whether there is in default subscribing service home banking.
Specifically, CometD service is called, judgement business track identification is serviced according to CometD and is ordered with the presence or absence of in default
It reads in service identification library.
For deterministic process there are two types of possibility, the first possibility is exactly that in case of presence, and the situation has including two
The possible mode of kind: i.e. the first possible mode, S240: in case of presence, by the corresponding track of business track identification
Log is converted to PUSH message, in order to be serviced based on CometD by the user to PUSH message to subscribing service track identification
End push.Second of possible mode services according to CometD and is converted to the corresponding trace logs of business track identification wait push away
Message is sent, in order to push to PUSH message to the user terminal of subscribing service track identification based on CometD service.
Second of possibility is to abandon trace logs corresponding with business track identification in the case where being not present.
To sum up, it should be noted that above-mentioned default subscribing service home banking is determined based on following steps: being terminated by user
The default subscribing service home banking of user's creation is received, default subscribing service home banking includes at least one default subscribing service mark
Know.It is understood that because receiving the default subscribing service home banking of user's creation by user terminal, it is being based on
CometD service to user terminal push when, be according to preset subscribing service mark will be sent to PUSH message to corresponding user terminal
's.
Aforesaid way, changes the method that corresponding processing message is inquired in traditional timing, and the application uses data-pushing
Mode shortens processing speed;This method realizes message and does not land to be directly sent to and order without showing while being stored
The client read shortens the time interval that data exhibiting is generated to from data;In addition, this method can support multiple subscription
Client monitors the business track of same pen simultaneously, to promote user experience.
Specifically, according to above-mentioned method, the embodiment of the present application provides a kind of specific example, in order to understand the application
The method of the Message Processing of offer.It is described in detail in conjunction with Fig. 3.
Fig. 3 is a kind of data flow diagram of the method for Message Processing that the application one embodiment provides.
As shown in figure 3, being registered by small communication service problem, server-side business processing track is illustrated.Specifically it can wrap
Include following steps:
Firstly, server-side is received by client subscribes to the first pass information for having business track identification.Specifically, step
301: server-side, which is received, registers interface in " small communication service problem ", and the corresponding tracking unique identification of problem is accused in a Shen
(i.e. business track identification), in order to which server-side sorts out registration problem classification by similarity mode rule.
Step 302: server-side receives tracked business track identification by track following interface, i.e., takes in CometD
The channel title of business creation business track identification, and this channel title is subscribed to, accurate PUSH message is serviced for CometD
Foundation is provided.It is understood that channel title is equivalent to default subscribing service mark in the step, subscribing service is preset
Home banking includes at least one default subscribing service mark.
Then, server-side receives service order, generates corresponding business trace logs, business track day according to service order
Will is used for the life cycle of record traffic instruction.
Step 303: the generation of business trace logs, wherein in business service treatment process, the state of business processing and interior
When appearance changes, synchronous transmission business trace logs are to kafka/JMS log services, and kafka/JMS log services are chronologically
Trace logs are cached in message channel, for data collector processing business trace logs.
Step 304:Agent acquisition process program receives business trace logs from Kafka/JMS log services, and Agent is adopted
After collecting processing routine reception business trace logs, log services update cache business trace logs state and simultaneously remove list to be consumed
Sequence is to having consumed listing sequence.
Step 305:Agent acquisition process program parses a business trace logs by pre-track log resolution rules,
Obtain the business track identification of this information.
Step 306:Agent acquisition process program inquiring CometD service, judge subscribe to channel title whether with industry
Be engaged in track identification it is identical with, if it is not the same, abandoning this data.If identical, by the corresponding track of business track identification
Log is converted into channel message data.
Step 307: sending channel message data, the channel message data that collector is converted is led in CometD service
Message pusher is crossed, all subscription ends of the channel message are pushed to.
Step 308: subscription end receives the channel message data subscribed to according to track following interface automatically.
Step 309: track following interface parsing channel message data is converted into trace logs, using time shaft as sequence
Successively show business track, contact staff's real time inspection business processing for subscribing to the channel message is in progress.
It can be accurately positioned in the business track of big data quantity by the above method and show tracking business processing track,
Processing speed is improved, artificial waiting is reduced, achieve the effect that real-time tracking, multi-client interface while being tracked.
Fig. 4 is a kind of structural schematic diagram of the device for Message Processing that the application one embodiment provides.
As described in Figure 4, which may include:
Transceiver module 401 generates corresponding business trace logs according to the service order for receiving service order,
The business trace logs are used to record the life cycle of the service order;
Parsing module 402 determines the business track identification in the trace logs for parsing the trace logs;
Judgment module 403, for judging that the business track identification whether there is in default subscribing service home banking;
Processing module 404, in case of presence, the corresponding trace logs of the business track identification to be converted to
To PUSH message, in order to which the processing module 404 calls the transceiver module 401, serviced described based on CometD wait push away
Send message to the user terminal push for subscribing to the business track identification.
The application realizes message and does not land the client for being directly sent to subscription without showing while being stored,
Shorten the time interval that data exhibiting is generated to from data;It is accurately positioned according to business track identification, according to trace logs exhibition
Show tracking business processing track, improve processing speed, reduces artificial waiting, reach real-time tracking, multi-client interface simultaneously
The effect of tracking.In addition, this method can support the client of multiple subscription while monitor the business track of same pen, to be promoted
User experience.In a kind of possible embodiment, above-mentioned " parsing module " specifically can be used for, according to desired guiding trajectory log
Resolution rules parse the trace logs, determine the business track identification in the trace logs.
Processing module 404 can be also used for, the state of the business trace logs is revised as from armed state from
Reason state.
Parsing module 402 specifically can be used for, in the case where the state of the business trace logs is processed state,
The trace logs are parsed, determine the business track identification in the trace logs.
The device 40 can also include: cache module 405, for sequentially in time in the list of the service order
Cache the business trace logs.
Parsing module 402 specifically can be used for, and parses according to the time sequencing and caches in the list of the service order
Business trace logs, determine the business track identification in the trace logs.
Judgment module 403 specifically can be used for, and the CometD is called to service, according to CometD service judgement
Business track identification whether there is in default subscribing service home banking.
Processing module 404 specifically can be used for, and be serviced according to the CometD by the corresponding rail of the business track identification
Mark log is converted to PUSH message.
In case of absence, processing module 404 can be also used for, and abandon institute corresponding with the business track identification
State trace logs.
Processing module 404 can be also used for, and " default subscribing service home banking " described in determination is received by the user terminal
The default subscribing service home banking of user's creation includes at least one default subscribing service in the default subscribing service home banking
Mark.
Fig. 5 is a kind of structural schematic diagram of the equipment for Message Processing that the application one embodiment provides.
As shown in figure 5, the equipment of the Message Processing may include processor 501 and be stored with computer program instructions
Memory 502.
Specifically, above-mentioned processor 501 may include central processing unit (CPU) or specific integrated circuit
(Application Specific Integrated Circuit, ASIC), or may be configured to implement the application implementation
One or more integrated circuits of example.
Memory 502 may include the mass storage for data or instruction.For example it rather than limits, memory
502 may include hard disk drive (Hard Disk Drive, HDD), floppy disk drive, flash memory, CD, magneto-optic disk, tape or logical
With the combination of universal serial bus (Universal Serial Bus, USB) driver or two or more the above.It is closing
In the case where suitable, memory 502 may include the medium of removable or non-removable (or fixed).In a suitable case, it stores
Device 502 can be inside or outside synthesized gateway equipment.In a particular embodiment, memory 502 is nonvolatile solid state storage
Device.In a particular embodiment, memory 502 includes read-only memory (ROM).In a suitable case, which can be mask
ROM, programming ROM (PROM), erasable PROM (EPROM), the electric erasable PROM (EEPROM), electrically-alterable ROM of programming
(EAROM) or the combination of flash memory or two or more the above.
Processor 501 is by reading and executing the computer program instructions stored in memory 502, to realize above-mentioned implementation
The method of any one Message Processing in example.
Transceiver 503 is mainly used for realizing each module, device, unit, user terminal or server in the embodiment of the present invention
In at least two between communication.
In one example, which may also include bus 504.Wherein, as shown in figure 5, processor 501, memory 502
It is connected with transceiver 503 by bus 504 and completes mutual communication.
Bus 504 includes hardware, software or both, and above-mentioned component is coupled to each other together.For example it rather than limits,
Bus may include accelerated graphics port (AGP) or other graphics bus, enhancing Industry Standard Architecture (EISA) bus, front side bus
(FSB), super transmission (HT) interconnection, Industry Standard Architecture (ISA) bus, infinite bandwidth are interconnected, low pin count (LPC) bus, are deposited
Memory bus, micro- channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, string
Row Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association part (VLB) bus or other suitable buses or two
The combination of a or more the above.In a suitable case, bus 503 may include one or more buses.Although this Shen
Please embodiment have been described and illustrated specific bus, but the application considers any suitable bus or interconnection.
In addition, in conjunction with the method for the Message Processing in above-described embodiment, the embodiment of the present application can provide a kind of computer and deposit
Storage media is realized.Computer program instructions are stored in the computer storage medium;The computer program instructions are by processor
The method of any one Message Processing in above-described embodiment is realized when execution.
It should be clear that the application is not limited to specific configuration described above and shown in figure and processing.
For brevity, it is omitted here the detailed description to known method.In the above-described embodiments, several tools have been described and illustrated
The step of body, is as example.But the present processes process is not limited to described and illustrated specific steps, this field
Technical staff can be variously modified, modification and addition after understanding spirit herein, or suitable between changing the step
Sequence.
Functional block shown in above structural block diagram can be implemented as hardware, software, firmware or their combination.When
When realizing in hardware, electronic circuit, specific integrated circuit (ASIC), firmware appropriate, plug-in unit, function may, for example, be
Card etc..When being realized with software mode, the element of the application is used to execute the program or code segment of required task.Journey
Sequence perhaps code segment can store in machine readable media or the data-signal by being carried in carrier wave in transmission medium or
Person's communication links are sent." machine readable media " may include any medium for capableing of storage or transmission information.It is machine readable
The example of medium include electronic circuit, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disk, CD-ROM,
CD, hard disk, fiber medium, radio frequency (RF) link, etc..Code segment can be via the calculating of internet, Intranet etc.
Machine network is downloaded.
It should also be noted that, the exemplary embodiment referred in the application, is retouched based on a series of step or device
State certain methods or system.But the application is not limited to the sequence of above-mentioned steps, that is to say, that can be according in embodiment
The sequence referred to executes step, may also be distinct from that the sequence in embodiment or several steps are performed simultaneously.
More than, the only specific embodiment of the application, it is apparent to those skilled in the art that, in order to
Convenienct and succinct, system, the specific work process of module and unit of foregoing description of description can be implemented with reference to preceding method
Corresponding process in example, details are not described herein.It should be understood that the protection scope of the application is not limited thereto, it is any to be familiar with this skill
The technical staff in art field within the technical scope of the present application, can readily occur in various equivalent modifications or substitutions, these
Modifications or substitutions should all cover within the scope of protection of this application.
Claims (13)
1. a kind of method of Message Processing characterized by comprising
Service order is received, corresponding business trace logs are generated according to the service order, the business trace logs are used for
Record the life cycle of the service order;
The trace logs are parsed, determine the business track identification in the trace logs;
Judge that the business track identification whether there is in default subscribing service home banking;
In case of presence, the corresponding trace logs of the business track identification are converted to PUSH message, in order to base
It is pushed to PUSH message to the user terminal for subscribing to the business track identification in CometD service by described.
2. method according to claim 1, which is characterized in that the parsing trace logs determine the trace logs
In business track identification, comprising:
The trace logs are parsed according to desired guiding trajectory log resolution rules, determine the business track mark in the trace logs
Know.
3. method according to claim 1 or claim 2, which is characterized in that in the parsing trace logs, determine the track
Before the step of business track identification in log, further includes:
The state of the business trace logs is revised as processed state from armed state.
4. according to the method described in claim 3, it is characterized in that, the parsing trace logs, determine the track day
Business track identification in will, comprising:
In the case where the state of the business trace logs is processed state, the trace logs are parsed, determine the rail
Business track identification in mark log.
5. method according to claim 1 or claim 2, which is characterized in that in the parsing trace logs, determine the track
Before the step of business track identification in log, further includes:
The business trace logs are cached in the list of the service order sequentially in time.
6. according to the method described in claim 5, it is characterized in that, the parsing trace logs, determine the track day
Business track identification in will, comprising:
The business trace logs cached in the list of the service order are parsed according to the time sequencing, determine the track day
Business track identification in will.
7. method according to claim 1, which is characterized in that the judgement business track identification whether there is in default
In subscribing service home banking, comprising:
It calls the CometD to service, judges that the business track identification whether there is according to CometD service and ordered in default
It reads in service identification library.
8. method according to claim 7, which is characterized in that it is described in case of presence, by the business track identification
Corresponding trace logs are converted to PUSH message, comprising:
It is serviced according to the CometD and is converted to the corresponding trace logs of the business track identification to PUSH message.
9. method according to claim 1, which is characterized in that further include:
In case of absence, the trace logs corresponding with the business track identification are abandoned.
10. method according to claim 1, which is characterized in that wherein the default subscribing service home banking is based on following step
It is rapid to determine:
The default subscribing service home banking of user's creation is received by the user terminal, is wrapped in the default subscribing service home banking
Include at least one default subscribing service mark.
11. a kind of device of Message Processing characterized by comprising
Transceiver module generates corresponding business trace logs, the business according to the service order for receiving service order
Trace logs are used to record the life cycle of the service order;
Parsing module determines the business track identification in the trace logs for parsing the trace logs;
Judgment module, for judging that the business track identification whether there is in default subscribing service home banking;
Processing module, in case of presence, the corresponding trace logs of the business track identification to be converted to wait push
Message, in order to which the processing module calls the transceiver module, based on CometD service will it is described to PUSH message to subscription
The user terminal of the business track identification pushes.
12. a kind of equipment of Message Processing, which is characterized in that the equipment includes: processor and is stored with computer program
The memory of instruction;
Realize that the business as described in claim 1-10 any one is opened when the processor executes the computer program instructions
Logical and layout method.
13. a kind of computer storage medium, which is characterized in that be stored with computer program in the computer storage medium and refer to
Enable, realized when the computer program instructions are executed by processor service fulfillment as described in claim 1-10 any one with
The method of layout.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811567520.5A CN109672735A (en) | 2018-12-20 | 2018-12-20 | A kind of method, device and equipment of Message Processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811567520.5A CN109672735A (en) | 2018-12-20 | 2018-12-20 | A kind of method, device and equipment of Message Processing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109672735A true CN109672735A (en) | 2019-04-23 |
Family
ID=66144144
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811567520.5A Pending CN109672735A (en) | 2018-12-20 | 2018-12-20 | A kind of method, device and equipment of Message Processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109672735A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109726240A (en) * | 2018-12-26 | 2019-05-07 | 亚信科技(中国)有限公司 | Real time business trace tracking method and real time business trajectory processing method |
CN111064791A (en) * | 2019-12-19 | 2020-04-24 | 中国移动通信集团江苏有限公司 | Method, device, equipment and medium for processing identifier field of JMS (Java Server System) message |
CN111352760A (en) * | 2020-02-27 | 2020-06-30 | 深圳市腾讯网域计算机网络有限公司 | Data processing method and related device |
CN112579846A (en) * | 2020-12-30 | 2021-03-30 | 北京秒针人工智能科技有限公司 | Visualization method and system for user behavior track |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932176A (en) * | 2012-10-29 | 2013-02-13 | 深圳市华为技术软件有限公司 | Background program log tracking method, tracking side, service side and system |
CN103577443A (en) * | 2012-07-30 | 2014-02-12 | 中国银联股份有限公司 | Log processing system |
CN104008184A (en) * | 2014-06-10 | 2014-08-27 | 百度在线网络技术(北京)有限公司 | Method and device for pushing information |
CN104079662A (en) * | 2014-07-14 | 2014-10-01 | 中国联合网络通信集团有限公司 | Measuring system and method |
CN104618410A (en) * | 2013-11-04 | 2015-05-13 | 腾讯科技(北京)有限公司 | Resource push method and resource push device |
CN106021315A (en) * | 2016-05-05 | 2016-10-12 | 智者四海(北京)技术有限公司 | Log management method and system for application program |
-
2018
- 2018-12-20 CN CN201811567520.5A patent/CN109672735A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103577443A (en) * | 2012-07-30 | 2014-02-12 | 中国银联股份有限公司 | Log processing system |
CN102932176A (en) * | 2012-10-29 | 2013-02-13 | 深圳市华为技术软件有限公司 | Background program log tracking method, tracking side, service side and system |
CN104618410A (en) * | 2013-11-04 | 2015-05-13 | 腾讯科技(北京)有限公司 | Resource push method and resource push device |
CN104008184A (en) * | 2014-06-10 | 2014-08-27 | 百度在线网络技术(北京)有限公司 | Method and device for pushing information |
CN104079662A (en) * | 2014-07-14 | 2014-10-01 | 中国联合网络通信集团有限公司 | Measuring system and method |
CN106021315A (en) * | 2016-05-05 | 2016-10-12 | 智者四海(北京)技术有限公司 | Log management method and system for application program |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109726240A (en) * | 2018-12-26 | 2019-05-07 | 亚信科技(中国)有限公司 | Real time business trace tracking method and real time business trajectory processing method |
CN111064791A (en) * | 2019-12-19 | 2020-04-24 | 中国移动通信集团江苏有限公司 | Method, device, equipment and medium for processing identifier field of JMS (Java Server System) message |
CN111352760A (en) * | 2020-02-27 | 2020-06-30 | 深圳市腾讯网域计算机网络有限公司 | Data processing method and related device |
CN112579846A (en) * | 2020-12-30 | 2021-03-30 | 北京秒针人工智能科技有限公司 | Visualization method and system for user behavior track |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109672735A (en) | A kind of method, device and equipment of Message Processing | |
CN108090198B (en) | Graph database creating method, graph database creating device, graph database loading device, and graph database loading medium | |
CN109144842A (en) | Method and apparatus for test application | |
CN112395051B (en) | Data fusion implementation method and device of observability system | |
CN109284450B (en) | Method and device for determining order forming paths, storage medium and electronic equipment | |
CN106488256A (en) | A kind of data processing method and device | |
CN116048987A (en) | Processing method, device, electronic equipment, system and storage medium for flow business | |
CN111435380B (en) | Page cross-domain interaction method, system, device and storage device | |
CN112671878B (en) | Block chain information subscription method, device, server and storage medium | |
CN112433991A (en) | Problem positioning method and device | |
CN108563490A (en) | Explanation type rules process method, device, equipment and medium | |
CN113923190B (en) | Equipment identification jump identification method and device, server and storage medium | |
CN111242256B (en) | Information verification method, device and terminal | |
CN112651514B (en) | Operation and maintenance task execution method and device, operation and maintenance server and computer storage medium | |
CN114239486A (en) | Interface description document generation method, device, equipment and storage medium | |
CN107590148B (en) | Promotion information pushing method and system | |
CN111651479A (en) | Article evaluation method, device and related equipment | |
CN108737203A (en) | A kind of method and device of set extraction | |
CN112764888A (en) | Distributed transaction checking and judging method and system based on log analysis | |
CN109995731A (en) | It improves the method, apparatus of caching discharge flow, calculate equipment and storage medium | |
CN111949862A (en) | Method and device for managing business task flow and electronic equipment | |
CN105634874B (en) | Flow reports information calibration method and device | |
CN109981540A (en) | Firewall data optimization methods, device, computer equipment and readable storage medium storing program for executing | |
CN114071450B (en) | Recognition method and device for card changing behavior of machine changing | |
CN115705476A (en) | Information display method and device, electronic equipment and computer readable medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190423 |