CN109862094B - Water affair equipment data sharing method and device based on stream computing - Google Patents

Water affair equipment data sharing method and device based on stream computing Download PDF

Info

Publication number
CN109862094B
CN109862094B CN201910094878.9A CN201910094878A CN109862094B CN 109862094 B CN109862094 B CN 109862094B CN 201910094878 A CN201910094878 A CN 201910094878A CN 109862094 B CN109862094 B CN 109862094B
Authority
CN
China
Prior art keywords
data
equipment
stream
equipment data
data acquisition
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.)
Active
Application number
CN201910094878.9A
Other languages
Chinese (zh)
Other versions
CN109862094A (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.)
Zhiheng Technology Co ltd
Original Assignee
Zhiheng 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 Zhiheng Technology Co ltd filed Critical Zhiheng Technology Co ltd
Priority to CN201910094878.9A priority Critical patent/CN109862094B/en
Publication of CN109862094A publication Critical patent/CN109862094A/en
Application granted granted Critical
Publication of CN109862094B publication Critical patent/CN109862094B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a water affair equipment data sharing method based on flow calculation, which comprises the steps of collecting equipment data through each water affair intelligent terminal equipment and uploading the equipment data to an equipment data collection platform; the equipment data acquisition platform stores the received equipment data in a database, and simultaneously pushes the equipment data to a stream computing engine in an asynchronous message mode; and each water affair service system respectively acquires the equipment data from the corresponding flow calculation channel of the flow calculation engine in real time and displays or stores the acquired equipment data in a persistent mode in real time. The invention also provides a device corresponding to the method. The invention has the advantages that: the method and the device ensure that the upper-layer water service system can acquire the equipment data in real time, and the uploaded equipment data can be updated in time, so that the real-time display capability and the data statistical quality of the upper-layer water service system can be improved.

Description

Water affair equipment data sharing method and device based on stream computing
Technical Field
The invention relates to the field of water affair data processing, in particular to a water affair equipment data sharing method and device based on stream computing.
Background
With the rapid development of intelligent water affairs and the continuous maturity of the internet of things technology, the service application of each water affair enterprise is more and more abundant, and the requirements on the data quality and the real-time data monitoring of water affair equipment are higher and higher. When the traditional water affair equipment carries out data sharing, the data of the water affair equipment is firstly uploaded to an equipment data acquisition platform and is stored in a database; and then, the data is shared to the upper-layer water service system in a way that the device data acquisition platform provides a database or web service, so that the data of the water service device cannot be shared in real time, and the data uploaded by the water service device in a delayed way cannot be updated in time, thereby influencing the real-time display capability and the data statistical quality of the upper-layer service application.
Disclosure of Invention
One of the technical problems to be solved by the present invention is to provide a method for sharing water service device data based on stream calculation, by which device data collected by a water service intelligent terminal device can be shared in real time to an upper layer water service system for application.
The invention realizes one of the technical problems as follows: a method for data sharing of a water service device based on stream computing, the method comprising the steps of:
s1, collecting equipment data through each water affair intelligent terminal equipment, and uploading the equipment data to an equipment data collection platform;
step S2, the device data acquisition platform stores the received device data in a database, and simultaneously pushes the device data to a stream computing engine in an asynchronous message mode;
step S3, each water affair service system respectively acquires the device data in real time from the corresponding stream calculation channel of the stream calculation engine, and performs real-time display or persistent storage on the acquired device data.
Further, the step S1 specifically includes:
step S11, registering all the water affair intelligent terminal devices into a device data acquisition platform, wherein the device data acquisition platform distributes a unique code for each water affair intelligent terminal device;
step S12, the water affair intelligent terminal device sends a data request message to the device data acquisition platform, the device data acquisition platform analyzes the received data request message, verifies whether the corresponding water affair intelligent terminal device is legal through the unique code, extracts the device data if the corresponding water affair intelligent terminal device is legal, and returns a message of successful data reception to the corresponding water affair intelligent terminal device; and if the verification result is illegal, returning a message of failed verification to the corresponding water affair intelligent terminal equipment.
Further, in step S2, the pushing the device data to the stream computing engine in the asynchronous message manner specifically includes:
the equipment data acquisition platform pushes the equipment data to a stream calculation engine in an asynchronous message mode, and the stream calculation engine stores the received equipment data to a corresponding stream calculation channel according to the receiving sequence;
meanwhile, the stream calculation engine returns a data pushing state to the equipment data acquisition platform in an asynchronous message mode, the equipment data acquisition platform judges whether the data is successfully pushed according to the returned data pushing state, and if the data is successfully pushed, the data is not pushed again; if the pushing fails, repeated pushing is carried out according to a set first time interval, and the pushing is stopped until the pushing is successful.
Further, the step S3 specifically includes:
step S31, after the stream computation channel saves the received device data, it determines whether the downstream stream data acquisition service is connected, and if so, it goes to step S33; if not, go to step S32;
step S32, the stream calculation channel repeatedly determines whether the stream data acquisition service is connected according to the set second time interval, and stops until the stream data acquisition service is determined to be connected, and then proceeds to step S33;
step S33, the stream computation channel transmits the device data to the corresponding stream data acquisition service, and the stream data acquisition service submits the received device data to the corresponding water service system;
and step S34, after receiving the equipment data, the water business system displays the equipment data in real time or stores the equipment data in a persistent mode.
The second technical problem to be solved by the present invention is to provide a water service equipment data sharing device based on stream calculation, which can realize real-time sharing of the equipment data collected by the water service intelligent terminal equipment to the upper layer water service system for application.
The invention realizes the second technical problem in the following way: the sharing device comprises a data acquisition module, a data pushing module and a data processing module;
the data acquisition module is used for acquiring equipment data through each water affair intelligent terminal device and uploading the equipment data to the equipment data acquisition platform;
the data pushing module is used for storing the received equipment data into a database by the equipment data acquisition platform and pushing the equipment data into the stream computing engine by adopting an asynchronous message mode;
and the data processing module is used for acquiring the equipment data in real time from the corresponding stream calculation channel of the stream calculation engine by each water service system respectively, and displaying or persistently storing the acquired equipment data in real time.
Further, the data acquisition module specifically comprises an equipment registration unit and a data acquisition unit;
the equipment registration unit is used for registering all the water affair intelligent terminal equipment into the equipment data acquisition platform, and the equipment data acquisition platform allocates a unique code for each water affair intelligent terminal equipment;
the data acquisition unit is used for the water affair intelligent terminal equipment to send a data request message to the equipment data acquisition platform, the equipment data acquisition platform analyzes the received data request message, verifies whether the corresponding water affair intelligent terminal equipment is legal or not through the unique code, extracts the equipment data if the corresponding water affair intelligent terminal equipment is legal, and returns a message of successful data reception to the corresponding water affair intelligent terminal equipment; and if the verification result is illegal, returning a message of failed verification to the corresponding water affair intelligent terminal equipment.
Further, in the data pushing module, the pushing of the device data to the stream computing engine in the asynchronous message manner specifically includes:
the equipment data acquisition platform pushes the equipment data to a stream calculation engine in an asynchronous message mode, and the stream calculation engine stores the received equipment data to a corresponding stream calculation channel according to the receiving sequence;
meanwhile, the stream calculation engine returns a data pushing state to the equipment data acquisition platform in an asynchronous message mode, the equipment data acquisition platform judges whether the data is successfully pushed according to the returned data pushing state, and if the data is successfully pushed, the data is not pushed again; if the pushing fails, repeated pushing is carried out according to a set first time interval, and the pushing is stopped until the pushing is successful.
Further, the data processing module specifically comprises a first connection judgment unit, a second connection judgment unit, a data submission unit and a data processing unit;
the first connection judging unit is used for judging whether the downstream stream data acquisition service is connected after the stream computing channel stores the received equipment data, and if so, entering the data submitting unit; if not, entering the second connection judgment unit;
the second connection judging unit is used for the stream computing channel to repeatedly judge whether the stream data acquiring service is connected or not according to a set second time interval, and the stream data acquiring service is stopped until the stream data acquiring service is judged to be connected, and then the stream data acquiring service enters the data submitting unit;
the data submitting unit is used for the stream computing channel to transmit the equipment data to the corresponding stream data acquiring service, and the stream data acquiring service submits the received equipment data to the corresponding water service system;
and the data processing unit is used for displaying or persistently storing the equipment data in real time after the water service system receives the equipment data.
The invention has the following advantages: the invention sets a set of flow calculation engine between the equipment data acquisition platform and each water service system on the upper layer, after the equipment data acquisition platform receives the uploaded equipment data, pushing the device data into a shared stream computation channel while saving the device data to a database, the upper-layer water service systems respectively acquire the equipment data from respective stream calculation channels in real time, the whole sharing process does not need to wait for the data to be stored in a database of the equipment data acquisition platform and then share the data, the sharing real-time performance is greatly improved, delayed equipment data can be immediately shared to the upper-layer water service systems for application as long as the delayed equipment data are uploaded to the equipment data acquisition platform, the upper-layer water service systems can acquire the equipment data in real time, and the delayed uploaded equipment data can be updated in time, so that the real-time display capacity and the data statistics quality of the upper-layer water service systems can be improved.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating an implementation of a method for sharing data of a water service device based on stream computing according to the present invention.
Fig. 2 is a technical architecture diagram of a water service equipment data sharing device based on stream computing according to the present invention.
Detailed Description
Referring to fig. 1, a preferred embodiment of a method for sharing data of a water service device based on stream computing according to the present invention includes the following steps:
s1, collecting equipment data through each water affair intelligent terminal equipment, and uploading the equipment data to an equipment data collection platform;
step S2, the device data acquisition platform stores the received device data in a database, and simultaneously pushes the device data to a stream computing engine in an asynchronous message mode;
step S3, each water affair service system respectively acquires the device data in real time from the corresponding stream calculation channel of the stream calculation engine, and performs real-time display or persistent storage on the acquired device data.
The invention sets a set of flow calculation engine between the equipment data acquisition platform and each water service system on the upper layer, after the equipment data acquisition platform receives the uploaded equipment data, pushing the device data into a shared stream computation channel while saving the device data to a database, the upper-layer water service systems respectively acquire the equipment data from respective stream calculation channels in real time, the whole sharing process does not need to wait for the data to be stored in a database of the equipment data acquisition platform and then share the data, the sharing real-time performance is greatly improved, delayed equipment data can be immediately shared to the upper-layer water service systems for application as long as the delayed equipment data are uploaded to the equipment data acquisition platform, the upper-layer water service systems can acquire the equipment data in real time, and the delayed uploaded equipment data can be updated in time, so that the real-time display capacity and the data statistics quality of the upper-layer water service systems can be improved.
The step S1 specifically includes:
step S11, registering all the water affair intelligent terminal devices into a device data acquisition platform, wherein the device data acquisition platform allocates a unique code for each water affair intelligent terminal device, and each water affair intelligent terminal device can be uniquely identified through the unique code;
step S12, the water affair intelligent terminal device sends a data request message to a device data acquisition platform, the data request message contains a unique code and device data, the device data acquisition platform analyzes the received data request message, and verifies whether the corresponding water affair intelligent terminal device is legal through the unique code (namely, whether the water affair intelligent terminal device sending the data request message is registered to the device data acquisition platform is judged), if so, the device data is extracted, and a message of successful data reception is returned to the corresponding water affair intelligent terminal device to inform the water affair intelligent terminal device that the data has been successfully received; and if the verification is illegal, returning a message of failed verification to the corresponding water affair intelligent terminal equipment to remind the corresponding water affair intelligent terminal equipment to register.
In step S2, the pushing the device data to the stream computing engine in the asynchronous message manner specifically includes:
the equipment data acquisition platform pushes the equipment data to a stream calculation engine in an asynchronous message mode, and the stream calculation engine stores the received equipment data to a corresponding stream calculation channel according to the receiving sequence; during specific implementation, the stream calculation engine is provided with a plurality of stream calculation channels, and the stream calculation engine can store corresponding equipment data into the corresponding stream calculation channels according to the stream calculation channels subscribed by each water service system, so that the water service systems can acquire required equipment data in real time;
meanwhile, the stream calculation engine returns a data pushing state to the equipment data acquisition platform in an asynchronous message mode, the equipment data acquisition platform judges whether the data is successfully pushed according to the returned data pushing state, and if the data is successfully pushed, the data is not pushed again; if the pushing fails, the repeated pushing is performed according to the set first time interval, and the pushing is stopped until the pushing is successful, for example, the first time interval may be set to 1 minute, so that after the pushing fails, the device data acquisition platform repeatedly pushes the device data to the stream calculation engine every 1 minute, and the repeated pushing is stopped until the stream calculation engine returns a message that the pushing is successful.
The method adopting the asynchronous message comprises the following steps: two communication applications do not need to wait on line at the same time, and any party only needs to process own service respectively, for example, a sender does not need to wait for the response of a receiver after sending a message, and can process other tasks; that is to say, the sender and the receiver are independent from each other, the sender only manages the sender, and the receiver only receives the data without waiting for the response of the other party.
The step S3 specifically includes:
step S31, after the stream computation channel saves the received device data, it determines whether the downstream stream data acquisition service is connected (i.e. it determines whether the stream data acquisition service is in a network-disconnected state), and if so, it goes to step S33; if not, go to step S32;
step S32, the stream calculation channel repeatedly determines whether the stream data acquisition service is connected according to the set second time interval, and stops until the stream data acquisition service is determined to be connected, and then proceeds to step S33; for example, the second time interval may be set to 20 seconds, and then the stream calculation channel that needs to transfer the device data repeatedly determines whether the stream data acquiring service is connected every 20 seconds, and stops until the stream data acquiring service is connected;
step S33, the flow calculation channel transmits the device data to the corresponding flow data acquisition service, and the flow data acquisition service submits the received device data to the corresponding water service system;
step S34, after receiving the device data, the water service system displays the device data in real time (so that the device data can be viewed in real time) or stores the device data in a persistent manner (for various data analysis and statistics operations).
Referring to fig. 2, a preferred embodiment of a water service device data sharing device based on stream computing according to the present invention includes a data acquisition module, a data pushing module, and a data processing module;
the data acquisition module is used for acquiring equipment data through each water affair intelligent terminal device and uploading the equipment data to the equipment data acquisition platform;
the data pushing module is used for storing the received equipment data into a database by the equipment data acquisition platform and pushing the equipment data into the stream computing engine by adopting an asynchronous message mode;
and the data processing module is used for acquiring the equipment data in real time from the corresponding stream calculation channel of the stream calculation engine by each water service system respectively, and displaying or persistently storing the acquired equipment data in real time.
The invention sets a set of flow calculation engine between the equipment data acquisition platform and each water service system on the upper layer, after the equipment data acquisition platform receives the uploaded equipment data, pushing the device data into a shared stream computation channel while saving the device data to a database, the upper-layer water service systems respectively acquire the equipment data from respective stream calculation channels in real time, the whole sharing process does not need to wait for the data to be stored in a database of the equipment data acquisition platform and then share the data, the sharing real-time performance is greatly improved, delayed equipment data can be immediately shared to the upper-layer water service systems for application as long as the delayed equipment data are uploaded to the equipment data acquisition platform, the upper-layer water service systems can acquire the equipment data in real time, and the delayed uploaded equipment data can be updated in time, so that the real-time display capacity and the data statistics quality of the upper-layer water service systems can be improved.
The data acquisition module specifically comprises an equipment registration unit and a data acquisition unit;
the equipment registration unit is used for registering all the water affair intelligent terminal equipment into the equipment data acquisition platform, the equipment data acquisition platform distributes a unique code for each water affair intelligent terminal equipment, and each water affair intelligent terminal equipment can be uniquely identified through the unique code;
the data acquisition unit is used for the water service intelligent terminal equipment to send a data request message to the equipment data acquisition platform, the data request message contains a unique code and equipment data, the equipment data acquisition platform analyzes the received data request message and verifies whether the corresponding water service intelligent terminal equipment is legal through the unique code (namely, whether the water service intelligent terminal equipment sending the data request message is registered to the equipment data acquisition platform is judged), and if the water service intelligent terminal equipment is legal, the equipment data is extracted, and a message of successful data reception is returned to the corresponding water service intelligent terminal equipment to inform that the water service intelligent terminal equipment successfully receives the data; and if the verification is illegal, returning a message of failed verification to the corresponding water affair intelligent terminal equipment to remind the corresponding water affair intelligent terminal equipment to register.
In the data pushing module, the pushing of the device data to the stream computing engine by using the asynchronous message mode specifically includes:
the equipment data acquisition platform pushes the equipment data to a stream computing engine in an asynchronous message mode, and the stream computing engine stores the received equipment data to corresponding stream computing channels according to the receiving sequence; during specific implementation, the stream calculation engine is provided with a plurality of stream calculation channels, and the stream calculation engine can store corresponding equipment data into the corresponding stream calculation channels according to the stream calculation channels subscribed by each water service system, so that the water service systems can acquire required equipment data in real time;
meanwhile, the stream computing engine returns a data pushing state to the equipment data acquisition platform in an asynchronous message mode, the equipment data acquisition platform judges whether the data is successfully pushed according to the returned data pushing state, and if the data is successfully pushed, the data is not pushed again; if the pushing fails, the repeated pushing is performed according to the set first time interval, and the pushing is stopped until the pushing is successful, for example, the first time interval may be set to 1 minute, so that after the pushing fails, the device data acquisition platform repeatedly pushes the device data to the stream calculation engine every 1 minute, and the repeated pushing is stopped until the stream calculation engine returns a message that the pushing is successful.
The method adopting the asynchronous message comprises the following steps: two communication applications do not need to wait on line at the same time, and any party only needs to process own service respectively, for example, a sender does not need to wait for the response of a receiver after sending a message, and can process other tasks; that is to say, the sender and the receiver are independent from each other, the sender only manages the sender, and the receiver only receives the data without waiting for the response of the other party.
The data processing module specifically comprises a first connection judgment unit, a second connection judgment unit, a data submission unit and a data processing unit;
the first connection judging unit is configured to judge whether a downstream streaming data acquiring service is connected (i.e., judge whether the streaming data acquiring service is in a network disconnection state) after the stream computing channel stores the received device data, and enter the data submitting unit if the downstream streaming data acquiring service is connected; if not, entering the second connection judgment unit;
the second connection judging unit is used for the stream computing channel to repeatedly judge whether the stream data acquiring service is connected or not according to a set second time interval, and the stream data acquiring service is stopped until the stream data acquiring service is judged to be connected, and then the stream data acquiring service enters the data submitting unit; for example, the second time interval may be set to 20 seconds, and then the stream calculation channel that needs to transfer the device data repeatedly determines whether the stream data acquiring service is connected every 20 seconds, and stops until the stream data acquiring service is connected;
the data submitting unit is used for the stream computing channel to transmit the equipment data to the corresponding stream data acquiring service, and the stream data acquiring service submits the received equipment data to the corresponding water service system;
and the data processing unit is used for displaying the equipment data in real time (so that the equipment data can be viewed in real time) or storing the equipment data in a persistent mode (so that the equipment data can be analyzed and counted) after the water business system receives the equipment data.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.

