CN105024944A - Internet of Things-based spraying controller high-concurrency solution - Google Patents

Internet of Things-based spraying controller high-concurrency solution Download PDF

Info

Publication number
CN105024944A
CN105024944A CN201510410488.XA CN201510410488A CN105024944A CN 105024944 A CN105024944 A CN 105024944A CN 201510410488 A CN201510410488 A CN 201510410488A CN 105024944 A CN105024944 A CN 105024944A
Authority
CN
China
Prior art keywords
cloud server
spray
control command
spray controller
message
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
CN201510410488.XA
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.)
Nanjing Yuchao Network Co Ltd
Original Assignee
Nanjing Yuchao Network 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 Nanjing Yuchao Network Co Ltd filed Critical Nanjing Yuchao Network Co Ltd
Priority to CN201510410488.XA priority Critical patent/CN105024944A/en
Publication of CN105024944A publication Critical patent/CN105024944A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention relates to an Internet of Things-based spraying controller high-concurrency solution, and belongs to the technical field of the Internet of Things. The method includes the steps of instruction sending, message queue pushing, feedback and the like. According to the Internet of Things-based spraying controller high-concurrency solution provided by the invention, a cloud server adopts message trunking to receive uploaded equipment data and issued instruction data from an equipment end through a message pushing module, when a large number of spraying controllers are simultaneously accessed to a cloud end to work, the issued instructions of equipment and the uploaded data of the equipment all enter into a message trunking queue, and a message queue module sequentially performs high-speed distribution, so that the cloud server realizes a high-speed communication concurrence capability, and the problem that communication congestion causes instruction execution with a long-time delay does not occur.

Description

The high concurrent solution of a kind of spray controller based on Internet of Things
Technical field
The present invention relates to the high concurrent solution of a kind of spray controller based on Internet of Things, belong to technology of Internet of things field.
Background technology
Carry out communication based on the spray controller of Internet of Things and Cloud Server, and receive and carry out work from the equipment control command of client software, traditional Cloud Server adopts HTTP protocol to carry out communication with spray controller mostly.In actual use, Cloud Server is often connected with a large amount of spray controllers, how to ensure that a large amount of spray controllers receives instruction without delay simultaneously and smooth and easy work is key subjects.Traditional HTTP communication is all difficult to ensure that magnanimity equipment carries out running alternately for a long time with Cloud Server simultaneously.
Summary of the invention
The present invention wants technical solution problem to be: the shortcoming overcoming above-mentioned technology, proposes a kind of message queue and solves the high concurrent solution of spray controller.
In order to solve the problems of the technologies described above, the technical scheme that the present invention proposes is: wherein, and described spray control system comprises spray controller, the Cloud Server being with message queue cluster and client; The method comprises the following steps:
(1) by described client sending controling instruction to described Cloud Server; Described control command comprises spray frequency, spray way, spray duration and the water yield;
(2) described spray controller obtains control command from described Cloud Server; Described control command forwards with Message Queuing Services in described Cloud Server;
(3) if the cut-in operation simultaneously of multiple spray controller, the Message Queuing Services of described Cloud Server will be extended to Message Queuing server's cluster;
(4) described Message Queuing server cluster initiatively sequentially forwards and pushes described control command;
(5) described spray controller successfully gets described control command, then perform described control command, and after complete, described spray controller sends feedback signal to described Cloud Server by message queue or message queue cluster.
Such scheme further improves and is: described spray controller, Cloud Server and client are connected to each other by network.
Such scheme further improves and is: the described control command that described client sends, sent described spray controller by the Message Queuing Services of described Cloud Server or the mode of message queue cluster, described spray controller carries out control command reception by Message Queuing Services.
The high concurrent solution of a kind of spray controller based on Internet of Things provided by the invention, beyond the clouds server adds message queue and push communication mechanism, behind a large amount of spray controller access high in the clouds, the instruction transmission and reception of spray controller and cloud server carry out communication by message queue, after when spray, controller successfully receives instruction or successful execution instruction, feedback signal by message queue to cloud server.By the scheme that Message Queuing server's cluster realizes control command transmission initiatively in the mode of active push and manages, solve magnanimity spray controller and carry out mutual and instruction delay or loss problem with cloud server simultaneously.The high concurrent solution of spray controller based on Internet of Things provided by the invention, beyond the clouds server adopt message trunking receiving equipment end by the device data that message push assembly transmits and the director data issued, when a large amount of spray controller accesses high in the clouds work simultaneously, send instructions under equipment and equipment uploading data all enter message trunking queue, message queue assembly is distribution at a high speed successively, make Cloud Server realize high speed communication concurrent capability, unlikely occur communication block up cause instruction postpone for a long time perform problem.
Embodiment
embodiment 1
The high concurrent solution of the spray controller based on Internet of Things of the present embodiment, spray control system comprises by the Cloud Server of spray controller, band message queue assembly and has installed the client devices such as the smart mobile phone of client software, panel computer or PC; The Cloud Server of spray controller, band message queue assembly is connected to each other by network.
The method comprises the following steps:
(1) by client sending controling instruction to band message queue assembly Cloud Server; Control command comprises spray frequency, spray way, information such as spray duration and the water yield etc.;
(2), after Cloud Server obtains control command, spray controller is pushed to by message queue;
(3) spray controller and carry out communication by message queue assembly and Cloud Server, and by message queue sequential search to the control command belonging to current device, after successful execution control command, spray controller pushes feedback information by message queue to Cloud Server;
(4) Cloud Server traversal message queue, order obtains the feedback message data that spray controller is uploaded, and is identified message by device numbering mark, feedback data is stored in respectively in equipment records corresponding to database.
Spray controller associates with a certain user account of cloud server; Namely such user manages by account.
embodiment 2
The present embodiment improves by the basis of embodiment 1, its major part is identical, different piece is: in step (2), if a large amount of spray controller accesses cloud server and carries out work simultaneously, then server disposition message queue cluster beyond the clouds, and by this cluster, high con current control instruction transmission is carried out to equipment, after complete, equipment sends feedback signal to cloud service message queue cluster.
Like this, effectively can realize the concurrent delays time to control of height of magnanimity equipment, compare and embodiment 1, more effectively.
The present invention is not limited to the concrete technical scheme of above-described embodiment, and in addition to the implementation, the present invention can also have other execution modes.All employings are equal to the technical scheme of replacing and being formed, and are the protection range of application claims.

Claims (3)

1., based on the high concurrent solution of spray controller of Internet of Things, wherein, described spray control system comprises spray controller, the Cloud Server being with message queue cluster and client; It is characterized in that, the method comprises the following steps:
(1) by described client sending controling instruction to described Cloud Server; Described control command comprises spray frequency, spray way, spray duration and the water yield;
(2) described spray controller obtains control command from described Cloud Server; Described control command forwards with Message Queuing Services in described Cloud Server;
(3) if the cut-in operation simultaneously of multiple spray controller, the Message Queuing Services of described Cloud Server will be extended to Message Queuing server's cluster;
(4) described Message Queuing server cluster initiatively sequentially forwards and pushes described control command;
(5) described spray controller successfully gets described control command, then perform described control command, and after complete, described spray controller sends feedback signal to described Cloud Server by message queue or message queue cluster.
2., as claimed in claim 1 based on the high concurrent solution of spray controller of Internet of Things, it is characterized in that: described spray controller, Cloud Server and client are connected to each other by network.
3. as claimed in claim 1 based on the high concurrent solution of spray controller of Internet of Things, it is characterized in that: the described control command that described client sends, sent described spray controller by the Message Queuing Services of described Cloud Server or the mode of message queue cluster, described spray controller carries out control command reception by Message Queuing Services.
CN201510410488.XA 2015-07-14 2015-07-14 Internet of Things-based spraying controller high-concurrency solution Pending CN105024944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510410488.XA CN105024944A (en) 2015-07-14 2015-07-14 Internet of Things-based spraying controller high-concurrency solution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510410488.XA CN105024944A (en) 2015-07-14 2015-07-14 Internet of Things-based spraying controller high-concurrency solution

Publications (1)

Publication Number Publication Date
CN105024944A true CN105024944A (en) 2015-11-04

Family

ID=54414664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510410488.XA Pending CN105024944A (en) 2015-07-14 2015-07-14 Internet of Things-based spraying controller high-concurrency solution

Country Status (1)

Country Link
CN (1) CN105024944A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113900834A (en) * 2021-09-24 2022-01-07 天津同阳科技发展有限公司 Data processing method, device, equipment and storage medium based on Internet of things technology

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093159A1 (en) * 2001-11-05 2003-05-15 James Sieminski Internet-enabled central irrigation control
CN102291324A (en) * 2011-06-28 2011-12-21 北京神州泰岳软件股份有限公司 Highly concurrent service request processing method
CN102388791A (en) * 2011-08-02 2012-03-28 赵致钧 Center pivot sprinkling irrigation machine control system and method
US20130093592A1 (en) * 2011-10-14 2013-04-18 Zehua Lan Internet of Things Based Farm Greenhouse Monitor and Alarm Management System
CN103116634A (en) * 2012-06-12 2013-05-22 上海雷腾软件有限公司 System for supporting high concurrent cache task queue and asynchronous batch operation method thereof
CN103164256A (en) * 2011-12-08 2013-06-19 深圳市快播科技有限公司 Processing method and system capable of achieving one machine supporting high concurrency
CN103929494A (en) * 2014-04-30 2014-07-16 叶炜 Green belt and garden spraying control system and method based on Internet of Things
CN103955175A (en) * 2014-04-01 2014-07-30 北京农业信息技术研究中心 Customizable water-saving irrigation Internet of Things system and realization method
CN104156280A (en) * 2014-08-07 2014-11-19 郦亮 Spray control system data recovery method based on internet of things
CN104731899A (en) * 2015-03-19 2015-06-24 浪潮通用软件有限公司 Data high concurrency processing method based on asynchronous processing

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093159A1 (en) * 2001-11-05 2003-05-15 James Sieminski Internet-enabled central irrigation control
CN102291324A (en) * 2011-06-28 2011-12-21 北京神州泰岳软件股份有限公司 Highly concurrent service request processing method
CN102388791A (en) * 2011-08-02 2012-03-28 赵致钧 Center pivot sprinkling irrigation machine control system and method
US20130093592A1 (en) * 2011-10-14 2013-04-18 Zehua Lan Internet of Things Based Farm Greenhouse Monitor and Alarm Management System
CN103164256A (en) * 2011-12-08 2013-06-19 深圳市快播科技有限公司 Processing method and system capable of achieving one machine supporting high concurrency
CN103116634A (en) * 2012-06-12 2013-05-22 上海雷腾软件有限公司 System for supporting high concurrent cache task queue and asynchronous batch operation method thereof
CN103955175A (en) * 2014-04-01 2014-07-30 北京农业信息技术研究中心 Customizable water-saving irrigation Internet of Things system and realization method
CN103929494A (en) * 2014-04-30 2014-07-16 叶炜 Green belt and garden spraying control system and method based on Internet of Things
CN104156280A (en) * 2014-08-07 2014-11-19 郦亮 Spray control system data recovery method based on internet of things
CN104731899A (en) * 2015-03-19 2015-06-24 浪潮通用软件有限公司 Data high concurrency processing method based on asynchronous processing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王安生: "《软件工程化》", 30 April 2014, 清华大学出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113900834A (en) * 2021-09-24 2022-01-07 天津同阳科技发展有限公司 Data processing method, device, equipment and storage medium based on Internet of things technology

Similar Documents

Publication Publication Date Title
CN102263825B (en) Cloud-position-based hybrid cloud storage system data transmission method
WO2013153232A3 (en) Moderation of network and access point selection in an ieee 802.11 communication system
CN113572835B (en) Data processing method, network element equipment and readable storage medium
CN108833577B (en) Data communication optimization system and method based on edge calculation
CN102761610A (en) Icon configuration method and device based on cloud computation and terminal
CN113572864B (en) Data processing method, network element equipment and readable storage medium
CN103607423A (en) Distributed broadcast system based on WebSocket protocol
CN102387156A (en) Equipment logging treatment method, device and system
CN105610883A (en) Policy file synchronization management method, policy synchronization server and management device
CN105100150B (en) Cloud desktop migration method and device and distributed cloud desktop system
CN113132170A (en) Data management method and system, associated subsystem and computer readable medium
CN104125081B (en) A kind of multiple terminals cooperative system and method based on strategy
CN102724662A (en) Method and device for providing differentiated services in broadband wireless network
CN111953520A (en) Method, apparatus, device and medium for implementing group control through group virtual device
CN108833167B (en) Communication optimization system and method based on edge calculation
CN105991698A (en) Method, system and device for mobile terminal remotely managing intelligent router file
CN102271158A (en) Cloud computing-based GPS (Global Positioning System) multiapplication processing method and mobile terminal
CN105024944A (en) Internet of Things-based spraying controller high-concurrency solution
CN109302456A (en) A kind of document transmission method and device based on aerial downloading OTA technology
CN107104964B (en) Network security terminal and use method
CN206563986U (en) A kind of parking system based on cloud service
CN106789487B (en) CAN network access system and method based on hardware virtualization technology
KR102515790B1 (en) 6g cellular networks system based on federated learning and method of performing thereof
CN114422572A (en) Cloud mobile phone control method and device, electronic equipment and storage medium
CN103607242A (en) Access method and device for RRU

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151104

WD01 Invention patent application deemed withdrawn after publication