CN113438713A - Network distribution method and device and intelligent home system - Google Patents

Network distribution method and device and intelligent home system Download PDF

Info

Publication number
CN113438713A
CN113438713A CN202110655161.4A CN202110655161A CN113438713A CN 113438713 A CN113438713 A CN 113438713A CN 202110655161 A CN202110655161 A CN 202110655161A CN 113438713 A CN113438713 A CN 113438713A
Authority
CN
China
Prior art keywords
distribution network
network
historical
distributed
equipment
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.)
Granted
Application number
CN202110655161.4A
Other languages
Chinese (zh)
Other versions
CN113438713B (en
Inventor
李艳春
郭继宾
封荣杰
路炎
李恒元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
Haier Shenzhen R&D Co Ltd
Original Assignee
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
Haier Shenzhen R&D Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Air Conditioner Gen Corp Ltd, Qingdao Haier Air Conditioning Electric Co Ltd, Haier Smart Home Co Ltd, Haier Shenzhen R&D Co Ltd filed Critical Qingdao Haier Air Conditioner Gen Corp Ltd
Priority to CN202110655161.4A priority Critical patent/CN113438713B/en
Publication of CN113438713A publication Critical patent/CN113438713A/en
Application granted granted Critical
Publication of CN113438713B publication Critical patent/CN113438713B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/068Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to the technical field of smart homes and discloses a network distribution method. The method for the network distribution comprises the following steps: under the condition of non-first distribution, the equipment to be distributed acquires historical distribution network information, and tries to perform networking according to the historical distribution network information; if the equipment to be distributed is determined to be in a networking failure state, historical distribution network information is cleared; the mobile terminal is communicated with the equipment to be networked; and the mobile terminal is used for distributing the network for the equipment to be distributed again. The method for the distribution network is beneficial to improving the success rate of the distribution network and reducing the risk of repeated networking failure after the equipment is distributed again. The application also discloses a device and an intelligent home system for the distribution network.

Description

Network distribution method and device and intelligent home system
Technical Field
The application relates to the technical field of smart home, for example, to a method and a device for network distribution and a smart home system.
Background
At present, under the big wave of smart home, the device uploads cloud data in real time and issues commands according to expectation through a configuration network. Wifi also plays an indispensable role in home life, various equipment manufacturers are different, defined equipment enters different distribution network modes, for example, a remote controller of the equipment presses a designated number of times for a long time, a home key of the equipment is pressed for a long time for several seconds, a Light-Emitting Diode (LED) displays colors, the equipment is plugged and unplugged for three times, a voice equipment is distributed to a network, and the like.
In the use process of the equipment, the situation that the network cannot be connected suddenly occurs, at the moment, the network needs to be connected again, the network can be connected again through the mode, and the network can be connected again to the equipment.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:
after the device is newly distributed, the risk of multiple networking failures still exists.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a method and a device for network distribution and an intelligent home system, which are used for solving the technical problem that after the network is newly distributed, the risk of multiple networking failures of equipment still exists.
In some embodiments, the method for network distribution is applied to a device to be distributed with a network, and comprises the following steps: under the condition of non-first distribution network, obtaining historical distribution network information, and trying to perform networking according to the historical distribution network information; if the network connection failure state is determined, removing historical distribution network information; and communicating with the mobile terminal to redistribute the network.
Optionally, the determining that the network failure state is present includes: and determining to be in a networking failure state under the condition that the networking failure times are larger than or equal to the set times.
Optionally, determining that the number of networking failures is greater than or equal to a set number includes: obtaining a first frequency of continuous networking failure in the process of trying to network according to the historical distribution network information; obtaining a second frequency of continuous networking failure in the process of trying to network according to the historical distribution network information last time; and determining that the networking failure times are greater than or equal to the set times under the condition that the sum of the first times and the second times is greater than or equal to the set times.
Optionally, communicating with the mobile terminal, reconfiguring the network, comprising: switching a STA (station) mode to a Soft AP (Soft-Wireless Access Point) mode, and acquiring a historical WiFi name, or a historical WiFi name and a historical WiFi password, which are created by the equipment to be distributed in the Soft AP mode in the last distribution process; creating a hotspot, and enabling the hotspot name to be the historical WiFi name, or enabling the hotspot name to be the historical WiFi name and the hotspot password to be the historical WiFi password; and receiving new distribution network information sent by the mobile terminal through the hotspot.
Optionally, determining a non-first-time distribution network includes: acquiring a distribution network frequency identification of the equipment to be distributed, and determining the equipment to be distributed as a non-primary distribution network under the condition that the distribution network frequency identification represents the non-primary distribution network; after the network is redistributed, the method for the distribution network applied to the equipment to be distributed further comprises the following steps: and resetting the distribution network frequency identification as a first distribution network.
In some embodiments, a method for network distribution is applied to a mobile terminal, and the method for network distribution comprises the following steps: after the equipment to be distributed is determined to be in a networking failure state and historical distribution network information is removed, the equipment to be distributed communicates with the equipment to be distributed and is newly distributed for the equipment to be distributed; the network to be distributed is not distributed for the first time, and after the network to be distributed acquires historical distribution network information and tries to be networked according to the historical distribution network information, the network to be distributed is determined to be in a network failure state.
Optionally, communicating with the device to be networked includes: and establishing connection with the equipment to be distributed according to the historical WiFi names of the hotspots created by the equipment to be distributed in the last distribution process, or the historical WiFi names and the historical WiFi passwords.
In some embodiments, the apparatus for a network distribution includes a processor and a memory storing program instructions, the processor is configured to execute the method for a network distribution applied to a device to be network-distributed provided by the foregoing embodiments when executing the program instructions.
In some embodiments, the apparatus for a distribution network comprises a processor and a memory storing program instructions, the processor being configured to execute the method for a distribution network applied to a mobile terminal provided by the foregoing embodiments when executing the program instructions.
In some embodiments, the smart home system includes the apparatus for a distribution network provided in the foregoing embodiments.
The method, the device and the intelligent home system for network distribution provided by the embodiment of the disclosure can achieve the following technical effects:
the equipment is in the in-process of networking, under the unable circumstances of networking of emergence suddenly, join in marriage the net for the non-first time, join in marriage the circumstances that net information still can't be networked according to historical, clear away historical distribution network information this moment, make and wait that networking equipment is in the state of joining in marriage the net for the first time, be favorable to improving and join in marriage the net success rate, reduce the risk that still a lot of networking failed after equipment joins in marriage the net again.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated in drawings corresponding to, and not limiting to, embodiments in which elements having the same reference number designation are identified as similar elements, and in which:
fig. 1 is a schematic diagram of a method for network distribution provided by an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a method for network distribution provided by an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a method for network distribution provided by an embodiment of the present disclosure;
fig. 4 is a schematic diagram of an apparatus for a distribution network according to an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
Fig. 1 is a schematic diagram of a method for network distribution provided by an embodiment of the present disclosure. The method for network distribution is applied to the equipment to be distributed, and is executed by the equipment to be distributed, and the equipment to be distributed can comprise intelligent household appliances such as an intelligent sound box, an intelligent refrigerator, an intelligent air conditioner and an intelligent washing machine.
Referring to fig. 1, the method for network distribution includes:
s101, under the condition that the network is not distributed for the first time, historical distribution network information is obtained, and networking is tried according to the historical distribution network information.
The historical distribution network information comprises a WiFi name and a WiFi password of the router WiFi, and the equipment to be distributed can be connected to the router according to the WiFi name and the WiFi password.
The non-initial distribution network can mean that the phenomenon that the network cannot be connected suddenly occurs in the using process of the equipment, and the distribution network is carried out on the equipment at the moment, namely the non-initial distribution network is obtained. Whether the device is the first distribution network can be determined by the following method:
for example, the historical distribution network information is tried to be obtained, and the distribution network is determined to be a non-primary distribution network under the condition that the historical distribution network information can be successfully obtained; and determining the distribution network as the first distribution network under the condition that the historical distribution network information cannot be successfully obtained.
Or acquiring a distribution network frequency identification, and determining the distribution network as a non-primary distribution network under the condition that the distribution network frequency identification indicates the non-primary distribution network; and determining the distribution network as the first distribution network under the condition that the distribution network times represent the first distribution network.
And S102, if the network connection failure state is determined, removing the historical distribution network information.
The networking failure state may be determined by:
for example, a specified signal which is sent by a remote controller of the device to be networked and indicates that a specified key is pressed is obtained, and if the specified signal is received for a specified number of times, the device to be networked is determined to be in a networking failure state;
or detecting the pressing state of each key on a control panel of the equipment to be networked, and if the home key is detected to be pressed and the home key is continuously pressed for a set time, determining that the equipment is in a networking failure state;
or detecting the pressing state of each key on a control panel of the equipment to be networked, if detecting that the home key is pressed and the home key is continuously pressed for a set time length, performing continuous feedback through an LED, and if detecting that the home key is released during the LED feedback, determining that the equipment is in a networking failure state.
Alternatively, determining that the network failure state is present may include: and determining to be in a networking failure state under the condition that the networking failure times are larger than or equal to the set times. According to the technical scheme, the device to be networked interacts with the user to determine the networking failure state, so that the operation amount of the user is increased.
In some embodiments, the set number of times may be 3, 5, 8, 10, or more times.
Optionally, determining that the number of networking failures is greater than or equal to a set number includes: acquiring a first frequency of continuous networking failure in the process of trying to network according to historical distribution network information; acquiring a second frequency of continuous networking failure in the process of trying to network according to historical distribution network information at the last time; and determining that the networking failure times are greater than or equal to the set times under the condition that the sum of the first times and the second times is greater than or equal to the set times. The historical distribution network information adopted in the process of trying to network the device to be networked at this time is the same information as the historical distribution network information adopted in the process of trying to network the device to be networked at the last time.
In practical applications, after a device fails to network, the device is re-networked again, for example, the device is restarted, which may cause the device to successfully network. In the technical scheme, the sum of the first time and the second time is used as the networking failure time of the equipment to be networked, so that even in the process of networking common knowledge according to the historical network information, the first time of continuous networking failure does not reach the set time, and enough failure times exist in the previous common sense networking process, the networking failure is determined at the moment, so that the networking success rate is improved, the use experience of a user is further improved under the condition that the networking failure of a plurality of times (less than the set time) is reduced.
In some application scenes, the set times are 5, after one network disconnection, the devices to be networked try to connect for 3 times according to historical network distribution information, the former two times of network connection fail, and the third time of network connection succeeds; and when the networking equipment works for a period of time, disconnecting the network again, re-networking again according to the historical distribution network information, if the failure times are more than or equal to 3 times, determining that the networking fails, clearing the historical distribution network information, communicating with the mobile terminal, and re-distributing the network.
Of course, the process of attempting to perform networking according to the historical distribution network information last time may be a process of attempting to perform networking according to the historical distribution network information last time, such as the above application scenario, or a process of attempting to perform networking according to the historical distribution network information last time two or more times.
For example, a first number of continuous networking failures in the process of attempting networking according to historical distribution network information is obtained; acquiring a second time of continuous networking failure in the process of trying to network according to historical distribution network information at the last time; obtaining another second time of continuous networking failure in the process of trying to network again according to the historical distribution network information; and calculating the sum of the first times, the second times and the other second times, determining that the networking failure times are greater than or equal to the set times when the sum is greater than or equal to the set times, and determining that the networking failure state is present.
And S103, communicating with the mobile terminal and reconfiguring the network.
Optionally, communicating with the mobile terminal, reconfiguring the network, comprising: and switching the equipment to be distributed to a Soft AP mode from an STA mode, creating a hotspot, establishing communication connection with the mobile terminal, and receiving new distribution network information sent by the mobile terminal.
After the mobile terminal is used for the network distribution of the equipment to be distributed last time, the equipment to be distributed stores historical WiFi names of hotspots created when the equipment to be distributed is in the Soft AP mode, or the historical WiFi names and the historical WiFi passwords.
Correspondingly, in the process of the network distribution, the network distribution is performed again by communicating with the mobile terminal, which may include: switching the STA mode to a Soft AP mode, and acquiring a historical WiFi name, or the historical WiFi name and a historical WiFi password, which are created by the equipment to be configured in the Soft AP mode in the last network distribution process; creating a hotspot, wherein the hotspot name is a historical WiFi name, or the hotspot name is a historical WiFi name and the hotspot password is a historical WiFi password; and receiving new distribution network information sent by the mobile terminal through the hotspot.
Therefore, the mobile terminal can be in communication connection with the equipment to be networked without reconfiguring the connection information of the mobile terminal, the operation amount of a user in the process of network distribution is reduced, and the use experience of the user is improved.
After the equipment to be networked is re-configured with the network, namely after receiving new network configuration information sent by the mobile terminal, the equipment to be networked is switched from the Soft AP mode to the STA mode, and the network is networked according to the new network configuration information.
If the non-first-time distribution network is determined by the following method: acquiring a distribution network frequency identification of equipment to be distributed, and determining a non-primary distribution network under the condition that the distribution network frequency identification represents the non-primary distribution network; after the network is reconfigured, the method for configuring the network further includes: and resetting the distribution network frequency identification to be a first distribution network. By adopting the technical scheme, each network distribution process of the equipment to be distributed is equivalent to the first network distribution, so that the networking success rate of the equipment to be distributed after the network distribution is improved.
The equipment is in the in-process of networking, under the unable circumstances of networking of emergence suddenly, join in marriage the net for the non-first time, join in marriage the circumstances that net information still can't be networked according to historical, clear away historical distribution network information this moment, make and wait that networking equipment is in the state of joining in marriage the net for the first time, be favorable to improving and join in marriage the net success rate, reduce the risk that still a lot of networking failed after equipment joins in marriage the net again.
Fig. 2 is a schematic diagram of a method for network distribution provided by an embodiment of the present disclosure. The embodiment of the disclosure is exemplified by applying the method for a distribution network to a mobile terminal, which is executed by the mobile terminal. The mobile terminal may be a terminal device such as a smart phone, a tablet Computer, an Ultra-mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and the like, but is not limited thereto.
As shown in fig. 2, the method for network distribution includes:
s201, after the device to be networked is determined to be in a networking failure state and historical distribution network information is removed, the device to be networked communicates with the device to be networked.
The device to be networked is not a first-time network distribution, and after obtaining historical network distribution information and trying to network according to the historical network distribution information, the device to be networked is determined to be in a network failure state.
In the process of communication between the mobile terminal and the equipment to be networked, the equipment to be networked is in a Soft AP mode; after the mobile device is a network to be configured for the device to be configured, the device to be configured is switched from the Soft AP mode to the STA mode so as to be networked according to the new network configuration information.
After the mobile terminal is used for the network distribution of the equipment to be distributed last time, the mobile terminal stores the historical WiFi names of the hotspots created when the equipment to be distributed is in the Soft AP mode, or the historical WiFi names and the historical WiFi passwords.
Correspondingly, in the process of the network distribution, the communication with the device to be distributed may include: and establishing connection with the equipment to be distributed according to the historical WiFi name of the hotspot created by the equipment to be distributed in the last distribution process, or the historical WiFi name and the historical WiFi password.
Therefore, the mobile terminal can be in communication connection with the equipment to be networked without reconfiguring the connection information of the mobile terminal, the operation amount of a user in the process of network distribution is reduced, and the use experience of the user is improved.
And S202, newly distributing the network for the equipment to be distributed.
The method comprises the steps that a mobile terminal sends new distribution network information such as a WiFi name and a WiFi password of a router to equipment to be distributed, the equipment to be distributed receives and stores the new distribution network information such as the WiFi name and the WiFi password of the router, the distribution network process is completed, then the equipment to be distributed is switched to an STA mode from a Soft AP mode, and the equipment to be distributed is connected to the router according to the stored new distribution network information such as the WiFi name and the WiFi password of the router.
The new distribution network information can be historical distribution network information sent to the equipment to be distributed when the mobile terminal is the distribution network of the equipment to be distributed last time; the new distribution network information can be obtained and sent to the equipment to be distributed in response to the user input.
Further, the new network configuration information may also be a WiFi name and a WiFi password of the router with the strongest signal detected by the mobile terminal. For example, the mobile terminal stores WiFi names and WiFi passwords of all routers in the smart home system, obtains signal strengths of all routers after being connected to the to-be-connected network device in the Soft AP mode, and sends the WiFi names and WiFi passwords of the routes corresponding to the strongest signal strengths as new distribution network information to the to-be-connected network device.
The equipment is in the in-process of networking, under the unable circumstances of networking of emergence suddenly, join in marriage the net for the non-first time, join in marriage the circumstances that net information still can't be networked according to historical, clear away historical distribution network information this moment, make and wait that networking equipment is in the state of joining in marriage the net for the first time, be favorable to improving and join in marriage the net success rate, reduce the risk that still a lot of networking failed after equipment joins in marriage the net again.
Fig. 3 is a schematic diagram of a method for network distribution according to an embodiment of the present disclosure. The embodiment of the disclosure exemplifies the equipment for network distribution in the angle of interaction between the equipment to be network-distributed and the mobile terminal.
Referring to fig. 3, the method for network distribution includes:
s301, under the condition that the network is not distributed for the first time, the equipment to be distributed obtains historical distribution network information, and networking is attempted according to the historical distribution network information.
S302, if the equipment to be distributed is determined to be in a networking failure state, historical distribution network information is removed.
S303, the mobile terminal communicates with the equipment to be networked, and the mobile terminal is used for the equipment to be networked again.
The equipment is in the in-process of networking, under the unable circumstances of networking of emergence suddenly, join in marriage the net for the non-first time, join in marriage the circumstances that net information still can't be networked according to historical, clear away historical distribution network information this moment, make and wait that networking equipment is in the state of joining in marriage the net for the first time, be favorable to improving and join in marriage the net success rate, reduce the risk that still a lot of networking failed after equipment joins in marriage the net again.
In some embodiments, an apparatus for a distribution network includes a processor and a memory storing program instructions, the processor configured to, when executing the program instructions, perform the method for a distribution network provided by the foregoing embodiments.
Fig. 4 is a schematic diagram of an apparatus for a distribution network according to an embodiment of the present disclosure. As shown in fig. 4, the apparatus for a distribution network includes:
a processor (processor)41 and a memory (memory)42, and may further include a Communication Interface (Communication Interface)43 and a bus 44. The processor 41, the communication interface 43, and the memory 42 may communicate with each other via a bus 44. The communication interface 43 may be used for information transfer. Processor 41 may invoke logic instructions in memory 42 to perform the methods for a distribution network provided by the foregoing embodiments.
Furthermore, the logic instructions in the memory 42 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 42 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 41 executes the functional application and data processing by executing the software program, instructions and modules stored in the memory 42, that is, implements the method in the above-described method embodiment.
The memory 42 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 42 may include a high speed random access memory and may also include a non-volatile memory.
The embodiment of the disclosure provides an intelligent home system, which comprises the device for the distribution network provided by the embodiment.
The embodiment of the disclosure provides a computer-readable storage medium, which stores computer-executable instructions configured to execute the method for network distribution provided by the foregoing embodiment.
The disclosed embodiments provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method for a distribution network provided by the aforementioned embodiments.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method in the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method or device comprising the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit may be merely a division of a logical function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (10)

1. A method for network distribution is applied to a device to be distributed, and comprises the following steps:
under the condition of non-first distribution network, obtaining historical distribution network information, and trying to perform networking according to the historical distribution network information;
if the network connection failure state is determined, removing historical distribution network information;
and communicating with the mobile terminal to redistribute the network.
2. The method of claim 1, wherein determining that the networking failure state is present comprises:
and determining to be in a networking failure state under the condition that the networking failure times are larger than or equal to the set times.
3. The method of claim 2, wherein determining that the number of networking failures is greater than or equal to a set number comprises:
obtaining a first frequency of continuous networking failure in the process of trying to network according to the historical distribution network information;
obtaining a second frequency of continuous networking failure in the process of trying to network according to the historical distribution network information last time;
and determining that the networking failure times are greater than or equal to the set times under the condition that the sum of the first times and the second times is greater than or equal to the set times.
4. A method according to any of claims 1 to 3, characterized in that communicating with a mobile terminal, reconfiguring a network, comprises:
switching the STA mode to a Soft AP mode, and acquiring a historical WiFi name, or a historical WiFi name and a historical WiFi password, which are created by the equipment to be distributed in the Soft AP mode in the last distribution process;
creating a hotspot, and enabling the hotspot name to be the historical WiFi name, or enabling the hotspot name to be the historical WiFi name and the hotspot password to be the historical WiFi password;
and receiving new distribution network information sent by the mobile terminal through the hotspot.
5. The method of any of claims 1 to 3, wherein determining a non-first time distribution network comprises: acquiring a distribution network frequency identification of the equipment to be distributed, and determining the equipment to be distributed as a non-primary distribution network under the condition that the distribution network frequency identification represents the non-primary distribution network;
after the network is reconfigured, the method further comprises the following steps: and resetting the distribution network frequency identification as a first distribution network.
6. A method for network distribution, which is applied to a mobile terminal, comprises the following steps:
after the equipment to be distributed is determined to be in a networking failure state and historical distribution network information is removed, the equipment to be distributed communicates with the equipment to be distributed and is newly distributed for the equipment to be distributed;
the network to be distributed is not distributed for the first time, and after the network to be distributed acquires historical distribution network information and tries to be networked according to the historical distribution network information, the network to be distributed is determined to be in a network failure state.
7. The method of claim 6, wherein communicating with the device to be networked comprises:
and establishing connection with the equipment to be distributed according to the historical WiFi names of the hotspots created by the equipment to be distributed in the last distribution process, or the historical WiFi names and the historical WiFi passwords.
8. An apparatus for a distribution network comprising a processor and a memory storing program instructions, wherein the processor is configured to perform the method for a distribution network of any of claims 1 to 5 when executing the program instructions.
9. An apparatus for a distribution network comprising a processor and a memory storing program instructions, wherein the processor is configured to perform the method for a distribution network of claim 6 or 7 when executing the program instructions.
10. A smart home system comprising an apparatus for a distribution network according to claim 8 or 9.
CN202110655161.4A 2021-06-11 2021-06-11 Method and device for distribution network and intelligent home system Active CN113438713B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110655161.4A CN113438713B (en) 2021-06-11 2021-06-11 Method and device for distribution network and intelligent home system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110655161.4A CN113438713B (en) 2021-06-11 2021-06-11 Method and device for distribution network and intelligent home system

Publications (2)

Publication Number Publication Date
CN113438713A true CN113438713A (en) 2021-09-24
CN113438713B CN113438713B (en) 2023-07-18

Family

ID=77755776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110655161.4A Active CN113438713B (en) 2021-06-11 2021-06-11 Method and device for distribution network and intelligent home system

Country Status (1)

Country Link
CN (1) CN113438713B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666255A (en) * 2022-03-16 2022-06-24 京东科技信息技术有限公司 Method for testing distribution network performance of Internet of things equipment and related equipment thereof
CN115913924A (en) * 2021-09-30 2023-04-04 佛山市云米电器科技有限公司 Method and device for automatically distributing network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648181A (en) * 2013-12-24 2014-03-19 广州爱的信息科技有限公司 Wireless network connection method for wireless network audio equipment
CN105848253A (en) * 2016-04-28 2016-08-10 努比亚技术有限公司 Smart network searching method, device and mobile terminal
CN106254189A (en) * 2016-09-13 2016-12-21 四川长虹电器股份有限公司 A kind of WiFi distribution method
CN107493594A (en) * 2017-07-21 2017-12-19 深圳市盛路物联通讯技术有限公司 A kind of internet of things equipment access AP method and AP
CN111132267A (en) * 2018-10-31 2020-05-08 深圳市冠旭电子股份有限公司 Network distribution method and device and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648181A (en) * 2013-12-24 2014-03-19 广州爱的信息科技有限公司 Wireless network connection method for wireless network audio equipment
CN105848253A (en) * 2016-04-28 2016-08-10 努比亚技术有限公司 Smart network searching method, device and mobile terminal
CN106254189A (en) * 2016-09-13 2016-12-21 四川长虹电器股份有限公司 A kind of WiFi distribution method
CN107493594A (en) * 2017-07-21 2017-12-19 深圳市盛路物联通讯技术有限公司 A kind of internet of things equipment access AP method and AP
CN111132267A (en) * 2018-10-31 2020-05-08 深圳市冠旭电子股份有限公司 Network distribution method and device and terminal equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115913924A (en) * 2021-09-30 2023-04-04 佛山市云米电器科技有限公司 Method and device for automatically distributing network
CN114666255A (en) * 2022-03-16 2022-06-24 京东科技信息技术有限公司 Method for testing distribution network performance of Internet of things equipment and related equipment thereof
CN114666255B (en) * 2022-03-16 2024-04-05 京东科技信息技术有限公司 Method for testing network distribution performance of Internet of things equipment and related equipment thereof

Also Published As

Publication number Publication date
CN113438713B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
CN103281327B (en) The method of many equipment secure log, system and cloud server
CN105208583B (en) Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
CN113438713A (en) Network distribution method and device and intelligent home system
CN104853373B (en) A kind of Working mode switching method and device of wireless module
CN106797370B (en) SAS system and traversal method and device thereof
CN112671904B (en) Method and device for transmitting equipment state information, storage medium and electronic device
CN109040178B (en) Configuration information sending method and device
CN113872835B (en) Method and device for equipment network distribution, server, intelligent household appliance and terminal equipment
CN105393636A (en) Method, terminal, client, smart card and system for accessing wireless network
CN102143138A (en) Method and device for configuring virtual local area network (VLAN) in live migration process of virtual machine
JP6433578B2 (en) Information self-registration method, apparatus, system, and computer storage medium
US10037253B2 (en) Fault handling methods in a home service system, and associated household appliances and servers
US20210329477A1 (en) Communication apparatus, method, program and recording medium
CN105960817B (en) Communication equipment and the method for configuration of communications device, storage medium
CN108418732B (en) Household appliance and control method thereof
CN112202877A (en) Gateway linkage method, gateway, cloud server and user terminal
CN104519482A (en) Equipment parameter configuration method and device
CN104918296A (en) Network connection assistance system and method
CN104935579A (en) Method, apparatus and system of distributing household appliance control authority, and router
CN108667640B (en) Communication method and device, and network access system
CN110958139B (en) Network control method, orchestrator, controller, and computer-readable storage medium
CN106169982B (en) Method, device and system for processing expansion port
EP3065445A1 (en) Method, cse, and system for transmitting m2m application request
CN105159745A (en) Method, apparatus and device for upgrading virtual switch frame VSF system
CN107431634A (en) A kind of method, apparatus and system of the interface established between VNFM

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