CN110300148B - Irrigation control method and device - Google Patents

Irrigation control method and device Download PDF

Info

Publication number
CN110300148B
CN110300148B CN201910281937.3A CN201910281937A CN110300148B CN 110300148 B CN110300148 B CN 110300148B CN 201910281937 A CN201910281937 A CN 201910281937A CN 110300148 B CN110300148 B CN 110300148B
Authority
CN
China
Prior art keywords
irrigation
equipment
information
control
signaling 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.)
Active
Application number
CN201910281937.3A
Other languages
Chinese (zh)
Other versions
CN110300148A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201910281937.3A priority Critical patent/CN110300148B/en
Publication of CN110300148A publication Critical patent/CN110300148A/en
Application granted granted Critical
Publication of CN110300148B publication Critical patent/CN110300148B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides an irrigation control method and device, relates to the field of communication, and aims to enable irrigation equipment to acquire irrigation information set by a user from first control equipment through a position updating message, and enable a network to return the irrigation information through a signaling message. The method comprises the following steps: the irrigation equipment sends first signaling information to the first control equipment according to a preset period; so that the first control device acquires the second signaling message from the information storage device; wherein, the first signaling message includes an equipment identifier of the irrigation equipment; the second signaling message comprises irrigation information set for irrigation equipment; the irrigation equipment receives second signaling information sent by the first control equipment; and the irrigation equipment performs irrigation according to the irrigation information in the second signaling information. Used for irrigation control.

Description

Irrigation control method and device
Technical Field
The present application relates to the field of communications, and in particular, to a method and an apparatus for irrigation control.
Background
Nowadays, various plant flowers are more and more favored by people, and people usually purchase some flowers for loading in daily home or office environment. When in home, office or flower cultivation, in order to simplify the flow of artificial flower watering and avoid drought and withering of flowers and plants due to long-term unmanned flower watering, a method and a device for watering flowers through a wifi technology appear in the market. The flower watering program can be set manually in a remote way to water flowers.
In the prior art, a bearing connection is established for the irrigation equipment network equipment, irrigation information set by a user is acquired, and irrigation is performed according to the irrigation information. However, in the process of acquiring irrigation information by using irrigation equipment in the prior art, the irrigation equipment is required to be always connected with a network, the power consumption in the process of network connection is high, and the operation time of the irrigation equipment is greatly reduced.
Disclosure of Invention
The embodiment of the application provides an irrigation control method and device, irrigation information set by a user can be acquired by irrigation equipment from first control equipment through a position updating message, the network returns the irrigation information through a signaling message, and the irrigation equipment does not need to establish bearing connection with the network in the whole process, so that the power consumption of the irrigation equipment is greatly reduced, and the operation time of the irrigation equipment is improved.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, the present application provides a method of irrigation control, the method comprising the irrigation apparatus sending first signalling information to the first control apparatus at a predetermined period; so that the first control device acquires a second signaling message from the information storage device; wherein the first signaling message includes a device identifier of the irrigation device; the second signaling message comprises irrigation information set for the irrigation equipment; the irrigation equipment receives second signaling information sent by the first control equipment; and the irrigation equipment irrigates according to the irrigation information in the second signaling information.
In a second aspect, the present application provides another irrigation control method comprising: the first control equipment receives a first signaling message sent by the irrigation equipment; wherein the first signaling message includes a device identifier of the irrigation device, and the first control device sends the first signaling message to the information storage device; so that the information storage device identifies the device identifier in the first signaling message and queries irrigation information corresponding to the device identifier; the first control equipment receives a second signaling message sent by the information storage equipment; wherein the second signaling message comprises irrigation information set for the irrigation equipment; the first control device sends the second signaling message to the irrigation device.
In a third aspect, the present application provides an irrigation control device comprising: the sending module is used for sending first signaling information to the first control equipment according to a preset period; so that the first control device acquires a second signaling message from the information storage device; wherein the first signaling message includes a device identifier of the irrigation device; the second signaling message comprises irrigation information set for the irrigation equipment; a receiving module, configured to receive second signaling information sent by the first control device; and the processing module is used for irrigating according to the irrigation information in the second signaling information.
In a fourth aspect, the present application provides another irrigation control device comprising: the receiving module is used for receiving a first signaling message sent by the irrigation equipment; wherein the first signaling message includes a device identifier of the irrigation device. A sending module, configured to send the first signaling message to the information storage device; so that the information storage device identifies the device identifier in the first signaling message and queries irrigation information corresponding to the device identifier; the receiving module is further configured to receive a second signaling message sent by the information storage device; wherein the second signaling message comprises irrigation information set for the irrigation equipment; the sending module is further configured to send the second signaling message to the irrigation device.
In a fifth aspect, the present application provides an irrigation control device comprising: a processor, a communication interface, and a memory; wherein the memory is used for storing one or more programs, the one or more programs including computer executable instructions, and when the irrigation control device is operated, the processor executes the computer executable instructions stored in the memory to make the irrigation control device execute the irrigation control method according to the first aspect and any one of the implementations thereof.
In a sixth aspect, the present application provides a computer-readable storage medium, having stored therein instructions, which when executed on a computer, cause the computer to execute the irrigation control method according to the first or second aspect and any one of the implementations thereof.
In a seventh aspect, the present application provides a computer program product comprising instructions, which when run on a computer, cause the computer to execute the irrigation control method according to the first or second aspect or any one of the implementations thereof.
According to the irrigation control method provided by the embodiment of the application, irrigation equipment sends first signaling information to first control equipment according to a preset period; so that the first control device acquires a second signaling message from the information storage device; wherein the first signaling message includes a device identifier of the irrigation device; the second signaling message comprises irrigation information set for the irrigation equipment; the irrigation equipment receives second signaling information sent by the first control equipment; and the irrigation equipment irrigates according to the irrigation information in the second signaling information. The irrigation equipment can acquire the irrigation information set by the user from the first control equipment through the position updating message, the network returns the irrigation information through the signaling message, and the irrigation equipment does not need to establish bearing connection with the network in the whole process, so that the power consumption of the irrigation equipment is greatly reduced, and the operation time of the irrigation equipment is improved.
Drawings
Fig. 1 is a system architecture diagram of an irrigation control system according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of a method of irrigation control according to an embodiment of the present disclosure;
fig. 3 is a schematic structural view of an irrigation control device for use in irrigation equipment according to an embodiment of the present disclosure;
FIG. 4 is a first schematic structural view of an irrigation control device applied to a first control apparatus according to an embodiment of the present disclosure;
FIG. 5 is a second schematic structural view of an irrigation control device applied to a first control apparatus according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of an alternative irrigation control device for use in irrigation equipment according to an embodiment of the present disclosure;
fig. 7 is a third schematic structural view of another irrigation control device applied to a first control device according to an embodiment of the present application.
Detailed Description
The irrigation control method and device provided by the present application will be described in detail below with reference to the accompanying drawings.
The terms "first" and "second", etc. in the description and drawings of the present application are used for distinguishing between different objects and not for describing a particular order of the objects.
Furthermore, the terms "including" and "having," and any variations thereof, as referred to in the description of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the present application, the meaning of "a plurality" means two or more unless otherwise specified.
The irrigation control method provided by the embodiment of the application is applied to an irrigation control system. As shown in fig. 1, the irrigation control system 100 includes: a first control device 101, an information storage device 102 and a watering device 103.
The first control device 101 may authenticate a plurality of irrigation devices 103 and determine a one-to-one correspondence between irrigation device identifiers and irrigation devices. After the irrigation equipment certification is complete, the operating mode and equipment parameters of each irrigation equipment are determined. The first control device 101 can obtain irrigation control information configured by the user from the information storage device 102 (e.g., open valves 1, 3, 5, and 7 to irrigate the flowers at 10:00, 9, 15, 2019 with an irrigation volume of 1/2L). And sends the control information from the information storage device to the irrigation device via the first control device 101, so that the irrigation device executes corresponding actions at the preset time points according to the control information.
The information storage device 102 is configured to obtain irrigation information set by a user, and send the irrigation information to the irrigation device 103 via the first control device when the irrigation device 103 requests to obtain the irrigation information.
The watering device 103 is used to water the flowers according to the needs of the user (in the embodiment of the present application, the needs of the user are embodied as control information). The irrigation device 103 provided by the present application includes four modes of operation, which are: power saving mode, idle mode, connected mode and irrigation mode.
In the power saving mode, the terminal only performs the minimum activity to save the power.
In the idle mode, the irrigation device does not wake up, and only performs signaling interaction with the network (i.e., the first control device 101 and the information storage device 102) to obtain the irrigation information set by the user.
In the connected mode, the irrigation device 103 establishes a network bearer connection with the network at the application layer to obtain other information with a large data volume.
And in the irrigation mode, the irrigation equipment irrigates flowers and the like according to the irrigation information acquired in the idle mode.
Of the four modes, the power saving mode consumes the least amount of power, and the irrigation device 103 will be in the power saving mode most of the time. The idle mode consumes a little more power than the power saving mode, but much less power than the connected mode. Since irrigation equipment may need to frequently acquire irrigation information set by a user, the embodiment of the present application acquires irrigation information set by the user in the idle mode. The awakening times of the terminal are reduced, and meanwhile, the irrigation information set by the user is acquired with the electric quantity consumption far less than that in a connection state. The user sets the periods of entering the idle mode and the connected mode in advance, and the period of the idle mode is set to be shorter and the period of the connected mode is set to be longer.
An embodiment of the present application provides an irrigation control method, which is applied to the irrigation control system, and the following will describe in detail a technical solution of the present application by taking the first control device as a Mobility Management Entity (MME), and the information storage device as a Home Subscriber Server (HSS), where as shown in fig. 2, the irrigation control method includes S201 to S207:
s201, the irrigation equipment sends first signaling information to the first control equipment according to a preset period.
Wherein the first signaling message includes a device identifier of the irrigation device.
Specifically, the method comprises the following steps. The first signaling message is a location update message of the irrigation terminal. The information includes the current location information of the irrigation equipment, the IP address, the equipment identifier, the globally unique identifier, and the like. The irrigation device sends the location update message to the first control device after a predetermined period of time has been reached.
S202, the first control device sends the first signaling message to the information storage device.
The information storage device may be implemented as an HSS in a network.
S203, the information storage device identifies the device identifier in the first signaling message, and queries the irrigation information corresponding to the device identifier.
Specifically, the HSS receives a first signaling message sent by an MME, and identifies an equipment identifier and a global unique identifier in the first signaling message; wherein the device identifier is used to indicate which irrigation device sent the first signaling message, and the globally unique identifier is used to perform network charging for the irrigation device and routing of the signaling message. And matching according to the equipment identifier and the global unique identifier, if the corresponding equipment identifier and the global unique identifier are inquired in the HSS, the matching is successful, the irrigation equipment signs the irrigation control service, and further inquiry and judgment are carried out to judge whether the irrigation information corresponding to the equipment exists in the HSS. If the corresponding device identifier and the globally unique identifier are not queried in the HSS, the matching fails, indicating that the device is not subscribed to the irrigation control service. And returning to the irrigation control terminal to stop working or failing to update the position.
Illustratively, after a successful match, the irrigation information in the HSS is queried. The irrigation information comprises irrigation time, water valve opening and closing conditions and water valve watering amount conditions.
The above-mentioned switching water valve situation can be shown in the following table:
Figure BDA0002021966370000051
the water valve watering amount can be shown in the following table:
Figure BDA0002021966370000052
Figure BDA0002021966370000061
if the irrigation information is: time is 2019-08-05-08: 15, the Water Valve (WV) is 110, and the water per time (WQ) is 011. It means that in 2019, 8, 5, 8, 15 minutes, the water valve 6 is opened and 1/6L is watered. Wherein, a plurality of water valves and water quantity can be simultaneously arranged in the irrigation information. If the irrigation information is encoded too long, it may be divided into multiple signaling message transmissions. It will be understood by those skilled in the art that the above description of the water valve and water meter is for better understanding by those skilled in the art and is not intended to limit the number of water valves and water volumes. The irrigation device may include a plurality of water valves and may be used for irrigation in a variety of water volume settings, and one skilled in the art may adapt the codes and tables to achieve this. In an initial phase, the HSS may set the irrigation information as: time is 0, WV is 0, and WQ is 0. When the irrigation information set by the user is received, the irrigation information is converted into a corresponding code and written into the irrigation information.
Illustratively, the process of failing to match is: the irrigation terminal sends a location update message to the HSS through the MME, and the location update message carries the equipment identifier and the global unique identifier. The HSS does not inquire the corresponding equipment identification and the global unique identification, and the matching fails. At this moment, HSS records the location updating information of the irrigation terminal, and returns the location updating success message, and adds a irrigation information acquisition failure reason value in the location updating success message. And after the irrigation terminal receives the location updating success message, identifying the irrigation information acquisition failure reason value in the message. And determining that irrigation information cannot be acquired currently, and displaying to stop working.
In one implementation of this step, a user (a real user or a server subscribed by the user) may set and send irrigation information to an information storage device via short message, portal, Application (APP), Over the Air Technology (OTA), etc., and the irrigation information is stored by the information storage device (the information storage device may be implemented not only as an HSS, but also adaptively stored in other devices, such as an information temporary storage module in an MME for storing the irrigation information, or any storage device set in an appropriate location in the network. After the user sets the irrigation information, the information storage device correspondingly stores the device identifier, the global unique identifier, the location information of the user N, the subscription irrigation control service information, and the device identifier, the global unique identifier, and the location information of the irrigation device corresponding to the irrigation information.
S204, the information storage device writes the irrigation information into a second signaling message, and sends the second signaling message to the first control device.
Wherein the second signaling message may be Insertion Subscriber Data (ISD).
S205, the first control device receives a second signaling message sent by the information storage device.
Wherein the second signaling message includes irrigation information configured for the irrigation device.
In one implementation of this step, after the first control device receives the second signaling message, it is determined whether the irrigation information can be properly executed by the irrigation device. If the irrigation information cannot be properly executed by the irrigation device, sending a re-query irrigation information message to the information storage device.
Specifically, the first control device judges whether the irrigation information meets a preset condition; wherein the preset conditions include: and the water valves are completely closed but the water valve watering amount is more than 0, the water valves are opened but the water valve watering amount is 0 or the watering time is later than the current time but the water valves are completely closed and the water valve watering amount is 0. The preset conditions include, but are not limited to, the above-mentioned conditions, and any conditions that can be conceived by those skilled in the art without inventive efforts can be included in the above-mentioned preset conditions.
And if the irrigation information meets the preset conditions, determining that the irrigation information cannot be correctly executed by the irrigation equipment. The first control device sends a re-query irrigation information message to the information storage device. So that the information storage device returns a new second signaling message again and continues to make the determination.
In one implementation of this step, to avoid the first control device continuing to send re-query irrigation information messages to the information storage device, the number of times the messages are re-queried is set to 3. Over 3 times there will be no re-queries.
And S206, the first control equipment sends the second signaling message to the irrigation equipment.
S207, the irrigation equipment receives second signaling information sent by the first control equipment and irrigates according to the irrigation information in the second signaling information.
According to the irrigation control method provided by the embodiment of the application, irrigation equipment sends first signaling information to first control equipment according to a preset period; so that the first control device acquires a second signaling message from the information storage device; wherein the first signaling message includes a device identifier of the irrigation device; the second signaling message comprises irrigation information set for the irrigation equipment; the irrigation equipment receives second signaling information sent by the first control equipment; and the irrigation equipment irrigates according to the irrigation information in the second signaling information. The irrigation equipment can acquire the irrigation information set by the user from the first control equipment through the position updating message, the network returns the irrigation information through the signaling message, and the irrigation equipment does not need to establish bearing connection with the network in the whole process, so that the power consumption of the irrigation equipment is greatly reduced, and the operation time of the irrigation equipment is improved.
In one implementation of the embodiment of the present application, before the step S201, the irrigation terminal may also register in the network first. The registration process comprises the following two registration modes:
the first method is as follows: the irrigation control system further comprises: a wireless access device; the wireless access device is pre-stored with a device identifier of the first control device. The method specifically comprises the following steps: the irrigation equipment sends third signaling information to the wireless access equipment; the wireless access equipment sends the third signaling to any control equipment in a control equipment set; wherein the control device set comprises at least one first control device and at least one second control device; the first control device is a control device capable of controlling the irrigation device; the control equipment sends the third signaling message to the first control equipment according to a preset rule; the first control equipment authenticates the irrigation equipment according to the third signaling message; and if the first control equipment successfully authenticates the irrigation equipment, storing the equipment information of the irrigation equipment in the first control equipment.
Wherein the sending, by the control device, the third signaling message to the first control device according to a preset rule includes: the control device set comprises n control devices, wherein a first control devices, b second control devices and a total control device; n is a + b + 1. The general control equipment is pre-stored with an equipment list of the first control equipment, the wireless access equipment sends the third signaling message to the general control equipment, the general control equipment inquires the first control equipment which is currently in accordance with the equipment list of the first equipment and controls the irrigation equipment, and sends the third signaling message to the first control equipment.
Or the control equipment set comprises n control equipment in total, and the n control equipment are networked in a group pool mode; c first control devices and d second control devices; n is c + d. And the wireless access equipment sends the third signaling message to any one of the n control equipment, and if the control equipment is not the first control equipment, the wireless access equipment sends the third signaling message to the next control equipment which is linked with the control equipment, and the third signaling message is sent to the first control equipment in sequence until the third signaling message is sent to the first control equipment, and the control equipment controls the irrigation equipment.
The second method comprises the following steps: the irrigation control system further comprises: a wireless access device; the wireless access device is pre-stored with a device identifier of the first control device. The method specifically comprises the following steps:
the irrigation device sends a third signaling message to the wireless access device. To cause the wireless access device to send the third signaling message to the first control device; and the first control equipment authenticates the irrigation equipment according to the third signaling message. And if the first control equipment successfully authenticates the irrigation equipment, storing the equipment information of the irrigation equipment in the first control equipment.
Exemplarily, the third signaling message is an attach message, and the control device is an MME, which is taken as an example to describe in detail:
when the irrigation device is operated or restarted for the first time, after logging in the network for the first time, the irrigation device sends an attach message to the network, and adds a control panel instruction parameter of 1 to the attach message (the control panel instruction parameter of 1 is only an exemplary illustration, and other implementation manners may be possible in specific implementation cases). And adding the device to support the parameter information such as the networking device.
Since the internet of things is different from the MME of the network currently provided by the operator for the user, after receiving the attach message, the radio access device needs to query the MME supporting the internet of things, and the MME controls the irrigation device. The wireless access device queries the MME supporting the internet by the method provided in the first or second manner. And the MME authenticates and authenticates the irrigation equipment according to the attachment message. The message of the irrigation device is stored in a temporary information storage unit in the MME after the authentication is passed. The irrigation equipment is registered.
If not, the radio access equipment sends an attach reject message to the irrigation equipment, and carries a control plane command parameter of 0 or a special cause value # 78. And enabling the irrigation equipment to resend the attachment message and attempt to register in the MME corresponding to the other wireless access equipment.
In another implementation manner of the embodiment of the present application, there is also provided a location updating method after a location of a watering terminal is changed, including: if the position of the irrigation equipment changes, the irrigation equipment sends a fourth signaling message to a third control equipment; so that the third control equipment acquires the equipment information of the irrigation equipment and irrigation information corresponding to the irrigation equipment from the first control equipment; wherein the third control means is control means for controlling the irrigation means after a change in position of the irrigation means.
For example, taking that the first control device and the third control device are both an MME supporting an internet of things function, and the fourth signaling message is a location update message as an example, the method specifically includes:
before this step, the irrigation terminal has already completed registration in the MME of the network, and the registered MME retains the device information of the irrigation device and the corresponding service information (including device identifier, globally unique identifier, authentication information subscription service of the device, and irrigation information obtained through the HSS). When a change in location of the irrigation device occurs, the original MME may be far from the irrigation device and may not be able to control the irrigation device. In this case, an MME needs to be searched again for the irrigation device in the area after the location change to control the irrigation device.
The irrigation device sends the location update message to the wireless access device again in the idle state period after the location change and triggers the location update. The location update message also adds a control panel command parameter equal to 1, adds the terminal identity of the original MME when the terminal is registered in the MME.
The wireless access device determines that the location of the terminal has changed at this time, and needs to search for a new MME for controlling the irrigation device, and then queries the new MME according to the first or second method of the previous embodiment, and sends the location update message to the new MME. After receiving the location update message, the new MME acquires, from the source MME, the device information of the irrigation device and corresponding service information (including the device identifier, the globally unique indication, the authentication information subscription service of the device, and the irrigation information acquired by the HSS) according to the terminal identifier of the original MME during registration in the location update message. The device information of the new MME irrigation device and the corresponding service information are stored in its own temporary information storage device. And after the position of the irrigation equipment is updated successfully, the irrigation information signaling message is sent to the irrigation equipment. And leading the irrigation equipment to irrigate according to the irrigation information.
In this implementation, the HSS may periodically send the irrigation information to the MME, so that the MME stores the irrigation information in its temporary information storage device, thereby avoiding an untimely update of the irrigation information. After the irrigation equipment changes and the new MME is updated, the new MME obtains its stored irrigation information from the old MME. However, the irrigation information stored in the original MME is not the latest information set by the user due to the fact that the position of the irrigation device in the original MME is not updated in time, the HSS updates the irrigation information in the original MME in time, or other reasons.
Therefore, before the new MME obtains the signaling message, two reference periods are set, one period is set for the HSS to send the irrigation information to the MME and the irrigation device to transmit the user information data, for example: the period for HSS to send irrigation information to MME is 50min, and the period for irrigation equipment to send location update information is 30 min. And storing the two periods in a new MME, and when the new MME judges that the pouring information is more than 50min from the last time of sending the pouring information by the HSS and the position of the pouring equipment is not updated in the original MME for more than 30min, judging that the pouring information in the original MME is probably not the latest pouring information, and sending the data query message to the HSS by the new MME so that the HSS sends the latest pouring information to the new MME.
The old MME determines that the irrigation device has not been location updated for more than 30min, and considers it to complete location update in the new MME, and deletes all information about the irrigation device. Alternatively, the old MME determines that the irrigation device has not been updated for more than 30min, and then keeps the irrigation device information for a while, and deletes all information about the irrigation device after a while.
And the new MME judges that the irrigation equipment has not been subjected to position updating for more than 30min, continuously waits for 50min (the period of sending new irrigation information by HSS), and sends a request for acquiring irrigation information to HSS or directly returns abnormal information of position updating of the irrigation equipment.
And when the new MME judges that the position of the irrigation equipment is updated normally, but the HSS does not send irrigation information according to the 50min period, actively sending a request for acquiring the irrigation information to the HSS. Irrigation information is updated.
In the embodiment of the present application, the irrigation control device may be divided into functional modules or functional units according to the above method examples, for example, each functional module or functional unit may be divided for each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of a software functional module or a functional unit. The division of the modules or units in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
The embodiment of the present application provides an irrigation control device, be applied to irrigation control system's irrigation equipment in, be applied to irrigation control system, irrigation control system includes: irrigation equipment, a first control device and an information storage device. As shown in fig. 3, the apparatus includes:
a sending module 303, configured to send first signaling information to the first control device according to a preset period. So that the first control device retrieves the second signaling message from the information storage device. Wherein the first signaling message includes a device identifier of the irrigation device. And the second signaling message comprises irrigation information set for the irrigation equipment.
A receiving module 301, configured to receive second signaling information sent by the first control device.
A processing module 302, configured to perform irrigation according to the irrigation information in the second signaling information.
Optionally, the apparatus further comprises: the sending module 303 is further configured to send third signaling information to the wireless access device. The sending module 303 is further configured to send the third signaling to any control device in the control device set. Wherein the set of control devices includes at least one first control device and at least one second control device. The first control device is a control device capable of controlling the irrigation device. The sending module 303 is further configured to send the third signaling message to the first control device according to a preset rule. The processing module 302 is further configured to authenticate the irrigation device according to the third signaling message. The processing module 302 is further configured to store the device information of the irrigation device in the first control device if the first control device successfully authenticates the irrigation device.
Optionally, the apparatus further comprises: the wireless access device is pre-stored with a device identifier of the first control device. The sending module 303 is further configured to send a third signaling message to the wireless access device. To cause the wireless access device to send the third signaling message to the first control device. The processing module 302 is further configured to authenticate the irrigation device according to the third signaling message. The processing module 302 is further configured to store the device information of the irrigation device in the first control device if the authentication of the irrigation device is successful.
Optionally, the apparatus further comprises: the sending module 303 is further configured to send a fourth signaling message to a third control device if the position of the irrigation device changes. So that the third control device obtains the device information of the irrigation device and irrigation information corresponding to the irrigation device from the first control device. Wherein the third control means is control means for controlling the irrigation means after a change in position of the irrigation means.
The embodiment of the present application further provides another irrigation control device, which is applied to an irrigation control system, where the irrigation control system includes: irrigation equipment, a first control device and an information storage device. As shown in fig. 4, the apparatus includes:
a receiving module 401, configured to receive a first signaling message sent by the irrigation device. Wherein the first signaling message includes a device identifier of the irrigation device.
A sending module 402, configured to send the first signaling message to the information storage device. So that the information storage device identifies the device identifier in the first signaling message and queries the irrigation information corresponding to the device identifier.
The receiving module 401 is further configured to receive a second signaling message sent by the information storage device. Wherein the second signaling message includes irrigation information configured for the irrigation device.
The sending module 402 is further configured to send the second signaling message to the irrigation device.
Optionally, the irrigation device includes at least one water valve, and the irrigation information includes irrigation time, water valve number and water valve irrigation amount. On the basis of fig. 4, as shown in fig. 5, the apparatus further includes a processing module 501. The processing module 501 is configured to:
a water valve coding meter and a watering amount coding meter are arranged. And coding the irrigation information according to the water valve coding table and the watering amount coding table. Writing the encoding into the second signaling message.
Optionally, the apparatus further comprises: the processing module 501 is further configured to determine whether the irrigation information can be correctly executed by the irrigation device.
The sending module 402 is further configured to send a re-query irrigation information message to the information storage device if the irrigation information cannot be executed correctly by the irrigation device.
Fig. 6 shows a schematic view of a further possible construction of irrigation control means for use in irrigation equipment according to the above-described embodiment. This watering control device includes: a processor 602 and a communication interface 603. The processor 602 may be configured to control and manage the operation of the irrigation control device, such as by performing the steps performed by the processing module 302 described above, and/or by performing other processes for performing the techniques described herein. Communication interface 603 is used to support communication between the irrigation control device and other network entities. For example, the steps performed by the receiving module 301 and the sending module 303 described above, and/or other processes for performing the techniques described herein, are performed. The irrigation control device may also include a memory 601 and a bus 604, with the memory 601 being used to store program codes and data for the irrigation control device.
The memory 601 may be a memory in the irrigation control device, or the like, which may include a volatile memory, such as a random access memory. The memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk. The memory may also comprise a combination of memories of the kind described above.
The processor 602 may be any logic block, module or circuitry that implements or executes the various illustrative logical blocks, modules and circuits described in connection with the disclosure herein. The processor may be a central processing unit, general purpose processor, digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others.
The bus 604 may be an Extended Industry Standard Architecture (EISA) bus or the like. The bus 604 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
Fig. 7 shows a schematic view of a further possible embodiment of the irrigation control device of the first control system. This watering control device includes: a processor 702, and a communications interface 703. The processor 702 may be configured to control and manage the operation of the irrigation control device, such as performing the steps performed by the processing module 501, and/or other processes for performing the techniques described herein. The communication interface 703 is used to support communication between the irrigation control device and other network entities. For example, the steps performed by the receive module 401 and the transmit module 403 described above, and/or other processes for performing the techniques described herein, are performed. The irrigation control device may also include a memory 701 and a bus 704, with the memory 701 being used to store program codes and data for the irrigation control device.
The memory 701 may be a memory in the irrigation control device, etc., and the memory may include a volatile memory, such as a random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
The processor 702 may be implemented or performed with various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may be a central processing unit, general purpose processor, digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others.
The bus 704 may be an Extended Industry Standard Architecture (EISA) bus or the like. The bus 704 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
The present invention provides a computer program product comprising instructions for causing a computer to perform the irrigation control method of the above method embodiments when the computer program product runs on the computer.
The present invention also provides a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to execute the irrigation control method in the method flow illustrated in the above method embodiments.
The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a register, a hard disk, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, any suitable combination of the above, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC). In embodiments of the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. An irrigation control method for use in an irrigation control system, the irrigation control system comprising: irrigation equipment, first control equipment and information storage equipment; the method comprises the following steps:
the irrigation equipment sends first signaling information to the first control equipment according to a preset period; so that the first control device acquires a second signaling message from the information storage device; wherein the first signaling message includes an equipment identifier of the irrigation equipment; the second signaling message comprises irrigation information set for the irrigation equipment;
the irrigation equipment receives second signaling information sent by the first control equipment;
the irrigation equipment irrigates according to the irrigation information in the second signaling information;
the irrigation equipment is used for irrigating the flowers according to the requirements of users;
the irrigation equipment is divided into four working modes which are respectively as follows: a power saving mode, an idle mode, a connected mode and an irrigation mode;
the terminal only performs minimum activities in the power saving mode so as to save electric quantity;
in the idle mode, the irrigation equipment is not awakened, only carries out signaling interaction with a network, and acquires irrigation information set by a user;
in the connection state mode, the irrigation equipment establishes network bearing connection of an application layer with a network, and acquires other information with larger data volume;
in the irrigation mode, the irrigation equipment irrigates flowers and the like according to the irrigation information acquired in the idle mode without being in the connected mode;
the irrigation device is connected with the network device through the first signaling message without establishing a bearing connection with the network.
2. The irrigation control method of claim 1 wherein the irrigation control system further comprises: a wireless access device; before the irrigation device sends the first signaling information to the first control device according to a preset period, the method further comprises the following steps:
the irrigation equipment sends third signaling information to the wireless access equipment;
the wireless access equipment sends the third signaling to any control equipment in a control equipment set; wherein the control device set comprises at least one first control device and at least one second control device; the first control device is a control device capable of controlling the irrigation device;
the control equipment sends the third signaling message to the first control equipment according to a preset rule;
the first control equipment authenticates the irrigation equipment according to the third signaling message;
and if the first control equipment successfully authenticates the irrigation equipment, storing the equipment information of the irrigation equipment in the first control equipment.
3. The irrigation control method of claim 1 wherein the irrigation control system further comprises: a wireless access device; the wireless access equipment is pre-stored with an equipment identifier of the first control equipment; before the irrigation device sends the first signaling information to the first control device according to a preset period, the method further comprises the following steps:
the irrigation device sends a third signaling message to the wireless access device; to cause the wireless access device to send the third signaling message to the first control device;
the first control equipment authenticates the irrigation equipment according to the third signaling message;
and if the first control equipment successfully authenticates the irrigation equipment, storing the equipment information of the irrigation equipment in the first control equipment.
4. An irrigation control method as claimed in claim 2 or claim 3 wherein the irrigation control system further comprises a wireless access device; after the storing of the device information for the irrigation device in the first control device, the method further comprises:
if the position of the irrigation equipment changes, the irrigation equipment sends a fourth signaling message to a third control equipment; so that the third control equipment acquires the equipment information of the irrigation equipment and irrigation information corresponding to the irrigation equipment from the first control equipment; wherein the third control means is control means for controlling the irrigation means after a change in position of the irrigation means.
5. An irrigation control method for use in an irrigation control system, the irrigation control system comprising: irrigation equipment, first control equipment and information storage equipment; the method comprises the following steps:
the first control equipment receives a first signaling message sent by the irrigation equipment; wherein the first signaling message includes a device identifier of the irrigation device
The first control device sends the first signaling message to the information storage device; so that the information storage device identifies the device identifier in the first signaling message and queries irrigation information corresponding to the device identifier;
the first control equipment receives a second signaling message sent by the information storage equipment; wherein the second signaling message comprises irrigation information set for the irrigation equipment;
the first control device sends the second signaling message to the irrigation device.
6. The irrigation control method of claim 5 wherein the irrigation device includes at least one water valve and the irrigation information includes irrigation time, water valve number and water volume in the water valve; the second signaling message includes irrigation information set for the irrigation device, specifically:
setting a water valve coding meter and a watering amount coding meter;
coding the irrigation information according to the water valve coding table and the watering amount coding table;
writing the encoding into the second signaling message.
7. The irrigation control method of claim 6 wherein prior to the first control device sending the second signaling message to the irrigation device, the method further comprises:
the first control equipment judges whether the irrigation information can be correctly executed by the irrigation equipment;
if the irrigation information cannot be properly executed by the irrigation device, sending a re-query irrigation information message to the information storage device.
8. An irrigation control device for use in an irrigation control system, the irrigation control system comprising: irrigation equipment, first control equipment and information storage equipment; the device comprises:
the sending module is used for sending first signaling information to the first control equipment according to a preset period; so that the first control device acquires a second signaling message from the information storage device; wherein the first signaling message includes an equipment identifier of the irrigation equipment; the second signaling message comprises irrigation information set for the irrigation equipment;
a receiving module, configured to receive second signaling information sent by the first control device;
the processing module is used for irrigating according to the irrigation information in the second signaling information;
the irrigation equipment is used for irrigating the flowers according to the requirements of users;
the irrigation equipment is divided into four working modes which are respectively as follows: a power saving mode, an idle mode, a connected mode and an irrigation mode;
the terminal only performs minimum activities in the power saving mode so as to save electric quantity;
in the idle mode, the irrigation equipment is not awakened, only carries out signaling interaction with a network, and acquires irrigation information set by a user;
in the connection state mode, the irrigation equipment establishes network bearing connection of an application layer with a network, and acquires other information with larger data volume;
in the irrigation mode, the irrigation equipment irrigates flowers and the like according to the irrigation information acquired in the idle mode without being in the connected mode;
the irrigation device is connected with the network device through the first signaling message without establishing a bearing connection with the network.
9. An irrigation control device for use in an irrigation control system, the irrigation control system comprising: irrigation equipment, first control equipment and information storage equipment; the device comprises:
the receiving module is used for receiving a first signaling message sent by the irrigation equipment; wherein the first signaling message includes a device identifier of the irrigation device;
a sending module, configured to send the first signaling message to the information storage device; so that the information storage device identifies the device identifier in the first signaling message and queries irrigation information corresponding to the device identifier;
the receiving module is further configured to receive a second signaling message sent by the information storage device; wherein the second signaling message comprises irrigation information set for the irrigation equipment;
the sending module is further configured to send the second signaling message to the irrigation device.
10. An irrigation control device, comprising: a processor, a communication interface, and a memory; wherein the memory is configured to store one or more programs, the one or more programs including computer executable instructions that, when executed by the irrigation control device, cause the irrigation control device to perform the irrigation control method of any one of claims 1-4 or 5-7 by executing the computer executable instructions stored in the memory.
11. A computer readable storage medium having instructions stored thereon, which when executed on a computer, cause the computer to perform the irrigation control method of any one of claims 1-4 or 5-7.
CN201910281937.3A 2019-04-09 2019-04-09 Irrigation control method and device Active CN110300148B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910281937.3A CN110300148B (en) 2019-04-09 2019-04-09 Irrigation control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910281937.3A CN110300148B (en) 2019-04-09 2019-04-09 Irrigation control method and device

Publications (2)

Publication Number Publication Date
CN110300148A CN110300148A (en) 2019-10-01
CN110300148B true CN110300148B (en) 2022-02-11

Family

ID=68026479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910281937.3A Active CN110300148B (en) 2019-04-09 2019-04-09 Irrigation control method and device

Country Status (1)

Country Link
CN (1) CN110300148B (en)

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101167436B (en) * 2006-10-24 2010-07-14 中兴通讯股份有限公司 Intelligent irrigation system and method based on wireless detector
CN201867635U (en) * 2010-10-28 2011-06-15 重庆市科学技术研究院 Distributed network automatic irrigation control system
CN202907569U (en) * 2012-11-09 2013-05-01 东营市科瑞思创电子科技有限公司 Automatic control terminal of energy-conservation irrigation system
CN203167738U (en) * 2013-03-08 2013-09-04 复旦大学无锡研究院 Agricultural thing internet wireless monitoring irrigating terminal
AU2015309631B2 (en) * 2014-08-28 2019-09-19 Tbot Inc. Systems and methods for automated dispensing
CN104238512B (en) * 2014-09-04 2018-05-01 中联重机股份有限公司 Distributed agricultural machine management method, system and platform
US9886016B2 (en) * 2015-01-08 2018-02-06 International Business Machines Corporation Automated irrigation control system
CN107318158A (en) * 2016-04-26 2017-11-03 中兴通讯股份有限公司 A kind of message sends, recognized and mobility, the method for session management and node
CN106212214A (en) * 2016-07-26 2016-12-14 新奥泛能网络科技股份有限公司 A kind of Wireless intelligent irrigation system
CN106258858A (en) * 2016-10-21 2017-01-04 北京慧图科技股份有限公司 A kind of agriculture irrigation water saving system
CN208609578U (en) * 2018-06-24 2019-03-19 张开勇 Low-consumption irrigating control system
CN109006427A (en) * 2018-09-30 2018-12-18 华中农业大学 A kind of automatic flower-watering device that can remotely monitor, control based on Cloud Server
CN109287453A (en) * 2018-10-08 2019-02-01 黄淮学院 A kind of agriculture and forestry photovoltaic intelligent water-saving irrigation system and method based on technology of Internet of things
CN109156229A (en) * 2018-10-29 2019-01-08 天津市农业科学院信息研究所 A kind of water-fertilizer integral pours control method, device and electronic equipment