Claims (2)

1. A water affair equipment data sharing method based on stream computing is characterized in that: the method comprises the following steps:
s1, collecting equipment data through each water affair intelligent terminal equipment, and uploading the equipment data to an equipment data collection platform;
step S2, the device data acquisition platform stores the received device data in a database, meanwhile, the device data acquisition platform pushes the device data to the stream computation engine in an asynchronous message mode, and the stream computation engine stores the received device data in the corresponding stream computation channels according to the receiving sequence;
meanwhile, the stream calculation engine returns a data pushing state to the equipment data acquisition platform in an asynchronous message mode, the equipment data acquisition platform judges whether the data is successfully pushed according to the returned data pushing state, and if the data is successfully pushed, the data is not pushed again; if the pushing fails, repeatedly pushing according to a set first time interval until the pushing is successful;
step S3, each water affair service system respectively acquires the equipment data from the corresponding flow calculation channel of the flow calculation engine in real time, and displays or stores the acquired equipment data in a persistent manner in real time;
the step S1 specifically includes:
step S11, registering all the water affair intelligent terminal devices into a device data acquisition platform, wherein the device data acquisition platform distributes a unique code for each water affair intelligent terminal device;
step S12, the water affair intelligent terminal device sends a data request message to a device data acquisition platform, the data request message contains a unique code and device data, the device data acquisition platform analyzes the received data request message, verifies whether the corresponding water affair intelligent terminal device is legal through the unique code, extracts the device data if the corresponding water affair intelligent terminal device is legal, and returns a message of successful data reception to the corresponding water affair intelligent terminal device; if the verification is illegal, returning a message of failed verification to the corresponding water affair intelligent terminal equipment;
the step S3 specifically includes:
step S31, after the stream computation channel saves the received device data, it determines whether the downstream stream data acquisition service has a connection, and if so, it goes to step S33; if not, go to step S32;
step S32, the stream calculation channel repeatedly determines whether the stream data acquisition service is connected according to the set second time interval, and stops until the stream data acquisition service is determined to be connected, and then proceeds to step S33;
step S33, the flow calculation channel transmits the device data to the corresponding flow data acquisition service, and the flow data acquisition service submits the received device data to the corresponding water service system;
and step S34, after receiving the equipment data, the water business system displays the equipment data in real time or stores the equipment data in a persistent mode.
2. A water affairs equipment data sharing device based on flow calculation, its characterized in that: the sharing device comprises a data acquisition module, a data pushing module and a data processing module;
the data acquisition module is used for acquiring equipment data through each water affair intelligent terminal device and uploading the equipment data to the equipment data acquisition platform;
the data pushing module is used for storing the received equipment data into a database by the equipment data acquisition platform, pushing the equipment data into the stream computing engine by the equipment data acquisition platform in an asynchronous message mode, and storing the received equipment data into the corresponding stream computing channel by the stream computing engine according to the receiving sequence;
meanwhile, the stream calculation engine returns a data pushing state to the equipment data acquisition platform in an asynchronous message mode, the equipment data acquisition platform judges whether the data is successfully pushed according to the returned data pushing state, and if the data is successfully pushed, the data is not pushed again; if the pushing fails, repeatedly pushing according to a set first time interval until the pushing is successful;
the data processing module is used for each water affair service system to respectively acquire equipment data from the corresponding stream calculation channel of the stream calculation engine in real time and display or store the acquired equipment data in a persistent mode in real time;
the data acquisition module specifically comprises an equipment registration unit and a data acquisition unit;
the equipment registration unit is used for registering all the water affair intelligent terminal equipment into the equipment data acquisition platform, and the equipment data acquisition platform allocates a unique code for each water affair intelligent terminal equipment;
the data acquisition unit is used for the water affair intelligent terminal equipment to send a data request message to the equipment data acquisition platform, the data request message contains a unique code and equipment data, the equipment data acquisition platform analyzes the received data request message, verifies whether the corresponding water affair intelligent terminal equipment is legal or not through the unique code, extracts the equipment data if the corresponding water affair intelligent terminal equipment is legal, and returns a message of successful data reception to the corresponding water affair intelligent terminal equipment; if the verification is illegal, returning a message of failed verification to the corresponding water affair intelligent terminal equipment;
the data processing module specifically comprises a first connection judgment unit, a second connection judgment unit, a data submission unit and a data processing unit;
the first connection judging unit is used for judging whether the downstream stream data acquisition service is connected after the stream computing channel stores the received equipment data, and if so, entering the data submitting unit; if not, entering the second connection judgment unit;
the second connection judging unit is used for the stream computing channel to repeatedly judge whether the stream data acquiring service is connected or not according to a set second time interval, and the stream data acquiring service is stopped until the stream data acquiring service is judged to be connected, and then the stream data acquiring service enters the data submitting unit;
the data submitting unit is used for the stream computing channel to transmit the equipment data to the corresponding stream data acquiring service, and the stream data acquiring service submits the received equipment data to the corresponding water service system;
and the data processing unit is used for displaying or persistently storing the equipment data in real time after the water service system receives the equipment data.
CN201910094878.9A 2019-01-31 2019-01-31 Water affair equipment data sharing method and device based on stream computing Active CN109862094B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910094878.9A CN109862094B (en) 2019-01-31 2019-01-31 Water affair equipment data sharing method and device based on stream computing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910094878.9A CN109862094B (en) 2019-01-31 2019-01-31 Water affair equipment data sharing method and device based on stream computing

