CN113709239A - Intelligent household equipment communication method, equipment and medium - Google Patents

Intelligent household equipment communication method, equipment and medium Download PDF

Info

Publication number
CN113709239A
CN113709239A CN202110988727.5A CN202110988727A CN113709239A CN 113709239 A CN113709239 A CN 113709239A CN 202110988727 A CN202110988727 A CN 202110988727A CN 113709239 A CN113709239 A CN 113709239A
Authority
CN
China
Prior art keywords
equipment
target equipment
target
socket connection
communicated
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
CN202110988727.5A
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.)
Tianyuan Big Data Credit Management Co Ltd
Original Assignee
Tianyuan Big Data Credit Management 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 Tianyuan Big Data Credit Management Co Ltd filed Critical Tianyuan Big Data Credit Management Co Ltd
Priority to CN202110988727.5A priority Critical patent/CN113709239A/en
Publication of CN113709239A publication Critical patent/CN113709239A/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/14Session management
    • H04L67/141Setup of application sessions
    • 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
    • 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/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

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

Abstract

The application discloses a communication method, equipment and medium for intelligent household equipment, wherein the method comprises the following steps: the mobile terminal determines target equipment to be communicated; connecting the target equipment through a digital living network alliance (DLAN) protocol to acquire equipment information of the target equipment; initiating a socket connection request to the target equipment according to the equipment information; determining to establish a socket connection relation with the target equipment; and communicating the target equipment based on the socket connection relation. The mobile terminal is connected with the target equipment to be communicated through the DLAN protocol and then is in socket connection with the target equipment, if the connection is successful, the current state of the target equipment can be known to be normal, and normal information communication and equipment operation can be carried out. Furthermore, when the target equipment is communicated, data transmission among the equipment is simplified, transmission of remote interaction information is more real-time and safer, and the accuracy of intelligent household equipment communication is improved.

Description

Intelligent household equipment communication method, equipment and medium
Technical Field
The application relates to the technical field of intelligent equipment, in particular to a communication method, equipment and medium for intelligent household equipment.
Background
With the development of science and technology, smart home devices are gradually integrated into the lives of people, so that a user may have multiple same or similar smart home devices connected to the same local area network. However, most smart home devices do not have a visual interface, which is not conducive to direct operation and use by users, and even if the smart home devices have a visual interface, the operation is troublesome or inflexible.
At present, a mobile terminal is connected with intelligent home equipment through a DLNA protocol, so that the intelligent home equipment is operated. However, based on the characteristics of the DLNA protocol, data may be lost or otherwise transmitted, which results in low communication accuracy between the mobile terminal and the smart home device.
Disclosure of Invention
The embodiment of the application provides a communication method, equipment and medium for intelligent household equipment, and aims to solve the problem of low communication accuracy between a mobile terminal and the intelligent household equipment.
The embodiment of the application adopts the following technical scheme:
on one hand, the embodiment of the application provides an intelligent household equipment communication method, which comprises the following steps: the mobile terminal determines target equipment to be communicated; connecting the target equipment through a digital living network alliance (DLAN) protocol to acquire equipment information of the target equipment; initiating a socket connection request to the target equipment according to the equipment information; determining to establish a socket connection relation with the target equipment; and communicating the target equipment based on the socket connection relation.
In one example, the communicating the target device based on the socket connection relationship specifically includes: sending remote interaction information to the target equipment based on the socket connection relation so that the target equipment operates according to the remote interaction information; receiving an operation result returned by the target equipment; and verifying whether the target equipment acquires the remote interaction information or not according to the operation result.
In one example, the verifying whether the target device obtains the remote interaction information according to the operation result specifically includes: acquiring an operation result corresponding to the pre-stored remote interaction information; judging whether the operation result is consistent with a prestored operation result or not; and if so, the target equipment acquires the remote interactive information and initiates a request for disconnecting the socket connection to the target equipment.
In one example, the determining whether the operation result is consistent with a pre-stored operation result specifically includes: judging whether the operation result is consistent with a prestored operation result or not; if not, the target device does not acquire the remote interaction information, and resends the remote interaction information to the target device.
In one example, the determining to establish a socket connection relationship with the target device specifically includes: receiving a handshake initialization message from the target device; sending a login authentication message to the target equipment so that the target equipment determines an authentication result according to the login authentication message; receiving the authentication result; the authentication result is used for indicating whether the mobile terminal passes the authentication; and if the authentication result is that the mobile terminal passes the authentication, determining to establish a socket connection relation with the target equipment.
In one example, the determining the target device to be communicated specifically includes: binding a router in a local area network; after the router is successfully bound with the router, acquiring an intelligent home equipment list in the local area network; and searching in the intelligent household equipment list, and determining target equipment to be communicated.
In one example, the retrieving in the smart home device list to determine a target device to be communicated specifically includes: retrieving in the intelligent household equipment list, and judging whether the intelligent household equipment comprises target equipment to be communicated; if yes, determining the target equipment to be communicated; and if not, adding the target equipment to be communicated to the intelligent household equipment list based on the operation of the user so as to determine the target equipment to be communicated.
In one example, the device information includes at least one of: internet protocol IP address, port number.
On the other hand, this application embodiment provides an intelligent household equipment communication equipment, includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to: the mobile terminal determines target equipment to be communicated; connecting the target equipment through a digital living network alliance (DLAN) protocol to acquire equipment information of the target equipment; initiating a socket connection request to the target equipment according to the equipment information; determining to establish a socket connection relation with the target equipment; and communicating the target equipment based on the socket connection relation.
On the other hand, an embodiment of the present application provides a non-volatile computer storage medium for smart home device communication, in which computer-executable instructions are stored, and the computer-executable instructions are set as: the mobile terminal determines target equipment to be communicated; connecting the target equipment through a digital living network alliance (DLAN) protocol to acquire equipment information of the target equipment; initiating a socket connection request to the target equipment according to the equipment information; determining to establish a socket connection relation with the target equipment; and communicating the target equipment based on the socket connection relation.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:
the mobile terminal is connected with the target equipment to be communicated through the DLAN protocol and then is in socket connection with the target equipment, if the connection is successful, the current state of the target equipment can be known to be normal, and normal information communication and equipment operation can be carried out. Furthermore, when the target equipment is communicated, data transmission among the equipment is simplified, transmission of remote interactive information is more real-time and safer, the communication accuracy of the intelligent home equipment is improved, and the problems of data delay, inaccuracy and the like possibly caused when data transmission is carried out between the equipment by using DLAN are effectively avoided.
Drawings
In order to more clearly explain the technical solutions of the present application, some embodiments of the present application will be described in detail below with reference to the accompanying drawings, in which:
fig. 1 is a schematic frame diagram of an intelligent home device communication system according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of a communication method for smart home devices according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an intelligent home device communication device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following embodiments and accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, 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 application.
The current market is replete with various smart devices, especially smart home devices. At present, most of intelligent household equipment does not have a visual interface, such as a sound box, and is not beneficial to direct operation and use of a user. In this case, the smart home device is generally connected to a mobile terminal, for example, the mobile terminal is a mobile phone, so that the mobile terminal is used as a visual interface. Some of the smart home devices have visual interfaces, such as smart televisions, but the operation is troublesome or not flexible enough, and the operation is not convenient by directly using the mobile terminal.
It should be noted that the mobile terminal refers to a computer device that can be used in mobile, and broadly includes a mobile phone, a notebook, a tablet computer, a POS machine, and even a vehicle-mounted computer. But most often refer to cell phones or smart phones and tablets with multiple application functions.
In addition, smart homes (home automation) take a home as a platform, and integrate facilities related to home life by utilizing a comprehensive wiring technology, a network communication technology, a security technology, an automatic control technology and an audio and video technology, so that a high-efficiency management system for home facilities and home schedule affairs is constructed, the home safety, convenience, comfort and artistry are improved, and the environment for living is environment-friendly and energy-saving.
At present, the connection between the smart home device and the mobile terminal is generally performed directly in the same local area NETWORK through DLNA (DIGITAL LIVING NETWORK ALLIANCE) protocol. DLAN is a protocol flow for sending a request, and returning information after receiving the information by a device, and has no specific purpose, and a long connection state after connection results in a common state in which data transmission is lost, so that the communication accuracy between a mobile terminal and an intelligent home device is low, and therefore, in order to solve the problem, the embodiment of the present application provides a communication method, a device and a medium for an intelligent home device.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic frame diagram of an intelligent home device communication system according to an embodiment of the present application.
As shown in fig. 1, the smart home device communication system at least includes: the mobile terminal 100 and the plurality of smart home devices respectively include a smart home device 200, a smart home device 300, a smart home device 400, a smart home device 500, and the like.
The user needs to connect the mobile terminal 100 and a plurality of smart home devices to the same local area network in advance. Further, the plurality of smart home devices are all DLAN devices, that is, the mobile device 100 and the plurality of smart home devices all support a DLAN protocol.
Specifically, the mobile terminal 100 first needs to bind a router in the local area network according to the prompt of the interface, for example, the router is a HiLink router. After the router is successfully bound, the brand-new or factory-reset intelligent home equipment and other routers in the local area network can be actively discovered, the mobile terminal 100 is actively reminded of adding the router without inputting a wireless network password, and therefore the intelligent home equipment list in the local area network is obtained.
Further, the mobile terminal 100 searches in the smart home device list to determine the target device to be communicated. Such as smart home device 200.
Since the target device to be communicated may not be added to the local area network, the mobile terminal 100 cannot be retrieved from the smart home device list.
Therefore, the mobile terminal 100 searches the smart home device list to determine whether the smart home device includes the target device to be communicated, and if so, determines the target device to be communicated.
If not, a notification is sent on the interface, so that the user clicks the target device to be communicated, which needs to be added, in the smart home device scanned by the mobile terminal 100, inputs the password of the local area network according to the interface prompt, and connects the target device to be communicated to the local area network. In addition, if the device to be communicated is not scanned, the user connects the device to be communicated to the local area network through the device to be communicated, and therefore the device to be communicated is added to the intelligent household device list.
It should be noted that the intelligent home device communication system according to the embodiment of the present application is provided with a plurality of intelligent home devices, each of the plurality of intelligent home devices is connected to the mobile terminal 100, the number of the intelligent home devices may be one, or may be multiple, as shown in fig. 1, each of the plurality of intelligent home devices is provided with an intelligent home device 200, an intelligent home device 300, and an intelligent home device 400. In the embodiment of the present application, there may be 1 or more target devices to be communicated, and for convenience of description, the following explains the smart home device 200 as an example.
In some embodiments of the present application, after determining a target device to be communicated, that is, the smart home device 200, the mobile terminal 100 connects to the smart home device 200 through a DLAN protocol, so as to obtain device information of the smart home device 200. The device information includes information such as an internet protocol IP address and a port number of the smart home device 200.
Further, after acquiring the device information of the smart home device 200, the mobile terminal 100 may initiate a socket connection request to the smart home device 200 through the device information. That is, when the mobile terminal 100 interacts with the smart home devices 200, the mobile terminal 100 corresponds to a client, and the smart home devices 200 correspond to a server.
It should be noted that socket is a stable connection established by multiple handshakes between the client and the server. When connection is needed, a connection request is carried out, and a connection relation is established after handshake verification for multiple times; when not needed, a closing request is carried out, and then the direct connection is disconnected; the connection mode is high in safety and reliability.
Further, after the mobile terminal 100 sends a request for socket connection to the smart home device 200, if the connection is successful, a socket connection relationship is established with the smart home device 200, and the smart home device 200 communicates based on the socket connection relationship.
Through the system in fig. 1, after acquiring the device information of the smart home device, in some important or real-time data processing, the embodiment of the present application adopts a network connection manner such as socket, so as to simplify data transmission between devices, ensure real-time performance and accuracy of data, and improve device performance.
How to perform socket communication between the mobile terminal and the target device to be communicated is specifically described in the embodiment of the present application through fig. 2 and related contents.
Fig. 2 is a schematic flow chart of a communication method of smart home devices according to an embodiment of the present application, and is applied to the system in fig. 1, as shown in fig. 2.
The flow in fig. 2 specifically includes the following steps:
s201: the mobile terminal determines target equipment to be communicated.
That is, the mobile terminal 100 uses the smart home device 200 as a target device to be communicated.
S202: and connecting the target equipment through a DLAN protocol to acquire the equipment information of the target equipment.
That is, the mobile terminal 100 connects to the smart home device 200 through the DLAN protocol, and after the connection is successful, obtains device information of the smart home device 200, for example, an IP address and a port number of the smart home device 200.
S203: and initiating a socket connection request to the target equipment according to the equipment information.
That is, after acquiring the device information of the smart home device 200, the mobile terminal 100 sends a request for socket connection to the smart home device 200 based on the device information.
S204: and determining to establish a socket connection relation with the target equipment.
Specifically, after monitoring the request for socket connection initiated by the mobile terminal 100, the smart home device 200 generates a handshake initialization message and returns the handshake initialization message to the mobile terminal 100.
The mobile terminal 100 receives the handshake initialization message of the smart home device 200 and then transmits a login authentication message to the smart home device 200.
After receiving the login authentication message, the smart home device 200 determines an authentication result according to the login authentication message, and returns the authentication result to the mobile terminal 100. The authentication result is used for indicating whether the mobile terminal passes the authentication.
The mobile terminal 100 receives the authentication result, and if the authentication result is that the mobile terminal passes the authentication, it determines to establish a socket connection relationship with the target device, and performs step S205. If the authentication result is that the mobile terminal fails to be authenticated, the mobile terminal 100 fails to establish the socket connection with the smart home device 200, and step S203 is executed again.
S205: and communicating the target equipment based on the socket connection relation.
Specifically, the mobile device 100 sends the remote interaction information to the smart home device 200 on the basis of establishing the socket connection relationship with the smart home device 200. The remote interactive information includes modifying or configuring functions such as certain configurations or settings, or transferring important data.
After receiving the remote interaction information, the smart home device 200 performs an operation according to the remote interaction information, and returns an operation result to the mobile terminal 100.
The mobile terminal 100 receives an operation result returned by the smart home device, and then verifies whether the smart home device 200 obtains the remote interaction information sent by the mobile terminal 100 according to the operation result.
After obtaining the remote interaction information, the mobile terminal 100 first obtains an operation result corresponding to the pre-stored remote interaction information, for example, retrieves the operation result corresponding to the current remote interaction information from a storage operation result library. That is to say, when determining to send the remote interactive information to the smart home devices 200, the mobile terminal 100 also determines in advance an operation result corresponding to the execution of the remote interactive information by the smart home devices 200, and stores the operation result.
Then, whether the operation result is consistent with the operation result stored in advance is judged, if yes, it is indicated that the smart home device 200 acquires the remote interactive information and performs a corresponding operation, and therefore, a request for disconnecting the socket connection is issued to the smart home device 200. If not, the smart home device 200 does not acquire the remote interaction information, and retransmits the remote interaction information to the smart home device 200, that is, the smart home device 200 may not receive correct remote interaction information.
Namely, the mobile terminal 100 and the smart home device 200 are connected via the socket, and then directly communicate with each other, and after the purpose is achieved, the connection is directly disconnected, so that the data transmission process between the devices is simplified, and the device performance is improved.
It should be noted that, although the embodiment of the present application describes steps S201 to S205 in sequence with reference to fig. 2, this does not mean that steps S201 to S205 must be executed in strict sequence. The embodiment of the present application sequentially describes steps S201 to S205 according to the sequence shown in fig. 2, so as to facilitate those skilled in the art to understand the technical solutions of the embodiment of the present application. In other words, in the embodiment of the present application, the sequence between step S201 and step S205 may be appropriately adjusted according to actual needs.
Through the method in fig. 1, after the mobile terminal in the embodiment of the present application is connected to the target device to be communicated through the DLAN protocol, the mobile terminal is then connected to the target device through a socket, and if the connection is successful, it can know that the current state of the target device is normal, and can perform normal information communication and device operation. Furthermore, when the target equipment is communicated, data transmission among the equipment is simplified, transmission of remote interactive information is more real-time and safer, the communication accuracy of the intelligent home equipment is improved, and the problems of data delay, inaccuracy and the like possibly caused when data transmission is carried out between the equipment by using DLAN are effectively avoided.
Based on the same idea, some embodiments of the present application further provide a device and a non-volatile computer storage medium corresponding to the above method.
Fig. 3 is a schematic structural diagram of an intelligent household device communication device provided in an embodiment of the present application, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
the mobile terminal determines target equipment to be communicated;
connecting target equipment through a digital living network alliance (DLAN) protocol to acquire equipment information of the target equipment;
initiating a socket connection request to the target equipment according to the equipment information;
determining to establish a socket connection relation with a target device;
and communicating the target equipment based on the socket connection relation.
Some embodiments of the present application provide a non-transitory computer storage medium corresponding to one of the full-factor quality data management of fig. 1, storing computer-executable instructions configured to:
the mobile terminal determines target equipment to be communicated;
connecting target equipment through a digital living network alliance (DLAN) protocol to acquire equipment information of the target equipment;
initiating a socket connection request to the target equipment according to the equipment information;
determining to establish a socket connection relation with a target device;
and communicating the target equipment based on the socket connection relation.
The embodiments in the present application are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device and media embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference may be made to some descriptions of the method embodiments for relevant points.
The device and the medium provided by the embodiment of the application correspond to the method one to one, so the device and the medium also have the similar beneficial technical effects as the corresponding method, and the beneficial technical effects of the method are explained in detail above, so the beneficial technical effects of the device and the medium are not repeated herein.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be instructed by computer programs. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may be used to store information in any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that 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 like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the technical principle of the present application shall fall within the protection scope of the present application.

Claims (10)

1. A communication method of intelligent household equipment is characterized by comprising the following steps:
the mobile terminal determines target equipment to be communicated;
connecting the target equipment through a digital living network alliance (DLAN) protocol to acquire equipment information of the target equipment;
initiating a socket connection request to the target equipment according to the equipment information;
determining to establish a socket connection relation with the target equipment;
and communicating the target equipment based on the socket connection relation.
2. The method according to claim 1, wherein the communicating the target device based on the socket connection relationship specifically comprises:
sending remote interaction information to the target equipment based on the socket connection relation so that the target equipment operates according to the remote interaction information;
receiving an operation result returned by the target equipment;
and verifying whether the target equipment acquires the remote interaction information or not according to the operation result.
3. The method according to claim 2, wherein the verifying whether the target device acquires the remote interaction information according to the operation result specifically includes:
acquiring an operation result corresponding to the pre-stored remote interaction information;
judging whether the operation result is consistent with a prestored operation result or not;
and if so, the target equipment acquires the remote interactive information and initiates a request for disconnecting the socket connection to the target equipment.
4. The method according to claim 2, wherein the determining whether the operation result is consistent with a pre-stored operation result specifically comprises:
judging whether the operation result is consistent with a prestored operation result or not;
if not, the target device does not acquire the remote interaction information, and resends the remote interaction information to the target device.
5. The method according to claim 1, wherein the determining to establish a socket connection relationship with the target device specifically includes:
receiving a handshake initialization message from the target device;
sending a login authentication message to the target equipment so that the target equipment determines an authentication result according to the login authentication message;
receiving the authentication result; the authentication result is used for indicating whether the mobile terminal passes the authentication;
and if the authentication result is that the mobile terminal passes the authentication, determining to establish a socket connection relation with the target equipment.
6. The method according to claim 1, wherein the determining the target device to be communicated specifically comprises:
binding a router in a local area network;
after the router is successfully bound with the router, acquiring an intelligent home equipment list in the local area network;
and searching in the intelligent household equipment list, and determining target equipment to be communicated.
7. The method according to claim 6, wherein the retrieving from the smart home device list and determining the target device to be communicated specifically comprises:
retrieving in the intelligent household equipment list, and judging whether the intelligent household equipment comprises target equipment to be communicated;
if yes, determining the target equipment to be communicated;
and if not, adding the target equipment to be communicated to the intelligent household equipment list based on the operation of the user so as to determine the target equipment to be communicated.
8. The method of claim 1, wherein the device information comprises at least one of:
internet protocol IP address, port number.
9. The utility model provides an intelligence household equipment communication equipment which characterized in that includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
the mobile terminal determines target equipment to be communicated;
connecting the target equipment through a digital living network alliance (DLAN) protocol to acquire equipment information of the target equipment;
initiating a socket connection request to the target equipment according to the equipment information;
determining to establish a socket connection relation with the target equipment;
and communicating the target equipment based on the socket connection relation.
10. A non-volatile computer storage medium for smart home device communication, storing computer-executable instructions, the computer-executable instructions configured to:
the mobile terminal determines target equipment to be communicated;
connecting the target equipment through a digital living network alliance (DLAN) protocol to acquire equipment information of the target equipment;
initiating a socket connection request to the target equipment according to the equipment information;
determining to establish a socket connection relation with the target equipment;
and communicating the target equipment based on the socket connection relation.
CN202110988727.5A 2021-08-26 2021-08-26 Intelligent household equipment communication method, equipment and medium Pending CN113709239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110988727.5A CN113709239A (en) 2021-08-26 2021-08-26 Intelligent household equipment communication method, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110988727.5A CN113709239A (en) 2021-08-26 2021-08-26 Intelligent household equipment communication method, equipment and medium

Publications (1)

Publication Number Publication Date
CN113709239A true CN113709239A (en) 2021-11-26

Family

ID=78655230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110988727.5A Pending CN113709239A (en) 2021-08-26 2021-08-26 Intelligent household equipment communication method, equipment and medium

Country Status (1)

Country Link
CN (1) CN113709239A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114360162A (en) * 2021-11-30 2022-04-15 无锡玖千工品供应链管理有限公司 Intelligent cabinet initialization method
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
CN104252136A (en) * 2014-10-10 2014-12-31 中国联合网络通信集团有限公司 Intelligent home control method and system
CN106302470A (en) * 2016-08-18 2017-01-04 优地技术有限公司 The method that Based Intelligent Control TV box transfers data to television
CN106954096A (en) * 2017-04-14 2017-07-14 成都小鸟冲冲冲科技有限公司 Intelligent video system and control method with cloud control function
CN109618315A (en) * 2018-11-29 2019-04-12 与德科技有限公司 A kind of control method of lighting apparatus, device, storage medium and intelligent terminal
CN112152890A (en) * 2019-06-28 2020-12-29 海信视像科技股份有限公司 Control system and method based on intelligent sound box
CN112911374A (en) * 2021-02-01 2021-06-04 深圳创维-Rgb电子有限公司 DLNA (digital Living network alliance) -based screen projection method and system
CN113162922A (en) * 2021-04-09 2021-07-23 广州锦行网络科技有限公司 Client data acquisition method and device, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252136A (en) * 2014-10-10 2014-12-31 中国联合网络通信集团有限公司 Intelligent home control method and system
CN106302470A (en) * 2016-08-18 2017-01-04 优地技术有限公司 The method that Based Intelligent Control TV box transfers data to television
CN106954096A (en) * 2017-04-14 2017-07-14 成都小鸟冲冲冲科技有限公司 Intelligent video system and control method with cloud control function
CN109618315A (en) * 2018-11-29 2019-04-12 与德科技有限公司 A kind of control method of lighting apparatus, device, storage medium and intelligent terminal
CN112152890A (en) * 2019-06-28 2020-12-29 海信视像科技股份有限公司 Control system and method based on intelligent sound box
CN112911374A (en) * 2021-02-01 2021-06-04 深圳创维-Rgb电子有限公司 DLNA (digital Living network alliance) -based screen projection method and system
CN113162922A (en) * 2021-04-09 2021-07-23 广州锦行网络科技有限公司 Client data acquisition method and device, storage medium and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114360162A (en) * 2021-11-30 2022-04-15 无锡玖千工品供应链管理有限公司 Intelligent cabinet initialization method
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

Similar Documents

Publication Publication Date Title
US10743132B2 (en) Context-based computing framework for obtaining computing resource context information associated with a location
CN110072236B (en) Device connection method, device and system
CN108512821B (en) Data transmission method, device and system, network gate and transaction data storage method
CN111465015B (en) Method, system, device, equipment and storage medium for intelligent household equipment network distribution
US20210136577A1 (en) Method and a device for wireless connection
CN113572799B (en) Method and device for accessing equipment to control platform and server
CN113709239A (en) Intelligent household equipment communication method, equipment and medium
WO2015165350A1 (en) Method, device and system of switching smart television mobile end and obtaining television end information
CN115486038B (en) Internet of things configuration method, internet of things configuration device, computer equipment and storage medium
CN114785541B (en) Binding method and device of equipment, electronic equipment and storage medium
CN112954717A (en) Household appliance network distribution method and device based on H5 page
US8897447B1 (en) Burst tethering for mobile communication devices
CN108541000B (en) Method, medium and device for detecting network connection
CN110177360B (en) Method and device for binding with wearable device
CN110830527A (en) Method and device for data communication between networks and data communication system
WO2024087384A1 (en) Bluetooth connection establishment method, electronic device and computer storage medium
CN111478816A (en) Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment
WO2022067509A1 (en) Device upgrade control method and apparatus, and computer device and storage medium
CN104869133A (en) Data recording method, system and access server
CN111385371B (en) MAC address acquisition method, device and equipment
RU2465637C2 (en) System and method for improving operation of media server
WO2024011916A1 (en) Control method and apparatus, device, and storage medium
CN114356438B (en) Intelligent scene starting method and device, electronic equipment and storage medium
CN114079578B (en) Login information processing method and device, storage medium and electronic equipment
CN117478449B (en) Control method and device of third party equipment, electronic equipment and 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