CN114189402A - Network switching method, device, equipment and storage medium - Google Patents

Network switching method, device, equipment and storage medium Download PDF

Info

Publication number
CN114189402A
CN114189402A CN202111433571.0A CN202111433571A CN114189402A CN 114189402 A CN114189402 A CN 114189402A CN 202111433571 A CN202111433571 A CN 202111433571A CN 114189402 A CN114189402 A CN 114189402A
Authority
CN
China
Prior art keywords
network
routing
identifier
password
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
CN202111433571.0A
Other languages
Chinese (zh)
Other versions
CN114189402B (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 CN202111433571.0A priority Critical patent/CN114189402B/en
Publication of CN114189402A publication Critical patent/CN114189402A/en
Application granted granted Critical
Publication of CN114189402B publication Critical patent/CN114189402B/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
    • 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/283Processing of data at an internetworking point of a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to a network switching method, a device, equipment and a storage medium, wherein the method comprises the steps of obtaining a target route identifier and a route password matched with the target route identifier; and generating and sending a network updating instruction to the intelligent household equipment, wherein the network updating instruction is used for instructing the intelligent household equipment to update the network currently connected with the intelligent household equipment according to the target routing identification and the routing password. The target routing identification and the routing password can be acquired when the network switching requirement exists, and the network updating instruction is sent to the intelligent household equipment, so that the network switching method provided by the application is simple in process, and the network can be switched quickly.

Description

Network switching method, device, equipment and storage medium
Technical Field
The present application relates to the field of smart home, and in particular, to a network switching method, apparatus, device, and storage medium.
Background
Under the current era background of the rapid development of the internet of things, various intelligent household devices overflow the lives of people, the key step for realizing the internet of everything is to connect a network, and the current modes of realizing the network distribution of the intelligent household devices comprise a Bluetooth network distribution mode, a one-key network distribution mode, a device hotspot network distribution mode and the like. After the intelligent household equipment is connected with the network, if the connected network needs to be replaced, the intelligent household equipment needs to enter the network distribution mode again to carry out network distribution, the operation is troublesome, and the network cannot be switched quickly.
Disclosure of Invention
The application provides a network switching method, a network switching device, equipment and a storage medium, which are used for solving the problems that the operation is troublesome and the network cannot be switched quickly when intelligent household equipment performs network switching.
In a first aspect, a network handover method is provided, including:
acquiring a target routing identifier and a routing password matched with the target routing identifier;
and generating and sending a network updating instruction to the intelligent household equipment, wherein the network updating instruction is used for instructing the intelligent household equipment to update the network currently connected with the intelligent household equipment according to the target routing identifier and the routing password.
Optionally, generating the network update instruction includes:
generating a data packet based on the target routing identifier, the routing password and a preset identifier, wherein the preset identifier indicates the intelligent home equipment to update a network currently connected with the intelligent home equipment according to the target routing identifier and the routing password;
and taking the data packet as the network updating instruction.
Optionally, the sending the network update instruction to the smart home device includes:
and encrypting the data packet, and sending the encrypted data packet to the intelligent household equipment.
Optionally, the obtaining a target routing identifier and a routing password matched with the target routing identifier includes:
and acquiring the target routing identification and the routing password indicated by the user from the device detail page corresponding to the intelligent home device.
Optionally, the currently connected network is a network connected to a distribution network for the first time;
before obtaining the target route identifier and the route password matched with the target route identifier, the method further comprises the following steps:
after the device distribution network interface of the intelligent household equipment is determined to enter, acquiring a routing identifier and a routing password of a network connected with the first distribution network and an open communication port of the intelligent household equipment;
sending a networking instruction to the intelligent home equipment according to the communication port, wherein the networking instruction is used for indicating the intelligent home equipment to be connected with a network according to the routing identifier and the routing password;
receiving state data which indicates successful networking and is returned by the intelligent home equipment, wherein the state data comprises an identifier of the intelligent home equipment;
and generating an equipment detail page corresponding to the intelligent household equipment based on the identification of the intelligent household equipment and the routing identification.
In a second aspect, a network handover method is provided, including:
receiving a network updating instruction, wherein the network updating instruction is used for instructing the intelligent household equipment to update a network currently connected with the intelligent household equipment according to a target routing identifier and a routing password;
and initiating connection to the network indicated by the target route identification according to the updating instruction.
Optionally, after initiating a connection to the network indicated by the target routing identifier according to the update instruction, the method further includes:
if the network indicated by the target routing identification cannot be connected, initiating connection to the currently connected network.
In a third aspect, a network switching system is provided, including:
electronic equipment and intelligent home equipment;
the electronic equipment is used for acquiring a target routing identifier and a routing password matched with the target routing identifier; generating and sending a network updating instruction to the intelligent home equipment, wherein the network updating instruction is used for instructing the intelligent home equipment to update the network currently connected with the intelligent home equipment according to the target routing identification and the routing password;
the intelligent home equipment is used for receiving the network updating instruction, and the network updating instruction is used for instructing the intelligent home equipment to update the network currently connected with the intelligent home equipment according to the target routing identification and the routing password; and updating the currently connected network to the network corresponding to the target routing identifier according to the updating instruction.
In a fourth aspect, a network switching apparatus is provided, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a target routing identifier and a routing password matched with the target routing identifier;
and the processing unit is used for generating and sending a network updating instruction to the intelligent household equipment, wherein the network updating instruction is used for indicating the intelligent household equipment to update the network currently connected with the intelligent household equipment according to the target routing identifier and the routing password.
In a fifth aspect, a network switching apparatus is provided, including:
the intelligent home equipment comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a network updating instruction, and the network updating instruction is used for indicating the intelligent home equipment to update a network currently connected with the intelligent home equipment according to a target routing identifier and a routing password;
and the connection unit is used for initiating connection to the network indicated by the target route identifier according to the updating instruction.
In a sixth aspect, an electronic device is provided, comprising: the system comprises a processor, a memory and a communication bus, wherein the processor and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is configured to execute the program stored in the memory to implement the network handover method according to the first aspect or the second aspect.
In a seventh aspect, a computer-readable storage medium is provided, which stores a computer program, and the computer program is executed by a processor to implement the network handover method of the first aspect or the second aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the technical scheme provided by the embodiment of the application, a target route identifier and a route password matched with the target route identifier are obtained; and generating and sending a network updating instruction to the intelligent household equipment, wherein the network updating instruction is used for instructing the intelligent household equipment to update the network currently connected with the intelligent household equipment according to the target routing identification and the routing password. The target routing identification and the routing password can be acquired when the network switching requirement exists, and the network updating instruction is sent to the intelligent household equipment, so that the network switching method provided by the application is simple in process, and the network can be switched quickly.
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 flowchart of a network handover method in an embodiment of the present application;
FIG. 2 is a screen shot of a device detail page in an embodiment of the present application;
fig. 3 is a schematic flowchart of a network handover method according to an embodiment of the present application;
fig. 4 is a signal flow diagram of a network handover method in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a network switching apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a network switching apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a network switching system according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 some 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.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the related art, the process of switching the smart home device from the currently connected network to the new network is as follows:
firstly, a user needs to directly operate the smart home device to enable the smart home device to enter the manual distribution network state again, which is usually realized by controlling a combination key of an operation panel of the smart home device, for example, pressing a mode key for two seconds to enable the smart home device to enter the manual distribution network state.
After the intelligent household equipment enters a manual distribution network state, a user operates a mobile phone APP (application program) to perform distribution network operation, and the user opens the mobile phone APP to scan a two-dimensional code of a machine body of the intelligent household equipment to enter an equipment distribution network interface. And after entering the equipment distribution network interface, inputting a new network routing name and a new network routing password to carry out distribution. And after the distribution network is successful, the intelligent household equipment is successfully connected with the route name and the route password input by the distribution network.
As can be seen from the above, in the related art, when network switching of the smart home devices is implemented, the panel combination of the smart home devices needs to be operated to enable the smart home devices to enter the manual distribution network state, the user needs to scan the two-dimensional code of the device body, and the user needs to input a new routing name and a new routing password of the network on the distribution network interface to complete the network switching of the smart home devices, which is complicated in process.
For convenience of understanding, the following provides an example of a scenario in which the smart home device needs to perform network switching:
the fan is changed from the bedroom to the living room, but the routes of the bedroom and the living room are different, the signal of the route in the living room is poor, the fan needs to be switched from the network of the bedroom to the network of the living room when being changed from the bedroom to the living room, and at present, the common method is to reset the fan manually again and match the reset fan with the network of the living room.
In order to solve the problems that the flow is complex and the network cannot be switched quickly in the related technology, the embodiment of the application provides a network switching method which can be applied to any electronic equipment;
the electronic device described in the embodiment of the present application may include a smart Phone (e.g., an Android Phone, an iOS Phone, a Windows Phone, etc.), a tablet computer, a palm computer, a notebook computer, a video matrix, a monitoring platform, a Mobile Internet device (MID, Mobile Internet Devices), or a wearable device, which are merely examples, but not exhaustive, and include but are not limited to the foregoing Devices.
As shown in fig. 1, the method may include the steps of:
step 101, obtaining a target route identifier and a route password matched with the target route identifier.
102, generating and sending a network updating instruction to the intelligent home equipment, wherein the network updating instruction of the intelligent home equipment is used for instructing the intelligent home equipment to update the network currently connected with the intelligent home equipment according to the target routing identification of the intelligent home equipment and the routing password of the intelligent home equipment.
In the application, after the intelligent household equipment is successfully distributed for the first time, an equipment detail page aiming at the intelligent household equipment is generated in an APP controlling the intelligent household equipment, a connection routing component is arranged in the equipment detail page, and a routing identifier of a route connected by the intelligent household equipment which is successfully distributed for the first time is displayed in the connection routing component.
When the network connected with the intelligent home equipment needs to be switched, a user operates the connection routing component in the equipment detail page, and inputs a target routing identifier of the network needing to be switched and a routing password matched with the target routing identifier in an input box of the connection routing component, so that the intelligent home equipment completes network switching.
In application, the device detail page may include a device name component, a room component, a firmware version component, an automatic repair component, an opinion feedback component, and the like, in addition to the connection routing component. The equipment name displayed in the equipment name component is used for uniquely identifying the intelligent household equipment; the rooms in the room component are used for identifying the current room positions of the intelligent household equipment, and if the rooms displayed in the room component are living rooms, bedrooms or study rooms, the rooms are the living rooms, the bedrooms or the study rooms. Referring to fig. 2, fig. 2 is a screen shot of a device detail page according to an embodiment of the present application.
In this embodiment, the network update instruction sent to the smart home device may be implemented in the form of a data packet.
In a specific embodiment, a data packet is generated based on a target routing identifier, a routing password and a preset identifier, wherein the preset identifier indicates the intelligent home equipment to update a network currently connected with the intelligent home equipment according to the target routing identifier and the routing password; and taking the data packet as a network updating instruction.
It should be understood that the preset identifier is a predetermined identifier for the electronic device and the smart home device, and therefore, for the electronic device side, the preset identifier may be used to instruct the smart home device to update the network, and the smart home device side may complete the network update based on the preset identifier.
The preset identifier may be considered to be set based on experience in the application, and this embodiment is not particularly limited in this respect.
In application, in order to prevent target routing identification and routing passwords from being stolen, when a data packet is sent to the intelligent home equipment, the data packet is encrypted, and the encrypted data packet is sent to the intelligent home equipment.
In one example:
the APP sends the target routing identification and the routing password to the intelligent home equipment, and the intelligent home equipment can be connected with the appointed network after receiving the target routing identification and the routing password. The APP is typically in the form of a send packet. For example, change: { routename: abcdef, password:123456}, where "abcdef" is the target network identifier and "123456" is the routing password.
When the data packet is recognized to contain a 'change' word, the contents in the routename and password are obtained, namely the target route identifier is abcdef, the route password is 123456, and at the moment, the intelligent home device is connected with the specified route with the router name of abcdef and the router password of 123456.
According to the technical scheme provided by the embodiment of the application, a target route identifier and a route password matched with the target route identifier are obtained; and generating and sending a network updating instruction to the intelligent household equipment, wherein the network updating instruction is used for instructing the intelligent household equipment to update the network currently connected with the intelligent household equipment according to the target routing identification and the routing password. The target routing identification and the routing password can be acquired when the network switching requirement exists, and the network updating instruction is sent to the intelligent household equipment, so that the network switching method provided by the application is simple in process, and the network can be switched quickly.
In another embodiment of the present application, when the network to which the smart home devices are currently connected is the network to which the network is connected for the first time, an implementation process of connecting the smart home devices to the network is as follows:
after the device distribution network interface of the intelligent household equipment is determined to enter, acquiring a routing identifier and a routing password of a network connected with a first distribution network and an open communication port of the intelligent household equipment; sending a networking instruction to the intelligent home equipment according to the communication port, wherein the networking instruction is used for indicating the intelligent home equipment to be connected with a network according to the routing identification and the routing password; receiving state data which indicates successful networking and is returned by the intelligent home equipment, wherein the state data comprises an identifier of the intelligent home equipment; and generating an equipment detail page corresponding to the intelligent home equipment based on the identification and the routing identification of the intelligent home equipment.
In the application, through APP corresponding to the intelligent household equipment in the electronic equipment, a two-dimensional code of a machine body of the intelligent household equipment is scanned to enter an equipment distribution network interface, and a communication port opened by the intelligent household equipment is contained in the two-dimensional code.
Based on the same inventive concept, the embodiment of the present application provides a network switching method, which may be applied to an intelligent home device, as shown in fig. 3, the method may include the following steps:
step 301, receiving a network updating instruction, wherein the network updating instruction is used for instructing the intelligent home equipment to update a network currently connected with the intelligent home equipment according to a target routing identifier and a routing password;
step 302, according to the update instruction, initiating connection to the network indicated by the target route identifier.
In application, when the intelligent household equipment is determined not to be connected to the network indicated by the target route identification, connection is continuously initiated to the previous network which is currently connected.
For a more clear description of the embodiments of the present application, the following describes the behavior of each device in the network switching system from the perspective of a signal flow diagram, as shown in fig. 4:
the intelligent home equipment is connected with the network 1 in a distribution network and bound with a mobile phone terminal, a user sets information of the network 2 to be switched through the mobile phone terminal and sends the information to the intelligent home equipment through a protocol data packet format, after the intelligent home equipment acquires the information of the network 2 to be switched, the intelligent home equipment is connected with the new network 2, the connection is successful, the network is switched to the new network 2, the connection is failed, and the old network 1 is reconnected.
It should be understood that the network 1 and the network 2 herein actually refer to router devices corresponding to the network 1 and the network 2, respectively, and correspondingly, the network 2 information refers to a routing identifier and a routing password of a wifi network of a router matched with the network 2.
After the user bought equipment, need to carry out the distribution network operation for the first time, join in marriage net success back smart home devices and be connected to the network and bind cell-phone APP simultaneously, if smart home devices even go into the network after, the user control effect is not good, want to switch the network, user's accessible cell-phone APP operation sets up the new network information that smart home devices switched, cell-phone APP sends new network information for smart home devices through agreement data packet format, when smart home devices received cell-phone APP and sent new network data, the new network is connected in the initiative search, if connect successfully, then switch to new network, if connect the failure, reconnect old network. This mode can switch intelligent home equipment network rapidly, and the while operation is comparatively simple, only needs the user to operate on cell-phone APP terminal, and the security also has certain guarantee, when the cell-phone sends new network data for intelligent home equipment, is the data after encrypting usually. The smart home device needs to decrypt and then can obtain the effective information.
Based on the same inventive concept, an embodiment of the present application provides a network switching apparatus, as shown in fig. 5, the apparatus may include:
an obtaining unit 501, configured to obtain a target route identifier and a route password matched with the target route identifier;
the processing unit 502 is configured to generate and send a network update instruction to the smart home device, where the network update instruction is used to instruct the smart home device to update a network to which the smart home device is currently connected according to the target route identifier and the route password.
The processing unit 502 is configured to:
generating a data packet based on the target routing identification, the routing password and a preset identification, wherein the preset identification indicates the intelligent home equipment to update a network currently connected with the intelligent home equipment according to the target routing identification and the routing password;
and taking the data packet as a network updating instruction.
The processing unit 502 is configured to:
and encrypting the data packet, and sending the encrypted data packet to the intelligent household equipment.
The obtaining unit 501 is configured to:
and acquiring a target route identifier and a route password indicated by the user from the equipment detail page corresponding to the intelligent home equipment.
The network connected at present is the network connected with the distribution network for the first time;
the apparatus is also configured to:
before acquiring a target route identifier and a route password matched with the target route identifier, after determining that the equipment distribution network interface of the intelligent household equipment is accessed, acquiring a route identifier and a route password of a network connected with a first distribution network and an open communication port of the intelligent household equipment;
sending a networking instruction to the intelligent home equipment according to the communication port, wherein the networking instruction is used for indicating the intelligent home equipment to be connected with a network according to the routing identification and the routing password;
receiving state data which indicates successful networking and is returned by the intelligent home equipment, wherein the state data comprises an identifier of the intelligent home equipment;
and generating an equipment detail page corresponding to the intelligent home equipment based on the identification and the routing identification of the intelligent home equipment.
Based on the same inventive concept, an embodiment of the present application provides a network switching apparatus, as shown in fig. 6, the apparatus may include:
the receiving unit 601 is configured to receive a network update instruction, where the network update instruction is used to instruct the smart home device to update a network to which the smart home device is currently connected according to the target route identifier and the route password;
a connection unit 602, configured to initiate a connection to the network indicated by the target route identifier according to the update instruction.
The apparatus is also configured to:
and initiating connection to the currently connected network if the network indicated by the target routing identifier is not connected after initiating connection to the network indicated by the target routing identifier according to the updating instruction.
Based on the same concept, the embodiment of the present application provides a network switching system, and the specific implementation of the system may refer to the description of the method embodiment, and repeated details are not repeated, as shown in fig. 7, the system mainly includes:
an electronic device 701 and an intelligent home device 702;
the electronic device 701 is configured to obtain a target routing identifier and a routing password matched with the target routing identifier; generating and sending a network updating instruction to the smart home devices 702, where the network updating instruction is used to instruct the smart home devices 702 to update the network to which the smart home devices 702 are currently connected according to the target routing identifiers and the routing passwords;
the intelligent home equipment 702 is configured to receive a network update instruction, where the network update instruction is used to instruct the intelligent home equipment 702 to update a network to which the intelligent home equipment 702 is currently connected according to the target route identifier and the route password; and updating the currently connected network to the network corresponding to the target route identifier according to the updating instruction.
Based on the same concept, an embodiment of the present application further provides an electronic device, as shown in fig. 8, the electronic device mainly includes: a processor 801, a memory 802, and a communication bus 803, wherein the processor 801 and the memory 802 communicate with each other via the communication bus 803. The memory 802 stores a program executable by the processor 801, and the processor 701 executes the program stored in the memory 802, so as to implement the following steps:
acquiring a target route identifier and a route password matched with the target route identifier; generating and sending a network updating instruction to the intelligent home equipment, wherein the network updating instruction is used for instructing the intelligent home equipment to update a network currently connected with the intelligent home equipment according to the target routing identification and the routing password;
or the like, or, alternatively,
receiving a network updating instruction, wherein the network updating instruction is used for instructing the intelligent household equipment to update a network currently connected with the intelligent household equipment according to the target routing identification and the routing password; and initiating connection to the network indicated by the target routing identification according to the updating instruction.
The communication bus 803 mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 803 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus.
The Memory 802 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor 801.
The Processor 801 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc., and may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer-readable storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the network switching method described in the above embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes, etc.), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (12)

1. A method for network handover, comprising:
acquiring a target routing identifier and a routing password matched with the target routing identifier;
and generating and sending a network updating instruction to the intelligent household equipment, wherein the network updating instruction is used for instructing the intelligent household equipment to update the network currently connected with the intelligent household equipment according to the target routing identifier and the routing password.
2. The method of claim 1, wherein generating the network update instruction comprises:
generating a data packet based on the target routing identifier, the routing password and a preset identifier, wherein the preset identifier indicates the intelligent home equipment to update a network currently connected with the intelligent home equipment according to the target routing identifier and the routing password;
and taking the data packet as the network updating instruction.
3. The method according to claim 2, wherein sending the network update instruction to the smart home device comprises:
and encrypting the data packet, and sending the encrypted data packet to the intelligent household equipment.
4. The method of claim 1, wherein obtaining a target routing identifier and a routing password matching the target routing identifier comprises:
and acquiring the target routing identification and the routing password indicated by the user from the device detail page corresponding to the intelligent home device.
5. The method of claim 1, wherein the currently connected network is a first distribution network connected network;
before obtaining the target route identifier and the route password matched with the target route identifier, the method further comprises the following steps:
after the device distribution network interface of the intelligent household equipment is determined to enter, acquiring a routing identifier and a routing password of a network connected with the first distribution network and an open communication port of the intelligent household equipment;
sending a networking instruction to the intelligent home equipment according to the communication port, wherein the networking instruction is used for indicating the intelligent home equipment to be connected with a network according to the routing identifier and the routing password;
receiving state data which indicates successful networking and is returned by the intelligent home equipment, wherein the state data comprises an identifier of the intelligent home equipment;
and generating an equipment detail page corresponding to the intelligent household equipment based on the identification of the intelligent household equipment and the routing identification.
6. A method for network handover, comprising:
receiving a network updating instruction, wherein the network updating instruction is used for instructing the intelligent household equipment to update a network currently connected with the intelligent household equipment according to a target routing identifier and a routing password;
and initiating connection to the network indicated by the target route identification according to the updating instruction.
7. The method according to claim 1, wherein after initiating a connection to the network indicated by the target routing identifier according to the update instruction, further comprising:
if the network indicated by the target routing identification cannot be connected, initiating connection to the currently connected network.
8. A network switching system, comprising:
electronic equipment and intelligent home equipment;
the electronic equipment is used for acquiring a target routing identifier and a routing password matched with the target routing identifier; generating and sending a network updating instruction to the intelligent home equipment, wherein the network updating instruction is used for instructing the intelligent home equipment to update the network currently connected with the intelligent home equipment according to the target routing identification and the routing password;
the intelligent home equipment is used for receiving the network updating instruction, and the network updating instruction is used for instructing the intelligent home equipment to update the network currently connected with the intelligent home equipment according to the target routing identification and the routing password; and updating the currently connected network to the network corresponding to the target routing identifier according to the updating instruction.
9. A network switching apparatus, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a target routing identifier and a routing password matched with the target routing identifier;
and the processing unit is used for generating and sending a network updating instruction to the intelligent household equipment, wherein the network updating instruction is used for indicating the intelligent household equipment to update the network currently connected with the intelligent household equipment according to the target routing identifier and the routing password.
10. A network switching apparatus, comprising:
the intelligent home equipment comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a network updating instruction, and the network updating instruction is used for indicating the intelligent home equipment to update a network currently connected with the intelligent home equipment according to a target routing identifier and a routing password;
and the connection unit is used for initiating connection to the network indicated by the target route identifier according to the updating instruction.
11. An electronic device, comprising: the system comprises a processor, a memory and a communication bus, wherein the processor and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor, configured to execute the program stored in the memory, and implement the network handover method according to any one of claims 1 to 5 or any one of claims 6 to 7.
12. A computer-readable storage medium storing a computer program, wherein the computer program is configured to implement the network handover method according to any one of claims 1 to 5 or any one of claims 6 to 7 when executed by a processor.
CN202111433571.0A 2021-11-29 2021-11-29 Network switching method, device, equipment and storage medium Active CN114189402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111433571.0A CN114189402B (en) 2021-11-29 2021-11-29 Network switching method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111433571.0A CN114189402B (en) 2021-11-29 2021-11-29 Network switching method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114189402A true CN114189402A (en) 2022-03-15
CN114189402B CN114189402B (en) 2023-06-16

Family

ID=80541672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111433571.0A Active CN114189402B (en) 2021-11-29 2021-11-29 Network switching method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114189402B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114727428A (en) * 2022-04-24 2022-07-08 佛山市顺德区美的电子科技有限公司 Network sharing method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108738106A (en) * 2018-05-22 2018-11-02 北京小米移动软件有限公司 Network control method, net control device, network controller and storage medium
CN109041140A (en) * 2018-07-09 2018-12-18 深圳绿米联创科技有限公司 It is switched fast wireless network methods, Intelligent hardware and terminal device
CN110692280A (en) * 2018-02-07 2020-01-14 华为技术有限公司 Network access method, equipment and system
CN110798493A (en) * 2018-08-02 2020-02-14 青岛经济技术开发区海尔热水器有限公司 Network configuration method, device, terminal equipment and storage medium
WO2020253695A1 (en) * 2019-06-17 2020-12-24 华为技术有限公司 Smart home device access method and electronic device
CN112737902A (en) * 2020-12-31 2021-04-30 青岛海尔科技有限公司 Network configuration method and device, storage medium and electronic equipment
CN113179519A (en) * 2021-04-16 2021-07-27 深圳市欧瑞博科技股份有限公司 Intelligent device and networking method thereof, and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110692280A (en) * 2018-02-07 2020-01-14 华为技术有限公司 Network access method, equipment and system
CN108738106A (en) * 2018-05-22 2018-11-02 北京小米移动软件有限公司 Network control method, net control device, network controller and storage medium
CN109041140A (en) * 2018-07-09 2018-12-18 深圳绿米联创科技有限公司 It is switched fast wireless network methods, Intelligent hardware and terminal device
CN110798493A (en) * 2018-08-02 2020-02-14 青岛经济技术开发区海尔热水器有限公司 Network configuration method, device, terminal equipment and storage medium
WO2020253695A1 (en) * 2019-06-17 2020-12-24 华为技术有限公司 Smart home device access method and electronic device
CN112737902A (en) * 2020-12-31 2021-04-30 青岛海尔科技有限公司 Network configuration method and device, storage medium and electronic equipment
CN113179519A (en) * 2021-04-16 2021-07-27 深圳市欧瑞博科技股份有限公司 Intelligent device and networking method thereof, and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114727428A (en) * 2022-04-24 2022-07-08 佛山市顺德区美的电子科技有限公司 Network sharing method, device, equipment and storage medium
CN114727428B (en) * 2022-04-24 2023-07-18 佛山市顺德区美的电子科技有限公司 Network sharing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN114189402B (en) 2023-06-16

Similar Documents

Publication Publication Date Title
CN111277474B (en) Household appliance, network connection system of household appliance and network connection method of household appliance
US20150139025A1 (en) Wireless Network Configuration Method and System for Smart Appliance
JP6473743B2 (en) Configuration connection device
CN112738805A (en) Device control method and apparatus, storage medium, and electronic device
US11792865B2 (en) Device binding method and apparatus, and electronic device
CN105182783A (en) Method, apparatus and terminal for controlling intelligent devices
JP7072902B2 (en) Automatic connection method between smart devices and routers, routers and smart devices
WO2020168561A1 (en) Device network distribution method and apparatus, electronic device, and storage medium
KR20210110335A (en) Smart device network configuration method and related devices
CN105228141A (en) A kind of methods, devices and systems set up network and connect
CN106713418A (en) Reset result confirmation method and apparatus, server and mobile terminal
CN104992088A (en) Device security protection method and apparatus
CN104837178A (en) Network accessing method and device
CN114153153A (en) Device control method, system, apparatus, electronic device, and storage medium
JP2015001784A (en) Information processing system, information processing apparatus, and information processing program
CN115175152A (en) Intelligent device binding method and device, storage medium and electronic device
CN114189402A (en) Network switching method, device, equipment and storage medium
CN105429800A (en) Network connection processing method and device and terminal equipment
WO2021179944A1 (en) Device sharing method and server
US10116739B2 (en) Method for enabling point-to-point transmission and network connecting device
CN106452828A (en) Provision protocol transmission-based terminal configuration method and system
CN112333062A (en) Control method and control device for household equipment and computer readable storage medium
CN112413826A (en) Device configuration method and device, electronic device and storage medium
CN113132958A (en) Fusion networking method, device, system and computer readable storage medium
CN112165417B (en) Networking method of household appliance, electronic device and storage medium

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