Movatterモバイル変換


[0]ホーム

URL:


CN109245974B - Household appliance network distribution method and device and computer readable storage medium - Google Patents

Household appliance network distribution method and device and computer readable storage medium
Download PDF

Info

Publication number
CN109245974B
CN109245974BCN201811464100.4ACN201811464100ACN109245974BCN 109245974 BCN109245974 BCN 109245974BCN 201811464100 ACN201811464100 ACN 201811464100ACN 109245974 BCN109245974 BCN 109245974B
Authority
CN
China
Prior art keywords
server
household appliance
domain name
network
information
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
CN201811464100.4A
Other languages
Chinese (zh)
Other versions
CN109245974A (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.)
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
GD Midea Air Conditioning Equipment 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 GD Midea Air Conditioning Equipment Co LtdfiledCriticalGD Midea Air Conditioning Equipment Co Ltd
Priority to CN201811464100.4ApriorityCriticalpatent/CN109245974B/en
Publication of CN109245974ApublicationCriticalpatent/CN109245974A/en
Application grantedgrantedCritical
Publication of CN109245974BpublicationCriticalpatent/CN109245974B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a network distribution method for household appliances, which comprises the following steps: when detecting a domain name updating instruction sent by a first server, the household appliance acquires distribution network information in the domain name updating instruction, wherein the distribution network information comprises domain name information of a second server; and connecting a corresponding second server according to the distribution network information. The invention also discloses a household appliance distribution network device and a computer readable storage medium. According to the method, the domain name information of the household appliance for the distribution network is replaceable, the household appliance obtains the distribution network information in the domain name updating instruction when detecting the domain name updating instruction sent by the first server, and the household appliance is connected with the corresponding second server according to the distribution network information, so that the household appliance can update the domain name of the server according to the actual network condition in the operation stage, and the server with high response speed and high compatibility is connected according to the requirement.

Description

Household appliance network distribution method and device and computer readable storage medium
Technical Field
The invention relates to the technical field of household appliance networking, in particular to a household appliance network distribution method and device and a computer readable storage medium.
Background
At present, domestic appliance intelligent control has become more and more popular, realizes that intelligent control then need carry out the networking setting to domestic appliance, needs install the wiFi module in domestic appliance, provides networking control for domestic appliance. After the WiFi module is installed on the household appliance equipment, the household appliance needs to be distributed with a network when entering a family, and the corresponding server is connected according to a preset server domain name inside WiFi in the network distribution process. In the existing household appliances, the server domain name used for the distribution network in the WiFi module is generally recorded in the WiFi module by program codes in the production process of the household appliances, and the server domain name cannot be changed after the household appliances leave a factory.
Because the installation area of the household appliances cannot be predicted in the production process of the household appliances, a fixed server domain name is generally set, however, the network architecture of each region is different, and if the household appliances in different regions all use fixed servers, the response may be slow, and the problems that all user requirements cannot be compatible are caused.
Disclosure of Invention
The invention mainly aims to provide a network distribution method and device for household appliances and a computer readable storage medium, and aims to provide a scheme for dynamically updating a server domain name when a user distributes a network, so as to solve the technical problems that the domain name of a distribution network server cannot be changed after the existing household appliances leave a factory, so that all household appliances in different areas select fixed servers, the response is slow, and all user requirements cannot be met.
In order to achieve the purpose, the invention provides a network distribution method for a household appliance, which comprises the following steps:
when detecting a domain name updating instruction sent by a first server, the household appliance acquires distribution network information in the domain name updating instruction, wherein the distribution network information comprises domain name information of a second server;
and connecting a corresponding second server according to the distribution network information.
Preferably, after the step of connecting the corresponding second server according to the distribution network information, the method further includes:
and saving the distribution network information.
Preferably, after the step of connecting the corresponding second server according to the distribution network information, the method further includes:
judging whether the household appliance is successfully connected with the second server or not;
and when the household appliance is successfully connected with the second server, disconnecting the household appliance from the first server, and executing the step of storing the distribution network information.
Preferably, after the step of connecting the corresponding second server according to the distribution network information, the method further includes:
and when the household appliance is not successfully connected with the second server, continuing to connect the first server.
Preferably, the method for distributing the network for the household appliance further comprises the following steps:
when the household appliance detects the domain name updating instruction sent by the first server, the household appliance feeds back the receiving success confirmation information to the first server.
The invention also provides a network distribution method for the household appliances, which comprises the following steps:
the method comprises the steps that a first server detects whether network information of the household appliance meets an optimal connection condition in real time or at regular time, wherein the network information comprises at least one of IP address information and network rate of the household appliance;
when the network information of the household appliance does not meet the optimal connection condition, generating a domain name updating instruction, wherein the domain name updating instruction comprises distribution network information;
and sending the domain name updating instruction to the household appliance, wherein the household appliance is connected with a second server according to distribution network information in the domain name updating instruction when detecting the domain name updating instruction sent by the first server.
Preferably, the step of generating a domain name update instruction includes:
acquiring address information of the household appliance;
determining domain name information of a second server according to the address information;
and generating a domain name updating instruction according to the domain name information.
Preferably, the step of determining the domain name information of the second server according to the address information includes:
determining a server with the shortest path to the household appliance according to the address information;
taking the server with the shortest path as the second server;
and acquiring the domain name information of the second server.
Preferably, the step of using the server with the shortest path as the second server includes:
when a plurality of servers with the shortest paths exist, acquiring the server with the largest residual bandwidth amount in the servers;
and taking the server with the largest residual bandwidth amount as the second server.
Preferably, after the step of sending the domain name update instruction to the home appliance, the method further includes:
the first server detects the domain name updating instruction fed back by the household appliance in real time or at regular time to receive the successful confirmation information;
the first server stops sending the domain name updating instruction when detecting the successful receiving confirmation information;
and when the first server does not detect the successful receiving confirmation information, repeatedly executing the step of sending the domain name updating instruction to the household appliance after a preset time interval.
Preferably, the household appliance network distribution method comprises the following steps:
when detecting that the IP address information of the household appliance changes or the network speed slows down or detecting that the initial network distribution of the household appliance succeeds, the first server judges that the network information of the household appliance does not meet the optimal connection condition.
In order to achieve the above object, the present invention further provides a network distribution device for a home appliance, including: the system comprises a memory, a processor and a household appliance distribution network program stored on the memory and capable of running on the processor, wherein the household appliance distribution network program realizes the steps of the household appliance distribution network method when being executed by the processor.
Preferably, the household appliance distribution network device comprises an air conditioner or a control terminal of the air conditioner, wherein the air conditioner comprises one or more of an air conditioner and a dehumidifier.
In addition, the present invention also provides a computer readable storage medium, on which a household appliance network distribution program is stored, and when being executed by a processor, the household appliance network distribution program implements the steps of the household appliance network distribution method as described above.
According to the network distribution method and device for the household appliance and the computer readable storage medium, domain name information of the household appliance for network distribution can be replaced, when the household appliance detects a domain name updating instruction sent by a first server, the household appliance obtains the network distribution information in the domain name updating instruction, and the household appliance is connected with a corresponding second server according to the network distribution information, so that the household appliance can update the domain name of the server according to the actual network condition in the operation stage, and is connected with the server with high response speed and high compatibility according to the requirement.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a network distribution method for household appliances according to a first embodiment of the present invention;
fig. 3 is a schematic flow chart of a network distribution method for household appliances according to a second embodiment of the present invention;
fig. 4 is a schematic flow chart of a network distribution method for household appliances according to a third embodiment of the present invention;
fig. 5 is a schematic flow chart of a further refinement of step S220 in a fourth embodiment of a distribution network method for household appliances according to the present invention;
fig. 6 is a schematic flow chart of a network distribution method for household appliances according to a fifth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: when detecting a domain name updating instruction sent by a first server, the household appliance acquires distribution network information in the domain name updating instruction, wherein the distribution network information comprises domain name information of a second server; and connecting a corresponding second server according to the distribution network information.
The method comprises the steps that a first server detects whether network information of the household appliance meets an optimal connection condition in real time or at regular time, wherein the network information comprises at least one of IP address information and network rate of the household appliance;
when the network information of the household appliance does not meet the optimal connection condition, generating a domain name updating instruction, wherein the domain name updating instruction comprises distribution network information;
and sending the domain name updating instruction to the household appliance, wherein the household appliance is connected with a second server according to distribution network information in the domain name updating instruction when detecting the domain name updating instruction sent by the first server.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal in the embodiment of the invention can be a household appliance, such as an air conditioner, an air purifier and the like, can also be an intelligent terminal, such as a mobile terminal (a mobile terminal device with a display function, such as a smart phone, a tablet computer and a portable computer), and can also be a server, including a cloud server.
As shown in fig. 1, the terminal may include: aprocessor 1001, such as a CPU, anetwork interface 1004, auser interface 1003, amemory 1005, acommunication bus 1002. Wherein acommunication bus 1002 is used to enable connective communication between these components. Theuser interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and theoptional user interface 1003 may also include a standard wired interface, a wireless interface. Thenetwork interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), and thenetwork interface 1004 is used to connect to a network such as a router and a server. Thememory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). Thememory 1005 may alternatively be a storage device separate from theprocessor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. The indoor environment air quality detection system comprises sensors, a particle sensor module and a controller, wherein the sensors comprise a plurality of gas sensors, each gas sensor can detect one or more gases, a plurality of gas sensor arrays can detect a plurality of gases, and indoor environment air quality is detected and obtained based on the gas sensor arrays and the particle sensor module; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, amemory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a home appliance distribution network program.
In the terminal shown in fig. 1, thenetwork interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; theuser interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and theprocessor 1001 may be configured to call the home appliance distribution network program stored in thememory 1005, and perform the following operations:
when detecting a domain name updating instruction sent by a first server, the household appliance acquires distribution network information in the domain name updating instruction, wherein the distribution network information comprises domain name information of a second server;
and connecting a corresponding second server according to the distribution network information.
Further, theprocessor 1001 may call the home appliance distribution network program stored in thememory 1005, and further perform the following operations:
storing the distribution network information and judging whether the connection between the household appliance and the second server is successful or not;
and when the household appliance is successfully connected with the second server, disconnecting the household appliance from the first server, and executing the step of storing the distribution network information.
Further, theprocessor 1001 may call the home appliance distribution network program stored in thememory 1005, and further perform the following operations:
and when the household appliance is not successfully connected with the second server, continuing to connect the first server.
Further, theprocessor 1001 may call the home appliance distribution network program stored in thememory 1005, and further perform the following operations:
when the household appliance detects the domain name updating instruction sent by the first server, the household appliance feeds back the receiving success confirmation information to the first server.
Further, theprocessor 1001 may call the home appliance distribution network program stored in thememory 1005, and further perform the following operations:
the method comprises the steps that a first server detects whether network information of the household appliance meets an optimal connection condition in real time or at regular time, wherein the network information comprises at least one of IP address information and network rate of the household appliance;
when the network information of the household appliance does not meet the optimal connection condition, generating a domain name updating instruction, wherein the domain name updating instruction comprises distribution network information;
and sending the domain name updating instruction to the household appliance, wherein the household appliance is connected with a second server according to distribution network information in the domain name updating instruction when detecting the domain name updating instruction sent by the first server.
Further, theprocessor 1001 may call the home appliance distribution network program stored in thememory 1005, and further perform the following operations:
acquiring address information of the household appliance;
determining domain name information of a second server according to the address information;
and generating a domain name updating instruction according to the domain name information.
Further, theprocessor 1001 may call the home appliance distribution network program stored in thememory 1005, and further perform the following operations:
determining a server with the shortest path to the household appliance according to the address information;
taking the server with the shortest path as the second server;
and acquiring the domain name information of the second server.
Further, theprocessor 1001 may call the home appliance distribution network program stored in thememory 1005, and further perform the following operations:
when a plurality of servers with the shortest paths exist, acquiring the server with the largest residual bandwidth amount in the servers;
and taking the server with the largest residual bandwidth amount as the second server.
Further, theprocessor 1001 may call the home appliance distribution network program stored in thememory 1005, and further perform the following operations:
the first server detects the domain name updating instruction fed back by the household appliance in real time or at regular time to receive the successful confirmation information;
the first server stops sending the domain name updating instruction when detecting the successful receiving confirmation information;
and when the first server does not detect the successful receiving confirmation information, repeatedly executing the step of sending the domain name updating instruction to the household appliance after a preset time interval.
Referring to fig. 2, the present invention provides a first embodiment of a network distribution method for a home appliance, including the following steps:
step S110, when detecting a domain name updating instruction sent by a first server, a household appliance acquires distribution network information in the domain name updating instruction, wherein the distribution network information comprises domain name information of a second server;
and step S120, connecting a corresponding second server according to the distribution network information. In the embodiment, the second server is the best server determined by the first server according to the actual network condition of the household appliance.
The embodiment of the invention is operated in household appliances such as an air conditioner, a dehumidifier and the like, or in a control terminal of the household appliances such as a control APP of the air conditioner or the dehumidifier and the like, namely the household appliances are the air conditioner or the dehumidifier, and it can be understood that the household appliances can also be other appliances. The domain name on the WiFi module of the household appliance is set to be updatable, namely, the household appliance can change the domain name based on the domain name updating instruction sent by the first server in the running process of the household appliance, and then the server corresponding to the domain name is connected in a configuration mode. When the household appliance initially carries out network distribution, the network distribution is carried out based on a default domain name, after the network distribution is successfully carried out according to the default domain name, a domain name updating instruction sent by a first server is detected in real time or in a timed mode (or the fixed detection is carried out according to the updating time set by a user), or the domain name updating instruction is detected when the household appliance is triggered to carry out the network distribution based on the first server. When the household appliance detects a domain name updating instruction sent by the first server, the household appliance analyzes the domain name updating instruction and acquires distribution network information in the domain name updating instruction. The first server can judge whether a server connected with the current household appliance is the optimal server or not in real time or at regular time according to the network condition in the environment where the household appliance is located, if the connected server is not the optimal server, the optimal server is obtained according to the IP address of the household appliance, the domain name information of the server is generated into a domain name updating instruction and sent to the household appliance, the household appliance is supplied with a network again, the household appliance is ensured to be always in the optimal network environment, and the rapidity and the stability of intelligent control are achieved.
The distribution network information comprises domain name information of a second server, and when the household appliance obtains the domain name information of the second server, the household appliance is connected to the second server according to the domain name information. When the household appliance is connected with the second server, the household appliance can be connected with the first server, after the household appliance is successfully connected with the second server, the household appliance is disconnected with the first server, the household appliance can also be disconnected with the first server firstly and then connected with the second server, and when the household appliance is not successfully connected with the second server, the first server is reconnected.
It can be understood that, since the household appliance may not be successfully connected to the second server, before the second server is connected, the distribution network information of the first server, such as domain name information, is saved and backed up, so that when the second server is not successfully connected, the first server can be reconnected according to the domain name information of the saved and backed-up first server.
Step S130, after the step of connecting the corresponding second server according to the distribution network information, further includes:
and saving the distribution network information.
The distribution network information of the second server can be stored after the household appliance is successfully connected with the second server, so that the second server can be reconnected according to the stored domain name information when the household appliance is disconnected based on other reasons.
Further, the household appliance network distribution method further comprises the following steps:
when the household appliance detects the domain name updating instruction sent by the first server, the household appliance feeds back the receiving success confirmation information to the first server.
When the first server sends the domain name updating instruction to the household appliance, in order to ensure that the household appliance can receive the domain name updating instruction, if the feedback information of the household appliance is not received, the domain name updating instruction is sent once at a preset time interval, so that in order to avoid that the first server continuously sends the domain name updating instruction, the household appliance feeds back successful receiving confirmation information to the first server when receiving the domain name updating instruction sent by the first server, and confirms that the domain name updating instruction is received, so that the first server stops sending the domain name updating instruction after receiving the successful receiving confirmation information.
In the embodiment, the domain name information of the household appliance for the distribution network is replaceable, the household appliance obtains the distribution network information in the domain name updating instruction when detecting the domain name updating instruction sent by the first server, and the household appliance is connected with the corresponding second server according to the distribution network information, so that the household appliance can update the domain name of the server according to the actual network condition in the operation stage, and is connected with the server with high response speed and high compatibility according to the requirement.
Further, referring to fig. 3, an embodiment of the present invention provides a second implementation of a network distribution method for a home appliance, and based on the embodiment shown in fig. 2, after the step of connecting a corresponding second server according to the network distribution information, the method further includes:
step S140, judging whether the connection between the household appliance and the second server is successful;
after the household appliance is connected with the server which is successful each time, feeding back prompt information, and when the prompt information that the server is successfully connected is received, judging whether the household appliance is connected with a second server or a first server according to domain name information of the server, and further judging whether the household appliance is successfully connected with the second server; or directly setting and acquiring domain name information of a server connected with the household appliance, judging whether the domain name information is consistent with domain name information of a second server corresponding to the distribution network information, and judging that the household appliance is successfully connected with the second server when the domain name information is consistent.
And S150, when the household appliance is successfully connected with the second server, disconnecting the household appliance from the first server, and executing the step of storing the distribution network information.
It can be understood that, if the first server is not disconnected when the household appliance is connected to the second server, after the second server is successfully connected, the household appliance is disconnected from the first server, and then the distribution network information is stored in the memory. And if the first server is disconnected when the household appliance is connected with the second server, directly storing the distribution network information in a memory after the second server is successfully connected. And after the household appliance is successfully connected with the second server, storing the distribution network information of the second server to prevent the distribution network information of the second server from being lost.
And step S160, when the household appliance is not successfully connected with the second server, continuing to connect the first server.
It can be understood that, if the first server is not disconnected while the household appliance is connected to the second server, the first server is continuously connected when the second server is not successfully connected. If the first server is disconnected when the household appliance is connected with the second server, the first server is reconnected according to the domain name information of the first server when the second server is not successfully connected.
In the embodiment, when the household appliance is successfully connected with the second server, the distribution network information of the second server is stored, so that the distribution network information of the second server can be prevented from being lost, and when the household appliance is not successfully connected with the second server, the household appliance is continuously connected with the first server, so that the household appliance is ensured to be in a networking state when the server cannot be updated, and the control fault is prevented.
Referring to fig. 4, the present invention further provides a third embodiment of a network distribution method for a home appliance, the network distribution method for a home appliance includes the following steps:
step S210, the first server detects whether the network information of the household appliance meets the optimal connection condition in real time or at regular time, wherein the network information comprises at least one of the IP address information and the network rate of the household appliance;
step S220, when the network information of the household appliance does not meet the optimal connection condition, a domain name updating instruction is generated, wherein the domain name updating instruction comprises distribution network information;
the embodiment of the invention operates in a first server, wherein the first server is a server which is connected when a household appliance is successfully distributed with a default domain name, and the first server monitors the network condition of the household appliance in real time or at regular time, and specifically can monitor whether the path between the IP address information of the household appliance and the currently connected server is the shortest path; or whether the IP address information of the household appliance is consistent with the IP address information detected at the previous time or not; or monitoring whether the network speed of the household appliance and the currently connected server is the optimal speed or not; or monitoring whether the household appliance is an initial distribution network or not, and determining whether the network information of the household appliance meets the optimal connection condition or not. When the first server detects that the IP address information of the household appliance changes or the network speed slows down or detects that the initial network distribution of the household appliance succeeds, the network information of the household appliance is judged not to meet the optimal connection condition.
When the household appliances are initially connected with the network, the preset domain name is adopted for network distribution, the household appliances are connected with the same domain name when being installed in different regions, and the server response is slow, so that after the initial network distribution of each household appliance is successful, the first server is required to re-distribute the network, and when the initial network distribution of the household appliances is successful, the network information of the household appliances is set to not meet the optimal connection condition of the household appliances and the first server.
In the operation process of the household appliance, because the environment is based on the user requirement, network change may occur, for example, a currently used telecommunication network is changed into a communication network, so that the IP address of the household appliance is changed, if the household appliance is continuously connected by the original server, the problem of network mismatching or slow response may occur, and therefore when the IP address information is changed, the network information of the household appliance is set to be not satisfied with the optimal connection condition of the household appliance and the first server.
Similarly, in the operation process of the household appliance, the bandwidth amount of the currently connected server may be too saturated, at this time, the network rate of the household appliance is slowed, or a path is closer in the environment where the household appliance is located and the server with a large residual bandwidth amount is provided.
And when the network information of the household appliance does not meet the optimal connection condition, the first server starts the domain name information of the household appliance updating server, and updates the function of connecting a new server, if the first server generates a domain name updating instruction, wherein the distribution network information contained in the domain name updating instruction is the distribution network information of the optimal server which is judged by the first server again according to the IP address of the household appliance, if the second server is the optimal server of the household appliance, the distribution network information is the domain name information of the second server.
Step S230, sending the domain name update instruction to the home appliance, where the home appliance connects to a second server according to the distribution network information in the domain name update instruction when detecting the domain name update instruction sent by the first server.
The first server can automatically send the domain name updating instruction to the household appliance after generating the domain name updating instruction, or can send the domain name updating instruction to the household appliance when the household appliance triggers a distribution network operation (such as when the household appliance initially distributes a network); or after the first server produces the domain name updating instruction, the domain name updating instruction is sent to the household appliance within each preset time interval so as to be detected by the household appliance.
When the household appliance initially performs network distribution, the network distribution is performed based on a default domain name, after the network distribution is successfully performed according to the default domain name, a domain name updating instruction sent by a first server is detected in real time or in a timed mode (or the fixed detection is performed according to the updating time set by a user), or the domain name updating instruction is detected when the household appliance is triggered to perform the network distribution based on the first server. And when the household appliance receives the domain name updating instruction, the household appliance is connected with the second server according to the distribution network information in the domain name updating instruction.
According to the method, the domain name updating instruction is generated by setting the first server when the network information of the household appliance is detected to be not satisfied with the optimal connection condition, the domain name updating instruction is sent to the household appliance to be connected with the corresponding second server according to the domain name information corresponding to the domain name updating instruction, the first server sends the domain name updating instruction to enable the household appliance to update the domain name of the server according to the actual network condition in the operation stage, the server with high response speed and high compatibility is connected according to the requirement, and the applicability of a household appliance distribution network is improved.
Referring to fig. 5, the present invention further provides a fourth embodiment of a network distribution method for a home appliance, and based on the embodiment shown in fig. 4, the step of generating a domain name update instruction includes:
step S221, acquiring address information of the household appliance;
step S222, determining the domain name information of the second server according to the address information;
step S223, generating a domain name update instruction according to the domain name information.
The second server is an optimal connection server of the household appliance, wherein the determination mode of the optimal server is various, and if the first server determines the optimal server corresponding to the household appliance according to the address information of the household appliance; or the first server determines the corresponding optimal server according to the difference value between the residual bandwidth amount of the first server currently connected with the household appliance and the residual bandwidth amount of other second servers; or the first server determines the optimal server of the household appliance according to the area where the household appliance is located.
This embodiment recites determining an optimal server connected to the home appliance according to the address information of the home appliance, further comprising: the step of determining the domain name information of the second server according to the address information includes:
determining a server with the shortest path to the household appliance according to the address information;
taking the server with the shortest path as the second server;
and acquiring the domain name information of the second server.
The first server inquires about paths of each server and the address information according to the address information of the household appliance, determines the server with the shortest path to the household appliance by comparing the lengths of the paths of the address information and the servers, and further takes the server with the shortest path as the second server to obtain the domain name information of the second server so that the first server can generate the domain name updating instruction according to the domain name information of the second server. The first server sends a domain name information request to the second server, and the domain name information of the first server is fed back to the first server through the second server and is acquired.
Further, the step of using the server with the shortest path as the second server includes:
when a plurality of servers with the shortest paths exist, acquiring the server with the largest residual bandwidth amount in the servers;
and taking the server with the largest residual bandwidth amount as the second server.
That is, when there are a plurality of servers with the shortest paths determined by the first server, in order to ensure that the server connected to the home appliance is the best server, ensure the response speed of home appliance control and meet various requirements of the user, the first server further determines the server with the largest amount of remaining bandwidth according to the plurality of servers with the shortest paths, and takes the server with the largest amount of remaining bandwidth as the second server.
In this embodiment, an optimal server is determined by address information of the home appliance, and the optimal server is used as the second server to obtain domain name information of the second server, and the domain name updating instruction is generated according to the domain name information, so that when the home appliance receives the domain name updating instruction, the reconnected server is ensured to be the optimal server, the response speed of the home appliance is further ensured, and the server can meet the requirements of the user.
Referring to fig. 6, the present invention further provides a fifth embodiment of a network distribution method for a home appliance, and based on the embodiments shown in fig. 4 and fig. 5, after the step of sending the domain name update instruction to the home appliance, the method further includes:
step S240: the first server detects the domain name updating instruction fed back by the household appliance in real time or at regular time to receive the successful confirmation information;
step S250: the first server stops sending the domain name updating instruction when detecting the successful receiving confirmation information;
and when the first server does not detect the successful receiving confirmation information, repeatedly executing the step of sending the domain name updating instruction to the household appliance after a preset time interval.
In the invention, the first server sends a domain name updating instruction to the household appliance when detecting that the network information of the household appliance does not meet the optimal connection condition, wherein the domain name updating instruction is sent to the household appliance once every preset time by the first server, so as to prevent the domain name of the household appliance from being updated untimely when the domain name updating instruction is not received when the household appliance sends the first time by the first server, and the domain name updating instruction is repeatedly sent until the household appliance receives the domain name updating instruction.
Similarly, if the first server continuously sends the domain name updating instruction to the household appliance, the first server continuously executes the operation, which easily causes the first server to crash and causes resource waste, because in order to reasonably set the information transmission between the first server and the household appliance, the household appliance is set to feed back the successful receiving confirmation information when receiving the domain name updating instruction, and the first server stops sending the domain name updating instruction after receiving the successful receiving confirmation information of the domain name updating instruction fed back by the household appliance.
The invention also provides a household appliance network distribution device, which comprises: the system comprises a memory, a processor and a household appliance distribution network program stored on the memory and capable of running on the processor, wherein the household appliance distribution network program realizes the steps of the household appliance distribution network method when being executed by the processor.
Preferably, the household appliance distribution network device comprises an air conditioner or a control terminal of the air conditioner, wherein the air conditioner comprises one or more of an air conditioner and a dehumidifier.
In addition, the present invention also provides a computer readable storage medium, on which a household appliance network distribution program is stored, and when being executed by a processor, the household appliance network distribution program implements the steps of the household appliance network distribution method as described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a network device of a home appliance, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (14)

CN201811464100.4A2018-11-302018-11-30Household appliance network distribution method and device and computer readable storage mediumActiveCN109245974B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811464100.4ACN109245974B (en)2018-11-302018-11-30Household appliance network distribution method and device and computer readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811464100.4ACN109245974B (en)2018-11-302018-11-30Household appliance network distribution method and device and computer readable storage medium

Publications (2)

Publication NumberPublication Date
CN109245974A CN109245974A (en)2019-01-18
CN109245974Btrue CN109245974B (en)2021-10-26

Family

ID=65074444

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811464100.4AActiveCN109245974B (en)2018-11-302018-11-30Household appliance network distribution method and device and computer readable storage medium

Country Status (1)

CountryLink
CN (1)CN109245974B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110300071A (en)*2019-06-032019-10-01广东美的厨房电器制造有限公司The server resource acquisition methods and relevant device of internet of things equipment
CN112311633B (en)*2019-07-312024-02-06广东美的制冷设备有限公司Distribution network control method, distribution network control device, household appliance and storage medium
CN113364823B (en)*2020-03-042022-11-01松下家电(中国)有限公司Cloud platform switching method, wireless communication module and intelligent household appliance
CN116566816A (en)*2023-05-242023-08-08珠海格力电器股份有限公司Method, device and system for dynamic network distribution of equipment and electrical equipment
CN119093574A (en)*2024-11-112024-12-06上海融和智电新能源有限公司 Discharge switching charging gun uninterrupted power supply system, method, medium, program product and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105450593A (en)*2014-08-072016-03-30青岛海尔智能家电科技有限公司Method and device for registration
CN105991347A (en)*2015-04-302016-10-05杭州迪普科技有限公司Redirection method of DNS request message and device
CN106131102A (en)*2016-06-012016-11-16乐视控股(北京)有限公司A kind of method and device of distribution server
CN106341468A (en)*2016-08-292017-01-18镇江惠通电子有限公司Remote wakeup method, device and system of intelligent equipment
CN108768985A (en)*2018-05-172018-11-06成都致云科技有限公司A kind of accessed node access distribution method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR100776047B1 (en)*2006-01-192007-11-16삼성전자주식회사 The operation method of the DNA which updates the address information of a server, and the DNA which adopted the method
US9237142B2 (en)*2011-01-072016-01-12Interdigital Patent Holdings, Inc.Client and server group SSO with local openID
CN107204873B (en)*2017-05-042020-07-10网宿科技股份有限公司 A method and related equipment for switching target domain name resolution servers
CN107370624A (en)*2017-07-202017-11-21北京奇艺世纪科技有限公司A kind of address switching method, device, domain name system and electronic equipment
CN108134831A (en)*2017-12-212018-06-08美的集团股份有限公司The method and apparatus of household electrical appliance and its linking objective server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105450593A (en)*2014-08-072016-03-30青岛海尔智能家电科技有限公司Method and device for registration
CN105991347A (en)*2015-04-302016-10-05杭州迪普科技有限公司Redirection method of DNS request message and device
CN106131102A (en)*2016-06-012016-11-16乐视控股(北京)有限公司A kind of method and device of distribution server
CN106341468A (en)*2016-08-292017-01-18镇江惠通电子有限公司Remote wakeup method, device and system of intelligent equipment
CN108768985A (en)*2018-05-172018-11-06成都致云科技有限公司A kind of accessed node access distribution method and device

Also Published As

Publication numberPublication date
CN109245974A (en)2019-01-18

Similar Documents

PublicationPublication DateTitle
CN109245974B (en)Household appliance network distribution method and device and computer readable storage medium
US20190246346A1 (en)Method of connecting to network for home appliance, home appliance, and method of connecting to network for home appliance system
CN103339601B (en) Apparatus and method for providing automatic application installation function in digital device
CN107493212B (en)Configuration processing method, terminal, server and system of intelligent household equipment
US9201643B2 (en)Communication system, communication method, and communication apparatus
CN109345813B (en)Method and device for pairing playing device and Bluetooth remote controller and readable storage medium
CN110996405A (en)Earphone connection method, terminal, earphone box and computer readable storage medium
CN105897461A (en)Multi-system OTA upgrading method and multi-system equipment
CN104714817A (en)Method, system and control terminal for upgrading household appliance software through infrared signal
US20210208861A1 (en)Method, User Equipment, and Application Server for Downloading Application
CN110995552B (en)Distribution network terminal, distribution network method of household appliance and computer readable storage medium
CN103634665B (en)A kind of version upgrading method and device
CN110933733B (en)Network distribution method, device, computer equipment and storage medium
CN105828140A (en)Main control equipment, controlled equipment and method for awakening controlled equipment
CN112436986A (en)Network distribution method and device, network distribution equipment and computer readable storage medium
CN111812987A (en)Terminal device and execution method thereof, and smart home device and execution method thereof
CN112333058A (en)Equipment monitoring method, device, system and computer readable storage medium
CN110708744B (en) Communication control method, home appliance, and computer-readable storage medium
CN111541795A (en)Address allocation method, device, equipment and computer readable storage medium
US20160170729A1 (en)Method and device for installing smart appliance
CN107589987B (en)Software control method, device and computer readable storage medium
CN103647986B (en)Version upgrading method and apparatus
CN109542483B (en)Firmware upgrading method and device for electric appliance, storage medium, terminal and electric appliance
KR20170037349A (en)Method for controlling electronic equipment
CN112469018A (en)Control terminal, home appliance, control method, and computer-readable storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp