CN109242244A - Electricity transaction bus task traffic monitor method and device, blocker - Google Patents

Electricity transaction bus task traffic monitor method and device, blocker Download PDF

Info

Publication number
CN109242244A
CN109242244A CN201810861813.8A CN201810861813A CN109242244A CN 109242244 A CN109242244 A CN 109242244A CN 201810861813 A CN201810861813 A CN 201810861813A CN 109242244 A CN109242244 A CN 109242244A
Authority
CN
China
Prior art keywords
task
data
receipt
sent
blocker
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810861813.8A
Other languages
Chinese (zh)
Other versions
CN109242244B (en
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.)
Kunming Electric Power Trading Center LLC
NR Electric Co Ltd
Original Assignee
Kunming Electric Power Trading Center LLC
NR Electric 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 Kunming Electric Power Trading Center LLC, NR Electric Co Ltd filed Critical Kunming Electric Power Trading Center LLC
Priority to CN201810861813.8A priority Critical patent/CN109242244B/en
Publication of CN109242244A publication Critical patent/CN109242244A/en
Application granted granted Critical
Publication of CN109242244B publication Critical patent/CN109242244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0637Strategic management or analysis, e.g. setting a goal or target of an organisation; Planning actions based on goals; Analysis or evaluation of effectiveness of goals
    • 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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply

Abstract

The present invention provides a kind of electricity transaction bus task traffic monitor method and device, blocker.The described method includes: blocker receives the effective address of task and the task that task transaction apparatus is sent;Data volume weighing is carried out to the task;The task is sent to the corresponding task performer of the effective address;Receive the task receipt from the task performer;Data volume weighing is carried out to the task receipt;The task receipt is sent to the task transaction apparatus.The present invention can be realized statistics monitoring and the decoupling of task performer, guarantee the efficiency of task circulation and processing, it is ensured that monitor to real-time and data flow quantity statistical, the timeliness of support mission execution efficiency and monitoring statistics.

Description

Electricity transaction bus task traffic monitor method and device, blocker
Technical field
The present invention relates to electricity transaction fields, and in particular to a kind of electricity transaction bus task traffic monitor method and dress It sets, blocker.
Background technique
With the hair of country " several opinions about further in-depth power system reform " (middle hair (2015) 9) text Cloth, new round power system reform are carried out in high gear in the whole nation.Transaction agent quantity is continuously increased on electricity market, transaction Scale is growing, and type of transaction is gradually enriched, and gradually develops to and in a few days hands over from medium and long-term transaction, monthly transaction and day-ahead power market Easy and real-time deal, service supporting capacity, extended capability of the continuous development of power market transaction business to electric power transaction platform Etc. propose requirements at the higher level.
The mode of previous task traffic statistics monitoring carries out acquisition and the meter of relevant parameter usually in task performer It calculates and finally unifies to being used on a data set store, parametric statistics is accurate in this mode very good solution actuator Property and validity, but also lead to that actuator needs to rely more heavily on statistical fractals and each actuator will be statistical data simultaneously One connection of collection maintenance, and then task performer needs occupied a part of resource to do statistics task to influence its sole duty and appoint Business efficiency.Service for each dispersion is unfavorable for concentrating statistics flow, and statistics computing cost, which is shared, should be only concerned business The task performer of calculating influences task performer and executes efficiency.This mode is it is difficult to ensure that each actuator resource is united simultaneously The time window synchronism of meter.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of electricity transaction bus task traffic monitor method, blocker and dress It sets, with support mission execution efficiency and the timeliness of monitoring statistics.
The embodiment of the invention provides a kind of electricity transaction bus task traffic monitor methods, comprising:
Blocker receives the effective address of task and the task that task transaction apparatus is sent;
Data volume weighing is carried out to the task;
The task is sent to the corresponding task performer of the effective address;
Receive the task receipt from the task performer;
Data volume weighing is carried out to the task receipt;
The task receipt is sent to the task transaction apparatus.
Further, the effective address letter of task and the task that task transaction apparatus is sent is received in the blocker Before breath, further includes:
Task transaction apparatus receives the task that task system is delivered;
Parse the purpose task performer information of the task;
The effective address of the purpose task performer is retrieved in the address list of address;
The effective address of the task and the task is sent to the blocker.
It is further, described that data volume weighing is carried out to the task, comprising:
The blocker weighs to obtain task flow data packet by carrying out data volume to the task;
The task flow data packet is sent to monitoring calculator;
The monitoring calculator parses the received data on flows packet and obtains volume computation.
It is further, described that data volume weighing is carried out to the task receipt, comprising:
The blocker carries out data volume to the task receipt and weighs to obtain receipt data on flows packet;
The receipt data on flows packet is sent to monitoring calculator;
The monitoring calculator parses the received data on flows packet and obtains volume computation.
Further, the monitoring calculator parses the received data on flows packet and obtains volume computation, wraps It includes:
The monitoring calculator parses the received data on flows packet;
Determine that the data on flows packet is task flow data packet or receipt data on flows packet;
The data on flows packet is carried out that volume computation is calculated;
The volume computation is stored to data warehouse.
It is further, described to store the volume computation to data warehouse, comprising:
The task is found in the task flow list in the data warehouse;
According to real-time sampling frequency, periodically the real-time traffic data storage of real-time queue in the volume computation is arrived Data warehouse;
According to history samples frequency, periodically the historical traffic data storage of historical queue in the volume computation is arrived Data warehouse.
The embodiment of the present invention also provides a kind of blocker, and the blocker receives the task and institute that task transaction apparatus is sent The effective address for stating task carries out data volume weighing to the task, it is corresponding that the task is sent to the effective address Task performer;
The blocker also receives the task receipt from the task performer, carries out data volume to the task receipt Weighing, is sent to the task transaction apparatus for the task receipt.
Further, the blocker includes:
Blocker is delivered, the effective address of task and the task that the task transaction apparatus is sent is received, to described Task carries out data volume and weighs to obtain task flow data packet, and the task flow data packet is sent to monitoring calculator; The task is sent to the corresponding task performer of the effective address;
Receipt blocker receives the task receipt from the task performer, carries out data volume to the task receipt Weighing obtains receipt data on flows packet, and the receipt data on flows packet is sent to the monitoring calculator;By the task Receipt is sent to the task transaction apparatus.
The embodiment of the present invention also provides a kind of electricity transaction bus task flow monitoring arrangement, comprising:
Blocker receives the effective address of task and the task that the task transaction apparatus is sent, to the task It carries out data volume to weigh to obtain task data flow packet, sends the task data flow packet to monitoring calculator, described will appoint Business is sent to the corresponding task performer of the effective address;The blocker also receives the task from the task performer Receipt, to the task receipt carry out data volume weigh to obtain receipt data traffic packet, send the receipt data traffic packet to The task receipt is sent to the task transaction apparatus by the monitoring calculator;
It monitors calculator, receives the data on flows packet from the blocker, parsing meter is carried out to the data on flows packet Calculation obtains volume computation, stores the calculated result to data warehouse.
Further, the blocker includes:
Blocker is delivered, the effective address of task and the task that task transaction apparatus is sent is received;To the task It carries out data volume to weigh to obtain task flow data packet, and the task flow data packet is sent to monitoring calculator;By institute The task of stating is sent to the corresponding task performer of the effective address;
Receipt blocker receives the task receipt from the task performer;Data volume is carried out to the task receipt Weighing obtains receipt data on flows packet, and the receipt data on flows packet is sent to the monitoring calculator;By the task Receipt is sent to the task transaction apparatus.
The technical solution that embodiment through the invention provides, proposes a kind of reality of electricity transaction bus task traffic monitor Existing method;It can be realized the decoupling of statistics monitoring and task performer, guarantee the efficiency of task circulation and processing, it is ensured that real-time Ground monitoring and data flow quantity statistical;To support mission execution efficiency and the timeliness of monitoring statistics.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of electricity transaction bus task traffic monitor method flow schematic diagram that one embodiment of the invention provides;
Fig. 2 is a kind of electricity transaction bus task traffic monitor method flow schematic diagram that one embodiment of the invention provides;
Fig. 3 is a kind of electricity transaction bus task traffic monitor method flow schematic diagram that one embodiment of the invention provides;
Fig. 4 is a kind of electricity transaction bus task traffic monitor method flow schematic diagram that one embodiment of the invention provides;
Fig. 5 is a kind of electricity transaction bus task traffic monitor method flow schematic diagram that one embodiment of the invention provides;
Fig. 6 is a kind of electricity transaction bus task traffic monitor method flow schematic diagram that one embodiment of the invention provides;
Fig. 7 is a kind of blocker composition schematic diagram that one embodiment of the invention provides;
Fig. 8 be another embodiment of the present invention provides a kind of blocker composition schematic diagram;
Fig. 9 is a kind of electricity transaction bus task flow monitoring arrangement composition schematic diagram that one embodiment of the invention provides;
Figure 10 be another embodiment of the present invention provides a kind of electricity transaction bus task flow monitoring arrangement composition signal Figure.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below with reference to drawings and examples, The specific embodiment progress of technical solution of the present invention in further detail, is clearly illustrated.However, specific implementations described below Mode and embodiment are for illustrative purposes only, rather than limiting the invention.It only contains a part of the invention and implements Example, instead of all the embodiments, the other embodiments that those skilled in the art obtain various change of the invention all belong to In the scope of protection of the invention.
Fig. 1 is a kind of electricity transaction bus task traffic monitor method flow schematic diagram that one embodiment of the invention provides, Include the following steps.
In step s 110, blocker receives the effective address of task and task that task transaction apparatus is sent.
Task transaction apparatus is the unified task access system of electric power transaction platform.The task system of electricity transaction is to platform institute The task requests of transmission require to carry out authorization check, request filtering and task forwarding, task transaction apparatus by task transaction apparatus Function as task postal delivery post office.Task transaction apparatus receives the task that task system is sent, and asks in task comprising task The person of asking, goal task executor, task parameters.Task transaction apparatus obtains address mapping relation and is buffered in local, receives external The authority information of task requests, analytic message head carries out fast verification, as lack of competence returns to error message.Believed according to task objective Breath, the address for obtaining available task actuator forward request.
Task is electricity transaction task, and the service type of task instances includes but is not limited to the read-write of main market players's master data And filing task, declaration data read-write and filing task, transaction results reading and writing data and filing task, continuous data read-write are appointed Business, checkout result read-write and filing task, analysis statistical result read-write and archiving services, data mart modeling calculate with statistics task, Data image takes task.
Blocker is the egress filtering module that task transaction apparatus sends task.Can be internal or external, to effective task Request is handled.Total blocker can be set in blocker, can also carry out classification setting according to type of service.Such as in this reality Applying blocker in example can be that task or receipt are arranged to deliver blocker or receipt blocker according to interception.Blocker point Class setting facilitates service distributing.After blocker receives the task and task effective address that task transaction apparatus is sent, data are carried out Traffic monitor.
In the step s 120, data volume weighing is carried out to task.
Blocker only carries out data volume weighing, the data volume length of calculating task content, without doing parsing dismounting to task Task.
In step s 130, task is sent to the corresponding task performer of effective address by blocker.
Each task performer is that by the clothes of isolated operation and the deployment of a certain electricity transaction reading and writing data Business process, task are sent to task performer, and task performer executes the task.
In step S140, the task receipt from task performer is received.
Each task performer is that by the clothes of isolated operation and the deployment of a certain electricity transaction reading and writing data Business process.After purpose task performer reception task carry out task processing, after processing generate task receipt, send task receipt to Blocker.Blocker is the ingress filtering module that task transaction apparatus receives receipt response, and blocker receives task transaction apparatus and sends Task receipt after, carry out data traffic monitoring.
In step S150, data volume weighing is carried out to task receipt.
Blocker only carries out data volume weighing, the data volume length of calculating task content, without parsing to task receipt Dismounting task.
In step S160, task receipt is sent to task transaction apparatus by blocker.
Task performer replys the task execution situation of distribution, and blocker carries out data volume weighing to task receipt Afterwards, task receipt is sent to task transaction apparatus, task transaction apparatus believes task receipt content according to the source address that request carries Breath is forwarded back to FTP client FTP.
It was found by the inventors of the present invention that the mode of existing task traffic statistics monitoring carries out usually in task performer The acquisition and calculating of relevant parameter, and finally unify onto a data set to store, cause task performer to need occupied one Part resource does statistics task, to influence its full-time execution task efficiency.This mode is it is difficult to ensure that each execution simultaneously The time window synchronism of device resource statistics.
In scheme provided in this embodiment, data volume is claimed by the way that blocker is arranged when task or task receipt are forwarded Weight, and it is additionally carried out statistical disposition, statistics task is separated from task performer, realizes statistics monitoring and task performer Decoupling, ensure that task circulation and processing efficiency.
Fig. 2 is a kind of electricity transaction bus task traffic monitor method flow schematic diagram that one embodiment of the invention provides, Include the following steps.
In step 201, task transaction apparatus receives the task that task system is delivered.
Task transaction apparatus is responsible for access platform client request, the verification of request, the filtering of request, task forwarding.Task Transaction apparatus configuration address address list, configuration task forward rule, initialization blocker, initialization are registered to address address list clothes Business.
In step 202, the purpose task performer information of task is parsed.
Task transaction apparatus parses received task, obtains its parameters, including task requester, target are appointed Task performer information, the task parameters of business execution.
In step 203, the effective address of purpose task performer is retrieved in the address list of address.
Address address list is the address administration of internal task actuator and task transaction apparatus in electric power transaction platform and appoints The service system of business registration, All Activity task performer need to access electric power transaction platform by address address list first and provide clothes Business, the system can be improved the managerial ability and extended capability of platform service.Address address list be responsible for offer task transaction apparatus and Each task performer Service Instance of the registration management service of task performer, task transaction apparatus and each server starts Afterwards, can all be registered in the address list of address, will be stored in the address of service mapping table of such address address list it is all can The information of task transaction apparatus and task performer example.
Initialization and the maintenance process of address address list are the following steps are included: the starting initialization address mapping of address address list Relation table opens service listening port.Configuration address after address address list client such as task transaction apparatus, task performer starting Address list simultaneously provides it information on services when establishing connection.After address address list accesses connection request, alignment site mapping table With the information on services of access and reject expired invalid address information, update address mapping table and simultaneously return newest address mapping information Back to the client-cache of access.Address address list opens address query interface, and access client is periodically looked into address address list Ask and update the address mapping table of caching.Task transaction apparatus after receiving task requests first in local search, if failure Task performer address lookup is initiated to address address list.
Search address address list after task transaction apparatus reception task, obtains the purpose task performer of task effectively Location.
In step 204, task transaction apparatus sends the effective address of task and task to blocker.
In step S210, blocker receives the effective address of task and task that task transaction apparatus is sent.
In step S220, data volume weighing is carried out to task.
In step S230, task is sent to the corresponding task performer of effective address.
In step S240, the task receipt from task performer is received.
In step s 250, data volume weighing is carried out to task receipt.
In step S260, task receipt is sent to task transaction apparatus.
Task transaction apparatus, address address list and task performer example can be deployed in same server, can also be with It is deployed on different server.The service listening port of each component cannot be the same, but task performer is deployed in same Identical port can be shared when server to access.
Task transaction apparatus obtains address mapping relation and is buffered in local, receives external tasks request, analytic message head Authority information carries out fast verification, as lack of competence returns to error message.According to task objective information, available task actuator is obtained Address forward request, the data volume length of blocker calculating task content-message body, and in real time to message pipeline transmitted traffic Packet.Task transaction apparatus receives the task requests receipt forwarded, calculates in blocker task definition message body length, And in real time to message pipeline transmitted traffic packet.Task transaction apparatus turns task receipt content according to the source address information that request carries Send back to FTP client FTP.
In the present embodiment, step S210, S220, S230, S240, S250, S260 and above-described embodiment step S110, S120, S130, S140, S150, S160 are identical, repeat no more.
In scheme provided in this embodiment, in scheme provided in this embodiment, task transaction apparatus is communicated by search address Record matches task and purpose task performer, it is thus identified that the permission of task circulation and processing improves efficiency.
Fig. 3 is a kind of electricity transaction bus task traffic monitor method flow schematic diagram that one embodiment of the invention provides, Include the following steps.
In step s310, blocker receives the effective address of task and task that task transaction apparatus is sent.
In step S321, blocker weighs to obtain task flow data packet by carrying out data volume to task.
Blocker only carries out data volume weighing, the data volume length of calculating task content, without doing parsing dismounting to task Task.The data on flows that blocker will acquire obtains task flow data packet after doing simple packaging.
In step S322, task flow data packet is sent to monitoring calculator.
Task flow data packet is transmitted to monitoring calculator by blocker, and in the present embodiment, blocker is task flow number It is issued to message pipeline according to packet, monitoring calculator receives task flow by monitoring the asynchronous message queue of the message pipeline Data packet.
In step S323, monitoring calculator parses received data on flows packet and obtains volume computation.
It monitors that calculator collects data on flows packet in the transmission end of message pipeline, parsing and industry is carried out to flow data packet Volume computation is calculated in business.
In step S330, task is sent to the corresponding task performer of effective address.
In step S340, the task receipt from task performer is received.
In step S350, data volume weighing is carried out to task receipt.
In step S360, task receipt is sent to task transaction apparatus.
In the present embodiment, step S310, S330, S340, S350, S360 and above-described embodiment step S110, S130, S140, S150, S160 are identical, repeat no more.
In scheme provided in this embodiment, when task forwards, blocker only weighs to data volume, ensure that intercept process Process hardly influences to deliver the time delay of forwarding.
Fig. 4 is a kind of electricity transaction bus task traffic monitor method flow schematic diagram that one embodiment of the invention provides, Include the following steps.
In step S410, blocker receives the effective address of task and task that task transaction apparatus is sent.
In the step s 420, data volume weighing is carried out to task.
In step S430, task is sent to the corresponding task performer of effective address.
In step S440, the task receipt from task performer is received.
In step S451, blocker carries out data volume to task receipt and weighs to obtain receipt data on flows packet.
Task performer generates task receipt after having executed task, and task receipt is sent to task and delivered by task performer Machine, by way of blocker.Blocker receives task receipt, carries out data volume weighing, the data of calculating task receipt to task receipt Length is measured, without doing parsing dismounting task.The data on flows that blocker will acquire obtains receipt data on flows after doing simple packaging Packet.
In step S452, receipt data on flows packet is sent to monitoring calculator.
Receipt data on flows packet is transmitted to monitoring calculator by blocker, and in the present embodiment, blocker is receipt flow number It is issued to message pipeline according to packet, monitoring calculator receives receipt flow by monitoring the asynchronous message queue of the message pipeline Data packet.
In step S453, monitoring calculator parses received data on flows packet and obtains volume computation.
It monitors that calculator collects data on flows packet in the transmission end of message pipeline, parsing and industry is carried out to flow data packet Volume computation is calculated in business.
In step S460, task receipt is sent to task transaction apparatus.
In the present embodiment, step S410, S420, S430, S440, S460 and above-described embodiment step S110, S120, S130, S140, S160 are identical, repeat no more.
In scheme provided in this embodiment, when task receipt forwards, blocker only weighs to data volume, ensure that at interception The process of reason hardly influences to deliver the time delay of forwarding.
Fig. 5 is a kind of electricity transaction bus task traffic monitor method flow schematic diagram that one embodiment of the invention provides, Include the following steps.
In step S510, blocker receives the effective address of task and task that task transaction apparatus is sent.
In step S521, blocker weighs to obtain task flow data packet by carrying out data volume to task.
In step S522, task flow data packet is sent to monitoring calculator.
Task flow data packet is transmitted to monitoring calculator by blocker, and in the present embodiment, blocker is task flow number It is issued to message pipeline according to packet, monitoring calculator receives task flow by monitoring the asynchronous message queue of the message pipeline Data packet.
In step S5231, monitoring calculator parses received data on flows packet.
It monitors that calculator receives as flow, arranges and process the service system stored, initializes monitoring information after starting Pipeline thread, the thread open cache synchronization timed task use for the data on flows packet in real-time monitoring information pipeline In the data on flows caching for synchronizing and updating monitoring calculator internal maintenance.The transmission end of message pipeline collect flow packet into Row parsing unpacking is filtered into task flow data packet or task receipt data on flows packet.
In step S5232, determine that data on flows packet is task flow data packet or receipt data on flows packet.
In step S5233, flow data packet is carried out volume computation is calculated.
Monitor that calculator carries out business calculating to flow data packet.Preferably, calculating can be placed in cache and calculate, Computational efficiency is improved, but is not limited thereto.
In step S5234, storage volume computation to data warehouse.
It monitors that calculator finds the task in the task flow list in data warehouse, is updated according to volume computation The data that task is corresponded in data warehouse, volume computation is persisted in data warehouse and is stored.
In step S530, task is sent to the corresponding task performer of effective address.
In step S540, the task receipt from task performer is received.
In step S550, data volume weighing is carried out to task receipt.
In step S560, task receipt is sent to task transaction apparatus.
In the present embodiment, step S510, S530, S540, S550, S560 and above-described embodiment step S110, S130, S140, S150, S160 are identical, repeat no more.
In scheme provided in this embodiment, monitor processing of the calculator to task flow, it is ensured that monitor to real-time and Data flow quantity statistical, has ensured the timeliness of monitoring statistics, while not influencing the efficiency of task circulation and processing again, improves electricity The ease for use and retractility of power transaction platform task performer access.
Fig. 6 is a kind of electricity transaction bus task traffic monitor method flow schematic diagram that one embodiment of the invention provides, Include the following steps.
In step S610, blocker receives the effective address of task and task that task transaction apparatus is sent.
In step S621, blocker weighs to obtain task flow data packet by carrying out data volume to task.
In step S622, task flow data packet is sent to monitoring calculator by blocker.
In step S6231, monitoring calculator parses received data on flows packet.
In step S6232, determine that data on flows packet is task flow data packet or receipt data on flows packet.
In step S6233, flow data packet is carried out volume computation is calculated.
In step S62341, task is found in the task flow list in data warehouse.
It monitors that calculator finds the task in the task flow list in data warehouse, is updated according to volume computation The data that task is corresponded in data warehouse, volume computation is persisted in data warehouse and is stored.
In step S62342, according to timing sampling frequency periodically by the real-time traffic of real-time queue in volume computation Data are stored to data warehouse.
In the present embodiment, real-time queue is built in monitoring calculator, implements data on flows and updates by date, real-time traffic Data judge whether the timestamp information in real-time traffic is same day data, if it is not, then in cleaning caching and database Corresponding invalid data.If it is, data warehouse is arrived in the real-time traffic data storage of real-time queue in volume computation. Monitor that the cache synchronization of calculator saves data, in order to calculate.
In step S62343, according to history samples frequency periodically by the historical traffic of historical queue in volume computation Data are stored into data warehouse.
In the present embodiment, historical queue is built in monitoring calculator, and the historical traffic data in data warehouse is periodically more Newly.Preferably, it monitors that the caching part of calculator is also synchronous and saves data, in order to calculate.
In step S630, task is sent to the corresponding task performer of effective address.
In step S640, the task receipt from task performer is received.
In step S650, data volume weighing is carried out to task receipt.
In step S660, task receipt is sent to task transaction apparatus.
In the present embodiment, step S610, S630, S640, S650, S660 and above-described embodiment step S110, S130, S140, S150, S160 are identical, repeat no more.
Fig. 7 is a kind of blocker that one embodiment of the invention provides.Blocker receives the task that task transaction apparatus is sent And the effective address of task, data volume weighing is carried out to task, task is sent to the corresponding task performer of effective address.It blocks It cuts device and also receives the task receipt from task performer, data volume weighing is carried out to task receipt, task receipt is sent to Task transaction apparatus.In the specific implementation process, blocker can use hardware realization, can also use software realization, not do specific Limitation.
Fig. 8 is a kind of blocker 1 that one embodiment of the invention provides, including delivers blocker 11, receipt blocker 12.
The effective address that blocker 11 receives task and task that task transaction apparatus is sent is delivered, data are carried out to task Amount weighing obtains task flow data packet, and the task flow data packet is sent to monitoring calculator;Task is sent to The corresponding task performer of effective address.Receipt blocker 12 receives the task receipt from task performer, to task receipt It carries out data volume to weigh to obtain receipt data on flows packet, and the receipt data on flows packet is sent to monitoring calculator;It will appoint Business receipt is sent to task transaction apparatus.
Fig. 9 is a kind of electricity transaction bus task flow monitoring arrangement that one embodiment of the invention provides, including blocker 21, calculator 22 is monitored.
Blocker 21 receives the effective address of task and task that task transaction apparatus is sent, carries out data volume to task and claims Task data traffic packet is restored, task data flow packet is sent to monitoring calculator 22, task is sent to effective address pair The task performer answered;Blocker 21 also receives the task receipt from task performer, carries out data volume to task receipt and claims Receipt data traffic packet is restored, receipt data traffic packet channel monitoring calculator 22 is sent, task receipt is sent to task and is thrown Pass machine.It monitors that calculator 22 receives the data on flows packet from blocker 21, analytical Calculation is carried out to flow data packet and is flowed Amount calculates as a result, storing calculated result to data warehouse.
Figure 10 be another embodiment of the present invention provides a kind of electricity transaction bus task flow monitoring arrangement, including intercept Device 31, monitoring calculator 32, blocker 31 include delivering blocker 311, receipt blocker 312.
The effective address that blocker 311 receives task and task that task transaction apparatus is sent is delivered, task is counted Task data flow packet is obtained according to amount weighing and obtains task flow data packet, and the task flow data packet is sent to monitoring Task is sent to the corresponding task performer of effective address by calculator 32.Receipt blocker 312, which receives, comes from task performer Task receipt, data volume is carried out to task receipt and weighs to obtain receipt data traffic packet, sends receipt data traffic packet road prison Depending on calculator 32, task receipt is sent to task transaction apparatus.Monitor that calculator 32 receives the data on flows from blocker 31 Packet carries out analytical Calculation to flow data packet and obtains volume computation, storage calculated result to data warehouse.It is being embodied In the process, the device for implementing these methods can take any various bodies, specifically, blocker 31, monitoring calculator 32 Hardware realization can be used, can also be realized with software realization or hardware and combination of software, and be not particularly limited.
It should be noted that each embodiment above by reference to described in attached drawing is only to illustrate the present invention rather than limits this The range of invention, those skilled in the art should understand that, it is right under the premise without departing from the spirit and scope of the present invention The modification or equivalent replacement that the present invention carries out, should all cover within the scope of the present invention.In addition, signified unless the context Outside, the word occurred in the singular includes plural form, and vice versa.In addition, unless stated otherwise, then any embodiment All or part of in combination with any other embodiment all or part of come using.

Claims (10)

1. a kind of electricity transaction bus task traffic monitor method, comprising:
Blocker receives the effective address of task and the task that task transaction apparatus is sent;
Data volume weighing is carried out to the task;
The task is sent to the corresponding task performer of the effective address;
Receive the task receipt from the task performer;
Data volume weighing is carried out to the task receipt;
The task receipt is sent to the task transaction apparatus.
2. according to the method described in claim 1, wherein, receiving the task and institute that task transaction apparatus is sent in the blocker Before the effective address information for stating task, further includes:
Task transaction apparatus receives the task that task system is delivered;
Parse the purpose task performer information of the task;
The effective address of the purpose task performer is retrieved in the address list of address;
The effective address of the task and the task is sent to the blocker.
3. described to carry out data volume weighing to the task according to the method described in claim 1, wherein, comprising:
The blocker weighs to obtain task flow data packet by carrying out data volume to the task;
The task flow data packet is sent to monitoring calculator;
The monitoring calculator parses the received data on flows packet and obtains volume computation.
4. described to carry out data volume weighing to the task receipt according to the method described in claim 1, wherein, comprising:
The blocker carries out data volume to the task receipt and weighs to obtain receipt data on flows packet;
The receipt data on flows packet is sent to monitoring calculator;
The monitoring calculator parses the received data on flows packet and obtains volume computation.
5. according to the described in any item methods of claim 3 or 4, wherein the monitoring calculator parses the received flow Data packet and obtain volume computation, comprising:
The monitoring calculator parses the received data on flows packet;
Determine that the data on flows packet is task flow data packet or receipt data on flows packet;
The data on flows packet is carried out that volume computation is calculated;
The volume computation is stored to data warehouse.
6. according to the method described in claim 5, wherein, the storage volume computation to data warehouse, comprising:
The task is found in the task flow list in the data warehouse;
According to real-time sampling frequency, periodically by the real-time traffic data storage of real-time queue in the volume computation to data Warehouse;
According to history samples frequency, periodically by the historical traffic data storage of historical queue in the volume computation to data Warehouse.
7. a kind of blocker, the blocker receives the effective address of task and the task that task transaction apparatus is sent, right The task carries out data volume weighing, and the task is sent to the corresponding task performer of the effective address;
The blocker also receives the task receipt from the task performer, carries out data volume to the task receipt and claims Weight, is sent to the task transaction apparatus for the task receipt.
8. blocker according to claim 7, comprising:
Blocker is delivered, the effective address of task and the task that the task transaction apparatus is sent is received, to the task It carries out data volume to weigh to obtain task flow data packet, and the task flow data packet is sent to monitoring calculator;By institute The task of stating is sent to the corresponding task performer of the effective address;
Receipt blocker receives the task receipt from the task performer, carries out data volume weighing to the task receipt Receipt data on flows packet is obtained, and the receipt data on flows packet is sent to the monitoring calculator;By the task receipt It is sent to the task transaction apparatus.
9. a kind of electricity transaction bus task flow monitoring arrangement, comprising:
Blocker receives the effective address of task and the task that the task transaction apparatus is sent, carries out to the task Data volume weighs to obtain task data flow packet, sends the task data flow packet to monitoring calculator, the task is sent out Send task performer corresponding to the effective address;The blocker also receives the task from the task performer and returns It holds, data volume is carried out to the task receipt and weighs to obtain receipt data traffic packet, sends the receipt data traffic packet to institute Monitoring calculator is stated, the task receipt is sent to the task transaction apparatus;
It monitors calculator, receives the data on flows packet from the blocker, analytical Calculation is carried out to the data on flows packet and is obtained To volume computation, the calculated result is stored to data warehouse.
10. device according to claim 9, wherein the blocker includes:
Blocker is delivered, the effective address of task and the task that task transaction apparatus is sent is received;The task is carried out Data volume weighs to obtain task flow data packet, and the task flow data packet is sent to monitoring calculator;Described it will appoint Business is sent to the corresponding task performer of the effective address;
Receipt blocker receives the task receipt from the task performer;Data volume weighing is carried out to the task receipt Receipt data on flows packet is obtained, and the receipt data on flows packet is sent to the monitoring calculator;By the task receipt It is sent to the task transaction apparatus.
CN201810861813.8A 2018-08-01 2018-08-01 Method and device for monitoring task flow of power transaction bus and interceptor Active CN109242244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810861813.8A CN109242244B (en) 2018-08-01 2018-08-01 Method and device for monitoring task flow of power transaction bus and interceptor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810861813.8A CN109242244B (en) 2018-08-01 2018-08-01 Method and device for monitoring task flow of power transaction bus and interceptor

Publications (2)

Publication Number Publication Date
CN109242244A true CN109242244A (en) 2019-01-18
CN109242244B CN109242244B (en) 2021-11-12

Family

ID=65073391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810861813.8A Active CN109242244B (en) 2018-08-01 2018-08-01 Method and device for monitoring task flow of power transaction bus and interceptor

Country Status (1)

Country Link
CN (1) CN109242244B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8259588B2 (en) * 2009-06-24 2012-09-04 Oracle International Corporation System and method for processing communications using service interceptors
CN103577468A (en) * 2012-08-03 2014-02-12 中国银联股份有限公司 Flow controlling device and method applied to OLTP (On-Line Transaction Processing) system
CN105761109A (en) * 2016-02-19 2016-07-13 刘隽琦 Smart management system for energy management and electricity transaction in virtual power plant and method for optimizing operation thereof
CN106301971A (en) * 2016-11-17 2017-01-04 国家电网公司 Electric power application performance monitoring system based on flow analysis
CN106598966A (en) * 2015-10-14 2017-04-26 阿里巴巴集团控股有限公司 Webpage processing method and device
CN106647437A (en) * 2016-09-30 2017-05-10 衡水益通管业股份有限公司 Internet-based pipe rack signal acquisition node execution controller and monitoring method thereof
CN107632894A (en) * 2017-08-09 2018-01-26 中国电力科学研究院 A kind of implementation method and device for power market transaction service call
CN108121312A (en) * 2017-11-29 2018-06-05 南瑞集团有限公司 ARV SiteServer LBSs and method based on integrated water electricity control platform

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8259588B2 (en) * 2009-06-24 2012-09-04 Oracle International Corporation System and method for processing communications using service interceptors
CN103577468A (en) * 2012-08-03 2014-02-12 中国银联股份有限公司 Flow controlling device and method applied to OLTP (On-Line Transaction Processing) system
CN106598966A (en) * 2015-10-14 2017-04-26 阿里巴巴集团控股有限公司 Webpage processing method and device
CN105761109A (en) * 2016-02-19 2016-07-13 刘隽琦 Smart management system for energy management and electricity transaction in virtual power plant and method for optimizing operation thereof
CN106647437A (en) * 2016-09-30 2017-05-10 衡水益通管业股份有限公司 Internet-based pipe rack signal acquisition node execution controller and monitoring method thereof
CN106301971A (en) * 2016-11-17 2017-01-04 国家电网公司 Electric power application performance monitoring system based on flow analysis
CN107632894A (en) * 2017-08-09 2018-01-26 中国电力科学研究院 A kind of implementation method and device for power market transaction service call
CN108121312A (en) * 2017-11-29 2018-06-05 南瑞集团有限公司 ARV SiteServer LBSs and method based on integrated water electricity control platform

Also Published As

Publication number Publication date
CN109242244B (en) 2021-11-12

Similar Documents

Publication Publication Date Title
CN107528870B (en) A kind of collecting method and its equipment
CN109857518A (en) A kind of distribution method and equipment of Internet resources
EP2544408A1 (en) Parallel processing for multiple instance real-time monitoring
CN110047014A (en) A kind of user's electricity data restorative procedure based on load curve and history electricity
CN103414608B (en) Rapid web flow collection statistical system and method
CN105814931A (en) Network modeling based on mobile network signal
KR20170106648A (en) High-capacity network data processing techniques
CN101902497B (en) Cloud computing based internet information monitoring system and method
CN108959337A (en) Big data acquisition methods, device, equipment and storage medium
CN106815254B (en) Data processing method and device
CN103577251A (en) Event based Internet computing processing system and method
CN109901927A (en) Intelligent Task dynamic scheduling system and its method
CN108881516A (en) A kind of method and apparatus for dispatching more CDN service systems
CN110213203A (en) Network dispatching method, device and computer storage medium
CN110377854A (en) User access activity information monitoring method and device, computer equipment
CN110191160A (en) A kind of concurrency control method and device
CN108989147A (en) SDN network Flow Measuring System and method based on FPGA
CN103778041B (en) Data monitoring method and device for internet
CN111258760A (en) Platform management method, system, device and storage medium
CN106713456A (en) Network bandwidth statistics method and device
CN109242244A (en) Electricity transaction bus task traffic monitor method and device, blocker
CN110233840A (en) A kind of method for processing business, device, equipment and storage medium
CN109560940A (en) A kind of charging method and device of content distribution network CDN service
CN105515842B (en) A kind of general polling system and querying method based on network data
CN106161339B (en) Obtain the method and device of IP access relations

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant