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.
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.