CN113824752B - Parameter processing method, electrical equipment and server - Google Patents

Parameter processing method, electrical equipment and server Download PDF

Info

Publication number
CN113824752B
CN113824752B CN202010566460.6A CN202010566460A CN113824752B CN 113824752 B CN113824752 B CN 113824752B CN 202010566460 A CN202010566460 A CN 202010566460A CN 113824752 B CN113824752 B CN 113824752B
Authority
CN
China
Prior art keywords
parameter
server
target
area
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010566460.6A
Other languages
Chinese (zh)
Other versions
CN113824752A (en
Inventor
王子真
黄振兴
许升
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Washing Machine Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Washing Machine Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Washing Machine Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Washing Machine Co Ltd
Priority to CN202010566460.6A priority Critical patent/CN113824752B/en
Publication of CN113824752A publication Critical patent/CN113824752A/en
Application granted granted Critical
Publication of CN113824752B publication Critical patent/CN113824752B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a parameter processing method, electrical equipment and a server, wherein the method comprises the following steps: acquiring a target environment parameter of an area where first equipment is located, wherein the target environment parameter is uploaded to a server by second equipment, and the second equipment is also located in the area; and executing corresponding operation according to the target environment parameters. According to the embodiment of the invention, the first equipment acquires the required target environment parameters by using the server, and the target environment parameters are uploaded by the second equipment in the area where the first equipment is located, so that the accurate and rapid acquisition of the environment parameters is realized, related sensors are not required to be installed on the first equipment by related personnel, the complexity and the cost of acquiring the environment parameters are reduced, and the problems of high complexity and high cost of acquiring the existing environment parameters are avoided.

Description

Parameter processing method, electrical equipment and server
Technical Field
The invention belongs to the technical field of intelligent home, and particularly relates to a parameter processing method, electrical equipment and a server.
Background
With the development of network technology, the electrical equipment is more and more intelligent, and the electrical equipment can automatically and intelligently adjust the working mode of the electrical equipment according to the acquired environmental parameters, for example, the washing machine can automatically adjust the washing time according to the acquired water quality parameters. At present, environmental parameters acquired by electrical equipment are generally acquired and uploaded by sensors installed on the electrical equipment, namely, the sensors on the electrical equipment acquire corresponding environmental parameters and upload the corresponding environmental parameters to the electrical equipment.
However, the inventors found that: when the related sensor is not installed on the electrical equipment or the installed sensor fails, the related sensor cannot acquire the corresponding environmental parameter, so that related personnel are required to install the related sensor on the electrical equipment, the sensor can acquire the corresponding environmental parameter, and the complexity and cost for acquiring the environmental parameter are increased.
Disclosure of Invention
In order to solve the above problems in the prior art, namely, the problems of high complexity and high cost of acquiring environmental parameters in the prior art are solved. The invention provides a parameter processing method, electrical equipment and a server.
In a first aspect, an embodiment of the present invention provides a parameter processing method, applied to a first device, where the method includes:
Acquiring a target environment parameter of an area where first equipment is located, wherein the target environment parameter is uploaded to a server by second equipment, and the second equipment is also located in the area;
and executing corresponding operation according to the target environment parameters.
In one possible design, the server includes a cloud server and an area server, and the obtaining, by the server, the target environmental parameter of the area where the first device is located includes:
Sending an environment parameter acquisition request to a cloud server so that the cloud server acquires an area server to which a first device belongs and sends the environment parameter acquisition request to the area server;
and acquiring the target environment parameters sent by the area server.
In one possible design, the target environmental parameter includes a target water quality parameter, and the performing a corresponding operation according to the target environmental parameter includes:
and setting a washing parameter of the washing machine according to the target water quality parameter, wherein the washing machine is in the area.
In a second aspect, an embodiment of the present invention provides a parameter processing method, applied to a server, where the method includes:
acquiring a target environment parameter of an area where first equipment is located, wherein the target environment parameter is uploaded to the server by second equipment, and the second equipment is also located in the area;
and sending the target environment parameters to the first equipment so that the first equipment executes corresponding operations according to the target environment parameters.
In one possible design, the method further comprises:
receiving environment parameters sent by a plurality of devices, and determining a parameter type corresponding to each environment parameter;
and respectively storing the environmental parameters of the plurality of devices according to the parameter types.
In one possible design, the servers include cloud servers and regional servers;
The obtaining the target environmental parameter of the area where the first device is located includes:
The cloud server acquires an environment parameter acquisition request sent by first equipment, searches an area server to which the first equipment belongs, and sends the environment parameter acquisition request to the area server;
and the region server acquires the target environment parameters of the region where the first equipment is located according to the environment parameter acquisition request.
In one possible design, if the number of the area servers is a plurality of, the cloud server searches for the area server to which the first device belongs, including:
the cloud server acquires a first website corresponding to the first equipment and acquires a second website corresponding to each area server;
for each area server, the cloud server determines whether the first website and the second website corresponding to the area server belong to the same network segment, and if so, the area server is determined to be the area server to which the first device belongs.
In a third aspect, an embodiment of the present invention provides a parameter processing apparatus, applied to a first apparatus, where the apparatus includes:
the first transceiver module is used for acquiring target environment parameters of an area where first equipment is located, wherein the target environment parameters are uploaded to the server by second equipment, and the second equipment is also located in the area;
and the first processing module is used for executing corresponding operation according to the target environment parameters.
In one possible design, the server includes a cloud server and an area server, and the first transceiver module is specifically configured to:
Sending an environment parameter acquisition request to a cloud server so that the cloud server acquires an area server to which a first device belongs, and sending the environment parameter acquisition request to the area server;
and acquiring the target environment parameters sent by the area server.
In one possible design, the target environmental parameter includes a target water quality parameter, and the first processing module is specifically configured to:
and setting a washing parameter of the washing machine according to the target water quality parameter, wherein the washing machine is in the area.
In a fourth aspect, an embodiment of the present invention provides a parameter processing apparatus, which is applied to a server, where the server includes:
The second processing module is used for acquiring target environment parameters of an area where the first equipment is located, wherein the target environment parameters are uploaded to the server by second equipment, and the second equipment is also located in the area;
And the second transceiver module is used for sending the target environment parameters to the first equipment so that the first equipment can execute corresponding operations according to the target environment parameters.
In one possible design, the second transceiver module is further configured to:
receiving environment parameters sent by a plurality of devices, and determining a parameter type corresponding to each environment parameter; and respectively storing the environmental parameters of the plurality of devices according to the parameter types.
In one possible design, the servers include cloud servers and regional servers;
The cloud server is used for acquiring an environment parameter acquisition request sent by first equipment, searching an area server to which the first equipment belongs, and sending the environment parameter acquisition request to the area server;
The region server is configured to obtain, according to the environment parameter obtaining request, a target environment parameter of a region where the first device is located.
In one possible design, if the number of the area servers is plural, the cloud server is specifically configured to:
The cloud server acquires a first website corresponding to the first equipment and acquires a second website corresponding to each area server; for each area server, the cloud server determines whether the first website and the second website corresponding to the area server belong to the same network segment, and if so, the area server is determined to be the area server to which the first device belongs.
In a fifth aspect, an embodiment of the present invention provides an electrical apparatus, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored in the memory, causing the at least one processor to perform the parameter processing method as described above in the first aspect and the various possible designs of the first aspect.
In a sixth aspect, an embodiment of the present invention provides a server, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored in the memory to cause the at least one processor to perform the parameter processing method as described above in the second aspect and the various possible designs of the second aspect.
In a seventh aspect, embodiments of the present invention provide a computer readable storage medium, where computer executable instructions are stored, which when executed by a processor, implement the parameter processing method according to the first aspect and the various possible designs of the first aspect.
In an eighth aspect, embodiments of the present invention provide a computer readable storage medium, where computer executable instructions are stored, when executed by a processor, to implement the parameter processing method according to the above second aspect and the various possible designs of the second aspect.
It can be understood by a person skilled in the art that the embodiment of the invention provides a parameter processing method, an electrical device and a server, wherein a target environment parameter of an area where a first device is located, which is sent by the server, is obtained through the first device, wherein the target environment parameter is uploaded to the server by a second device, and the second device is also located in the area; and executing corresponding operation according to the target environment parameters. According to the method, the first equipment can directly acquire the required target environment parameters by using the server so as to execute corresponding operation by using the target environment parameters, wherein the target environment parameters are uploaded by the second equipment in the area where the first equipment is located, so that the accurate and rapid acquisition of the environment parameters is realized, related sensors are not required to be installed on the first equipment by related personnel to acquire the required environment, the complexity and the cost of acquiring the environment parameters are reduced, and the problems of high complexity and high cost of acquiring the existing environment parameters are avoided.
Drawings
Preferred embodiments of an indoor environment control method and a washing machine of the present invention are described below with reference to the accompanying drawings. The attached drawings are as follows:
FIG. 1 is a schematic diagram of a parameter processing system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a parameter processing method according to an embodiment of the present invention;
FIG. 3 is a second flowchart of a parameter processing method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a cloud server and an area server according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a parameter processing method according to an embodiment of the present invention;
Fig. 6 is a flow chart of a parameter processing method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a parameter processing apparatus according to an embodiment of the present invention;
FIG. 8 is a second schematic structural diagram of a parameter processing device according to an embodiment of the present invention;
Fig. 9 is a schematic diagram of a hardware structure of an electrical device according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a hardware structure of a server according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented, for example, in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the prior art, environmental parameters acquired by electrical equipment are generally acquired and uploaded by sensors installed on the electrical equipment. However, when the relevant sensor is not installed on the electrical equipment or the installed sensor fails, the relevant sensor cannot acquire the corresponding environmental parameter, so that relevant personnel are required to install the relevant sensor on the electrical equipment, the sensor can acquire the corresponding environmental parameter, and the complexity and the cost for acquiring the environmental parameter are increased.
Therefore, in order to solve the above problems, the technical concept of the present invention is that when a first device needs to acquire an environmental parameter, an environmental parameter acquisition request is sent to a cloud server, the cloud server determines to find a target cell server to which the first device belongs, and sends the environmental parameter acquisition request to the target cell server, and the target cell server acquires the environmental parameter corresponding to the environmental parameter acquisition request, that is, acquires the environmental parameter required by the first device, and sends the environmental parameter to the first device, so that the first device performs a corresponding operation according to the environmental parameter, and the environmental parameter is uploaded by a second device in a cell in which the first device is located, even if the first device is not installed with a related sensor or an installed sensor fails, the first device can still acquire the environmental parameter uploaded by other devices in the same cell through the cloud server and the cell server, thereby realizing accurate express acquisition of the environmental parameter, and reducing complexity and cost of the environmental parameter acquisition.
The following describes the indoor environment control method and the preferred technical scheme of the washing machine according to the present invention with reference to the above drawings.
Fig. 1 is a schematic architecture diagram of a parameter processing system according to an embodiment of the present invention, and as shown in fig. 1, the system includes a first device 101, a second device 102, and a server 103. When the first device 101 needs to acquire the environmental parameter, the corresponding environmental parameter is acquired from the server 103, and the environmental parameter is uploaded by the second device 102.
The first device 101 or the second device 102 may be an electrical device such as a washing machine, an air conditioner, a water purifier, or the like.
Fig. 2 is a schematic flow chart of a parameter processing method according to an embodiment of the present invention, where the execution subject of the embodiment may be the first device in the embodiment shown in fig. 1, and the embodiment is not limited herein. As shown in fig. 2, the method includes:
s201, acquiring a target environment parameter of an area where the first device is located, wherein the target environment parameter is uploaded to the server by the second device, and the second device is also located in the area.
In this embodiment, the first device receives the target environmental parameter required by the first device, where the target environmental parameter is uploaded to the server by the second device in the area where the first device is located.
In this embodiment, optionally, the target environmental parameter may be that the first device sends an environmental parameter obtaining request to the server, where the server responds to the environmental parameter obtaining request to send, that is, the server obtains the target environmental parameter of the area where the first device is located according to the environmental parameter obtaining request.
Specifically, when the first device needs to acquire the environmental parameters, the first device sends the environmental parameters to the server. After receiving the environmental parameter obtaining request, the server searches the environmental parameter corresponding to the environmental parameter obtaining request, namely, obtains the regional environmental parameter corresponding to the first equipment, wherein the regional environmental parameter is the environmental parameter of the region where the first equipment is located, namely, the environmental parameter uploaded by the equipment in the region where the first equipment is located. And then searching the environment parameters corresponding to the environment parameter acquisition request from the environment parameters to obtain the target environment parameters required by the first equipment.
In this embodiment, optionally, when the time from the last acquisition of the environmental parameter is greater than the specified interval time, or after the first device is connected to the network, it indicates that the first device needs to acquire the environmental parameter for executing the same operation according to the environmental parameter, and then the first device sends an environmental parameter acquisition request to the server to acquire the environmental parameter of the area where the first device is located. Of course, the user may set a corresponding condition according to the actual request, and when the condition is satisfied, the first device is considered to need to acquire the environmental parameter.
In addition, in this embodiment, optionally, the target environmental parameter may also be the target environmental parameter required by the first device by the server actively issuing the target environmental parameter to the first server, that is, after the server intervals for a certain time, searching the regional environmental parameter corresponding to the first device, and according to the device type or history of the first device, acquiring the parameter record, searching the environmental parameter corresponding to the first device from the regional environmental parameter, so as to obtain the target environmental parameter required by the first device, and sending the target environmental parameter to the first device. For example, the device type of the first device is a laundry type, the environmental parameter for which it is a water quality parameter; for another example, if the parameter obtained by the first device history is a water quality parameter, the environment parameter corresponding to the first device is still the water quality parameter.
Specifically, the area may be a cell or an area range set by a user according to requirements. When the area is a cell, it is indicated that the second device is within the same cell as the first device.
It can be understood that the environmental parameters in the area are generally the same, and the target environmental parameter acquired by the first device is the environmental parameter uploaded by the second device in the same area as the first device, so that the target environmental parameter is relatively matched with the environment in which the first device is located, thereby realizing accurate acquisition of the environmental parameter.
Optionally, the environmental parameters include one or a combination of the following: water quality parameters, temperature parameters, humidity parameters and air quality parameters. The water quality parameters comprise water temperature, water PH value and other parameters, the temperature parameters comprise air temperature parameters, and the humidity parameters comprise air humidity parameters. The air quality parameters comprise parameters such as total suspended particulate matters, sulfur dioxide, nitrogen oxides and the like.
S202, executing corresponding operation according to the target environment parameters.
In this embodiment, after the first device obtains the target environmental parameter sent by the server, the first device responds to the target environmental parameter, that is, performs a corresponding operation, for example, a working parameter adjustment operation, according to the target environmental parameter.
In this embodiment, optionally, when the first device is a washing machine, the target environmental parameter includes a target water quality parameter, and the target water quality parameter is a water quality parameter of an area where the first device is located, the washing machine sets a washing parameter according to the target water quality parameter, that is, searches for a washing parameter corresponding to the target water quality parameter, where the washing parameter is a washing parameter corresponding to a washing mode, for example, the washing mode includes a general washing mode, and adjusts the washing parameter corresponding to the washing mode according to the obtained washing mode.
Specifically, the washing parameters include washing time and the like.
In this embodiment, optionally, when the first device is a heating device or a cooling device, for example, an air conditioner, the target environmental parameter includes a target temperature parameter and/or a target humidity parameter, the target temperature parameter is a temperature of an area where the first device is located, the target humidity parameter is a humidity of an area where the first device is located, and the air conditioner sets an operating temperature according to the target temperature parameter and/or sets the operating temperature according to the target humidity parameter.
In this embodiment, optionally, when the first device is a humidity adjustment device such as a humidity adjuster, the target environmental parameter includes a target humidity parameter, that is, includes a humidity parameter of an area where the first device is located, the humidity adjuster adjusts the air humidity according to the target humidity parameter.
It should be noted that, the process of executing the corresponding operation by the first device according to the environmental parameter is an existing process, that is, the washing machine adjusts the washing parameter according to the water quality parameter, the air conditioner sets the operating temperature and/or humidity according to the target temperature parameter and/or the target humidity parameter, and the humidity regulator adjusts the air humidity according to the target humidity parameter to be an existing process, which will not be described herein.
In this embodiment, when the first device needs to acquire the required environmental parameters, the server acquires the environmental parameters uploaded by other devices in the same area, so as to achieve accurate and rapid acquisition of the environmental parameters.
From the above description, the first device may directly obtain the required target environmental parameter from the server, so as to execute the corresponding operation by using the target environmental parameter, where the target environmental parameter is uploaded by the second device in the area where the first device is located, that is, the target environmental parameter obtained by the first device is the environmental parameter in the area where the first device is located, thereby implementing accurate and rapid obtaining of the environmental parameter, without installing a related sensor on the first device by related personnel, reducing complexity and cost of obtaining the environmental parameter, and thus avoiding the problems of high complexity and high cost of obtaining the existing environmental parameter.
Fig. 3 is a second flowchart of a parameter processing method according to an embodiment of the present invention, where, based on the embodiment of fig. 2, when a server includes a cloud server and an area server, a first device may acquire an environmental parameter required by the first device, that is, acquire a target environmental parameter, and a process of acquiring the target environmental parameter by the first device using the cloud server and the area server will be described below with reference to a specific embodiment. As shown in fig. 3, the method includes:
s301, sending an environment parameter obtaining request to a cloud server, so that the cloud server obtains an area server to which the first equipment belongs, and sending the environment parameter obtaining request to the area server.
In this embodiment, a first device sends an environmental parameter obtaining request to a cloud server, and the cloud server searches an area server matched with the first device, that is, searches an area server to which the first device belongs, and sends the environmental parameter obtaining request to the area server, so that the area server obtains an environmental parameter corresponding to the environmental parameter obtaining request, for example, when the environmental parameter obtaining request is a water quality parameter obtaining request, the area server obtains a water quality parameter, that is, obtains an environmental parameter of an area in which the first device is located.
The regional server to which the first device belongs stores the environmental parameters uploaded by the device in the corresponding region (region where the first device is located), namely, the environmental parameters of the region where the first device is located. For example, as shown in fig. 4, the first device is a washing machine, the second device is a water purifier, and the area server may receive and store the water quality parameters uploaded by the water purifier in the corresponding area. When the washing machine needs to acquire the water quality parameters, the water quality parameters cannot be acquired by means of the sensors due to the fact that the washing machine is not provided with the related sensors or the installed sensors are out of order, then a water quality parameter acquisition request is sent to the cloud server, after the cloud server determines that the area server is matched with the first equipment, namely after the area corresponding to the area server is determined to be the area where the first equipment is located, the area server is controlled to send the water quality parameters to the first equipment, so that the first equipment successfully acquires the environment parameters of the area where the first equipment is located, and accurate acquisition of the environment parameters is achieved.
In addition, after a certain time interval, the cloud server automatically acquires the regional server to which the first device belongs, and sends an environment parameter acquisition request to the regional server so as to control the regional server to send the target environment parameter to the first device.
S302, acquiring the target environment parameters sent by the area server, and executing corresponding operations according to the target environment parameters.
In this embodiment, after the regional server receives the environmental parameter obtaining request sent by the cloud server, it indicates that the regional server may send a corresponding environmental parameter to the first device, and the environmental parameter corresponding to the environmental parameter obtaining request is obtained, for example, the environmental parameter obtaining request is a water quality parameter obtaining request, and the environmental parameter corresponding to the environmental parameter obtaining request is a water quality parameter.
In this embodiment, when the area server sends the target environmental parameter to the first device, the area server needs to receive the environmental parameter acquisition request sent by the cloud server, that is, needs to be authorized by the cloud server, and then can send the target environmental parameter to the first device, so that the security of data transmission is improved.
Fig. 5 is a flowchart of a parameter processing method according to an embodiment of the present invention, where the execution subject of the embodiment may be a server in the embodiment shown in fig. 1, and the embodiment is not limited herein. As shown in fig. 5, the method includes:
s501, acquiring a target environment parameter of an area where the first device is located, wherein the target environment parameter is uploaded to a server by a second device, and the second device is also located in the area.
In this embodiment, after receiving an environmental parameter obtaining request sent by the first device or after the time from last sending of the target environmental parameter to the first device is longer than a certain time, the server indicates that the first device needs to obtain the environmental parameter, and determines the target environmental parameter from the environmental parameter in the area where the first device is located, so as to obtain the environmental parameter required by the first device.
The target environmental parameter is an environmental parameter uploaded to the server by the second device in the area where the first device is located, that is, the second device and the first device are in the same area.
S502, the target environment parameters are sent to the first device, so that the first device executes corresponding operations according to the target environment parameters.
In this embodiment, the server stores the environmental parameters sent by other devices in the area where the first device is located. When the first equipment needs the environmental parameters, the server selects the environmental parameters needed by the first equipment from the environmental parameters sent by other equipment and sends the environmental parameters to the first equipment, so that the sharing of the environmental parameters is realized, and the first equipment can obtain the needed environmental parameters through other equipment in the area where the first equipment is located, so that the accurate and rapid acquisition of the environmental parameters is realized.
In addition, the server may store a plurality of regional environmental parameters, each of which may exist in a plurality of types of environmental parameters, for example, a water quality parameter, a temperature parameter, a humidity parameter, etc. When the first equipment needs to acquire the environmental parameters, the environmental parameters of the area corresponding to the first equipment are searched, namely, the environmental parameters of the area where the first equipment is located are searched, and then the environmental parameters corresponding to the environmental parameter acquisition request are searched from the environmental parameters.
In this embodiment, the server acquires the target environmental parameter required by the first device, and sends the target environmental parameter to the first device, where the target environmental parameter is uploaded by the second device in the area where the first device is located, so that the first device can quickly and accurately acquire the required environmental parameter, related personnel are not required to install related sensors on the first device, complexity and cost of acquiring the environmental parameter are reduced, and accordingly problems of high complexity and high cost of acquiring the existing environmental parameter can not occur.
Fig. 6 is a flowchart of a parameter processing method provided in an embodiment of the present invention, where, in this embodiment, when a server includes a cloud server and an area server based on the embodiment of fig. 5, the cloud server controls the area server to issue a target environmental parameter to a first device after receiving an environmental parameter acquisition request sent by the first device, and a process of the cloud server controlling the area server to issue the target environmental parameter to the first device will be described below with reference to a specific embodiment. As shown in fig. 6, the method includes:
S601, the cloud server acquires an environment parameter acquisition request sent by the first equipment, searches an area server to which the first equipment belongs, and sends the environment parameter acquisition request to the area server.
In this embodiment, after receiving an environmental parameter obtaining request sent by a first device, the cloud server determines whether there is an area server to which the first device belongs, that is, determines whether there is an area server storing environmental parameters of an area where the first device is located, and if so, sends the environmental parameter obtaining request to the area server to which the first device belongs, so as to control the area server to send the environmental parameters required by the first device to the first device.
Optionally, the area server and the devices in the corresponding area are in the same local area network, that is, the area server and the devices in the corresponding area can directly communicate. Meanwhile, the regional server can receive the environmental parameters sent by the plurality of devices in the corresponding region, determine the parameter type corresponding to each environmental parameter, and store the environmental parameters of the plurality of devices according to the parameter type.
In this embodiment, after the area server receives the environmental parameter sent by the device in the corresponding area, the parameter type of the environmental parameter is determined, and then the environmental parameter is saved to a storage location corresponding to the parameter type of the environmental parameter, for example, if the environmental parameter is a water quality parameter, the parameter type of the environmental parameter is a water quality parameter type, so that the water quality parameter is saved to the storage location corresponding to the water quality parameter type, thereby implementing classified storage of the parameter, and facilitating subsequent parameter acquisition.
Further, the environmental parameters may be classified according to the type of parameters included in the environmental parameters, for example, the environmental parameters received by the area server are water quality parameters, the water quality parameters include the temperature of water and the PH value of water, and the temperature of water and the PH value of water are classified and stored.
In addition, the cloud server can also automatically search the regional server to which the first device belongs after a certain time interval, and control the regional server to issue the target environment parameters to the first device.
In addition, the number of regional servers in communication with the cloud server may be one or more. Each zone server stores the environmental parameters of its corresponding zone.
Optionally, when the number of the area servers is multiple, after receiving the environmental parameter obtaining request sent by the first device, the cloud server needs to search the area server to which the first device belongs, that is, obtain a first website corresponding to the first device and obtain a second website corresponding to each area server. For each regional server, determining whether the first website and the second website corresponding to the regional server belong to the same network segment, and if so, determining that the regional server is the regional server to which the first equipment belongs.
In this embodiment, after receiving an environmental parameter obtaining request sent by a first device, the first device obtains a website of the first device, determines the website as a first website corresponding to the first device, obtains websites of all area servers, and obtains a second website corresponding to each area server. For each regional server, judging whether the second website of the regional server and the first website of the first equipment belong to the same network segment, when determining that the second website of the regional server and the first website of the first equipment belong to the same network segment, indicating that the regional server stores the environmental parameters of the region where the first equipment is located, determining that the regional server serves the region where the first equipment belongs to, namely, the region corresponding to the regional server is the region where the first equipment is located, and if the second website of the regional server and the first website of the first equipment do not belong to the same network segment, determining that the regional server is not the region server where the first equipment belongs to.
The web address may be an internet protocol (Internet Protocol, IP) address, among others.
In addition, when all the area servers are not the area servers to which the first device belongs, the area servers which do not store the environment parameters of the area where the first device is located are indicated, namely, the first device cannot acquire the environment parameters of the area where the first device is located, and then the cloud server outputs corresponding parameter acquisition failure information to the first device.
Optionally, when the number of the area servers is one, the cloud server directly judges whether the second website corresponding to the area server and the first website corresponding to the first device are in the same network segment, if so, the area server is determined to be the area server to which the first device belongs, otherwise, the area server is not the area server to which the first device belongs.
S602, the region server acquires the target environment parameters of the region where the first device is located according to the environment parameter acquisition request.
And S603, the region server sends the target environment parameters to the first device so that the first device executes corresponding operations according to the target environment parameters.
In this embodiment, after the cloud server sends the environmental parameter obtaining request to the area server to which the first device belongs, the area server stores the environmental parameter of the area where the first device is located, then obtains the environmental parameter corresponding to the environmental parameter obtaining request from the stored environmental parameters of the area where the first device is located, takes the environmental parameter as a target environmental parameter, and sends the target environmental parameter to the first device, so that the first device successfully obtains the required environmental parameter, and executes corresponding operation according to the environmental parameter.
In addition, when the regional server acquires the environmental parameter corresponding to the environmental parameter acquisition request from the environmental parameters stored in the regional server, the latest stored environmental parameter can be acquired, namely, the latest environmental parameter corresponding to the environmental parameter acquisition request is acquired, for example, the environmental parameter acquisition request is a water quality parameter acquisition request, the regional server needs to acquire water quality parameters from the environmental parameters stored in the regional server, and the water quality parameters can be a plurality of water quality parameters, namely, the latest stored water quality parameters are searched and are used as target water quality parameters when the equipment is uploaded at different times, so that the target environmental parameters acquired by the first equipment are more consistent with the environmental conditions where the first equipment is located, namely, the parameters are more accurate.
In this embodiment, the area server to which the first device belongs receives the environmental parameter uploaded by the device in the area corresponding to the area server, that is, receives the environmental parameter uploaded by the device in the area where the first device is located, and stores the environmental parameter. When the environment parameters are needed by the existing equipment in the area, the environment parameters stored by the area server can be acquired, and the sharing of the environment parameters is realized.
In this embodiment, after receiving the environmental parameter obtaining request sent by the first device, the cloud server only needs to forward the environmental parameter obtaining request to the area server to which the first device belongs, so that the cloud server does not need to store environmental parameters of different areas, and can reduce the storage pressure of the cloud server, thereby improving the operation rate of the cloud server.
Fig. 7 is a schematic structural diagram of a parameter processing device according to an embodiment of the present invention, where the parameter processing device is applied to an electrical device, as shown in fig. 7, the parameter processing device 70 may include: a first transceiver module 701 and a first processing module 702.
The first transceiver module 701 is configured to obtain a target environmental parameter of an area where the first device is located, where the target environmental parameter is uploaded to the server by the second device, and the second device is also located in the area.
The first processing module 702 is configured to perform a corresponding operation according to the target environmental parameter.
In another embodiment of the present invention, based on the embodiment shown in fig. 7, the server includes a cloud server and an area server, and the first transceiver module 701 is specifically configured to:
and sending an environment parameter acquisition request to the cloud server so that the cloud server acquires the regional server to which the first equipment belongs, and sending the environment parameter acquisition request to the regional server.
And acquiring the target environment parameters sent by the regional server.
In one possible design, the target environmental parameter includes a target water quality parameter, and the first processing module 702 is specifically configured to:
and setting washing parameters of the washing machine according to the target water quality parameters, wherein the washing machine is in the area.
For a detailed description of the function of each module in this embodiment, reference is made to the description of the embodiment of the method, and detailed description thereof will not be provided herein.
Fig. 8 is a second schematic structural diagram of a parameter processing device according to an embodiment of the present invention, where the parameter processing device is applied to a server, and as shown in fig. 8, the parameter processing device 80 may include: a second transceiver module 801 and a second processing module 802.
The second processing module 801 is configured to obtain a target environmental parameter of an area where the first device is located, where the target environmental parameter is uploaded to the server by the second device, and the second device is also located in the area.
The second transceiver module 802 is configured to send the target environmental parameter to the first device, so that the first device performs a corresponding operation according to the target environmental parameter.
In one possible design, the second transceiver module 802 is further configured to:
and receiving the environment parameters sent by the plurality of devices, and determining the parameter type corresponding to each environment parameter. And respectively storing the environmental parameters of the plurality of devices according to the parameter types.
In one possible design, the servers include cloud servers and regional servers.
The cloud server is used for acquiring an environment parameter acquisition request sent by the first equipment, searching an area server to which the first equipment belongs, and sending the environment parameter acquisition request to the area server.
And the region server is used for acquiring the target environment parameters of the region where the first equipment is located according to the environment parameter acquisition request.
In one possible design, the number of regional servers is multiple, and then the cloud server is specifically configured to:
Acquiring a first website corresponding to the first equipment and acquiring a second website corresponding to each area server; for each regional server, the cloud server determines whether the first website and the second website corresponding to the regional server belong to the same network segment, and if so, the regional server is determined to be the regional server to which the first equipment belongs.
Fig. 9 is a schematic hardware structure of an electrical device according to another embodiment of the present invention. As shown in fig. 9, the electrical apparatus 90 provided in the present embodiment includes: at least one processor 901 and a memory 902. The server 90 further comprises a communication means 903. The processor 901, the memory 902, and the communication unit 903 are connected via a bus 904.
In a specific implementation, the at least one processor 901 executes computer-executable instructions stored in the memory 902, so that the at least one processor 901 performs the parameter processing method performed by the first device as above.
The communication part 903 may enable communication between the electrical device and the server.
The specific implementation process of the processor 901 may refer to the above-mentioned method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In the embodiment shown in fig. 9, it should be understood that the Processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: DIGITAL SIGNAL Processor, abbreviated as DSP), application-specific integrated circuits (english: application SPECIFIC INTEGRATED Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise high speed RAM memory or may further comprise non-volatile storage NVM, such as at least one disk memory.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (PERIPHERAL COMPONENT, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
Fig. 10 is a schematic hardware structure of a server according to another embodiment of the present invention. As shown in fig. 10, the server 100 provided in this embodiment includes: at least one processor 1001 and memory 1002. The server 100 further comprises a communication part 1003. The processor 1001, the memory 1002, and the communication unit 1003 are connected by a bus 1004.
In a specific implementation, at least one processor 1001 executes computer-executable instructions stored in the memory 1002, so that the at least one processor 1001 performs the parameter processing method as performed by the above server.
The communication section 1003 can realize communication between a server and an electric appliance.
The specific implementation process of the processor 1001 may refer to the above method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In the embodiment shown in fig. 10, it should be understood that the Processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), other general purpose processors, digital signal Processor (english: DIGITAL SIGNAL Processor, abbreviated as DSP), application-specific integrated Circuit (english: application SPECIFIC INTEGRATED Circuit, abbreviated as ASIC), and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise high speed RAM memory or may further comprise non-volatile storage NVM, such as at least one disk memory.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (PERIPHERAL COMPONENT, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
Another embodiment of the present application provides a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement the parameter processing method in the above-described method embodiment.
The computer readable storage medium described above may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an Application SPECIFIC INTEGRATED Circuits (ASIC). The processor and the readable storage medium may reside as discrete components in a device.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Thus far, the technical solution of the present invention has been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of protection of the present invention is not limited to these specific embodiments. Equivalent modifications and substitutions for related technical features may be made by those skilled in the art without departing from the principles of the present invention, and such modifications and substitutions will fall within the scope of the present invention.

Claims (7)

1. A method of parameter processing, applied to a first device, the method comprising:
Acquiring a target environment parameter of an area where first equipment is located, wherein the target environment parameter is uploaded to a server by second equipment, and the second equipment is also located in the area; the target environmental parameters include: temperature parameters, humidity parameters and air quality parameters; the temperature parameters comprise air temperature parameters, the humidity parameters comprise air humidity parameters, and the air quality parameters comprise total suspended particulate matters, sulfur dioxide and nitrogen oxides;
Executing corresponding operation according to the target environment parameters;
The server includes a cloud server and an area server, and the obtaining, by the server, the target environment parameter of the area where the first device is located, includes:
Sending an environment parameter acquisition request to a cloud server so that the cloud server acquires an area server to which a first device belongs, and sending the environment parameter acquisition request to the area server; the number of the regional servers is multiple, the regional servers to which the first equipment belongs are determined by the cloud server according to a first website corresponding to the first equipment and a second website corresponding to each regional server, and the regional servers to which the first equipment belongs are regional servers of which the first website and the second website corresponding to the regional servers belong to the same network segment;
acquiring a target environment parameter sent by the area server;
When the first device is heating equipment or refrigerating equipment, the target environmental parameter comprises a target temperature parameter and/or a target humidity parameter, wherein the target temperature parameter is the temperature of the area where the first device is located, and the target humidity parameter is the humidity of the area where the first device is located; the executing the corresponding operation according to the target environment parameter comprises the following steps: setting an operating temperature according to the target temperature parameter and/or setting an operating temperature according to the target humidity parameter;
When the first device is a humidity regulator, the target environmental parameter includes a target humidity parameter, and the executing a corresponding operation according to the target environmental parameter includes: and adjusting the air humidity according to the target humidity parameter.
2. The method of claim 1, wherein the target environmental parameter comprises a target water quality parameter, and wherein the performing the corresponding operation according to the target environmental parameter comprises:
and setting a washing parameter of the washing machine according to the target water quality parameter, wherein the washing machine is in the area.
3. A method for processing parameters, applied to a server, the method comprising:
Acquiring a target environment parameter of an area where first equipment is located, wherein the target environment parameter is uploaded to the server by second equipment, and the second equipment is also located in the area; the target environmental parameters include: temperature parameters, humidity parameters and air quality parameters; the temperature parameters comprise air temperature parameters, the humidity parameters comprise air humidity parameters, and the air quality parameters comprise total suspended particulate matters, sulfur dioxide and nitrogen oxides;
Transmitting the target environment parameters to the first device so that the first device executes corresponding operations according to the target environment parameters;
When the first device is heating equipment or refrigerating equipment, the target environmental parameter comprises a target temperature parameter and/or a target humidity parameter, wherein the target temperature parameter is the temperature of the area where the first device is located, and the target humidity parameter is the humidity of the area where the first device is located; the first device performs corresponding operations according to the target environment parameters, including:
Setting an operating temperature according to the target temperature parameter and/or setting an operating temperature according to the target humidity parameter;
When the first device is a humidity regulator, the target environmental parameter includes a target humidity parameter, and the first device performs a corresponding operation according to the target environmental parameter, including:
adjusting the air humidity according to the target humidity parameter; the server comprises a cloud server and an area server;
The obtaining the target environmental parameter of the area where the first device is located includes:
The cloud server acquires an environment parameter acquisition request sent by first equipment, searches an area server to which the first equipment belongs, and sends the environment parameter acquisition request to the area server;
the regional server acquires the target environmental parameters of the region where the first equipment is located according to the environmental parameter acquisition request; the cloud server searches for the area server to which the first device belongs if the number of the area servers is multiple, including:
the cloud server acquires a first website corresponding to the first equipment and acquires a second website corresponding to each area server;
for each area server, the cloud server determines whether the first website and the second website corresponding to the area server belong to the same network segment, and if so, the area server is determined to be the area server to which the first device belongs.
4. A method according to claim 3, characterized in that the method further comprises:
receiving environment parameters sent by a plurality of devices, and determining a parameter type corresponding to each environment parameter;
and respectively storing the environmental parameters of the plurality of devices according to the parameter types.
5. An electrical device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
The at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the parameter processing method of any one of claims 1 to 2.
6. A server, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
The at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the parameter processing method of any one of claims 3 to 4.
7. A computer-readable storage medium, in which computer-executable instructions are stored, which when executed by a processor, implement the parameter processing method according to any one of claims 1 to 2 or 3 to 4.
CN202010566460.6A 2020-06-19 2020-06-19 Parameter processing method, electrical equipment and server Active CN113824752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010566460.6A CN113824752B (en) 2020-06-19 2020-06-19 Parameter processing method, electrical equipment and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010566460.6A CN113824752B (en) 2020-06-19 2020-06-19 Parameter processing method, electrical equipment and server

Publications (2)

Publication Number Publication Date
CN113824752A CN113824752A (en) 2021-12-21
CN113824752B true CN113824752B (en) 2024-06-18

Family

ID=78911985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010566460.6A Active CN113824752B (en) 2020-06-19 2020-06-19 Parameter processing method, electrical equipment and server

Country Status (1)

Country Link
CN (1) CN113824752B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016145712A1 (en) * 2015-03-19 2016-09-22 无锡小天鹅股份有限公司 Washing machine and control method therefor and washing machine system
CN106707782A (en) * 2016-12-20 2017-05-24 北京小米移动软件有限公司 Environmental parameter processing method and device and equipment binding method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914041B (en) * 2013-12-31 2017-10-13 海尔集团公司 User operates the binding method and appliance control system of terminal and domestic electric appliances controller
CN106302041A (en) * 2016-08-05 2017-01-04 深圳博科智能科技有限公司 A kind of intelligent home equipment control method and device
CN108139101B (en) * 2017-05-22 2020-10-30 深圳微自然创新科技有限公司 Method for determining indoor environment comfort zone and terminal equipment
WO2018214003A1 (en) * 2017-05-22 2018-11-29 深圳微自然创新科技有限公司 Information display method, terminal, and server
CN107991891B (en) * 2017-10-30 2019-12-27 珠海格力电器股份有限公司 Method and system for adjusting environmental parameters and user equipment
CN109613902B (en) * 2019-02-26 2020-11-06 网宿科技股份有限公司 Intelligent household system, method for controlling intelligent household equipment and cloud server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016145712A1 (en) * 2015-03-19 2016-09-22 无锡小天鹅股份有限公司 Washing machine and control method therefor and washing machine system
CN106707782A (en) * 2016-12-20 2017-05-24 北京小米移动软件有限公司 Environmental parameter processing method and device and equipment binding method and device

Also Published As

Publication number Publication date
CN113824752A (en) 2021-12-21

Similar Documents

Publication Publication Date Title
US11940165B2 (en) Predictive temperature scheduling for a thermostat using machine learning
CN110515307B (en) Method for controlling intelligent household equipment and network equipment
US11644204B2 (en) Error correction for predictive schedules for a thermostat
CN111964216B (en) Method and device for air conditioner constant temperature control and air conditioner
US11609014B2 (en) Predictive presence scheduling for a thermostat using machine learning
CN115111816A (en) Method and device for detecting electronic expansion valve and storage medium
CN109654743B (en) Method and device for determining heating temperature
CN113824752B (en) Parameter processing method, electrical equipment and server
CN113834184A (en) Control method and device for air conditioner and server
CN111885892A (en) Heat dissipation control method, system and device of power adapter and readable storage medium
US9584880B2 (en) Method for the efficient transmission of data
JP2021114701A (en) Server, management device, apparatus management system, apparatus management method, and program
CN108981076B (en) Unit control method and system and air conditioner
CN115218432A (en) Air conditioner control method, air conditioner and medium
CN113531797B (en) Method and device for preheating air conditioner, air conditioner and air conditioning system
CN112436974B (en) CDN data resource consistency detection method and device and computer equipment
KR20070107324A (en) Air conditioner system and its operating method
JP2022082830A (en) Abnormality detection system and air conditioner
CN109462638B (en) Equipment state management method and system
CN108595193B (en) Firmware updating method of baseboard management controller for fan rotating speed control
US10528338B2 (en) Firmware distribution system, distribution apparatus, firmware distribution method and program recording medium
CN104714776A (en) Electronic device and baseboard management controller input simplified system and simplified method
CN114598755B (en) Network protocol start sequence control method, device, equipment and storage medium
CN117812143A (en) Equipment execution method, device and storage medium
CN116136775A (en) Control instruction issuing method and device, storage medium and electronic equipment

Legal Events

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