CN109144429A - A kind of water utilities device data acquisition method and device based on buffer pool - Google Patents

A kind of water utilities device data acquisition method and device based on buffer pool Download PDF

Info

Publication number
CN109144429A
CN109144429A CN201811082519.3A CN201811082519A CN109144429A CN 109144429 A CN109144429 A CN 109144429A CN 201811082519 A CN201811082519 A CN 201811082519A CN 109144429 A CN109144429 A CN 109144429A
Authority
CN
China
Prior art keywords
request message
device data
data
buffer pool
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811082519.3A
Other languages
Chinese (zh)
Inventor
李贵生
汪钦堤
谢远勇
李志�
林健森
林智敏
陈家琳
陈醒
代艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Zhiheng Electronic New Technology Co Ltd
Original Assignee
Fujian Zhiheng Electronic New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Zhiheng Electronic New Technology Co Ltd filed Critical Fujian Zhiheng Electronic New Technology Co Ltd
Priority to CN201811082519.3A priority Critical patent/CN109144429A/en
Publication of CN109144429A publication Critical patent/CN109144429A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0656Data buffering arrangements

Abstract

The present invention provides a kind of water utilities device data acquisition method based on buffer pool, including water utilities intelligent terminal to data acquisition service interface sending device data request information, and device data request message is put into distributed buffering pond by data acquisition service interface;Distributed buffering pond is lined up device data request message, and returns to response message by data acquisition service interface and give water utilities intelligent terminal;Device data request message in the data monitoring service acquisition queue of simultaneous buffering pond, and device data is parsed from device data request message;The device data parsed is sent to data persistence storage service and carries out persistence, and the storage state of device data is returned and is recorded in the service of buffer pool data monitoring.The invention has the advantages that can be effectively reduced the response time, improving response efficiency and concurrent capability, the concurrent data requests of the extensive water utilities intelligent terminal of City-level can be supported well.

Description

A kind of water utilities device data acquisition method and device based on buffer pool
Technical field
The present invention relates to water utilities data processing field, in particular to a kind of water utilities device data acquisition based on buffer pool Method and device.
Background technique
With wisdom water utilities development and technology of Internet of things it is increasingly mature, the intelligent telemetering terminal of water enterprise is set It is standby also more and more.Currently, when acquiring the data of water utilities intelligent terminal, when background service interface to water utilities intelligence Can terminal device data after, require first to store data into just returned after database response message to water utilities intelligence eventually End equipment;Since the entire response time is longer, under causing response efficiency and concurrent capability all relatively low, it has been difficult to support city The concurrent data requests of the extensive water utilities intelligent terminal of city-level.
Summary of the invention
One of the technical problem to be solved in the present invention is to provide a kind of water utilities device data acquisition based on buffer pool It is existing when returning to response message to water utilities intelligent terminal to be able to solve the prior art by the acquisition method for method Response time is long, response efficiency and concurrent capability are low, and be difficult to support the extensive water utilities intelligent terminal of City-level and The problem of sending out request of data.
The present invention is realized in one of technical problem: a kind of water utilities device data acquisition method based on buffer pool, Described method includes following steps:
Step S1, water utilities intelligent terminal is adopted to data acquisition service interface sending device data request information, data Collect service interface and device data request message is put into distributed buffering pond;
Step S2, distributed buffering pond is lined up device data request message, and passes through data acquisition service interface It returns to response message and gives water utilities intelligent terminal;Meanwhile the device data in buffer pool data monitoring service acquisition queue is asked Message is sought, and parses device data from device data request message;
Step S3, the device data parsed is sent to data persistence storage service and carries out persistence, and will set The storage state of standby data is returned and is recorded in the service of buffer pool data monitoring.
Further, in the step S1, device data request message is put into point by the data acquisition service interface Cloth buffer pool specifically:
Data acquisition service interface is right after the device data request message for receiving the transmission of water utilities intelligent terminal The legitimacy of water utilities intelligent terminal is verified, and if be proved to be successful, and calls the interface in distributed buffering pond, will Device data request message is put into distributed buffering pond;If authentication failed, device data request message is not put into To distributed buffering pond, and returns to authentication failed message and give water utilities intelligent terminal.
Further, the step S2 is specifically included are as follows:
Device data request message is put into buffer pool by step 21, distributed buffering pond according to received time sequencing It is lined up, and the status information for being put into buffer pool queuing is returned into data acquisition service interface;
Step 22, data acquisition service interface analysis state information obtain parsing result, and parsing result are returned to water supply Business intelligent terminal;
Whether step 23, buffer pool data monitoring service monitoring distributed buffering have device data request message to arrive in pond It reaches, and is reached if having monitored device data request message, trigger data acquisition request, and enter step 24;If prison It controls no device data request message to reach, then the service of buffer pool data monitoring continues to monitor;
Step 24, buffer pool data monitoring service call distributed buffering pond interface, and according to message queue sequence from Device data request message is obtained in distributed buffering pond;
Step 25, the service of buffer pool data monitoring carry out protocol analysis to the device data request message of acquisition, and obtain Device data out.
Further, the step S3 is specifically included:
Step S31, the device data that buffer pool data monitoring service parses is sent to data persistence storage clothes Business, received device data is saved in hardware disk by data persistence storage service, and by the storage state of device data Return to the service of buffer pool data monitoring;
Step S32, the storage state of buffer pool data monitoring service log device data, and according to the storage shape of return State judges whether to store successfully, and if stored successfully, terminates process;If storage failure, according to message SN weight The new interface for calling distributed buffering pond obtains device data request message, and return step 25.
The second technical problem to be solved by the present invention is to provide a kind of water utilities device data acquisition based on buffer pool It is existing when returning to response message to water utilities intelligent terminal to be able to solve the prior art by the acquisition device for device Response time is long, response efficiency and concurrent capability are low, and be difficult to support the extensive water utilities intelligent terminal of City-level and The problem of sending out request of data.
The present invention is realized in the twos' of technical problem: a kind of water utilities device data acquisition device based on buffer pool, The acquisition device includes request message module, request message is lined up and parsing module and data memory module;
The request message module is used for water utilities intelligent terminal to data acquisition service interface sending device data Device data request message is put into distributed buffering pond by request message, data acquisition service interface;
The request message is lined up and parsing module, arranges for distributed buffering pond device data request message Team, and response message is returned to by data acquisition service interface and gives water utilities intelligent terminal;Meanwhile buffer pool data monitoring Device data request message in service acquisition queue, and device data is parsed from device data request message;
The data memory module is carried out for the device data parsed to be sent to data persistence storage service Persistence, and the storage state of device data is returned and is recorded in the service of buffer pool data monitoring.
Further, in the request message module, the data acquisition service interface is by device data request message It is put into distributed buffering pond specifically:
Data acquisition service interface is right after the device data request message for receiving the transmission of water utilities intelligent terminal The legitimacy of water utilities intelligent terminal is verified, and if be proved to be successful, and calls the interface in distributed buffering pond, will Device data request message is put into distributed buffering pond;If authentication failed, device data request message is not put into To distributed buffering pond, and returns to authentication failed message and give water utilities intelligent terminal.
Further, the request message, which is lined up, specifically includes request message queued units, status information with parsing module Resolution unit, request message monitoring unit, request message acquiring unit and request message resolution unit;
The request message queued units ask device data according to received time sequencing for distributed buffering pond It asks message to be put into buffer pool to be lined up, and the status information for being put into buffer pool queuing is returned into data acquisition service interface;
The status information resolution unit obtains parsing result for data acquisition service interface analysis state information, and Parsing result is returned into water utilities intelligent terminal;
The request message monitoring unit, for whether having in buffer pool data monitoring service monitoring distributed buffering pond Device data request message reaches, and if having monitored the arrival of device data request message, trigger data acquisition request, And enter the request message acquiring unit;If monitoring no device data request message to reach, buffer pool data prison Control service continues to monitor;
The request message acquiring unit, for the interface in buffer pool data monitoring service call distributed buffering pond, and Device data request message is obtained from distributed buffering pond according to message queue sequence;
The request message resolution unit, for the service of buffer pool data monitoring to the device data request message of acquisition Protocol analysis is carried out, and obtains out device data.
Further, the data memory module specifically includes persistent storage unit and storage state judging unit;
The persistent storage unit, the device data for parsing buffer pool data monitoring service are sent to number According to persistent storage service, received device data is saved in hardware disk by data persistence storage service, and by equipment The storage state of data returns to the service of buffer pool data monitoring;
The storage state judging unit, for the storage state of buffer pool data monitoring service log device data, and Judge whether to store successfully according to the storage state of return, and if stored successfully, terminates process;If storage failure, Device data request message is obtained according to the interface that message SN re-calls distributed buffering pond, and returns to the request Message parsing unit.
The present invention has the advantage that 1, after device data request message is put into buffer pool, just directly return response Message gives water utilities intelligent terminal, without therefore can be effectively reduced the response time by the interaction of database, mentioning High response efficiency and concurrent capability can support the concurrent data requests of the extensive water utilities intelligent terminal of City-level well; 2, data persistence storage service provides the persistence mechanism of device data, simultaneous buffering pond data prison by hardware disk Control services recordable device data storage state, and judges state data memory, according to message SN if storing failure It re-calls distributed caching pond interface and obtains device data request message, can effectively avoid device data loss.
Detailed description of the invention
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is a kind of water utilities device data acquisition method architecture diagram based on buffer pool of the present invention.
Fig. 2 is a kind of execution flow chart of the water utilities device data acquisition method based on buffer pool of the present invention.
Specific embodiment
Please refer to shown in Fig. 1 to Fig. 2, a kind of water utilities device data acquisition method based on buffer pool of the present invention it is preferable Embodiment, described method includes following steps:
Step S1, water utilities intelligent terminal is adopted to data acquisition service interface sending device data request information, data Collect service interface and device data request message is put into distributed buffering pond;Wherein, the water utilities intelligent terminal can be The equipment such as flowmeter, pressure gauge, water quality monitoring equipment, terminal family table, teletransmission RTU.
In the step S1, device data request message is put into distributed buffering by the data acquisition service interface Pond specifically: data acquisition service interface is right after the device data request message for receiving the transmission of water utilities intelligent terminal The legitimacy of water utilities intelligent terminal is verified (for example, whether verifying water utilities intelligent terminal has certification), and if It is proved to be successful, then calls the interface in distributed buffering pond, device data request message is put into distributed buffering pond;Such as Device data request message is not then put into distributed buffering pond by fruit authentication failed, and returns to authentication failed message to water utilities Intelligent terminal.
Step S2, distributed buffering pond is lined up device data request message, and passes through data acquisition service interface It returns to response message and gives water utilities intelligent terminal;Meanwhile the device data in buffer pool data monitoring service acquisition queue is asked Message is sought, and parses device data from device data request message;
The step S2 is specifically included are as follows:
Device data request message is put into buffer pool by step 21, distributed buffering pond according to received time sequencing Be lined up, with etc. it is to be processed, and by be put into buffer pool queuing status information return to data acquisition service interface;
Step 22, data acquisition service interface analysis state information obtain parsing result (for example, device data request disappears Breath has become power amplifier and enters buffer pool), and parsing result is returned into water utilities intelligent terminal;The present invention is used device data After request message is put into buffer pool, just directly water utilities intelligent terminal is given in return response message (i.e. parsing result), without To pass through the interaction of database, i.e., previous server hard disc interaction is promoted to the interaction for arriving memory hierarchy, therefore, Neng Gouyou Effect reduces the response time, improves response efficiency and concurrent capability, and the extensive water utilities intelligent terminal of City-level can be supported to set well Standby concurrent data requests.
Whether step 23, buffer pool data monitoring service monitoring distributed buffering have device data request message to arrive in pond It reaches, and is reached if having monitored device data request message, trigger data acquisition request, and enter step 24;If prison It controls no device data request message to reach, then the service of buffer pool data monitoring continues to monitor;
Step 24, buffer pool data monitoring service call distributed buffering pond interface, and according to message queue sequence from Device data request message is obtained in distributed buffering pond, that is, the device data request message for being introduced into message queue just first obtains It takes, the rear device data request message into message queue is just rear to be obtained;
Step 25, the service of buffer pool data monitoring carry out protocol analysis to the device data request message of acquisition, and obtain Device data out.
Step S3, the device data parsed is sent to data persistence storage service and carries out persistence, and will set The storage state of standby data is returned and is recorded in the service of buffer pool data monitoring;
The step S3 is specifically included:
Step S31, the device data that buffer pool data monitoring service parses is sent to data persistence storage clothes Received device data is saved in hardware disk by business, data persistence storage service, provides number of devices by hardware disk According to persistence mechanism, can effectively avoid device data loss, and by the storage state of device data return buffer pool data Monitoring service;
Step S32, the storage state of buffer pool data monitoring service log device data, and according to the storage shape of return State judges whether to store successfully, and if stored successfully, terminates process;If storage failure, according to message SN weight The new interface for calling distributed buffering pond obtains device data request message, and return step 25.
It please refers to shown in Fig. 1 to figure, a kind of preferable reality of the water utilities device data acquisition device based on buffer pool of the present invention Example is applied, the acquisition device includes request message module, request message is lined up and parsing module and data memory module;
The request message module is used for water utilities intelligent terminal to data acquisition service interface sending device data Device data request message is put into distributed buffering pond by request message, data acquisition service interface;Wherein, the water utilities intelligence Energy terminal device can be the equipment such as flowmeter, pressure gauge, water quality monitoring equipment, terminal family table, teletransmission RTU.
In the request message module, device data request message is put into distribution by the data acquisition service interface Formula buffer pool specifically: data acquisition service interface disappears in the device data request for receiving the transmission of water utilities intelligent terminal After breath, the legitimacy of water utilities intelligent terminal is verified and (is recognized for example, whether verifying water utilities intelligent terminal has Card), and if be proved to be successful, the interface in distributed buffering pond is called, device data request message is put into distributed slow It rushes in pond;If authentication failed, device data request message distributed buffering pond is not put into, and return to authentication failed Message gives water utilities intelligent terminal.
The request message is lined up and parsing module, arranges for distributed buffering pond device data request message Team, and response message is returned to by data acquisition service interface and gives water utilities intelligent terminal;Meanwhile buffer pool data monitoring Device data request message in service acquisition queue, and device data is parsed from device data request message;
The request message be lined up with parsing module specifically include request message queued units, status information resolution unit, Request message monitoring unit, request message acquiring unit and request message resolution unit;
The request message queued units ask device data according to received time sequencing for distributed buffering pond Ask message to be put into buffer pool to be lined up, with etc. it is to be processed, and will be put into buffer pool queuing status information return to data acquisition Service interface;
The status information resolution unit obtains parsing result (example for data acquisition service interface analysis state information Such as, device data request message has become power amplifier and enters buffer pool), and parsing result is returned into water utilities intelligent terminal;This hair After device data request message is put into buffer pool by bright use, response message (i.e. parsing result) is just directly returned to water utilities intelligence Previous server hard disc interaction is promoted without the interaction by database and arrives memory hierarchy by energy terminal device Therefore interaction can be effectively reduced the response time, improve response efficiency and concurrent capability, can support the big rule of City-level well The concurrent data requests of mould water utilities intelligent terminal.
The request message monitoring unit, for whether having in buffer pool data monitoring service monitoring distributed buffering pond Device data request message reaches, and if having monitored the arrival of device data request message, trigger data acquisition request, And enter the request message acquiring unit;If monitoring no device data request message to reach, buffer pool data prison Control service continues to monitor;
The request message acquiring unit, for the interface in buffer pool data monitoring service call distributed buffering pond, and Device data request message is obtained from distributed buffering pond according to message queue sequence, that is, is introduced into the equipment of message queue Data request information just first obtains, and the rear device data request message into message queue is just rear to be obtained;
The request message resolution unit, for the service of buffer pool data monitoring to the device data request message of acquisition Protocol analysis is carried out, and obtains out device data.
The data memory module is carried out for the device data parsed to be sent to data persistence storage service Persistence, and the storage state of device data is returned and is recorded in the service of buffer pool data monitoring;
The data memory module specifically includes persistent storage unit and storage state judging unit;
The persistent storage unit, the device data for parsing buffer pool data monitoring service are sent to number According to persistent storage service, received device data is saved in hardware disk by data persistence storage service, passes through hardware Disk provides the persistence mechanism of device data, can effectively avoid device data loss, and by the storage state of device data Return to the service of buffer pool data monitoring;
The storage state judging unit, for the storage state of buffer pool data monitoring service log device data, and Judge whether to store successfully according to the storage state of return, and if stored successfully, terminates process;If storage failure, Device data request message is obtained according to the interface that message SN re-calls distributed buffering pond, and returns to the request Message parsing unit.
In conclusion the present invention has the advantage that 1, after device data request message is put into buffer pool, it is just straight It connects return response message and gives water utilities intelligent terminal, without therefore can be effectively reduced by the interaction of database Response time improves response efficiency and concurrent capability, can support well the extensive water utilities intelligent terminal of City-level and Send out request of data;2, data persistence storage service provides the persistence mechanism of device data by hardware disk, delays simultaneously Rushing pond data monitoring service can record device data storage state, and judge state data memory, the basis if storing failure Message SN re-calls distributed caching pond interface and obtains device data request message, can effectively avoid device data and loses It loses.
Although specific embodiments of the present invention have been described above, those familiar with the art should Understanding, we are merely exemplary described specific embodiment, rather than for the restriction to the scope of the present invention, it is ripe Knowing those skilled in the art according to modification and variation equivalent made by spirit of the invention, should all cover at this In the scope of the claimed protection of invention.

Claims (8)

1. a kind of water utilities device data acquisition method based on buffer pool, it is characterised in that: described method includes following steps:
Step S1, water utilities intelligent terminal takes to data acquisition service interface sending device data request information, data acquisition Device data request message is put into distributed buffering pond by business interface;
Step S2, distributed buffering pond is lined up device data request message, and is returned by data acquisition service interface Response message gives water utilities intelligent terminal;Meanwhile the device data request in buffer pool data monitoring service acquisition queue disappears Breath, and device data is parsed from device data request message;
Step S3, the device data parsed is sent to data persistence storage service and carries out persistence, and by number of devices According to storage state return and be recorded buffer pool data monitoring service in.
2. a kind of water utilities device data acquisition method based on buffer pool according to claim 1, it is characterised in that: in institute It states in step S1, device data request message is put into distributed buffering pond by the data acquisition service interface specifically:
Data acquisition service interface is after the device data request message for receiving the transmission of water utilities intelligent terminal, to water utilities intelligence The legitimacy of energy terminal device is verified, and if be proved to be successful, calls the interface in distributed buffering pond, by device data Request message is put into distributed buffering pond;If authentication failed, device data request message distribution is not put into Buffer pool, and return to authentication failed message and give water utilities intelligent terminal.
3. a kind of water utilities device data acquisition method based on buffer pool according to claim 1, it is characterised in that: described Step S2 is specifically included are as follows:
Device data request message is put into buffer pool according to received time sequencing and is lined up by step 21, distributed buffering pond, And the status information for being put into buffer pool queuing is returned into data acquisition service interface;
Step 22, data acquisition service interface analysis state information obtain parsing result, and parsing result are returned to water utilities intelligence It can terminal device;
Whether device data request message arrival is had in step 23, buffer pool data monitoring service monitoring distributed buffering pond, and If having monitored the arrival of device data request message, trigger data acquisition request, and enter step 24;If monitored not There is the arrival of device data request message, then the service of buffer pool data monitoring continues to monitor;
Step 24, buffer pool data monitoring service call distributed buffering pond interface, and according to message queue sequence from distribution Device data request message is obtained in formula buffer pool;
Step 25, the service of buffer pool data monitoring carry out protocol analysis to the device data request message of acquisition, and obtain out and set Standby data.
4. a kind of water utilities device data acquisition method based on buffer pool according to claim 3, it is characterised in that: described Step S3 is specifically included:
Step S31, the device data that buffer pool data monitoring service parses is sent to data persistence storage service, data Received device data is saved in hardware disk by persistent storage service, and the storage state of device data is returned and is buffered Pond data monitoring service;
Step S32, the storage state of buffer pool data monitoring service log device data, and judged according to the storage state of return Whether storage is successful, and if stored successfully, terminates process;If storage failure, re-calls according to message SN The interface in distributed buffering pond obtains device data request message, and return step 25.
5. a kind of water utilities device data acquisition device based on buffer pool, it is characterised in that: the acquisition device includes that request disappears Cease module, request message is lined up and parsing module and data memory module;
The request message module disappears for water utilities intelligent terminal to data acquisition service interface sending device request of data Device data request message is put into distributed buffering pond by breath, data acquisition service interface;
The request message is lined up and parsing module, is lined up for distributed buffering pond to device data request message, and Response message, which is returned, by data acquisition service interface gives water utilities intelligent terminal;Meanwhile buffer pool data monitoring service obtains The device data request message in queue is taken, and parses device data from device data request message;
The data memory module is permanently protected for the device data parsed to be sent to data persistence storage service It deposits, and the storage state of device data is returned and is recorded in the service of buffer pool data monitoring.
6. a kind of water utilities device data acquisition device based on buffer pool according to claim 5, it is characterised in that: in institute It states in request message module, it is specific that device data request message is put into distributed buffering pond by the data acquisition service interface Are as follows:
Data acquisition service interface is after the device data request message for receiving the transmission of water utilities intelligent terminal, to water utilities intelligence The legitimacy of energy terminal device is verified, and if be proved to be successful, calls the interface in distributed buffering pond, by device data Request message is put into distributed buffering pond;If authentication failed, device data request message distribution is not put into Buffer pool, and return to authentication failed message and give water utilities intelligent terminal.
7. a kind of water utilities device data acquisition device based on buffer pool according to claim 5, it is characterised in that: described Request message, which is lined up, specifically includes request message queued units, status information resolution unit, request message monitoring with parsing module Unit, request message acquiring unit and request message resolution unit;
The request message queued units, for distributed buffering pond according to received time sequencing by device data request message It is put into buffer pool and is lined up, and the status information for being put into buffer pool queuing is returned into data acquisition service interface;
The status information resolution unit obtains parsing result for data acquisition service interface analysis state information, and will solution Analysis result returns to water utilities intelligent terminal;
The request message monitoring unit, for whether having number of devices in buffer pool data monitoring service monitoring distributed buffering pond It reaches, and is reached if having monitored device data request message, trigger data acquisition request, and enter institute according to request message State request message acquiring unit;Reached if monitoring no device data request message, the service of buffer pool data monitoring after It is continuous to be monitored;
The request message acquiring unit, for the interface in buffer pool data monitoring service call distributed buffering pond, and according to Message queue sequence obtains device data request message from distributed buffering pond;
The request message resolution unit is assisted for device data request message of the buffer pool data monitoring service to acquisition View parsing, and obtain out device data.
8. a kind of water utilities device data acquisition device based on buffer pool according to claim 7, it is characterised in that: described Data memory module specifically includes persistent storage unit and storage state judging unit;
The persistent storage unit, the device data for parsing buffer pool data monitoring service are sent to lasting data Change storage service, received device data is saved in hardware disk by data persistence storage service, and by device data Storage state returns to the service of buffer pool data monitoring;
The storage state judging unit, for the storage state of buffer pool data monitoring service log device data, and according to The storage state of return judges whether to store successfully, and if stored successfully, terminates process;If storage failure, basis The interface that message SN re-calls distributed buffering pond obtains device data request message, and returns to the request message solution Analyse unit.
CN201811082519.3A 2018-09-17 2018-09-17 A kind of water utilities device data acquisition method and device based on buffer pool Pending CN109144429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811082519.3A CN109144429A (en) 2018-09-17 2018-09-17 A kind of water utilities device data acquisition method and device based on buffer pool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811082519.3A CN109144429A (en) 2018-09-17 2018-09-17 A kind of water utilities device data acquisition method and device based on buffer pool

Publications (1)

Publication Number Publication Date
CN109144429A true CN109144429A (en) 2019-01-04

Family

ID=64814451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811082519.3A Pending CN109144429A (en) 2018-09-17 2018-09-17 A kind of water utilities device data acquisition method and device based on buffer pool

Country Status (1)

Country Link
CN (1) CN109144429A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030056059A1 (en) * 2001-09-17 2003-03-20 Seagate Technology Llc Optimizing data transfer performance through partial write command purging in a disc drive
CN104935612A (en) * 2014-03-17 2015-09-23 深圳市金蝶友商电子商务服务有限公司 Data processing method and server
CN105305615A (en) * 2015-09-15 2016-02-03 成都华兴智造科技有限公司 Wireless test and data transmission system monitoring method
CN105975521A (en) * 2016-04-28 2016-09-28 乐视控股(北京)有限公司 Stream data uploading method and device
CN106843770A (en) * 2017-01-23 2017-06-13 北京思特奇信息技术股份有限公司 A kind of distributed file system small file data storage, read method and device
CN107203330A (en) * 2016-03-17 2017-09-26 北京忆恒创源科技有限公司 A kind of flash data location mode towards read-write data flow

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030056059A1 (en) * 2001-09-17 2003-03-20 Seagate Technology Llc Optimizing data transfer performance through partial write command purging in a disc drive
CN104935612A (en) * 2014-03-17 2015-09-23 深圳市金蝶友商电子商务服务有限公司 Data processing method and server
CN105305615A (en) * 2015-09-15 2016-02-03 成都华兴智造科技有限公司 Wireless test and data transmission system monitoring method
CN107203330A (en) * 2016-03-17 2017-09-26 北京忆恒创源科技有限公司 A kind of flash data location mode towards read-write data flow
CN105975521A (en) * 2016-04-28 2016-09-28 乐视控股(北京)有限公司 Stream data uploading method and device
CN106843770A (en) * 2017-01-23 2017-06-13 北京思特奇信息技术股份有限公司 A kind of distributed file system small file data storage, read method and device

Similar Documents

Publication Publication Date Title
JP2646385B2 (en) Call transfer control method and apparatus
CN104021069B (en) The management method and system of the software performance test based on distributed virtual machine system
WO2009113925A1 (en) Integration platform for collecting security audit trail
CN105119752A (en) Distributed log acquisition method, device and system
US20110251931A1 (en) Accurate Method of Account Checking in the Situation of 7*24 Hours Transactions Between Telecom Multiple Systems
WO2013097151A1 (en) Resource scheduling method and device
CN103607476A (en) System and method for distributed multi-stage persistence of huge number of messages
BRPI0924555B1 (en) method of implementing call service and call center system
CN111241049A (en) Distributed operation log implementation system based on micro-service architecture
CN107688512A (en) One kind optimization virtual-machine data backup method and system
US20220321702A1 (en) Techniques for data matching in a contact center system
CN105471616B (en) Caching system management method and system
CN109144429A (en) A kind of water utilities device data acquisition method and device based on buffer pool
CN101982949A (en) Detection system of intelligent network equipment and method
CN109587349B (en) Multimedia agent line testing method and device, electronic equipment and storage medium
US6396909B1 (en) Inter-system call transfer
CN105897869A (en) APP sleep management method and apparatus
US11792317B2 (en) Cloud audio
CN115242755A (en) Performance monitoring and load balancing method based on SIP signaling server cluster
CN115827366A (en) Cluster scheduling assembly and method suitable for isolation device
US8295472B2 (en) System and method for incorporating customer hang-ups and web submissions into a phonecall-based support workflow
US8468121B1 (en) Resolving resource time intervals in a distributed system
US8130926B2 (en) Systems and methods for recording data
JPH1196091A (en) Method and device for controlling communication and recording medium recording communication control program
CN110213302A (en) A kind of method, computer-readable medium and system pushing welcome's message

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190104

RJ01 Rejection of invention patent application after publication