CN112583907A - Connection method and device, smart home equipment and computer readable storage medium - Google Patents

Connection method and device, smart home equipment and computer readable storage medium Download PDF

Info

Publication number
CN112583907A
CN112583907A CN202011416247.3A CN202011416247A CN112583907A CN 112583907 A CN112583907 A CN 112583907A CN 202011416247 A CN202011416247 A CN 202011416247A CN 112583907 A CN112583907 A CN 112583907A
Authority
CN
China
Prior art keywords
mobile terminal
current mobile
preset
local area
connection
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.)
Pending
Application number
CN202011416247.3A
Other languages
Chinese (zh)
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011416247.3A priority Critical patent/CN112583907A/en
Publication of CN112583907A publication Critical patent/CN112583907A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a connection method for intelligent household equipment, which comprises the following steps: acquiring delay time of data transmission with a current mobile terminal; when the delay time is larger than a preset threshold value, acquiring the IP address of the intelligent household equipment and the IP address of the current mobile terminal; and when the IP address of the intelligent home equipment and the IP address of the current mobile terminal both belong to a preset local area network, establishing an intranet connection channel with the current mobile terminal through the preset local area network. The invention also discloses a connecting device, the intelligent household equipment and a computer readable storage medium. The transmission of the control instruction does not need to pass through the cloud end of the Internet of things, and the transmission speed of the control instruction is high.

Description

Connection method and device, smart home equipment and computer readable storage medium
Technical Field
The invention relates to the technical field of equipment communication, in particular to a connection method and device, intelligent household equipment and a computer readable storage medium.
Background
Generally, the smart home devices are connected with the smart home devices through the internet of things cloud end, so that the received control instructions are sent to the smart home devices through the internet of things cloud end, and corresponding actions are output by the smart home devices according to the received control instructions.
However, when the control command is transmitted by the conventional connection method, the transmission speed of the control command is low.
Disclosure of Invention
The invention mainly aims to provide a connection method, a connection device, intelligent household equipment and a computer readable storage medium, and aims to solve the technical problem that the transmission speed of a control instruction is low when the control instruction is transmitted in the existing connection mode in the prior art.
In order to achieve the above object, the present invention provides a connection method for smart home devices, including the following steps:
acquiring delay time of data transmission with a current mobile terminal;
when the delay time is larger than a preset threshold value, acquiring the IP address of the intelligent household equipment and the IP address of the current mobile terminal;
and when the IP address of the intelligent home equipment and the IP address of the current mobile terminal both belong to a preset local area network, establishing an intranet connection channel with the current mobile terminal through the preset local area network.
Optionally, the step of obtaining the delay time of data transmission with the current mobile terminal includes:
sending a test packet with a first time to the current mobile terminal, so that the current mobile terminal sends a feedback packet with a second time based on the test packet;
obtaining a delay time based on the first time and the second time of the feedback packet when the feedback packet is received.
Optionally, before the step of sending the test packet with the first time to the current mobile terminal, the method further includes:
acquiring a preset mobile terminal accessed to the preset local area network;
and screening out the current mobile terminal meeting preset conditions from the preset mobile terminals.
Optionally, the step of screening out the current mobile terminal meeting the preset condition from the preset mobile terminals includes:
acquiring the access times of the preset mobile terminal accessing the preset local area network and the connection duration of each access;
acquiring total access time length based on the access times and the connection time length;
and determining the preset mobile terminal with the maximum total access time as the current mobile terminal.
Optionally, before the step of sending the test packet with the first time to the current mobile terminal, the method further includes:
establishing cloud connection with the current mobile terminal through the Internet of things cloud;
the step of sending a test packet with a first time to the current mobile terminal comprises:
and sending a test packet with the first time to the current mobile terminal through the Internet of things cloud.
Optionally, after the step of establishing an intranet connection channel with the current mobile terminal through the preset local area network, the method further includes:
generating feedback information, wherein the feedback information comprises that the intelligent household equipment and the current mobile terminal establish an intranet connection channel through the preset local area network;
and outputting the feedback information, and sending the feedback information to the current mobile terminal so that the current mobile terminal outputs the feedback information.
Optionally, after the step of outputting the feedback information and sending the feedback information to the current mobile terminal, so that the current mobile terminal outputs the feedback information, the method further includes:
receiving a control instruction sent by the current mobile terminal through the intranet connection channel;
outputting an action corresponding to the control instruction based on the control instruction
In addition, in order to achieve the above object, the present invention further provides a connection device for smart home devices, the device comprising:
the first acquisition module is used for acquiring the delay time of data transmission with the current mobile terminal;
the second obtaining module is used for obtaining the IP address of the intelligent household equipment and the IP address of the current mobile terminal when the delay time is larger than a preset threshold value;
and the connection establishing module is used for establishing connection with the current mobile terminal through a preset local area network when the IP address of the intelligent household equipment and the IP address of the current mobile terminal both belong to the preset local area network.
In addition, in order to achieve the above object, the present invention further provides an intelligent home device, where the intelligent home device includes: memory, a processor and a connectivity program stored on the memory and running on the processor, the connectivity program, when executed by the processor, implementing the steps of the connectivity method as claimed in any one of the above.
Furthermore, to achieve the above object, the present invention also proposes a computer-readable storage medium having a connection program stored thereon, the connection program, when executed by a processor, implementing the steps of the connection method according to any one of the above.
The technical scheme of the invention provides a connection method for intelligent household equipment, which comprises the following steps: acquiring delay time of data transmission with a current mobile terminal; when the delay time is larger than a preset threshold value, acquiring the IP address of the intelligent household equipment and the IP address of the current mobile terminal; and when the IP address of the intelligent home equipment and the IP address of the current mobile terminal both belong to a preset local area network, establishing an intranet connection channel with the current mobile terminal through the preset local area network. Because the intranet connection channel is established between the current mobile terminal and the current mobile terminal through the preset local area network when the delay time is high, namely greater than the preset threshold value, and the current mobile terminal and the current smart home device are connected into the same preset local area network, when the intranet connection channel is used for transmitting the control instruction, the control instruction does not need to pass through the cloud end of the internet of things, and the transmission speed of the control instruction is high.
Drawings
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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an intelligent home device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of the connection method of the present invention;
fig. 3 is a block diagram of a first embodiment of the connecting device of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an intelligent home device in a hardware operating environment according to an embodiment of the present invention.
The intelligent household equipment can be an intelligent refrigerator, an intelligent range hood, an intelligent television or an intelligent set top box.
Generally, smart home devices include: at least one processor 301, a memory 302 and a connectivity program stored on said memory and being executable on said processor, said connectivity program being configured to implement the steps of the connectivity method as described above.
The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. The processor 301 may further include an AI (Artificial Intelligence) processor for processing relevant connection method operations so that the connection method model can be trained and learned autonomously, improving efficiency and accuracy.
Memory 302 may include one or more computer-readable storage media, which may be non-transitory. Memory 302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 302 is used to store at least one instruction for execution by processor 301 to implement the connection method provided by the method embodiments herein.
In some embodiments, the terminal may further include: a communication interface 303 and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. Various peripheral devices may be connected to communication interface 303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power source 306.
The communication interface 303 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302 and the communication interface 303 may be implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 304 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 304 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 305 is a touch display screen, the display screen 305 also has the ability to capture touch signals on or over the surface of the display screen 305. The touch signal may be input to the processor 301 as a control signal for processing. At this point, the display screen 305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 305 may be one, the front panel of the electronic device; in other embodiments, the display screens 305 may be at least two, respectively disposed on different surfaces of the electronic device or in a folded design; in still other embodiments, the display screen 305 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device. Even further, the display screen 305 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 305 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The power supply 306 is used to power various components in the electronic device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When the power source 306 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology. Those skilled in the art will appreciate that the configuration shown in fig. 1 is not intended to be limiting, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a connection program is stored, and the connection program, when executed by the processor, implements the steps of the connection method according to any one of the above. Therefore, a detailed description thereof will be omitted. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application. It is determined that, for example, the program instructions may be deployed to be executed on one smart home device, or on multiple smart home devices located at one site, or distributed across multiple sites and interconnected by a communication network.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The computer-readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Based on the above hardware structure, an embodiment of the connection method of the present invention is provided.
Referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of a connection method according to the present invention, where the method is used for smart home devices, and the method includes the following steps:
step S11: and acquiring the delay time of data transmission with the current mobile terminal.
It should be noted that the mobile terminal of the present invention may be a smart phone, a tablet computer, a notebook computer, or the like, and the structure of the mobile terminal refers to the main structure of the smart home device, which is not particularly limited in the present invention; the smart home device may be any one of the smart homes described above, and is not described herein again. The current mobile terminal is determined in a preset mobile terminal, the preset mobile terminal is at least one mobile terminal which is located in a preset local area network (the preset local area network is a local area network set by a user, the intelligent home device is accessed into the preset local area network and is in communication connection with the cloud end of the internet of things through the preset local area network) with the intelligent home device, the preset mobile terminal can be a mobile terminal which is completely accessed into the preset local area network, and the preset mobile terminal accessed into the preset local area network is a mobile terminal which is accessed into the preset local area network or is accessed into the preset local area network. The steps of determining the current mobile terminal in the preset mobile terminal are described below, and are not described herein again.
Further, step S11 includes: sending a test packet with a first time to the current mobile terminal, so that the current mobile terminal sends a feedback packet with a second time based on the test packet; obtaining a delay time based on the first time and the second time of the feedback packet when the feedback packet is received.
It should be noted that the sending time of the test packet may be sent periodically according to a preset time interval, which is used to obtain the delay time as accurately as possible, and usually, the preset time interval is not too large; the delay time determination method can also be based on the current network load condition, that is, the current network load is higher and exceeds a preset network load value, that is, the test packet is sent to determine the delay time, the current network load is lower and does not exceed the preset network load value, the test packet does not need to be sent to determine the delay time, and a user can set a corresponding preset network load value according to the own requirements, without limitation.
It can be understood that the test packet may be any form of data packet carrying the first time, the current receiving end immediately returns the feedback packet after receiving the test packet, and the feedback packet may also be any form of data packet carrying the second time. The difference between the second time and the first time is the delay time, and the format of the first time and the second time can be millisecond time carrying year, month, day and hour, minute and second.
Further, before step S11, the method further includes: acquiring a preset mobile terminal accessed to the preset local area network; and screening out the current mobile terminal meeting preset conditions from the preset mobile terminals. The step of screening out the current mobile terminal meeting the preset conditions from the preset mobile terminals comprises the following steps: acquiring the access times of the preset mobile terminal accessing the preset local area network and the connection duration of each access; acquiring total access time length based on the access times and the connection time length; and determining the preset mobile terminal with the maximum total access time as the current mobile terminal.
The smart home equipment is connected to the preset local area network, and is in communication connection with the cloud end of the internet of things through the preset local area network; generally, the number of the preset mobile terminals is multiple, that is, there is a record of accessing the preset lan or accessing the preset lan in each of the multiple preset mobile terminals. Generally, a preset local area network is set through an intelligent gateway, equipment accessed to the preset local area network is managed by the intelligent gateway, the intelligent home equipment acquires the access times of the preset mobile terminal to the preset local area network and the connection time length of each access from the intelligent gateway, the total access time length of the preset mobile terminal is obtained by adding and summing the access time lengths of the preset mobile terminal for multiple times, the longest total access time length is generally main equipment for sending a control instruction, and the main equipment (namely the preset mobile terminal with the largest total intervention time length) serves as the current mobile terminal; in another embodiment, all the preset mobile terminals may be used as the current mobile terminal, so that any one of the preset mobile terminals may execute the connection method of the present invention to achieve the technical effect of the present invention.
Further, before the step of sending the test packet with the first time to the current mobile terminal, the method further includes: establishing cloud connection with the current mobile terminal through the Internet of things cloud; correspondingly, the step of sending the test packet with the first time to the current mobile terminal includes: and sending a test packet with the first time to the current mobile terminal through the Internet of things cloud.
It should be noted that the internet of things cloud is a server connected to the smart home device, and generally, the smart home device is in communication connection with other devices (for example, a mobile terminal) through the internet of things cloud to realize data transmission or control instruction transmission; before data transmission or control instruction transmission, usually, the smart home devices and the mobile terminals need to be registered in the cloud of the internet of things, and then, through internet of things cloud communication connection, when the smart home devices and the mobile terminals are registered in the cloud of the internet of things, the information of the devices or the running state and the like need to be uploaded usually. The intelligent home equipment receives a control instruction or data sent by the mobile terminal through the Internet of things cloud, and the mobile terminal feeds back status messages or data information and the like through the Internet of things cloud. However, since data transmission and control instruction transmission need to pass through the internet of things cloud, when the network environment is poor, the data transmission and control instruction transmission speed is slow, and the user experience is very poor; the connection method of the present invention is proposed.
Step S12: and when the delay time is greater than a preset threshold value, acquiring the IP address of the intelligent household equipment and the IP address of the current mobile terminal.
Step S13: and when the IP address of the intelligent home equipment and the IP address of the current mobile terminal both belong to a preset local area network, establishing an intranet connection channel with the current mobile terminal through the preset local area network.
It should be noted that the preset threshold may be set by a user, generally, the preset threshold is a millisecond-level threshold, and the specific preset threshold may be 150ms, or may be another threshold, which is not limited in the present invention.
Generally, when the delay time is less than or equal to the preset threshold, that is, the network condition is good or the cloud load of the internet of things is low, the control instruction can be transmitted quickly, the situation that the transmission speed of the control instruction is low is avoided, and no bad experience is caused to a user, so that the steps of the method and the device do not need to be executed even if the mobile terminal and the smart home device are in the same preset local area network.
In another embodiment, the preset threshold may be set to be smaller, and the sending frequency of the detection packet may be increased, so that the connection method of the present invention may be executed as frequently as possible by the smart home device, so as to quickly determine that the smart home device and the current mobile terminal have simultaneously accessed the preset local area network when the smart home device and the current mobile terminal access the same preset local area network, and further, continue to execute the step of establishing the intranet connection channel with the current mobile terminal through the preset local area network.
Further, after step S13, the method further includes: generating feedback information, wherein the feedback information comprises that the intelligent household equipment and the current mobile terminal establish an intranet connection channel through the preset local area network; and outputting the feedback information, and sending the feedback information to the current mobile terminal so that the current mobile terminal outputs the feedback information.
That is, when both the smart home device and the current mobile terminal can output feedback information, the user is informed that a local connection channel is established; it can be understood that the content of the feedback information can be diversified, and the connection state of the smart home device and the current mobile terminal can be indicated.
In addition, when the current mobile terminal moves out of the range in the preset local area network or the wireless network function is turned off, namely, the intelligent home equipment and the current mobile terminal are in communication connection through the internet of things cloud, at the moment, the intelligent home equipment and the current mobile terminal can output corresponding feedback information so as to prompt a user of the current connection state of the current mobile terminal and the intelligent home equipment.
The feedback information can be output by a voice output module or a screen, and preferably, the feedback information is output on the screen in a pop-up window mode.
Further, after the step of outputting the feedback information and sending the feedback information to the current mobile terminal, so that the current mobile terminal outputs the feedback information, the method further includes: receiving a control instruction sent by the current mobile terminal through the intranet connection channel; and outputting an action corresponding to the control instruction based on the control instruction.
When the current mobile terminal and the intelligent household equipment pass through an intranet connection channel established by a preset local area network, the transmission of a control instruction can be carried out through the intranet connection channel; in addition, the smart home device may also return to the execution state of the control instruction, for example, the control instruction is invalid or the control instruction is successfully executed.
The technical scheme of the embodiment provides a connection method for intelligent household equipment, and the connection method comprises the following steps: acquiring delay time of data transmission with a current mobile terminal; when the delay time is larger than a preset threshold value, acquiring the IP address of the intelligent household equipment and the IP address of the current mobile terminal; and when the IP address of the intelligent home equipment and the IP address of the current mobile terminal both belong to a preset local area network, establishing an intranet connection channel with the current mobile terminal through the preset local area network. Because the intranet connection channel is established between the current mobile terminal and the current mobile terminal through the preset local area network when the delay time is higher, namely greater than the preset threshold value, and the current mobile terminal and the current smart home equipment are connected into the same preset local area network, when the intranet connection channel is used for transmitting the control instruction, the control instruction does not need to pass through the cloud end of the internet of things, and the transmission speed of the control instruction is higher
Referring to fig. 3, fig. 3 is a block diagram of a first embodiment of a connection device according to the present invention, where the connection device is used for smart home devices, and the connection device includes:
a first obtaining module 10, configured to obtain a delay time for data transmission with a current mobile terminal;
the second obtaining module 20 is configured to obtain the IP address of the smart home device and the IP address of the current mobile terminal when the delay time is greater than a preset threshold;
and the connection establishing module 30 is configured to establish a connection with the current mobile terminal through a preset local area network when the IP address of the smart home device and the IP address of the current mobile terminal both belong to the preset local area network.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A connection method is used for intelligent household equipment and comprises the following steps:
acquiring delay time of data transmission with a current mobile terminal;
when the delay time is larger than a preset threshold value, acquiring the IP address of the intelligent household equipment and the IP address of the current mobile terminal;
and when the IP address of the intelligent home equipment and the IP address of the current mobile terminal both belong to a preset local area network, establishing an intranet connection channel with the current mobile terminal through the preset local area network.
2. The method of claim 1, wherein the step of obtaining the delay time for data transmission with the current mobile terminal comprises:
sending a test packet with a first time to the current mobile terminal, so that the current mobile terminal sends a feedback packet with a second time based on the test packet;
obtaining a delay time based on the first time and the second time of the feedback packet when the feedback packet is received.
3. The connection method of claim 2, wherein prior to the step of sending the test packet having the first time to the current mobile terminal, the method further comprises:
acquiring a preset mobile terminal accessed to the preset local area network;
and screening out the current mobile terminal meeting preset conditions from the preset mobile terminals.
4. The connection method according to claim 3, wherein the step of screening the preset mobile terminals for current mobile terminals meeting a preset condition comprises:
acquiring the access times of the preset mobile terminal accessing the preset local area network and the connection duration of each access;
acquiring total access time length based on the access times and the connection time length;
and determining the preset mobile terminal with the maximum total access time as the current mobile terminal.
5. The connection method of claim 4, wherein prior to the step of sending the test packet having the first time to the current mobile terminal, the method further comprises:
establishing cloud connection with the current mobile terminal through the Internet of things cloud;
the step of sending a test packet with a first time to the current mobile terminal comprises:
and sending a test packet with the first time to the current mobile terminal through the Internet of things cloud.
6. The method according to claim 5, wherein after the step of establishing an intranet connection channel with the current mobile terminal through the predetermined local area network, the method further comprises:
generating feedback information, wherein the feedback information comprises that the intelligent household equipment and the current mobile terminal establish an intranet connection channel through the preset local area network;
and outputting the feedback information, and sending the feedback information to the current mobile terminal so that the current mobile terminal outputs the feedback information.
7. The connection method according to claim 6, wherein after the step of outputting the feedback information and sending the feedback information to the current mobile terminal so that the current mobile terminal outputs the feedback information, the method further comprises:
receiving a control instruction sent by the current mobile terminal through the intranet connection channel;
and outputting an action corresponding to the control instruction based on the control instruction.
8. The utility model provides a connecting device, its characterized in that for intelligent household equipment, the device includes:
the first acquisition module is used for acquiring the delay time of data transmission with the current mobile terminal;
the second obtaining module is used for obtaining the IP address of the intelligent household equipment and the IP address of the current mobile terminal when the delay time is larger than a preset threshold value;
and the connection establishing module is used for establishing connection with the current mobile terminal through a preset local area network when the IP address of the intelligent household equipment and the IP address of the current mobile terminal both belong to the preset local area network.
9. The utility model provides an intelligent household equipment, its characterized in that, intelligent household equipment includes: memory, a processor and a connectivity program stored on the memory and running on the processor, the connectivity program, when executed by the processor, implementing the steps of the connectivity method as claimed in any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a connection program which, when executed by a processor, implements the steps of the connection method according to any one of claims 1 to 7.
CN202011416247.3A 2020-12-04 2020-12-04 Connection method and device, smart home equipment and computer readable storage medium Pending CN112583907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011416247.3A CN112583907A (en) 2020-12-04 2020-12-04 Connection method and device, smart home equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011416247.3A CN112583907A (en) 2020-12-04 2020-12-04 Connection method and device, smart home equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112583907A true CN112583907A (en) 2021-03-30

Family

ID=75127542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011416247.3A Pending CN112583907A (en) 2020-12-04 2020-12-04 Connection method and device, smart home equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112583907A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114778A (en) * 2021-04-22 2021-07-13 北京字节跳动网络技术有限公司 Data transmission method and device, electronic equipment and storage medium
CN113179491A (en) * 2021-04-29 2021-07-27 北京云迹科技有限公司 Multi-network communication method, device, robot and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200070A (en) * 2013-03-29 2013-07-10 Tcl集团股份有限公司 Control terminal and control method thereof
CN103941651A (en) * 2013-01-19 2014-07-23 珠海格力电器股份有限公司 Internet-based intelligent home system and control method
CN104066129A (en) * 2014-06-30 2014-09-24 深圳市中兴移动通信有限公司 Network switching method and system
CN106169967A (en) * 2016-07-14 2016-11-30 美的集团股份有限公司 A kind of subscription client, household electrical appliance and control method thereof
CN106789475A (en) * 2016-12-29 2017-05-31 Tcl集团股份有限公司 Household electric appliance control method and device
CN106789468A (en) * 2016-12-22 2017-05-31 Tcl集团股份有限公司 A kind of appliances equipment control method and system based on intelligent terminal
WO2017185684A1 (en) * 2016-04-29 2017-11-02 乐视控股(北京)有限公司 Method for managing smart home by means of wireless router, and wireless router
CN109561329A (en) * 2017-09-27 2019-04-02 Tcl集团股份有限公司 Control method, mobile terminal and the computer readable storage medium of smart television
CN111542130A (en) * 2020-05-21 2020-08-14 海尔优家智能科技(北京)有限公司 Method and device for controlling household appliance and terminal equipment
CN111812987A (en) * 2019-04-12 2020-10-23 北京京东尚科信息技术有限公司 Terminal device and execution method thereof, and smart home device and execution method thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103941651A (en) * 2013-01-19 2014-07-23 珠海格力电器股份有限公司 Internet-based intelligent home system and control method
CN103200070A (en) * 2013-03-29 2013-07-10 Tcl集团股份有限公司 Control terminal and control method thereof
CN104066129A (en) * 2014-06-30 2014-09-24 深圳市中兴移动通信有限公司 Network switching method and system
WO2017185684A1 (en) * 2016-04-29 2017-11-02 乐视控股(北京)有限公司 Method for managing smart home by means of wireless router, and wireless router
CN106169967A (en) * 2016-07-14 2016-11-30 美的集团股份有限公司 A kind of subscription client, household electrical appliance and control method thereof
CN106789468A (en) * 2016-12-22 2017-05-31 Tcl集团股份有限公司 A kind of appliances equipment control method and system based on intelligent terminal
CN106789475A (en) * 2016-12-29 2017-05-31 Tcl集团股份有限公司 Household electric appliance control method and device
CN109561329A (en) * 2017-09-27 2019-04-02 Tcl集团股份有限公司 Control method, mobile terminal and the computer readable storage medium of smart television
CN111812987A (en) * 2019-04-12 2020-10-23 北京京东尚科信息技术有限公司 Terminal device and execution method thereof, and smart home device and execution method thereof
CN111542130A (en) * 2020-05-21 2020-08-14 海尔优家智能科技(北京)有限公司 Method and device for controlling household appliance and terminal equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114778A (en) * 2021-04-22 2021-07-13 北京字节跳动网络技术有限公司 Data transmission method and device, electronic equipment and storage medium
CN113179491A (en) * 2021-04-29 2021-07-27 北京云迹科技有限公司 Multi-network communication method, device, robot and storage medium
CN113179491B (en) * 2021-04-29 2022-09-16 北京云迹科技股份有限公司 Multi-network communication method, device, robot and storage medium

Similar Documents

Publication Publication Date Title
CN106782431B (en) Screen backlight brightness adjusting method and device and mobile terminal
CN112351097A (en) Device control method, device, sending end and storage medium
CN112583907A (en) Connection method and device, smart home equipment and computer readable storage medium
WO2021057965A1 (en) Capability parameter determination method, uplink scheduling method, terminal and network side device
CN112367203A (en) Network distribution method and device, smart television and computer readable storage medium
CN112883036A (en) Index creation method, device, storage server and storage medium
CN112612526B (en) Application program control method, device, terminal equipment and storage medium
CN112689172B (en) Program playing method and device, set top box and storage medium
CN110602772A (en) WiFi module control method, control device, electronic device and storage medium
CN112566244A (en) Device positioning method and device, terminal device and storage medium
AU2019247007B2 (en) Measuring method, terminal and network side device
CN112350895B (en) Keep-alive method and device for application program, equipment and computer readable storage medium
CN113824613B (en) Network reliability test method, test system and storage medium
CN112583706A (en) Gateway service processing method, gateway, receiving end, system and storage medium
CN113824612B (en) Network equipment compatibility testing method, terminal equipment and storage medium
CN112346885A (en) Electronic device control method, device, equipment and computer readable storage medium
CN114786270A (en) Carrier aggregation control method and device, terminal and network side equipment
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN113098902A (en) Method and device for managing vulnerability of network equipment, management terminal equipment and storage medium
CN112423004B (en) Video data transmission method, device, transmitting end and storage medium
CN112035036A (en) Electronic whiteboard sharing method, system, terminal equipment and storage medium
CN112449327A (en) Method and device for switching working states of wireless data interaction terminal
CN112584215B (en) Video transmission method and device, intelligent television and storage medium
CN112311790A (en) Multimedia terminal determining method, connecting method, test terminal and storage medium
CN112423028A (en) Multimedia file transmission method, device, multimedia terminal 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