Environment management method, electronic equipment and computer readable storage medium
By transmitting different information of environmental data in satellite communications, the problem of excessive satellite communication resources is solved, and efficient environmental management is achieved in areas with poor networks.
Patent Information
- Application Number
- CN202310688536.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-09
- Publication Date
- 2024-12-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When managing environmental data through satellite communications, data transmission resources are used too much, especially in areas with poor networks or no networks, and the prior art is difficult to effectively save satellite communication resources.
By determining the difference information of the current environmental data and the target reference data, only the difference information is transmitted to the control device. The control device adjusts environmental factors based on the difference information to make the environmental data approach preset data and reduces the amount of data transmitted.
It effectively saves data transmission resources for satellite communications and improves environmental management efficiency in areas with poor networks.
Smart Images

Figure CN119109499A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an environmental management method, an electronic device, and a computer-readable storage medium. Background Art
[0002] With the continuous development of satellite technology, communication between devices via satellite has become a common phenomenon.
[0003] In a method for managing parks (such as agricultural and pastoral parks) in areas with poor or no network through the Internet of Things, a first device (such as a collection device or an execution device) in the Internet of Things system needs to continuously report environmental data of the agricultural and pastoral park, such as temperature and humidity, to a remote control device via satellite communication.
[0004] However, the data transmission resources of the satellite are very limited, and the amount of the above environmental data is large. Therefore, when the environmental data is transmitted to the control device via the satellite, the environmental data occupies more data transmission resources in the satellite. Summary of the invention
[0005] The embodiments of the present application provide an environmental management method, an electronic device, and a computer-readable storage medium, which can reduce the occupation of satellite data transmission resources during data transmission.
[0006] On the one hand, an environment management method is provided, which is applied to a first device, and the method includes: determining difference information between current environment data and target reference data; wherein the difference information includes the difference in target characteristics and the identification of target reference data; the target characteristics include environment characteristics in the target reference data that are different from the current environment data; the target reference data includes a characteristic value of at least one environment characteristic; sending the above-mentioned difference information to a control device, the difference information is used for the control device to determine target information, and the target information is used to indicate a target management strategy; wherein the target management strategy is to adjust the target factors that affect the characteristic values of at least one environment characteristic in the environment data in the current environment, so that the environment data of the adjusted environment approaches the preset environment data; obtaining the target management strategy; and adjusting the above-mentioned target factors according to the target management strategy.
[0007] On the other hand, an environment management method is provided, which is applied to a control device, and the method includes: receiving difference information sent by a first device, the difference information including: the difference of a target feature and an identifier of target reference data; the target reference data is reference environment data with the smallest difference from current environment data; the above-mentioned target feature includes environment features in the target reference data that are different from the current environment data; the target reference data includes a feature value of at least one environment feature; determining target information based on the above-mentioned difference information; wherein the target information is used to indicate a target management strategy, which is a strategy for adjusting target factors that affect the feature value of at least one environment feature in the current environment so that the environment data of the adjusted environment approaches the preset environment data; and sending the target information to the first device.
[0008] On the other hand, a first device is provided, comprising:
[0009] A processing unit, used to determine difference information between current environmental data and target reference data; wherein the difference information includes a difference in target characteristics and an identifier of target reference data; the target characteristics include environmental characteristics in the target reference data that are different from the current environmental data; and the target reference data includes a characteristic value of at least one environmental characteristic.
[0010] A transceiver unit is used to send the above-mentioned difference information to a control device, and the difference information is used for the control device to determine target information, and the target information is used to indicate a target management strategy; wherein the target management strategy is to adjust the target factor of the characteristic value of at least one environmental characteristic in the environmental data in the current environment, so that the environmental data of the adjusted environment approaches the preset environmental data.
[0011] The processing unit is also used to obtain a target management strategy; and adjust the above target factors according to the target management strategy.
[0012] In another aspect, a control device is provided, comprising:
[0013] A transceiver unit is used to receive difference information sent by the first device, wherein the difference information includes: the difference in target characteristics and the identification of target reference data; the target reference data is the reference environmental data with the smallest difference from the current environmental data; the above-mentioned target characteristics include environmental characteristics in the target reference data that are different from the current environmental data; the target reference data includes a characteristic value of at least one environmental characteristic.
[0014] A processing unit is used to determine target information based on the above-mentioned difference information; wherein the target information is used to indicate a target management strategy, which is a strategy for adjusting the target factors that affect the characteristic values of at least one environmental characteristic in the current environment so that the environmental data of the adjusted environment approaches the preset environmental data.
[0015] The transceiver unit is used to send the target information to the first device.
[0016] On the other hand, an electronic device is provided, comprising: a memory and a processor; the memory and the processor are coupled; the memory is used to store a computer program; and the processor implements the environmental management method described in any of the above embodiments when executing the computer program.
[0017] On the other hand, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the environment management method described in any of the above embodiments is implemented.
[0018] On the other hand, a computer program product is provided, which includes computer program instructions, and when the computer program instructions are executed by a processor, the environment management method described in any of the above embodiments is implemented.
[0019] The embodiment of the present application provides an environmental management method, which is applied to a first device, and the method includes: determining the difference between current environmental data and target reference data; and sending the difference to a control device via a satellite, so that the control device determines target information for indicating a target management strategy based on the difference; wherein the target management strategy is a strategy for adjusting the target factor of the characteristic value of at least one environmental characteristic in the current environment that affects the environmental data, so that the environmental data of the adjusted environment approaches the preset environmental data. Then, the target factor is obtained and adjusted according to the target management strategy. Since the first device in the above method sends the difference between the current environmental data and the target reference data to the control device via a satellite, and the difference is smaller than the data volume of the entire current environmental data, when the first device sends the difference information to the control device via a satellite, the difference information occupies less data transmission resources of the satellite, thereby saving data transmission resources in the satellite. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solution in the present application, the drawings required for use in some embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only drawings of some embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0021] Figure 1 A schematic diagram of a management system provided for some embodiments of the present application;
[0022] Figure 2 A schematic diagram of an environmental management method flow chart provided for some embodiments of the present application;
[0023] Figure 3A schematic flow chart of a method for determining target information provided in some embodiments of the present application;
[0024] Figure 4 A schematic flow chart of a method for determining a target management strategy provided in some embodiments of the present application;
[0025] Figure 5 A schematic flow chart of a method for storing first environment data provided in some embodiments of the present application;
[0026] Figure 6 A schematic flow chart of another method for storing first environment data provided in some embodiments of the present application;
[0027] Figure 7 A schematic diagram of a method flow for storing a target management strategy provided in some embodiments of the present application;
[0028] Figure 8 A schematic diagram of another method flow for storing target management strategies provided in some embodiments of the present application;
[0029] Fig. 9 A flowchart of a method for sending difference information provided in some embodiments of the present application;
[0030] Fig.10 A schematic diagram of the structure of a first device provided in some embodiments of the present application;
[0031] Fig.11 A schematic diagram of the structure of a control device provided in some embodiments of the present application;
[0032] Fig.12 A schematic diagram of the structure of an electronic device provided for some embodiments of the present application. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in this application to clearly and completely describe the technical solutions in this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0034] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0035] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0036] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "multiple" means two or more.
[0037] The embodiment of the present application provides an environmental management method, which includes: determining the difference between current environmental data and target reference data; and sending the difference to a control device via a satellite, so that the control device determines target information for indicating a target management strategy based on the difference; wherein the target management strategy is a strategy for adjusting the target factor of the characteristic value of at least one environmental characteristic in the current environment that affects the environmental data, so that the environmental data of the adjusted environment approaches the preset environmental data. Then, the target factor is obtained and adjusted according to the target management strategy. Since the first device in the above method sends the difference between the current environmental data and the target reference data to the control device via a satellite, and the difference is smaller than the data volume of the entire current environmental data, when the first device sends the difference information to the control device via a satellite, the difference information occupies less data transmission resources of the satellite, thereby saving data transmission resources in the satellite.
[0038] The environmental management method provided in the embodiment of the present application is applied to Figure 1 The management system shown includes a first device 101, a control device 102 and a satellite 103.
[0039] The first device 101 is used to obtain environmental data of the agricultural and pastoral area (such as temperature, soil humidity and soil pH value), and upload the environmental data to the control device 102 via the satellite 103.
[0040] The first device 101 is also used to obtain and execute the management strategy sent by the control device 102 via the satellite 103, and the management strategy is used to adjust the target factor of the characteristic value of at least one environmental characteristic in the current environment that affects the environmental data, so that the environmental data of the adjusted environment is close to the preset environmental data. For example, when the current soil humidity is low, the amount of watering in the agricultural and animal husbandry park (i.e., the target factor) is increased to increase the soil humidity of the agricultural and animal husbandry park.
[0041] It should be noted that the above-mentioned first device 101 can obtain the environmental data of the above-mentioned agricultural and pastoral park from other devices (such as: collection equipment); or the first device 101 can obtain the environmental data of the agricultural and pastoral park by actively collecting characteristic values of the environmental characteristics of the agricultural and pastoral park. The specific embodiment of the present application does not limit the specific implementation method of the first device 101 obtaining the environmental data of the agricultural and pastoral park.
[0042] The control device 102 is used to determine a management strategy based on the environmental data obtained by the first device 101 and forwarded by the satellite 103; and send the management strategy to the first device 101 via the satellite 103, so that the first device 101 executes the management strategy.
[0043] Exemplarily, the first device 101 and the control device 102 in the embodiment of the present application can be tablet computers, mobile phones, desktop computers, laptop computers, handheld computers, notebook computers, netbooks, as well as cellular phones, personal digital assistants (PDA) and other devices. The embodiment of the present application does not impose any special restrictions on the specific forms of the first device 101 and the control device 102.
[0044] The satellite 103 is used to send the environmental data acquired by the first device 101 to the control device 102, so that the control device 102 determines a management strategy according to the environmental data; and transmits the management strategy to the first device 101 via the satellite 103.
[0045] It should be understood that the above-mentioned satellite 103 is a communication satellite, which can specifically be a geostationary orbit communication satellite, a highly elliptical orbit communication satellite, a medium orbit communication satellite or a low orbit communication satellite. The specific embodiment of the present application limits the specific type of the above-mentioned satellite 103.
[0046] It should be noted that, for the sake of convenience in describing the embodiments of the present application, the first device 101 sends data to the control device 102 via the satellite 103, which is referred to as: the first device 101 sends data to the control device 102; similarly, the control device 102 sends a policy to the first device 101 via the satellite 103, which is referred to as: the control device 102 sends a policy to the first device 101; it will not be repeated later.
[0047] It should be noted that the system architecture described in the embodiments of the present application is for the purpose of more clearly illustrating the technical solutions of the embodiments of the present application, and does not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0048] The present application embodiment provides an environment management method, such as Figure 2 As shown, the method includes: S110-S170.
[0049] S110. The first device determines target reference data according to current environment data.
[0050] It should be noted that the above current environmental data is the environmental data of the current environment of the target area, such as: the current environmental data is the environmental data of the current environment of the soybean plantation or wheat test base. The environmental data in the embodiment of the present application is described by taking the environmental data in the soybean plantation as an example, and will not be described in detail later.
[0051] At least one set of reference environmental data is stored in the above-mentioned first device, and any one of the at least one set of reference environmental data is the historical environmental data of the park (such as a soybean planting park); wherein, any one of the at least one set of reference environmental data includes a characteristic value of at least one environmental characteristic; that is, the characteristic value of at least one environmental characteristic constitutes a set of reference environmental data.
[0052] Exemplarily, a set of current environmental data is shown in Table 1 below; the environmental characteristics in the current environmental data include: effective light time, temperature and soil pH value; wherein the value of effective light time (ie, characteristic value) is 12 hours; the temperature value is 23 degrees Celsius; and the soil pH value is 6.5.
[0053] Table 1
[0054] Environmental characteristics Eigenvalue Effective light time 12 hours temperature 23 degrees Celsius Soil pH 6.5
[0055] It should be noted that the environmental data in the same park include the same environmental characteristics, that is, the environmental characteristics included in any two sets of reference environmental data in the above at least one set of reference environmental data are the same, such as the environmental characteristics all include: effective light time, temperature and soil pH value.
[0056] In one embodiment, the at least one set of reference environmental data further includes preset environmental data; the preset environmental data is environmental data of a preset ideal environment; such as environmental data suitable for soybean growth.
[0057] It should be understood that the above-mentioned preset environmental data is used when the first device executes the environmental management method provided by the embodiment of the present application for the first time. Since there is no historical environmental data in the first device, the preset environmental data is used as target reference data.
[0058] It should be noted that the above-mentioned current environment data can be obtained by the first device from other devices (such as collection devices); it can also be obtained by the first device through its own collection; the specific embodiment of the present application does not limit the method for obtaining the above-mentioned current environment data.
[0059] The target reference data is the reference environment data with the smallest difference from the current environment data among at least one set of reference environment data stored in the first device; that is, the target reference data is the reference environment data with the highest similarity to the current environment data.
[0060] Exemplarily, it is assumed that the above current environmental data is as shown in Table 1 above; the three groups of reference environmental data stored in the above first device are as shown in Table 2 below, and each line in Table 2 is a group of reference environmental data; wherein the first group of reference environmental data (i.e., the reference environmental data identified as 1) includes: the effective illumination time is 11 hours, the temperature is 21 degrees Celsius, and the soil pH value is 5. The second group of reference environmental data includes: the effective illumination time is 12 hours, the temperature is 24 degrees Celsius, and the soil pH value is 7. The third group of reference environmental data includes: the effective illumination time is 15 hours, the temperature is 26 degrees Celsius, and the soil pH value is 4. Since the second group of reference environmental data has the same effective illumination time as the current environmental data shown in Table 1, the second group of reference environmental data is determined as the above target reference data.
[0061] Table 2
[0062] Logo Effective light time temperature Soil pH 1 11 hours 21 degrees Celsius 5 2 12 hours 24 degrees Celsius 7 3 15 hours 26 degrees Celsius 4
[0063] In one embodiment, the target reference data may also be any one of the at least one set of reference environment data stored in the first device. For example, the target reference data may be any one of the three sets of reference environment data shown in Table 2.
[0064] It should be noted that when the target reference data is any reference environment data in at least one set of reference environment data stored in the first device, the first device directly executes the following S120 and does not need to execute the above S110. The embodiment of the present application is explained by taking the target reference data as the reference environment data with the smallest difference from the current environment data as an example, and will not be repeated later.
[0065] S120. The first device determines difference information between current environment data and target reference data.
[0066] The above-mentioned difference information includes: the difference of the above-mentioned target characteristics and the identification of the target reference data; the target characteristics include: the environmental characteristics in the above-mentioned target reference data that are different from the current environmental data; that is, the difference of the above-mentioned target characteristics is used to indicate the difference between the target reference data and the current environmental data.
[0067] In a first implementation manner, the target features include: all environmental features in the target reference data that are different from the current environmental data.
[0068] Exemplarily, it is assumed that the current environmental data is as shown in Table 1 above; the target reference data is the reference environmental data marked as 2 in Table 2 above. For ease of observation, at this time, the current environmental data and the target reference data are as shown in Table 3 below; the current environmental data include: the effective lighting time is 12 hours, the temperature is 23 degrees Celsius, and the soil pH value is 6.5; the target reference data include: the effective lighting time is 12 hours, the temperature is 24 degrees Celsius, and the soil pH value is 7. Then, at this time, the temperature 23 and the soil pH value 6.5 in the current environmental data are different from the temperature 24 and the soil pH value 7 in the target reference data; so the first device determines the target features as: temperature and soil pH value; at this time, the differences in the above target features include: the temperature difference of -1 degree Celsius, that is: 23-24=-1, and the soil pH difference of -0.5, that is, 6.5-7=-0.5.
[0069] Table 3
[0070]
[0071] In a second implementation, the target feature includes environmental features in the target reference data that differ from the current environmental data by more than a first preset difference; that is, the target feature includes: some environmental features in the target reference data that differ from the current environmental data.
[0072] It should be noted that the above-mentioned first preset difference is used to measure whether the difference between the characteristic values of the environmental feature can be ignored; when the difference between two characteristic values of the same environmental feature is greater than the first preset difference of the environmental feature, it indicates that the difference is large and cannot be ignored; when the difference between two characteristic values of the same environmental feature is less than or equal to the first preset difference of the environmental feature, it indicates that the difference is small and can be ignored.
[0073] Exemplarily, based on the example in the first implementation, the current environment data and the target reference data are shown in Table 3 above; assuming that the first preset difference in temperature is 0.8 degrees Celsius, and the first preset difference in land pH is 1. Then, since the absolute value of the difference between the temperature 23 in the current environment data and the temperature 24 in the target reference data is greater than the first preset difference in temperature 0.8; the target feature includes: temperature. And since the absolute value of the difference between the land pH value 6.5 in the current environment data and the land pH value 7 in the target reference data is 0.5, which is less than the first preset difference in land pH 1; the target feature does not include land pH. At this time, the difference in the above target features includes: the difference in temperature -1 degree Celsius.
[0074] In one embodiment, based on the first implementation or the second implementation, the target reference data is the reference environment data with the least target features in at least one set of reference environment data. In other words, the target reference data is the reference environment data with the least environmental features that differ from the current environment data.
[0075] S130. The first device sends difference information to the control device.
[0076] It should be noted that the specific implementation of the above S130 includes: the first device via a satellite (such as Figure 1 The satellite 103 shown in the figure sends the above difference information to the control device; for the convenience of description, the first device sending data to the control device via the satellite is referred to as the first device sending data to the control device; it will not be repeated later.
[0077] It should be understood that the first device may send the difference information in the form of a short message, or may send the difference request in the form of a standard message. The specific embodiment of the present application does not limit the implementation method of S130.
[0078] It should be noted that, in the case where the first device sends the difference information in the form of a short message, the short message specifically includes: a message identifier (such as a message sequence number) and the difference information.
[0079] Exemplarily, it is assumed that the identifier of the message is 1; based on the example in the first implementation of S120 above, the identifier of the target reference data in the difference information is 2; the difference of the target characteristics includes: the difference of temperature -1 degree Celsius and the difference of soil pH value -0.5. Then, at this time, the short message includes: the identifier 1 of the message and the difference information as shown in Table 4 below.
[0080] The above difference information includes: difference identification, change direction and change amount; wherein the difference identification includes: number 0010 for indicating temperature, and number 1010 for indicating soil pH value. The change direction is used to indicate the magnitude of the characteristic value of the target feature in the current environmental data (referred to as: first characteristic value) compared with the characteristic value of the target feature in the target reference data (referred to as: second characteristic value), 0 indicates that the first characteristic value is less than the second characteristic value, that is, the difference between the first characteristic value and the second characteristic value is a negative number; 1 indicates that the difference between the first characteristic value and the second characteristic value is a positive number; the change direction includes: 0. The change amount is used to indicate the absolute value of the difference between the first characteristic value and the second characteristic value; the change amount includes: 0000001010 (representing 1 degree Celsius) and 000000101 (representing 0.5).
[0081] Table 4
[0082]
[0083]
[0084] S140. The control device determines target information according to the difference information.
[0085] The above-mentioned target information is used to indicate the target management strategy; wherein, the target management strategy is to adjust the target factor of the characteristic value of at least one environmental characteristic in the current environment that affects the environmental data so that the environmental data of the adjusted environment approaches the preset environmental data; for example, the target management strategy is to adjust the amount of watering (target factor) in the soybean plantation so that the humidity of the park (environmental data) approaches the humidity in the preset environmental data.
[0086] In one implementation, the target information specifically includes: an identifier of a target reference policy and a difference in target policy items; wherein the target reference policy is a reference management policy that has the smallest difference from a first management policy among at least one reference management policy stored in the control device; the first management policy is a policy that adjusts the target factors so that the environmental data of the adjusted environment is the preset environmental data. The difference in the target policy items is used to represent the difference between the target reference policy and the first management policy. At this point, the specific implementation of S140 is referred to S140a-S140e below; it will not be repeated here.
[0087] In another implementation, the target information specifically includes: target management strategy. At this time, the specific implementation of S140 is shown in S140a-S140c below, which will not be described here.
[0088] It should be noted that, in this implementation, the target management policy is the same as the first management policy, that is, the control device determines the first management policy as the target management policy.
[0089] S150. The control device sends target information to the first device.
[0090] It should be noted that the specific implementation of the above S150 includes: controlling the device via a satellite (such as Figure 1 The satellite 103 shown in the figure sends the above-mentioned target information to the first device; for the convenience of description, the control device sending data to the first device via the satellite will be referred to as controlling the device sending data to the first device; it will not be repeated later.
[0091] S160: The first device obtains a target management policy.
[0092] When the above target information includes: the identifier of the target reference policy and the difference between the target policy items, the implementation method of the above S160 includes the first device determining the target management policy according to the target information. The specific implementation method is shown in S160a-S160c below and will not be repeated here.
[0093] In the case that the above target information includes: a target management policy, a specific implementation method of the above S160 is: the first device receives the target management policy sent by the control device.
[0094] S170. The first device adjusts the target factor according to the target management strategy.
[0095] For example, assuming that the target management strategy includes: 18% sunshade coverage, 490L watering, and 10kg alkali spreading. Then, at this time, the first device controls the sunshade coverage of the park to be adjusted to 18%, the watering to be adjusted to 490L, and the alkali spreading to be adjusted to 10kg, so that the environmental data of the park's environment is close to or equal to the preset environmental data.
[0096] The embodiment of the present application provides an environmental management method, which includes: determining the difference between current environmental data and target reference data; and sending the difference to a control device via a satellite, so that the control device determines target information for indicating a target management strategy based on the difference; wherein the target management strategy is a strategy for adjusting the target factor of the characteristic value of at least one environmental characteristic in the current environment that affects the environmental data, so that the environmental data of the adjusted environment approaches the preset environmental data. Then, the target factor is obtained and adjusted according to the target management strategy. Since the first device in the above method sends the difference between the current environmental data and the target reference data to the control device via a satellite, and the difference is smaller than the data volume of the entire current environmental data, when the first device sends the difference information to the control device via a satellite, the difference information occupies less data transmission resources of the satellite, thereby saving data transmission resources in the satellite.
[0097] In one embodiment, the specific implementation of the above S140 is as follows: Figure 3 As shown, including: S140a-S140e.
[0098] S140a. The control device obtains target reference data from at least one set of reference environment data stored locally according to an identifier of the target reference data.
[0099] It should be noted that the above-mentioned control device stores at least one set of reference environment data; wherein, the at least one set of reference environment data stored in the control device is completely identical to the at least one set of reference environment data stored in the above-mentioned first device.
[0100] The specific implementation method of the above S140a includes: controlling the device to obtain reference environment data identified as target reference data from the local, and the reference environment data is the above target reference data.
[0101] S140b. The control device determines the first environment data according to the difference between the target reference data and the target characteristics.
[0102] The feature value of the non-target feature in the above-mentioned first environment data and the target reference data is the same, that is, the feature value of the non-target feature in the above-mentioned first environment data is the same as the feature value of the non-target feature in the target reference data; the feature value of the target feature in the first environment data and the above-mentioned current environment data is the same, that is, the feature value of the target feature in the first environment data is the same as the feature value of the target feature in the above-mentioned current environment data.
[0103] It should be noted that the above-mentioned first environment data and the above-mentioned current environment data may be the same or different, as specifically described in the following cases 1 to 2.
[0104] Case 1: When the target feature includes all environmental features in the target reference data that are different from the current environmental data (ie, the target feature is the target feature in the first implementation method in S120 above); the first environmental data is exactly the same as the current environmental data.
[0105] Exemplarily, based on the example in the first implementation in S120 above, the current environmental data is as shown in Table 1 above; the differences in the above target characteristics include: a temperature difference of -1 degree Celsius and a land pH difference of -0.5. The target reference data includes: an effective light time of 12 hours, a temperature of 24 degrees Celsius, and a land pH value of 7; at this time, the control device adds a temperature difference of -1 to the temperature 24 in the target reference data; and adds a land pH difference of -0.5 to the land pH value 7 in the target reference data, to obtain the updated target reference data (i.e., the first environmental data), which is exactly the same as the above current environmental data, and includes: an effective light time of 12 hours, a temperature of 23 degrees Celsius, and a land pH value of 6.5.
[0106] Case 2: When the target feature includes an environmental feature in the target reference data whose difference with the current environmental data is greater than the first preset difference (ie, the target feature is the target feature in the second implementation method in S120 above); the first environmental data is different from the above current environmental data.
[0107] Exemplarily, based on the example in the second implementation in S120, the difference in the above target characteristics includes: a temperature difference of -1 degree Celsius, the current environmental data is as shown in Table 1 above, including: an effective light time of 12 hours; a temperature of 23 degrees Celsius; a soil pH value of 6.5; the target reference data is the reference environmental data identified as 2 in Table 2, which includes: an effective light time of 12 hours, a temperature of 24 degrees Celsius, and a soil pH value of 7. At this time, the control device adds the temperature difference -1 to the temperature 24 in the target reference data; obtains the first environmental data, which includes: an effective light time of 12 hours, a temperature of 23 degrees Celsius, and a soil pH value of 7; since the soil pH value in the first environmental data is 7, and the soil pH value in the current environmental data is 6.5; the first environmental data is different from the current environmental data.
[0108] S140c: The control device determines a first management strategy according to the first environment data.
[0109] The first management strategy is to adjust the target factor of the characteristic value of at least one environmental characteristic in the environmental data in the current environment so that the environmental data of the adjusted environment is the strategy of the preset environmental data. For example, the first management strategy is to adjust the watering amount (target factor) in the soybean plantation so that the humidity (environmental data) of the plantation reaches the humidity in the preset environmental data.
[0110] Exemplarily, the above-mentioned first management strategy is shown in Table 5 below, and the strategy items in the first management strategy include: sun visor coverage rate, water sprinkling amount and alkali spreading amount; among them, the sun visor coverage rate is 18% (that is, the strategy value is 18%), the water sprinkling amount is 490L and the alkali spreading amount is 10kg.
[0111] Table 5
[0112] Visor coverage Sprinkling amount Amount of alkali 18% 490L 10kg
[0113] It should be noted that the implementation method of the above S140c can be that the control device determines the first management strategy based on the training model, or it can be the first management strategy determined based on an existing algorithm. The specific implementation method of S140c is not limited in the embodiment of the present application.
[0114] S140d: The control device determines a target reference policy according to the first management policy and at least one reference management policy stored locally.
[0115] Any one of the at least one reference management strategy is a historical management strategy of the park.
[0116] In one embodiment, the at least one reference management policy includes a preset management policy.
[0117] It should be noted that the reference management strategy includes a policy value of at least one policy item, and the policy items included in any two management strategies in the above management strategies are the same, such as the policy items in any two reference management strategies include: sunshade coverage, watering amount and alkali spreading amount.
[0118] The target reference policy is the reference management policy that has the smallest difference with the first management policy among the at least one reference management policy.
[0119] Exemplarily, it is assumed that at least one reference management strategy stored in the control device includes reference management strategy A, reference management strategy B and reference management strategy C as shown in Table 6 below; wherein, reference management strategy A includes: sun visor coverage rate of 20%, watering amount of 500L and alkali spreading amount of 10kg; reference management strategy B includes: sun visor coverage rate of 25%, watering amount of 600L and alkali spreading amount of 8kg; reference management strategy C includes: sun visor coverage rate of 40%, watering amount of 400L and alkali spreading amount of 6kg. It is also assumed that the first management strategy includes: sun visor coverage rate of 18%, watering amount of 490L and alkali spreading amount of 10kg as shown in Table 5 above. Then, since the alkali spreading amount in the first management strategy is the same as the alkali spreading amount of reference management strategy A in Table 6, and the sun visor coverage rate and watering amount in the first management strategy and reference management strategy A are slightly different, the control device determines reference management strategy A as the target reference strategy.
[0120] Table 6
[0121] Logo Visor coverage Sprinkling amount Amount of alkali Reference Management Strategy A 20% 500L 10kg Reference Management Strategy B 25% 600L 8kg Reference Management Strategy C 40% 400L 6kg
[0122] S140e: The control device determines target information according to the first management policy and the target reference policy.
[0123] The target information includes: an identifier of the target reference policy and differences in target policy items; wherein the target policy items include policy items in the target reference policy that are different from the first management policy.
[0124] In a first implementation manner, the target policy items include all policy items in the target reference policy that are different from the first management policy.
[0125] Exemplarily, based on the example in S140d above, the target reference strategy is the reference management strategy A in Table 6 above, which specifically includes: 20% sun visor coverage, 500L watering, and 10kg alkali spreading. The first management strategy is shown in Table 5 above, including: 18% sun visor coverage, 490L watering, and 10kg alkali spreading. For ease of observation, the target reference strategy and the first management strategy are shown in Table 7 below.
[0126] At this time, the difference between the sun visor coverage rate in the first management strategy and the target reference strategy is -2%, the difference in the watering amount is -10L, and the difference in the alkali spreading amount is 0. Since the target strategy items include all strategy items in the target reference strategy that are different from the first management strategy; the control device determines the sun visor coverage rate and the watering amount as the target strategy items. Then, at this time, the differences in the above target strategy items include: the difference in the sun visor coverage rate is -2% and the difference in the watering amount is -10L.
[0127] Table 7
[0128] Management strategies Visor coverage Sprinkling amount Amount of alkali First management strategy 18% 490L 10kg Target Reference Strategy 20% 500L 10kg
[0129] In a second implementation, the target policy items include policy items in the target reference policy whose difference with the first management policy is greater than a second preset difference; that is, the target policy items include some policy items in the target reference policy that differ from the first management policy.
[0130] Exemplarily, based on the example in the first implementation manner, the difference between the sun visor coverage rate in the first management strategy and the target reference strategy is -2%, the difference in watering volume is -10L, and the difference in alkali spreading volume is 0. It is also assumed that the second preset difference in sun visor coverage rate is 3%, and the second preset difference in watering volume is 5L.
[0131] Then, since the absolute value of the difference in sun visor coverage of 2% is less than the second preset difference of sun visor coverage of 3%, the control device does not determine the sun visor coverage as the target strategy item; and since the absolute value of the difference in watering amount of 10L is greater than the second preset difference of the watering amount of 5L; at this time, the control device determines the watering amount as the target strategy item. Then, at this time, the difference of the above target strategy items includes: the difference in watering amount is -10L.
[0132] In an embodiment of the present application, the control device sends target information including the identifier of the target reference policy and the difference between the target policy items (used to indicate the difference between the target reference policy and the first management policy) to the first device via a satellite. Compared with the data volume of the entire first management policy, the target information has a smaller data volume. Therefore, when the control device sends the target information to the first device via a satellite, the target information occupies less data transmission resources of the satellite, thereby further saving data transmission resources in the satellite.
[0133] In one embodiment, the specific implementation method of the above S160 is as follows: Figure 4 As shown, it includes S160a-S160c.
[0134] S160a. The first device receives target information sent by the control device.
[0135] The target information includes: an identifier of the target reference strategy and differences in target strategy items.
[0136] It should be noted that the description of the target information in the above S160a is consistent with the description of the target information in the above S140e; please refer to the relevant description of S140e for details, which will not be repeated here.
[0137] S160b: The first device determines a target reference policy from at least one reference management policy stored in the first device according to an identifier of the target reference policy.
[0138] It should be noted that the at least one reference management policy stored in the first device is completely identical to the at least one reference management policy stored in the control device.
[0139] The specific implementation manner of the above S160b includes: the first device obtains a reference management policy identified as an identifier of a target reference policy from at least one reference management policy stored locally, and the reference management policy is the target reference policy.
[0140] S160c: The first device determines a target management policy according to a difference between the target reference policy and the target policy item.
[0141] The specific implementation method of the above S160c includes: updating the policy value of the target policy item in the target reference policy according to the difference of the target policy item, so that the policy value of the target policy item in the updated target reference policy (i.e., the target management policy) is the same as the policy value of the target policy item in the above first management policy. In other words, the policy value of the non-target policy item in the target management policy is the same as that in the target reference policy, i.e., the policy value of the non-target policy item in the target management policy is the same as that in the target reference policy; the policy value of the target policy item in the target management policy is the same as that in the first management policy, i.e., the policy value of the target policy item in the target management policy is the same as that in the first management policy.
[0142] It should be noted that the above-mentioned target management strategy may be the same as the first management strategy or may be different from the first management strategy, as specifically described in the following Case A and Case B.
[0143] Case A: When the above-mentioned target policy items include all policy items in the target reference policy that are different from the first management policy (that is, the target policy items are the target policy items in the first implementation method in the above-mentioned S140e); the first device determines that the target management policy is the first management policy based on the difference between the target reference policy and the target policy items; that is, in this case, the target management policy is the same as the first management policy.
[0144] Exemplarily, based on the example in the first implementation in S140e above, the first management strategy is shown in Table 5 above. The above target reference strategy includes: 20% sun visor coverage, 500L watering, and 10kg alkali spreading, and the differences in the target strategy items include: -2% difference in sun visor coverage and -10L difference in watering. At this time, the first device adds -2% difference in sun visor coverage to the target reference strategy, and -10L difference in watering to the 500L watering, to obtain an updated target reference strategy (i.e., target management strategy), which is the same as the above first management strategy, and includes: 18% sun visor coverage, 490L watering, and 10kg alkali spreading.
[0145] Case B: When the target policy item includes a policy item in the target reference policy whose difference with the first management policy is greater than the second preset difference (that is, the target policy item is the target policy item in the second implementation method in the above S140e); the target management policy determined by the first device based on the identifier of the target reference policy and the difference in the target policy item is different from the first management policy.
[0146] Exemplarily, based on the exemplary second implementation method in S140e above, the first management strategy is shown in Table 5 above, the target reference strategy includes: sun visor coverage rate 20%, water sprinkling volume 500L and alkali spreading volume 10kg, and the difference in target strategy items includes: the difference in visor sprinkling volume is -10L; at this time, the first device adds the water sprinkling volume 500L in the target reference strategy and the difference in water sprinkling volume is -10L, and the updated target reference strategy (ie: target management strategy) includes: sun visor coverage rate 20%, water sprinkling volume 490L and alkali spreading volume 10kg; and the above-mentioned first management strategy includes: sun visor coverage rate 18%, water sprinkling volume 490L and alkali spreading volume 10kg; since the sun visor coverage rate in the first management strategy is 18%, and the sun visor coverage rate in the target management strategy is 20%, the target management strategy is different from the first management strategy.
[0147] It should be noted that at least one set of reference environmental data is stored in the above-mentioned first device. However, with the change of seasons, the difference between the at least one set of reference environmental data and the current environmental data becomes increasingly larger, such as: the at least one set of reference environmental data are all environmental data of the park in winter; when it is summer, the difference between the current environmental data of the park and the at least one set of reference environmental data is quite large; even the target reference data determined from the at least one set of reference environmental data is quite different from the current environmental data, resulting in a large amount of difference information sent by the first device to the control device.
[0148] Based on this, in one embodiment, if Figure 5 As shown, the above method also includes: S210-S220.
[0149] S210. The first device determines first environment data according to a difference between target reference data and target characteristics.
[0150] The first environment data is used to update at least one set of reference environment data stored in the first device, so that the at least one set of reference environment data includes the first environment data.
[0151] The description of the difference between the target reference data and the target features in the above S210 is consistent with the description in S110 - S120 ; please refer to the relevant description of S110 - S120 for details, which will not be repeated here.
[0152] It should be noted that the implementation method of S210 is consistent with the implementation method of S140b. For the specific implementation process of S210, please refer to the above description of S140b, which will not be repeated here.
[0153] S220: The first device stores first environment data.
[0154] The first device stores the first environment data, so that at least one set of reference environment data stored in the first device includes the first environment data; so that the first environment data can be used as target reference data later.
[0155] In one embodiment, the specific implementation of the above S220 is combined with Figure 5 ,like Figure 6 As shown, including: S220a-220c.
[0156] S220a: The first device determines whether the number of at least one set of reference environment data stored locally is greater than or equal to a first threshold.
[0157] When the number of the at least one set of reference environment data is greater than or equal to the first threshold, the following S220b is executed.
[0158] When the number of the at least one set of reference environment data is less than the first threshold, the following S220c is executed.
[0159] S220b: The first device replaces the first reference data stored locally with the first environment data.
[0160] The above-mentioned first reference data is the reference environment data that is determined as the target reference data the least number of times among other environment data except the preset environment data in at least one set of reference environment data stored in the first device; that is, the first reference data is the reference environment data that is referenced the least number of times among the reference environment data stored in the first device.
[0161] Exemplarily, it is assumed that at least one set of reference environment data stored in the first device is as shown in Table 2 above, including three sets of reference environment data; and it is also assumed that the first device has been executed multiple times before. Figure 2 In the process of the environmental management method shown, the first group of reference environmental data in Table 2 (ie, the reference environmental data identified as 1) is determined as the target reference data the least number of times. At this time, the first device determines the first group of reference environmental data as the first reference data.
[0162] In one embodiment, when there are multiple reference environment data with the least number of references, the reference environment data with the longest storage time among the multiple reference environment data with the least number of references is determined as the first reference data.
[0163] The specific implementation method of the above S220b includes: the first device deletes the first reference data from the reference environment data stored locally; then, the first device stores the above first environment data locally.
[0164] It should be noted that, when the above S220b is executed before S130; the short message including difference information sent by the above first device to the control device via the satellite, on the basis of what is shown in Table 4 above, also includes: a replacement item, the content of which is the identifier of the above first reference data; so that after receiving the short message, the control device does not need to determine the first reference data locally, thereby improving the efficiency of the control device in storing the first environmental data.
[0165] The above embodiment replaces the first reference data with poor referenceability with the first environment data by iterative storage, which saves storage resources of the first device compared to the method of directly storing the first environment data locally in the first device.
[0166] S220c: The first device stores the first environment data.
[0167] The embodiment of the present application determines the first environment data based on the difference between the target reference data and the target characteristics, and stores the first environment data in the first device for subsequent use as the target reference data, thereby reducing the difference between at least one set of reference environment data stored in the first device and the subsequent current environment data, thereby indirectly saving data sending resources in the first device.
[0168] It should be noted that since at least one set of reference environment data stored in the first device is exactly the same as at least one set of reference environment data stored in the control device, the control device also needs to store the first environment data after executing S140b. The specific storage method is similar to the above S220 and will not be repeated here.
[0169] It should be noted that at least one reference management strategy is stored in the above-mentioned control device. However, with the change of seasons, the difference between the at least one reference management strategy and the target management strategy becomes increasingly larger. For example, the at least one reference management strategy is the target management strategy determined for the park in winter. When it is summer, the target management strategy determined by the control device is quite different from the at least one reference management strategy. Even the target reference strategy determined from the at least one reference management strategy is quite different from the target management strategy, resulting in a large amount of data of the target information sent by the control device to the first device.
[0170] Based on this, in one embodiment, if Figure 7 As shown, the above method also includes: S310-S320.
[0171] S310: The control device determines a target management policy according to a difference between a target reference policy and a target policy item.
[0172] The target management policy is used to update at least one reference management policy stored in the control device, so that the at least one reference management policy includes the target management policy.
[0173] The specific description of the above target reference strategy and target strategy items is consistent with the description in the above S140d-S140e. Please refer to the relevant description in S140d-S140e for details and will not be repeated here.
[0174] It should be noted that the implementation method of the above S310 is similar to the implementation method of S160c. For the specific description of S310, reference may be made to the above related description of S160c, which will not be repeated here.
[0175] S320, controlling the device storage target management strategy.
[0176] The control device stores the target management policy, so that at least one reference management policy stored in the control device includes the target management policy; so that the target management policy can be used as a target reference policy later.
[0177] In one embodiment, the specific implementation of the above S320 is combined with Figure 7 ,like Figure 8 As shown, it includes: S320a-S320c.
[0178] S320a: The control device determines whether the number of at least one reference management policy stored locally is greater than or equal to a second threshold.
[0179] When the number of the at least one reference management policy is greater than or equal to the second threshold, the following S320b is executed.
[0180] When the number of the at least one reference management policy is less than the second threshold, the following S320c is executed.
[0181] S320b: The control device replaces the first reference policy stored locally with the target management policy.
[0182] The above-mentioned first reference policy is the reference management policy that is determined as the target reference policy the least number of times among at least one reference management policy stored in the first device, except for the preset management policy; that is, the first reference policy is the reference management policy that is referenced the least number of times among the reference management policies stored in the first device.
[0183] The specific implementation method of the above S320b includes: controlling the device to delete the first reference policy from the reference management policies stored locally; and then controlling the device to store the above target management policy locally.
[0184] The above embodiment replaces the first reference policy with poor referenceability with the target management policy by means of iterative storage. Compared with the method in which the control device directly stores the target management policy locally, the storage resources of the control device are saved.
[0185] S320c, control device storage target management strategy.
[0186] The embodiment of the present application determines a target management policy based on the difference between a target reference policy and a target policy item, and stores the target management policy in a control device for subsequent use as a target reference policy, thereby reducing the difference between at least one reference management policy stored in the control device and a subsequently determined target management policy, thereby indirectly saving data sending resources of the control device.
[0187] It should be noted that since at least one reference management policy stored in the control device is exactly the same as at least one reference management policy stored in the first device, the first device also needs to store the target management policy after executing S170. The specific storage method is similar to the above S320 and will not be repeated here.
[0188] It should be noted that the above S130 is that the first device sends difference information to the control device via a satellite; however, the control device is affected by external factors (such as weather) and / or internal factors (such as current load), and may not be able to successfully receive the difference information, resulting in a low success rate for the control device to receive the message.
[0189] Based on this, in one embodiment, if Fig. 9 The above-mentioned S130 specifically includes: S410-S430.
[0190] S410. The control device determines a target quantity according to a first receiving probability, a preset receiving probability and a target algorithm.
[0191] The first reception probability is the probability that the control device currently successfully receives the message sent by the first device. For example, the first reception probability is 80%.
[0192] The preset reception probability is the probability of successfully receiving a message that the control device needs to achieve, such as 98%.
[0193] The above-mentioned target number is the number of times the first device sends a message when the probability that the control device successfully receives the message sent by the first device is a preset reception probability; that is, the first device repeatedly sends message A a target number of times, and the probability that the control device can successfully receive the message is the preset reception probability.
[0194] The above target algorithm is shown in the following formula (1):
[0195] n=[(log(1-N)) / log(1-M)]+1 (1)
[0196] Wherein, n is the target number, N is the preset receiving probability, and M is the first receiving probability.
[0197] S420: The control device sends the target quantity to the first device.
[0198] It should be noted that the control device sends the target number to the first device via a satellite. The specific sending method can be referred to the prior art and will not be described in detail here.
[0199] S430: The first device sends the difference information to the control device a target number of times in the form of short messages.
[0200] It should be noted that the first device sends the short message including the difference information to the control device via the satellite for the target number of times. At this time, the short message, based on the above Table 4, also includes: the total number of repetitions and the current number of repetitions; wherein the total number of repetitions is the target number of repetitions, that is, the total number of repetitions is used to indicate the number of times the message needs to be sent. The current number of repetitions is used to indicate the number of times the short message has been sent up to the current time.
[0201] In the embodiment of the present application, the control device determines the target number according to the first reception probability, the preset reception probability and the target algorithm; the target number is the number of times the first device sends a message when the probability that the control device successfully receives the message sent by the first device is the preset reception probability. Then, the target number is sent to the first device so that the first device repeatedly sends the difference information to the control device for the target number of times, so that the probability of the difference information being successfully received by the control device reaches the preset reception probability; thus, the success rate of the control device receiving the message is improved.
[0202] It is understandable that, in order to realize the above functions, the first device includes a hardware structure and / or software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiments of the present application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0203] The embodiment of the present application can divide the functional modules of the first device according to the above method embodiment. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one functional module. The above integrated module can be implemented in the form of hardware or software. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function.
[0204] In the case of dividing each functional module into corresponding functional modules, Fig.10 A possible structural diagram of the first device involved in the above embodiment is shown. Fig.10 As shown, the first device includes: a processing unit 1010 and a transceiver unit 1020. In some embodiments, the first device may further include: a storage unit 1030.
[0205] Processing unit 1010 is used to determine the difference information between current environmental data and target reference data; wherein the difference information includes the difference of the target feature and the identifier of the target reference data; the target feature includes the environmental feature in the target reference data that is different from the current environmental data; the target reference data includes the characteristic value of at least one environmental feature. Transceiver unit 1020 is used to send the difference information to the control device, the difference information is used by the control device to determine the target information, and the target information is used to indicate the target management strategy; wherein the target management strategy is to adjust the target factors that affect the characteristic value of at least one environmental feature in the current environment, so that the environmental data of the adjusted environment approaches the preset environmental data. Processing unit 1010 is also used to obtain the target management strategy; and adjust the target factors according to the target management strategy.
[0206] In some embodiments, the target reference data is reference environment data having the smallest difference with the current environment data among at least one set of reference environment data stored in the first device; wherein the at least one set of reference environment data includes the preset environment data.
[0207] In some embodiments, the environmental features in the target reference data that differ from the current environmental data include: environmental features in the target reference data that differ from the current environmental data by more than a first preset difference.
[0208] In some embodiments, the first device further includes: a storage unit 1030; and a processing unit 1010, further configured to determine the first environment data according to the difference between the target reference data and the target feature, wherein the feature values of the non-target features in the first environment data and the target reference data are the same, and the feature values of the target features in the first environment data and the current environment data are the same. The storage unit 1030 is configured to store the first environment data.
[0209] In some embodiments, the storage unit 1030 is specifically configured to replace the locally stored first reference data with the first environment data when the number of at least one set of reference environment data stored in the first device is greater than or equal to a first threshold; wherein the first reference data is the reference environment data that is determined as the target reference data the least number of times among other environment data in the at least one set of reference environment data except the preset environment data. The storage unit 1030 is also specifically configured to store the first environment data when the number of the at least one set of reference environment data is less than the first threshold.
[0210] In some embodiments, the transceiver unit 1020 is used to receive the target information sent by the control device; the target information includes: the identifier of the target reference policy and the difference of the target policy items; the target reference policy is the management policy determined by the control device with the smallest difference from the first management policy; the first management policy is a policy for adjusting the target factor so that the environmental data of the adjusted environment is the preset environmental data; the target policy items include the policy items in the target reference policy that are different from the first management policy. The processing unit 1010 is used to determine the target reference policy from at least one reference management policy stored by the first device according to the identifier of the target reference policy. The processing unit 1010 is also used to determine the target management policy according to the difference between the target reference policy and the target policy items; the target management policy has the same policy value as the non-target policy item in the target reference policy, and the target management policy has the same policy value as the target policy item in the first management policy.
[0211] In some embodiments, the target reference policy has a policy item whose difference from the first management policy is greater than a second preset difference.
[0212] In some embodiments, the storage unit 1030 is further used to store the target management policy.
[0213] In some embodiments, the storage unit 1030 is specifically used to replace the first reference policy in the at least one reference management policy with the target management policy when the number of the at least one reference management policy stored in the first device is greater than or equal to the second threshold; the first reference policy is the management policy that is determined as the target reference policy the least number of times among the other management policies in the at least one reference management policy except the preset management policy. The storage unit 1030 is also specifically used to store the target management policy when the number of the at least one reference management policy is less than the second threshold.
[0214] In some embodiments, the transceiver unit 1020 is configured to send the difference information to the control device in the form of a short message.
[0215] In some embodiments, the transceiver unit 1020 is used to obtain a target number from the control device; wherein the target number is the number of times the first device sends the message when the probability that the control device successfully receives the message sent by the first device is a preset reception probability. The transceiver unit 1020 is also used to send the difference information to the control device in the form of a short message a target number of times.
[0216] For the specific description of the above optional manner, please refer to the above method embodiment, which will not be repeated here. In addition, the explanation of any of the first devices provided above and the description of the beneficial effects can refer to the above corresponding method embodiment, which will not be repeated here.
[0217] In the case of dividing each functional module into corresponding functional modules, Fig.11 A possible structural diagram of the control device involved in the above embodiment is shown. Fig.11 As shown, the control device includes: a transceiver unit 1110 and a processing unit 1120. In some embodiments, the control device may further include a storage unit 1130.
[0218] The transceiver unit 1110 is used to receive difference information sent by the first device, wherein the difference information includes: the difference in target characteristics and the identifier of the target reference data; the target reference data is the reference environment data with the smallest difference from the current environment data; the target characteristics include the environment characteristics in the target reference data that are different from the current environment data; the target reference data includes the characteristic value of at least one environment characteristic. The processing unit 1120 is used to determine the target information according to the difference information; wherein the target information is used to indicate a target management strategy, wherein the target management strategy is a strategy for adjusting the target factors that affect the characteristic value of at least one environment characteristic in the current environment so that the environment data of the adjusted environment approaches the preset environment data. The transceiver unit 1110 is also used to send the target information to the first device.
[0219] In some embodiments, the target information includes: an identifier of a target reference policy and differences in target policy items; wherein the target reference policy is a management policy that has the smallest difference from a first management policy among at least one reference management policy stored in a control device; the first management policy is a strategy for adjusting the target factors so that the environmental data of the adjusted environment is the preset environmental data; the target policy items include policy items in the target reference policy that differ from the first management policy.
[0220] In some embodiments, the environmental characteristics in the target reference data that differ from the current environmental data include: environmental characteristics in the target reference data that differ from the current environmental data by more than a first preset difference; and / or; policy items in the target reference policy that differ from the first management policy, including: policy items in the target reference policy that differ from the first management policy by more than a second preset difference.
[0221] In some embodiments, the processing unit 1120 is used to obtain the target reference data from at least one set of reference environment data stored in the control device according to the identifier of the target reference data. The processing unit 1120 is also used to determine the first environment data according to the difference between the target reference data and the target feature; the feature values of the non-target features in the first environment data and the target reference data are the same, and the feature values of the target features in the first environment data and the current environment data are the same. The processing unit 1120 is also used to determine the first management policy according to the first environment data; and determine the target reference policy according to the first management policy and the at least one reference management policy. The processing unit 1120 is also used to determine the target information according to the first management policy and the target reference policy.
[0222] In some embodiments, the control device further includes a storage unit 1130; the storage unit 1130 is used to store the first environment data.
[0223] In some embodiments, the processing unit 1120 is used to determine the target management policy according to the difference between the target reference policy and the target policy item; the target management policy has the same policy value as the non-target policy item in the target reference policy, and the target management policy has the same policy value as the target policy item in the first management policy. The storage unit 1130 is used to store the target management policy.
[0224] In some embodiments, the processing unit 1120 is used to determine the target number according to the first reception probability, the preset reception probability and the target algorithm; wherein the first reception probability is the probability that the current control device successfully receives the message sent by the first device; the target number is the number of times the first device sends the message when the probability that the control device successfully receives the message sent by the first device is the preset reception probability; the target algorithm formula is as follows: n = [
[0225] (log(1-N)) / log(1-M)]+1, n is the target number, N is the preset reception probability, and M is the first reception probability. The transceiver unit 1110 is configured to send the target number to the first device.
[0226] For the detailed description of the above optional methods, please refer to the above method embodiments, which will not be repeated here. In addition, the explanation of any control device provided above and the description of the beneficial effects can refer to the above corresponding method embodiments, which will not be repeated here.
[0227] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiments of the present application provide another possible structure of the electronic device (ie, the first device or the control device) involved in the above-mentioned embodiments. Fig.12 As shown, the electronic device includes: a processor 1202 and a bus 1204. Optionally, the electronic device may further include a memory 1201; and optionally, the electronic device may further include a communication interface 1203.
[0228] Processor 1202 may be a processor that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present application. The processor 1202 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present application. Processor 1202 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0229] The communication interface 1203 is used to connect with other devices via a communication network, such as Ethernet, wireless access network, wireless local area network (WLAN), etc.
[0230] The memory 1201 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0231] As a possible implementation, the memory 1201 may exist independently of the processor 1202, and the memory 1201 may be connected to the processor 1202 via a bus 1204 for storing instructions or program codes. When the processor 1202 calls and executes the instructions or program codes stored in the memory 1201, the environment control method provided in the embodiment of the present application can be implemented.
[0232] In another possible implementation, the memory 1201 may also be integrated with the processor 1202 .
[0233] The bus 1204 may be an extended industry standard architecture (EISA) bus, etc. The bus 1204 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.12 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0234] Some embodiments of the present application provide a computer-readable storage medium (e.g., a non-transitory computer-readable storage medium), which stores computer program instructions. When the computer program instructions are executed on a computer, the computer executes the environmental management method as described in any of the above embodiments.
[0235] Exemplarily, the above-mentioned computer-readable storage media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks or magnetic tapes, etc.), optical disks (e.g., compact disks (CD), digital versatile disks (DVD), etc.), smart cards and flash memory devices (e.g., erasable programmable read-only memory (EPROM), cards, sticks or key drives, etc.). The various computer-readable storage media described in this application may represent one or more devices and / or other machine-readable storage media for storing information. The term "machine-readable storage medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing and / or carrying instructions and / or data.
[0236] An embodiment of the present application provides a computer program product comprising instructions. When the computer program product is run on a computer, the computer is enabled to execute the environment management method described in any one of the above embodiments.
[0237] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An environmental management method, characterized in that: The method is applied to a first device, and the method includes: Determine difference information between current environmental data and target reference data; wherein the difference information includes a difference in target characteristics and an identifier of the target reference data; the target characteristics include environmental characteristics in the target reference data that are different from the current environmental data; the target reference data includes a characteristic value of at least one environmental characteristic; Sending the difference information to the control device, the difference information is used by the control device to determine target information, and the target information is used to indicate a target management strategy; wherein the target management strategy is to adjust the target factor affecting the characteristic value of the at least one environmental characteristic in the current environment so that the environmental data of the adjusted environment approaches the preset environmental data; Obtaining the target management strategy; According to the target management strategy, the target factors are adjusted.
2. The method according to claim 1, characterized in that: The target reference data is the reference environment data having the smallest difference with the current environment data among at least one set of reference environment data stored in the first device; wherein the at least one set of reference environment data includes the preset environment data.
3. The method according to claim 1, characterized in that: The environmental features in the target reference data that differ from the current environmental data include: The target reference data has an environmental feature whose difference from the current environmental data is greater than a first preset difference.
4. The method according to claim 2, characterized in that: Before obtaining the target management strategy, the method further includes: Determine first environmental data according to a difference between the target reference data and the target feature, wherein the feature values of non-target features in the first environmental data and the target reference data are the same, and the feature values of the target features in the first environmental data and the current environmental data are the same; The first environment data is stored; the first environment data is used to update at least one set of reference environment data stored in the first device.
5. The method according to claim 4, characterized in that The storing of the first environment data comprises: When the number of at least one set of reference environment data stored in the first device is greater than or equal to a first threshold, replacing the locally stored first reference data with the first environment data; wherein the first reference data is the reference environment data that is determined as the target reference data the least number of times among other environment data in the at least one set of reference environment data except the preset environment data; When the number of the at least one set of reference environment data is smaller than the first threshold, the first environment data is stored.
6. The method according to any one of claims 1 to 3, characterized in that: The obtaining of the target management strategy includes: Receive target information sent by the control device; the target information includes: an identifier of a target reference policy and a difference in target policy items; the target reference policy is a management policy determined by the control device and having the smallest difference from a first management policy; the first management policy is a policy for adjusting the target factor so that the environmental data of the environment after adjustment is a preset environmental data; the target policy items include policy items in the target reference policy that are different from the first management policy; Determining the target reference policy from at least one reference management policy stored in the first device according to the identifier of the target reference policy; The target management policy is determined based on the difference between the target reference policy and the target policy item; the target management policy has the same policy value as the non-target policy item in the target reference policy, and the target management policy has the same policy value as the target policy item in the first management policy.
7. The method according to claim 6, characterized in that The policy items in the target reference policy that differ from the first management policy include: A policy item in the target reference policy that has a difference with the first management policy that is greater than a second preset difference.
8. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: The target management policy is stored.
9. The method according to claim 8, characterized in that Storing the target management strategy includes: In a case where the number of at least one reference management policy stored in the first device is greater than or equal to a second threshold, replacing a first reference policy in the at least one reference management policy with the target management policy; the first reference policy is the management policy that is determined as the target reference policy the least number of times among other management policies in the at least one reference management policy except the preset management policy; In a case where the number of the at least one reference management policy is less than the second threshold, the target management policy is stored.
10. The method according to claim 1 or 2, characterized in that: The sending the difference information to the control device includes: The difference information is sent to the control device in the form of a short message.
11. The method according to claim 10, characterized in that Before sending the difference information to the control device in a short message, the method further includes: Acquire a target number from the control device; wherein the target number is the number of times the first device sends the message when the probability that the control device successfully receives the message sent by the first device is a preset reception probability; The sending the difference information to the control device in a short message manner includes: The difference information is sent to the control device a target number of times in the form of short messages.
12. An environmental management method, characterized in that: The method is applied to a control device, and the method comprises: Receive difference information sent by the first device, the difference information including: a difference in target characteristics and an identifier of target reference data; the target reference data is reference environmental data with the smallest difference from the current environmental data; the target characteristics include environmental characteristics in the target reference data that are different from the current environmental data; the target reference data includes a characteristic value of at least one environmental characteristic; Determine target information according to the difference information; wherein the target information is used to indicate a target management strategy, and the target management strategy is a strategy for adjusting a target factor affecting a characteristic value of at least one environmental characteristic in the current environment so that environmental data of the adjusted environment approaches preset environmental data; The target information is sent to the first device.
13. The method according to claim 11, characterized in that The target information includes: an identifier of a target reference policy and differences in target policy items; wherein the target reference policy is a management policy that has the smallest difference from a first management policy among at least one reference management policy stored in a control device; the first management policy is a strategy for adjusting the target factors so that the environmental data of the adjusted environment is the preset environmental data; the target policy items include policy items in the target reference policy that differ from the first management policy.
14. The method according to claim 13, characterized in that The environmental features in the target reference data that differ from the current environmental data include: An environmental feature in the target reference data having a difference greater than a first preset difference from the current environmental data; and / or; The policy items in the target reference policy that differ from the first management policy include: A policy item in the target reference policy that has a difference with the first management policy that is greater than a second preset difference.
15. The method according to claim 14, characterized in that The step of determining target information according to the difference information includes: Acquire the target reference data from at least one set of reference environment data stored in the control device according to the identifier of the target reference data; Determine the first environment data according to the difference between the target reference data and the target feature; the feature values of the non-target features in the first environment data and the target reference data are the same, and the feature values of the target features in the first environment data and the current environment data are the same; Determining the first management strategy according to the first environmental data; determining the target reference policy according to the first management policy and the at least one reference management policy; The target information is determined according to the first management policy and the target reference policy.
16. The method according to claim 15, characterized in that After determining the first environment data according to the difference between the target reference data and the target feature, the method further includes: The first environment data is stored.
17. The method according to any one of claims 13 to 16, characterized in that: The method further comprises: Determine the target management policy according to the difference between the target reference policy and the target policy item; the target management policy has the same policy value as the non-target policy item in the target reference policy, and the target management policy has the same policy value as the target policy item in the first management policy; The target management policy is stored.
18. The method according to any one of claims 12 to 16, characterized in that: Before receiving the difference information sent by the first device, the method further includes: The target quantity is determined according to the first receiving probability, the preset receiving probability and the target algorithm; wherein the first receiving probability is the probability that the current control device successfully receives the message sent by the first device; the target quantity is the number of times the first device sends the message when the probability that the control device successfully receives the message sent by the first device is the preset receiving probability; the target algorithm formula is as follows: n=[(log(1-N)) / log(1-M)]+1 n is the target number, N is the preset reception probability, and M is the first reception probability; The target quantity is sent to the first device.
19. An electronic device, characterized in that: include: Processor and memory; The memory stores instructions executable by the processor; When the processor is configured to execute the instructions, the electronic device implements the method according to any one of claims 1-11 or claims 12-18.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 11 or claims 12 to 18.
