CN113422712B - Network distribution method, network distribution device, household equipment and computer readable storage medium - Google Patents

Network distribution method, network distribution device, household equipment and computer readable storage medium Download PDF

Info

Publication number
CN113422712B
CN113422712B CN202110688802.6A CN202110688802A CN113422712B CN 113422712 B CN113422712 B CN 113422712B CN 202110688802 A CN202110688802 A CN 202110688802A CN 113422712 B CN113422712 B CN 113422712B
Authority
CN
China
Prior art keywords
distribution network
instruction
trusted
distribution
mode
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
CN202110688802.6A
Other languages
Chinese (zh)
Other versions
CN113422712A (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202110688802.6A priority Critical patent/CN113422712B/en
Publication of CN113422712A publication Critical patent/CN113422712A/en
Application granted granted Critical
Publication of CN113422712B publication Critical patent/CN113422712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information

Abstract

The invention provides a network distribution method, a network distribution device, household equipment and a computer readable storage medium, wherein the method comprises the following steps: when a distribution network instruction is received, judging whether the distribution network instruction is trusted according to a triggering mode of the distribution network instruction; and if the distribution network instruction is not trusted, performing verification operation on the distribution network instruction, and entering a distribution network mode when the verification operation is passed. Whether the distribution network instruction is trusted is judged, and when the distribution network instruction is trusted, the distribution network instruction is sent out by a household equipment owner; when the distribution network instruction is not trusted, the distribution network instruction is possibly sent by other personnel, and the distribution network instruction is discriminated by the user, so that the distribution network operation under each condition is in accordance with the intention of a home equipment owner, malicious distribution network operation of other people is avoided, and the safety of the home equipment is guaranteed.

Description

Network distribution method, network distribution device, household equipment and computer readable storage medium
Technical Field
The invention relates to the field of equipment management, in particular to a network distribution method, a network distribution device, household equipment and a computer readable storage medium.
Background
The existing household equipment can enter a distribution network mode through remote control equipment to carry out distribution network operation, however, the household equipment of the same brand or the same model can share the remote control equipment, part of mobile terminals have a remote control simulation function, and the household equipment does not have the capability of distinguishing the identity of an instruction sender, so that even if the owner of the household equipment does not control the household equipment to be distributed in a remote mode, the purpose of malicious control is further achieved, and great potential safety hazards exist.
Disclosure of Invention
The invention mainly aims to provide a network distribution method, a network distribution device, home equipment and a computer readable storage medium, and aims to solve the problem that home equipment in the prior art cannot prevent a non-home equipment owner from controlling home equipment network distribution.
In order to achieve the above object, the present invention provides a network distribution method, which comprises the steps of:
when a distribution network instruction is received, judging whether the distribution network instruction is trusted according to a triggering mode of the distribution network instruction;
and if the distribution network instruction is not trusted, performing verification operation on the distribution network instruction, and entering a distribution network mode when the verification operation is passed.
Optionally, the step of determining whether the distribution network instruction is trusted according to the trigger mode of the distribution network instruction includes:
judging whether the trigger mode of the distribution network instruction is a preset trusted trigger mode or not;
and if the triggering mode of the distribution network instruction is not a preset trusted triggering mode, the distribution network instruction is not trusted.
Optionally, the step of determining whether the trigger mode of the distribution network instruction is a preset trusted trigger mode includes:
acquiring an instruction equipment identifier in the distribution network instruction;
judging whether the instruction equipment identification is matched with a preset trusted equipment identification;
if the instruction equipment identifier is matched with a preset trusted equipment identifier, the trigger mode of the distribution network instruction is a preset trusted trigger mode;
and if the instruction equipment identifier is not matched with a preset trusted equipment identifier, the trigger mode of the distribution network instruction is not a preset trusted trigger mode.
Optionally, the step of performing a verification operation on the distribution network instruction includes:
sending a distribution network request to the bound user equipment;
and when receiving a confirmation signal fed back by the user equipment according to the distribution network request, the verification operation is passed.
Optionally, the step of determining whether the distribution network instruction is trusted according to the trigger mode of the distribution network instruction includes:
judging whether the Internet is accessed;
if the Internet is accessed, executing the following steps: judging whether the distribution network instruction is trusted or not;
and if the network is not accessed to the Internet, executing preset distribution network operation.
Optionally, the step of executing the preset distribution network operation includes:
judging whether bound user equipment exists or not;
if the bound user equipment exists, entering a distribution network mode after the user equipment information of the bound user equipment is stored, and sending first notification data to the bound user equipment according to the user equipment information after the distribution network is finished;
and if no bound user equipment exists, entering a distribution network mode.
Optionally, after the step of determining whether the distribution network instruction is trusted according to the trigger mode of the distribution network instruction, the method further includes:
if the distribution network instruction is trusted, the bound user equipment information of the user equipment is saved and then the distribution network mode is entered;
and after the distribution network is finished, sending second notification data to the bound user equipment according to the user equipment information.
In order to achieve the above object, the present invention further provides a network distribution apparatus, including:
the first judgment module is used for judging whether the distribution network instruction is trusted according to the triggering mode of the distribution network instruction when the distribution network instruction is received;
and the first execution module is used for executing verification operation on the distribution network instruction when the distribution network instruction is not trusted, and entering a distribution network mode when the verification operation is passed.
Optionally, the first determining module includes:
the first judgment unit is used for judging whether the trigger mode of the distribution network instruction is a preset trusted trigger mode or not;
and the first execution unit is used for considering that the distribution network instruction is not trusted when the trigger mode of the distribution network instruction is not a preset trusted trigger mode.
Optionally, the first execution unit includes:
the first execution subunit is used for acquiring an instruction device identifier in the distribution network instruction;
the first judgment subunit is used for judging whether the instruction equipment identifier is matched with a preset trusted equipment identifier or not;
the second execution subunit is configured to, if the instruction device identifier matches a preset trusted device identifier, consider a trigger mode of the distribution network instruction as a preset trusted trigger mode;
and the third execution subunit is configured to, if the instruction device identifier is not matched with a preset trusted device identifier, consider that the trigger mode of the distribution network instruction is not a preset trusted trigger mode.
Optionally, the first execution module includes:
the second execution unit is used for sending the distribution network request to the bound user equipment;
and the third execution unit passes the verification operation when receiving a confirmation signal fed back by the user equipment according to the distribution network request.
Optionally, the first execution module includes:
a second judging unit, configured to judge whether a bound user equipment exists;
the fourth execution unit is used for entering a distribution network mode when the bound user equipment does not exist;
and the fifth execution unit is used for sending the distribution network request to the bound user equipment when the bound user equipment exists.
Optionally, the apparatus further comprises:
the second judgment module is used for judging whether the Internet is accessed;
the second execution module is used for executing the following steps when accessing to the Internet: judging whether the distribution network instruction is trusted;
and the third execution module is used for executing the preset distribution network operation when the Internet is not accessed.
Optionally, the third executing module includes:
a third judging unit, configured to judge whether a bound user equipment exists;
a sixth execution unit, configured to, when a bound user equipment exists, enter a distribution network mode after user equipment information of the bound user equipment is saved, and send first notification data to the bound user equipment according to the user equipment information after completion of distribution network;
and the seventh execution unit is used for entering the distribution network mode when the bound user equipment does not exist.
Optionally, the apparatus further comprises:
the fourth execution module is used for entering a distribution network mode after the user equipment information of the bound user equipment is saved when the distribution network instruction is trusted;
and the fifth execution module is used for sending second notification data to the bound user equipment according to the user equipment information after the distribution network is finished.
In order to achieve the above object, the present invention further provides a home device, where the home device includes a memory, a processor, and a computer program stored in the memory and running on the processor, and the computer program, when executed by the processor, implements the steps of the network distribution method as described above.
To achieve the above object, the present invention further provides a computer readable storage medium, having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the network distribution method as described above.
According to the network distribution method, the network distribution device, the household equipment and the computer readable storage medium, when a network distribution instruction is received, whether the network distribution instruction is trusted is judged according to a triggering mode of the network distribution instruction; and if the distribution network instruction is not trusted, performing verification operation on the distribution network instruction, and entering a distribution network mode when the verification operation is passed. Whether the distribution network instruction is trusted is judged, and when the distribution network instruction is trusted, the distribution network instruction is sent out by a household equipment owner; when the distribution network instruction is not trusted, the distribution network instruction is possibly sent by other personnel, and the distribution network instruction is discriminated by the user, so that the distribution network operation under each condition is in accordance with the intention of a home equipment owner, malicious distribution network operation of other people is avoided, and the safety of the home equipment is guaranteed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a network distribution method according to a first embodiment of the present invention;
fig. 2 is a schematic flow diagram of an optimal embodiment of a network distribution method according to the present invention;
fig. 3 is a schematic structural diagram of a module of the household equipment.
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. In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The invention provides a network distribution method, and referring to fig. 1, fig. 1 is a schematic flow diagram of a first embodiment of the network distribution method, and the method includes the steps of:
step S10, when a distribution network instruction is received, judging whether the distribution network instruction is trusted according to a trigger mode of the distribution network instruction;
the network distribution instruction is an instruction for enabling the household equipment to enter a network distribution mode; the distribution network instruction can be sent through a remote controller, a reset key arranged on the bound user equipment or the home equipment, and the like.
Judging whether the distribution network instruction is trusted mainly to judge whether the distribution network instruction is sent by an owner of the household equipment, wherein the distribution network instruction is trusted when the distribution network instruction is sent by the owner of the household equipment; when the distribution network instruction is not sent by the owner of the household equipment, the distribution network instruction is not trusted.
Specifically, whether the distribution network instruction is sent by the owner of the home equipment can be distinguished in a distribution network instruction sending mode, for example, a trusted preset distribution network instruction is set in the home equipment in advance, and the preset distribution network instruction can be set by a manufacturer when leaving a factory or can be set by a user in a self-defined manner; and if the received distribution network instruction is not matched with the preset distribution network instruction, the distribution network instruction is not trusted. It can be understood that the specific identification method can be selected according to actual situations, and multiple identification methods can be combined to obtain a more accurate identification result, which is not described herein again.
And S20, if the distribution network instruction is not trusted, performing verification operation on the distribution network instruction, and entering a distribution network mode when the verification operation is passed.
When the distribution network command is not trusted, in order to ensure the safety of the home equipment and the user, it is further required to confirm whether the distribution network operation is allowed by the user of the home equipment.
If the distribution network instruction is trusted, entering a distribution network mode;
when the distribution network instruction is confirmed to be trusted, the distribution network mode can be directly entered to execute the distribution network operation. The distribution network mode in this embodiment is an AP (Access Point, wireless Access Point) distribution network mode; in the AP distribution network mode, a user connects a home device in an STA (Station) mode through user equipment to enter a hot spot started when the home device enters the AP distribution network mode, the user equipment is connected to the home device in the AP distribution network mode to form a local area network, the user sends an SSID (Service Set identifier) needing to be connected with a router, a password and other related information to the home device through the user equipment, the home device searches and connects the router corresponding to the SSID to complete distribution network after receiving the SSID, the password and the other related information, and meanwhile, distribution network setting is carried out according to the other related information. It can be understood that, in the present embodiment, an admission method of a distribution network mode is concerned, rather than a specific distribution network method, and the present embodiment can be matched with various distribution network modes in the prior art to implement that distribution network operations under various conditions all meet the wish of a home equipment owner, avoid malicious distribution network operations of others, and ensure the safety of home equipment.
In the embodiment, whether the distribution network instruction is trusted is judged, and when the distribution network instruction is trusted, the distribution network instruction is sent by a household equipment owner; when the distribution network instruction is not trusted, the distribution network instruction is possibly sent by other personnel, and the distribution network instruction is discriminated by the user, so that the distribution network operation under each condition is in accordance with the intention of a home equipment owner, malicious distribution network operation of other people is avoided, and the safety of the home equipment is guaranteed.
Further, in a second embodiment of the network distribution method provided in the first embodiment of the present invention, step S10 includes the steps of:
step S11, judging whether the triggering mode of the distribution network instruction is a preset trusted triggering mode;
and S12, if the triggering mode of the distribution network instruction is not a preset trusted triggering mode, the distribution network instruction is not trusted.
And if the trigger mode of the distribution network instruction is a preset trusted trigger mode, the distribution network instruction is trusted.
In the embodiment, whether the distribution network instruction is trusted is mainly determined by distinguishing the triggering mode of the distribution network instruction as a remote controller or a reset key.
Most of household equipment remote controllers adopt infrared remote controllers, the existing household equipment of the same variety or the same model is provided with the same infrared remote controller, the infrared remote controller only needs to send a corresponding infrared code value according to the selection of a user, and the connection between the household equipment and the infrared remote controller does not need any authorization authentication step, so that the household equipment can be controlled through the infrared remote controllers or infrared simulation devices of other household equipment. When the household equipment receives a distribution network instruction sent by the remote controller, whether the distribution network instruction is sent by an owner of the household equipment cannot be judged, and the distribution network instruction is not trusted. The Bluetooth remote controller is used in the same way.
The reset key is a key which is arranged on the household equipment and used for entering a distribution network mode. Because the reset key is fixedly arranged on the household equipment, and the reset key is triggered to enter a place where the household equipment is located, when the household equipment receives a distribution network instruction sent by triggering the reset key, the distribution network instruction is considered to be sent by an owner of the household equipment, and the distribution network instruction is trusted.
It can be understood that the distribution network instruction sent by the remote controller is obtained by receiving a corresponding infrared signal by an infrared receiver of the household equipment; the distribution network instruction sent by the reset key is obtained by an electric signal generated by triggering the reset key. Therefore, the sending mode of the distribution network instruction can be distinguished through the receiving source of the distribution network instruction.
It should be noted that, in addition to distinguishing the reset key from the remote controller, the trusted status of other distribution network instruction sending modes can also be set. A distribution network instruction, such as sent by a user device, may also be considered trusted; for another example, when the home device is connected to a home control system, the distribution network command sent by the home control system is also considered as trusted. Further, whether the distribution network instruction is trusted can be judged through specifically received data of the distribution network instruction; for example, a user may preset a group of key value combinations as trust key values, and when the key values of the distribution network instruction sent by the remote controller are received to meet the key value combinations of the trust key values, the distribution network instruction is considered to be trusted.
Step S11 further includes the steps of:
acquiring an instruction equipment identifier in a distribution network instruction;
judging whether the instruction equipment identification is matched with a preset trusted equipment identification;
if the instruction equipment identification is matched with the preset trusted equipment identification, the triggering mode of the distribution network instruction is a preset trusted triggering mode;
and if the instruction equipment identifier is not matched with the preset trusted equipment identifier, the triggering mode of the distribution network instruction is not the preset trusted triggering mode.
Whether the distribution network instruction is sent by the owner of the household equipment is distinguished through the related identification, if the distribution network instruction contains the equipment identification bound with the household equipment, the distribution network instruction is considered to be sent by the owner of the household equipment; otherwise, when the distribution network instruction does not include the device identifier, or the included device identifier is not matched with the device bound to the home device, the distribution network instruction is considered to be possibly sent by the owner of the non-home device.
In the embodiment, whether the distribution network instruction is trusted is judged by distinguishing whether the trigger mode of the distribution network instruction is a preset trusted trigger mode, so that whether the distribution network instruction meets the intention of a household equipment owner can be accurately distinguished.
Further, in a third embodiment of the network distribution method provided in the present invention based on the first embodiment of the present invention, step S20 includes the steps of:
step S21, sending a distribution network request to the bound user equipment;
and S22, when a confirmation signal fed back by the user equipment according to the distribution network request is received, the verification operation is passed.
In this embodiment, a manner of directly querying a user is adopted to confirm the permission of the operation of the distribution network. The home equipment is bound with the user equipment executing the distribution network operation when the distribution network operation is carried out, and the user equipment bound with the home equipment is regarded as the user equipment corresponding to the home equipment owner. Furthermore, after the distribution network operation is performed on the household equipment, the relevant information of the household equipment owner, such as a mobile phone number, a user account applied by the household equipment and the like, can be added; when the distribution network request needs to be sent to the user equipment, the distribution network request can be sent to the user equipment in a short message mode, or the distribution network request is pushed to a corresponding user account number by the application of the home equipment.
When the owner receives a distribution network request on the user equipment, the owner can select to confirm the distribution network or reject the distribution network according to the distribution network requirement; when the distribution network is selected to be confirmed, a confirmation signal is fed back to the household equipment, and when the distribution network is selected to be refused, a refusing signal is fed back to the household equipment. When the household equipment receives the confirmation signal, the household equipment enters a distribution network mode; and when the household equipment receives the rejection signal or does not receive the confirmation signal within the preset time, stopping the operation of the distribution network.
The distribution network operation permission condition is confirmed by sending the distribution network request to the user equipment, so that the verification operation is accurate.
Further, in a fourth embodiment of the network distribution method according to the present invention based on the third embodiment of the present invention, step S20 includes the steps of:
step S23, judging whether bound user equipment exists;
step S24, if no bound user equipment exists, entering a distribution network mode;
and step S25, if the bound user equipment exists, sending a distribution network request to the bound user equipment.
Under the condition that the distribution network instruction is not trusted and bound user equipment does not exist, the household equipment is considered to perform distribution network operation for the first time, and the distribution network mode can be directly entered without considering the source of the distribution network instruction. And in case there is a bound user equipment, further confirmation is needed.
It should be noted that, in order to further ensure the security of the home devices, it may be set that when the home devices perform the network distribution operation for the first time, the home devices can enter the network distribution mode only through the network distribution instruction sent by the trusted mode such as triggering the reset key.
According to the embodiment, the network distribution mode can be directly entered when the network is distributed for the first time, and the influence of redundant judging steps on the efficiency of network distribution operation is avoided.
Further, in a fifth embodiment of the distribution network method according to the present invention, which is proposed based on the third embodiment of the present invention, before determining whether the distribution network instruction is trusted in step S10, the method includes the steps of:
step S13, judging whether to access to the Internet;
step S14, if the Internet is accessed, executing the following steps: judging whether the distribution network instruction is trusted or not;
and S15, if the Internet is not accessed, executing preset distribution network operation.
When the network is not accessed to the Internet, the network distribution request cannot be sent to the user equipment, and no matter whether the received network distribution instruction is trusted or not, the user cannot further confirm the network distribution request; therefore, in order to save the judgment process, when the distribution network instruction is received and the internet is not accessed currently, the preset distribution network operation is directly executed.
When the distribution network command is received and the network is accessed to the internet, the subsequent judgment step is executed when the distribution network command is received and the network is accessed to the internet currently.
It should be noted that, in order to further ensure the security of the home devices, it may be set that when the home devices do not access the internet, the home devices can enter the distribution network mode only by triggering the distribution network instruction sent by a trusted manner such as a reset key.
It should be noted that, in addition to setting the determination of whether to access the internet before the step of determining whether the distribution network instruction is trusted, the determination of whether to access the internet may also be set after the step of determining whether the distribution network instruction is trusted. Specifically, after a judgment result of whether the distribution network instruction is trusted is obtained, whether the internet is accessed is judged, and if the internet is not accessed, the step S14 is executed; and if the network is accessed to the Internet, executing the original step after the step of judging whether the distribution network instruction is trusted.
According to the embodiment, the preset distribution network operation can be executed when the internet is not accessed, and the influence of redundant judging steps on the efficiency of the distribution network operation is avoided.
Further, in a sixth embodiment of the network distribution method according to the present invention that is provided based on the fifth embodiment of the present invention, step S15 includes the steps of:
step S151, judging whether bound user equipment exists;
step S152, if the bound user equipment exists, entering a distribution network mode after the user equipment information of the bound user equipment is stored, and after the distribution network is completed, sending first notification data to the bound user equipment according to the user equipment information;
step S153, if there is no bound user equipment, enter a distribution network mode.
When the household equipment does not access the Internet and bound user equipment exists, the fact that the household equipment is subjected to distribution network operation before is indicated, and at the moment, the household equipment cannot access the Internet due to reasons such as network disconnection of a router and the like; therefore, when the subsequent distribution network reconfiguration is completed, a notification message needs to be sent to the bound user equipment to remind the user that the network is reconfigured.
Specifically, the user equipment information includes the operation data of the home equipment and the equipment information of the user equipment. The household equipment operation data comprises the time of disconnection from the Internet, the use data of the household equipment and the like; the device information of the user device includes a mobile phone number, a user account applied by the home device, and the like. After the household equipment completes the distribution of the network again, the household equipment is unbound from the previously bound user equipment, and is bound with new user equipment; at this time, the re-distribution network time, the new device information of the user device, and the like, as well as the home device operation data are acquired and sent as first notification data to the previously bound user device, that is, the user device corresponding to the device information of the user device. It should be noted that, after the distribution network is completed, it may also be determined whether the previously bound user equipment is the same as the new user equipment, and if so, the step of sending the first notification data is not performed.
Since some home devices will clear the previous distribution network records after the distribution network is completed, it is necessary to store the user device information before the distribution network operation, so as to avoid the loss of the user device information.
According to the embodiment, under the condition that the distribution network state of the household equipment is not connected with the Internet, the bound user can know the change of the distribution network state of the household equipment in time.
Further, in a seventh embodiment of the network distribution method according to the present invention that is proposed based on the third embodiment of the present invention, after the step S10, the method includes the steps of:
step S30, if the distribution network instruction is trusted, entering a distribution network mode after the user equipment information of the bound user equipment is saved;
and S40, after the distribution network is finished, sending second notification data to the bound user equipment according to the user equipment information.
The second notification data includes the reconfiguration network time, the device information of the new user device, and the user device information.
Since some home devices may clear the previous distribution network record after the distribution network is completed, the user device information needs to be saved before the distribution network operation, so as to avoid the loss of the user device information. After the household equipment is re-distributed with the network, the household equipment is in a contact binding state with the previously bound user equipment, and a binding state is established with new user equipment; at this time, the re-distribution network time, the new device information of the user device, and the like, as well as the home device operation data are acquired and sent as second notification data to the previously bound user device, that is, the user device corresponding to the device information of the user device. It should be noted that, after the distribution network is completed, it may also be determined whether the previously bound user equipment is the same as the new user equipment, and if the previously bound user equipment is the same as the new user equipment, the step of sending the second notification data is not performed.
According to the embodiment, after the household equipment is newly distributed, the user who is bound before can know the change of the distribution network state of the household equipment in time.
Referring to fig. 2, fig. 2 is a schematic flow chart of an optimal embodiment of the distribution network method of the present invention, and the optimal embodiment of the present invention includes the steps of:
step S13, judging whether to access the Internet;
if the network is accessed to the Internet, executing the step S10, and judging whether the distribution network instruction is trusted;
step S30, if the distribution network command is trusted, the bound user equipment information is saved and then the distribution network mode is entered;
step S40, after the distribution network is finished, second notification data is sent to the bound user equipment according to the user equipment information;
if the distribution network instruction is not trusted, executing the step S21, and sending a distribution network request to the bound user equipment;
step S151, judging whether bound user equipment exists;
step S152, if the bound user equipment exists, entering a distribution network mode after the user equipment information of the bound user equipment is stored, and after the distribution network is completed, sending first notification data to the bound user equipment according to the user equipment information;
step S153, if no bound user equipment exists, entering a distribution network mode.
And step S15, if the Internet is not accessed, executing preset distribution network operation.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art will recognize that the embodiments described in this specification are preferred embodiments and that acts or modules referred to are not necessarily required for this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application 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) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
The present application further provides a network distribution device for implementing the network distribution method, where the device includes:
the first judgment module is used for judging whether the distribution network instruction is trusted according to the trigger mode of the distribution network instruction when the distribution network instruction is received;
and the first execution module is used for executing verification operation on the distribution network instruction when the distribution network instruction is not trusted, and entering a distribution network mode when the verification operation is passed. .
It should be noted that the first determining module in this embodiment may be configured to execute step S10 in this embodiment, and the first executing module in this embodiment may be configured to execute step S20 in this embodiment.
Whether the distribution network instruction is trusted is judged, and when the distribution network instruction is trusted, the distribution network instruction is sent out by a household equipment owner; when the distribution network instruction is not trusted, the distribution network instruction is possibly sent by other personnel, and the distribution network instruction is discriminated by the user, so that the distribution network operation under each condition is in accordance with the intention of a home equipment owner, malicious distribution network operation of other people is avoided, and the safety of the home equipment is guaranteed.
Further, the first judging module comprises:
the first judgment unit is used for judging whether the trigger mode of the distribution network instruction is a preset trusted trigger mode or not;
the first execution unit is used for considering that the distribution network instruction is not trusted when the trigger mode of the distribution network instruction is not a preset trusted trigger mode.
Further, the first execution unit includes:
the first execution subunit is used for acquiring an instruction device identifier in the distribution network instruction;
the first judgment subunit is used for judging whether the instruction equipment identifier is matched with a preset trusted equipment identifier or not;
the second execution subunit is configured to, if the instruction device identifier matches a preset trusted device identifier, consider a trigger mode of the distribution network instruction as a preset trusted trigger mode;
and the third execution subunit is configured to, if the instruction device identifier is not matched with a preset trusted device identifier, consider that the trigger mode of the distribution network instruction is not a preset trusted trigger mode.
Further, the first execution module includes:
the second execution unit is used for sending a distribution network request to the bound user equipment;
and the third execution unit is used for verifying that the operation is passed when receiving a confirmation signal fed back by the user equipment according to the distribution network request.
Further, the first execution module includes:
a second judging unit, configured to judge whether a bound user equipment exists;
the fourth execution unit is used for entering a distribution network mode when no bound user equipment exists;
and the fifth execution unit is used for sending the distribution network request to the bound user equipment when the bound user equipment exists.
Further, the apparatus further comprises:
the second judgment module is used for judging whether the Internet is accessed;
the second execution module is used for executing the following steps when the Internet is accessed: judging whether the distribution network instruction is trusted or not;
and the third execution module is used for executing the preset distribution network operation when the Internet is not accessed.
Further, the third execution module includes:
a third judging unit, configured to judge whether a bound user equipment exists;
the sixth execution unit is used for entering a distribution network mode after the user equipment information of the bound user equipment is stored when the bound user equipment exists, and sending first notification data to the bound user equipment according to the user equipment information after the distribution network is finished;
and the seventh execution unit is used for entering the distribution network mode when the bound user equipment does not exist.
Further, the apparatus further comprises:
the fourth execution module is used for entering a distribution network mode after the user equipment information of the bound user equipment is saved when the distribution network instruction is trusted;
and the fifth execution module is used for sending the second notification data to the bound user equipment according to the user equipment information after the distribution network is finished.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules as part of the apparatus may be implemented by software or hardware, where the hardware environment includes a network environment.
Referring to fig. 3, the home appliance may include components of a communication module 10, a memory 20, and a processor 30 in a hardware structure. In the home device, the processor 30 is connected to the memory 20 and the communication module 10, respectively, the memory 20 stores a computer program, the computer program is executed by the processor 30, and the steps of the above-mentioned method embodiments are realized when the computer program is executed.
The communication module 10 may be connected to an external communication device through a network. The communication module 10 may receive a request from an external communication device, and may also send the request, an instruction, and information to the external communication device, where the external communication device may be other household devices, a server, or an internet of things device, such as a television.
The memory 20 may be used to store software programs as well as various data. The memory 20 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, an application program required by at least one function (e.g., determining whether a distribution network instruction is trusted), and the like; the storage data area may include a database, and the storage data area may store data or information created according to use of the system, or the like. Further, the memory 20 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 30 is a control center of the home device, connects various parts of the whole home device by using various interfaces and lines, and executes various functions and processes data of the home device by operating or executing software programs and/or modules stored in the memory 20 and calling data stored in the memory 20, thereby performing overall monitoring on the home device. Processor 30 may include one or more processing units; alternatively, the processor 30 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 30.
Although not shown in fig. 3, the household equipment may further include a circuit control module, and the circuit control module is used for being connected with a power supply to ensure the normal operation of other components. Those skilled in the art will appreciate that the configuration of the household device illustrated in fig. 3 does not constitute a limitation of the household device and may include more or fewer components than illustrated, or some components may be combined, or a different arrangement of components.
The invention also proposes a computer-readable storage medium on which a computer program is stored. The computer-readable storage medium may be the Memory 20 in the household device of fig. 3, and may also be at least one of a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, and an optical disk, and the computer-readable storage medium includes several instructions for enabling a terminal device (which may be a television, an automobile, a mobile phone, a computer, a server, a terminal, or a network device) having a processor to execute the method according to the embodiments of the present invention.
In the present invention, the terms "first", "second", "third", "fourth" and "fifth" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance, and those skilled in the art can understand the specific meanings of the above terms in the present invention according to specific situations.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although the embodiment of the present invention has been shown and described, the scope of the present invention is not limited thereto, it should be understood that the above embodiment is illustrative and not to be construed as limiting the present invention, and that those skilled in the art can make changes, modifications and substitutions to the above embodiment within the scope of the present invention, and that these changes, modifications and substitutions should be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A network distribution method, characterized in that the method comprises:
when a distribution network instruction is received, judging whether the distribution network instruction is trusted according to a trigger mode of the distribution network instruction;
if the distribution network instruction is not trusted, performing verification operation on the distribution network instruction, and entering a distribution network mode when the verification operation is passed;
the step of judging whether the distribution network instruction is trusted according to the triggering mode of the distribution network instruction comprises the following steps:
and if the distribution network instruction is triggered by a reset key, the distribution network instruction is trusted, and the reset key is a key which is arranged on the household equipment and is used for entering a distribution network mode.
2. The method for network distribution according to claim 1, wherein the step of determining whether the distribution network command is trusted according to the trigger mode of the distribution network command comprises:
judging whether the triggering mode of the distribution network instruction is a preset trusted triggering mode or not;
and if the triggering mode of the distribution network instruction is not a preset trusted triggering mode, the distribution network instruction is not trusted.
3. The network distribution method of claim 2, wherein the step of determining whether the trigger mode of the distribution network command is a preset trusted trigger mode comprises:
acquiring an instruction equipment identifier in the distribution network instruction;
judging whether the instruction equipment identification is matched with a preset trusted equipment identification;
if the instruction equipment identification is matched with a preset trusted equipment identification, the triggering mode of the distribution network instruction is a preset trusted triggering mode;
and if the instruction equipment identifier is not matched with a preset trusted equipment identifier, the trigger mode of the distribution network instruction is not a preset trusted trigger mode.
4. The distribution network method of claim 1, wherein the step of performing a validation operation on the distribution network instructions comprises:
sending a distribution network request to the bound user equipment;
and when receiving a confirmation signal fed back by the user equipment according to the distribution network request, the verification operation is passed.
5. The distribution network method of claim 1, wherein the step of determining whether the distribution network command is trusted according to the trigger mode of the distribution network command comprises:
judging whether to access the Internet or not;
if the Internet is accessed, executing the following steps: judging whether the distribution network instruction is trusted or not;
and if the network is not accessed to the Internet, executing preset distribution network operation.
6. The method for network distribution according to claim 5, wherein said step of performing a preset distribution network operation comprises:
judging whether bound user equipment exists or not;
if the bound user equipment exists, entering a distribution network mode after the user equipment information of the bound user equipment is stored, and sending first notification data to the bound user equipment according to the user equipment information after the distribution network is finished;
and if no bound user equipment exists, entering a distribution network mode.
7. The network distribution method according to any one of claims 1 to 6, wherein the step of judging whether the distribution network command is trusted according to the triggering mode of the distribution network command further comprises:
if the distribution network instruction is trusted, the bound user equipment information of the user equipment is saved and then the distribution network mode is entered;
and after the distribution network is finished, sending second notification data to the bound user equipment according to the user equipment information.
8. A network-distribution apparatus, the apparatus comprising:
the first judgment module is used for judging whether the distribution network instruction is trusted according to the trigger mode of the distribution network instruction when the distribution network instruction is received;
the first execution module is used for executing verification operation on the distribution network instruction when the distribution network instruction is not trusted, and entering a distribution network mode when the verification operation is passed;
the step of judging whether the distribution network instruction is trusted according to the triggering mode of the distribution network instruction comprises the following steps:
and if the distribution network instruction is triggered by a reset key, the distribution network instruction is trusted, and the reset key is a key which is arranged on the household equipment and is used for entering a distribution network mode.
9. Household device, characterized in that it comprises a memory, a processor and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the network distribution method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the network distribution method according to any one of claims 1 to 7.
CN202110688802.6A 2021-06-21 2021-06-21 Network distribution method, network distribution device, household equipment and computer readable storage medium Active CN113422712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110688802.6A CN113422712B (en) 2021-06-21 2021-06-21 Network distribution method, network distribution device, household equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110688802.6A CN113422712B (en) 2021-06-21 2021-06-21 Network distribution method, network distribution device, household equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113422712A CN113422712A (en) 2021-09-21
CN113422712B true CN113422712B (en) 2023-03-14

Family

ID=77789718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110688802.6A Active CN113422712B (en) 2021-06-21 2021-06-21 Network distribution method, network distribution device, household equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113422712B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022857A (en) * 2022-05-26 2022-09-06 四川虹美智能科技有限公司 Terminal system supporting rapid distribution network and setting NFC label function

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929674A (en) * 2014-04-25 2014-07-16 深圳市九洲电器有限公司 Set top box authorization method and set top box
CN107276862A (en) * 2017-07-10 2017-10-20 广东美的制冷设备有限公司 Household electrical appliances match somebody with somebody network method, intelligent appliance and readable storage medium storing program for executing
CN109495356A (en) * 2018-11-22 2019-03-19 深圳市全智芯科技有限公司 Distribution starts method, storage medium, control device and intelligent-induction lamp
WO2020233439A1 (en) * 2019-05-23 2020-11-26 无锡小天鹅电器有限公司 Control method, device, and apparatus, and computer storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682912B (en) * 2017-10-16 2021-03-19 广东美的环境电器制造有限公司 Rapid network distribution method, device and system for household appliances
CN111328074A (en) * 2018-12-14 2020-06-23 美的集团股份有限公司 Equipment network distribution method, medium, household appliance and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929674A (en) * 2014-04-25 2014-07-16 深圳市九洲电器有限公司 Set top box authorization method and set top box
CN107276862A (en) * 2017-07-10 2017-10-20 广东美的制冷设备有限公司 Household electrical appliances match somebody with somebody network method, intelligent appliance and readable storage medium storing program for executing
CN109495356A (en) * 2018-11-22 2019-03-19 深圳市全智芯科技有限公司 Distribution starts method, storage medium, control device and intelligent-induction lamp
WO2020233439A1 (en) * 2019-05-23 2020-11-26 无锡小天鹅电器有限公司 Control method, device, and apparatus, and computer storage medium

Also Published As

Publication number Publication date
CN113422712A (en) 2021-09-21

Similar Documents

Publication Publication Date Title
CN107579966B (en) Control method, device and system for remotely accessing intranet and terminal equipment
CN107528733B (en) Management method of Internet of things and Internet of things system
EP3337219B1 (en) Carrier configuration processing method, device and system, and computer storage medium
US11096051B2 (en) Connection establishment method, device, and system
US20030100297A1 (en) Method of software configuration assurance in programmable terminal devices
CN104244227A (en) Terminal access authentication method and device in internet of things system
CN110336870B (en) Method, device and system for establishing remote office operation and maintenance channel and storage medium
CN103874065A (en) Method and device for judging user position abnormity
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN110727938B (en) Configuration method and device of intelligent equipment, electronic equipment and storage medium
CN112202747A (en) Target device binding method and device, storage medium and electronic device
CN111818528B (en) Connection method and device of wireless local area network, storage medium and wireless access equipment
CN104580235A (en) Authentication method and authentication system for equipment connection
CN111065090A (en) Method for establishing network connection and wireless routing equipment
CN113422712B (en) Network distribution method, network distribution device, household equipment and computer readable storage medium
CN107682912B (en) Rapid network distribution method, device and system for household appliances
CN112035807A (en) Object authentication method and apparatus, storage medium, and electronic apparatus
CN114245403B (en) Equipment network distribution method and device, electronic equipment and storage medium
CN109561413B (en) Bluetooth authentication and authorization method and system of BLE equipment
CN107241332B (en) Gateway authority processing method and device
CN111371817A (en) Equipment control system, method and device, electronic equipment and storage medium
CN105553675B (en) Log in the method and device of router
WO2021248963A1 (en) Home appliance, networking method therefor, control terminal, and computer storage medium
CN105764054A (en) Method for network detection based on embedded intelligent card and terminal thereof
CN103259785A (en) Authentication method and system of virtual token

Legal Events

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