Also Published As

Publication number Publication date
CN110300148A (en) 2019-10-01

Similar Documents

Publication Publication Date Title
US20200228487A1 (en) eSIM-BASED CARD POOL SYSTEM AND CONTROL METHOD THEREOF
CN110267254B (en) eUICC management method, eUICC, SM platform and system
CN203116234U (en) Air conditioner remote control system
US8948737B2 (en) Communication device and method for switching phone numbers using the same
US8983542B2 (en) Control systems having a SIM for controlling a computing device
CN102982141B (en) A kind of method and device realizing distributed data base agency
JP6067853B2 (en) Control device, control method, communication system, and program
US20170310818A1 (en) Terminal equipment control method, terminal equipment and system, computer storage media
US9763026B2 (en) Method of and server for communicating with a remote device in a machine to machine wireless communication network
CN105404258A (en) Intelligent household management method and platform
CN106102141A (en) A kind of processing method and processing device based on packet
DE602004010391D1 (en) Remote SIM card Austach and activation process
CN108173725A (en) Apparatus control method, device, terminal and computer readable storage medium
US8918489B2 (en) Mobile device, storage medium, and method for automatically connecting the mobile device to server
CN103581889A (en) Method and system for automatically updating network configuration parameters
CN104640046A (en) Method and system for setting alarm clock of wireless music system
CN109688218A (en) Method, apparatus, electronic equipment and the computer readable storage medium of pushed information
CN104994185A (en) Method and apparatus for processing IP address database
CN103024660A (en) System and method for position sharing and road condition recognition
EP3652972A1 (en) Device-enabled esim profile acquisition
CN110300148B (en) Irrigation control method and device
CN113436631A (en) Voice information processing method and system and device for voice information processing
US20170118625A1 (en) Method and Device for Controlling Subscriber Identity Module Card of Mobile Terminal
CN110796367A (en) Equipment information management method and device based on information remote identification and terminal
WO2019205133A1 (en) Vpn line handover method, apparatus and electronic device

Legal Events

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