Publications (2)

Publication Number Publication Date
CN109862094A CN109862094A (en) 2019-06-07
CN109862094B true CN109862094B (en) 2022-06-07

Family

ID=66897062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910094878.9A Active CN109862094B (en) 2019-01-31 2019-01-31 Water affair equipment data sharing method and device based on stream computing

Country Status (1)

Country Link
CN (1) CN109862094B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732846A (en) * 2021-01-27 2021-04-30 深圳市科荣软件股份有限公司 Water affair operation analysis system, method, electronic equipment and storage medium
CN113282611B (en) * 2021-06-29 2024-04-23 深圳平安智汇企业信息管理有限公司 Method, device, computer equipment and storage medium for synchronizing stream data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252466A (en) * 2013-06-26 2014-12-31 阿里巴巴集团控股有限公司 Stream computing processing method, equipment and system
CN105608758A (en) * 2015-12-17 2016-05-25 山东鲁能软件技术有限公司 Big data analysis platform apparatus and method based on algorithm configuration and distributed stream computing
CN107545014A (en) * 2016-06-28 2018-01-05 国网天津市电力公司 Stream calculation instant disposal system for treating based on Storm

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040068479A1 (en) * 2002-10-04 2004-04-08 International Business Machines Corporation Exploiting asynchronous access to database operations

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252466A (en) * 2013-06-26 2014-12-31 阿里巴巴集团控股有限公司 Stream computing processing method, equipment and system
CN105608758A (en) * 2015-12-17 2016-05-25 山东鲁能软件技术有限公司 Big data analysis platform apparatus and method based on algorithm configuration and distributed stream computing
CN107545014A (en) * 2016-06-28 2018-01-05 国网天津市电力公司 Stream calculation instant disposal system for treating based on Storm

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于智慧水务的供水大数据采集架构分析研究;朱炯名;《软件工程》;20180930;第21卷(第9期);全文 *

Also Published As

Publication number Publication date
CN109862094A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
KR102114767B1 (en) Vehicle-based communication methods, systems and devices
CN108270860A (en) The acquisition system and method for environmental quality online monitoring data
CN109862094B (en) Water affair equipment data sharing method and device based on stream computing
CN105868040A (en) Log collection method and collection terminal
CN105991412A (en) Method and device for pushing message
CN101426181A (en) Intelligent multimedia information mobile phone viewing system having instant interaction and implementation method
CN109889454A (en) A kind of the message driving means and method of micro services framework
CN103312593B (en) A kind of message distributing system and method
CN106993043B (en) Data communication system and method based on agency
CN102387461A (en) Mobile data service recommendation method, apparatus and system thereof
CN108235353A (en) A kind of monitoring system of the urban rail system based on LTE-M communications
CN108924228B (en) Industrial internet optimization system based on edge calculation
CN114866528A (en) Data communication method based on MQTT and Websocket
CN101953188A (en) Method and apparatus for processing multi-channel request subscription under service management platform
CN106231235A (en) Under a kind of constrained environment, long-distance video meets with method and system
CN111092952B (en) Data interaction method and related product
CN102523236A (en) Method and equipment for establishing dynamic connection
CN110248185A (en) For the fault detection system in video conferencing system
CN115951923B (en) Subscription event management method, display system, device and storage medium
CN109039427B (en) Ship monitoring management device
CN114125024B (en) Audio transmission method, electronic device and readable storage medium
CN113965447B (en) Online cloud diagnosis method, device, system, equipment and storage medium
CN112995095B (en) Data processing method, device and computer readable storage medium
CN110611663B (en) Detection method, device and system
CN108989467B (en) Centralized addressing method

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
TA01 Transfer of patent application right

Effective date of registration: 20210112

Address after: 350109 Zhiheng science and Technology Park, 66 Zhiheng science and technology road, Gaoqi village, Nanyu Town, Minhou County, Fuzhou City, Fujian Province

Applicant after: ZHIHENG TECHNOLOGY Co.,Ltd.

Address before: 350109 Gaoqi Village, Nanyu Town, Minhou County, Fuzhou City, Fujian Province

Applicant before: FUJIAN ZHIHENG SOFTWARE TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant