CN117614758A - Electronic equipment, terminal equipment and equipment network distribution method - Google Patents

Electronic equipment, terminal equipment and equipment network distribution method Download PDF

Info

Publication number
CN117614758A
CN117614758A CN202311016639.4A CN202311016639A CN117614758A CN 117614758 A CN117614758 A CN 117614758A CN 202311016639 A CN202311016639 A CN 202311016639A CN 117614758 A CN117614758 A CN 117614758A
Authority
CN
China
Prior art keywords
equipment
network
information
scanning
terminal
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
CN202311016639.4A
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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202311016639.4A priority Critical patent/CN117614758A/en
Publication of CN117614758A publication Critical patent/CN117614758A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0863Generation of secret information including derivation or calculation of cryptographic keys or passwords involving passwords or one-time passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application provides electronic equipment, terminal equipment and equipment network distribution method, equipment information of equipment to be distributed is sent to the terminal equipment by responding to a network distribution instruction input by a user, authentication code information generated by a pairing code corresponding to equipment information of scanning equipment of the terminal equipment is acquired through a first communication channel, wireless communication scanning is carried out on the network distribution equipment in a first preset range according to the authentication code information, and therefore when a first scanning result is generated, a second communication channel is established with the network distribution equipment to be distributed, and network distribution of the equipment to be distributed is completed. The method and the device are connected with the terminal equipment through the electronic equipment, and the code scanning is carried out on the network equipment to be distributed through the terminal equipment, so that the identification code information of the network equipment to be distributed is scanned in the wireless communication range of the electronic equipment, the connection between the electronic equipment and the network equipment to be distributed is convenient, and the network distribution efficiency between the electronic equipment and the network equipment to be distributed is improved.

Description

Electronic equipment, terminal equipment and equipment network distribution method
Technical Field
The application relates to the technical field of distribution network of household appliances, in particular to electronic equipment, terminal equipment and a device distribution network method.
Background
The Matter protocol is an open-source intelligent home connection protocol, supports interconnection between intelligent home equipment and a control platform, and can control the running state of the intelligent home equipment through the control platform. The Controller is a smart home hardware product with a Controller protocol function, and can be connected with and controlled by a Controller. For example: bulb, switch, sensor, thermostat, shutter motor, door lock, bridging device, media playing device, etc.
The Matter equipment can normally operate only after being distributed with a network through a control end, and the control end can be other household equipment such as a smart television, a computer and the like. The control end can be connected in a Bluetooth connection and two-dimensional code shooting and scanning mode on the water equipment, so that the control end can realize network distribution to the water equipment. However, due to different structural designs of the home, when the control end is far away from the water equipment to be connected with the network, the control end cannot be connected to Bluetooth of the water equipment, and two-dimensional codes on the water equipment cannot be conveniently scanned, so that the network connection interaction between the control end and the water equipment is inconvenient.
Disclosure of Invention
In order to solve the problem of difficult network interaction between the control end and the Matter device, in a first aspect, some embodiments of the present application provide an electronic device, where the electronic device includes a first communication interface, a second communication interface, and a controller, where the first communication interface is configured to establish a first communication channel with a terminal device, the second communication interface is configured to establish a second communication channel with a device to be configured to a network, and the controller is configured to:
Responding to a network distribution instruction input by a user, and transmitting equipment information of equipment to be distributed to terminal equipment, wherein the terminal equipment and the electronic equipment are in the same network environment;
acquiring authentication code information through the first communication channel, wherein the authentication code information is generated by scanning a pairing code corresponding to the equipment information by the terminal equipment;
performing wireless communication scanning on the distribution network equipment within a first preset range according to the identification code information;
and if the first scanning result is generated, establishing a second communication channel with the equipment to be distributed, and executing distribution network on the equipment to be distributed through the second communication channel.
In a second aspect, some embodiments of the present application provide a terminal device comprising a display, a communicator configured to establish a first communication channel with an electronic device, and a processor configured to:
receiving equipment information of equipment to be distributed, which is sent by the electronic equipment through the first communication channel, in response to a network distribution instruction input by a user, wherein the terminal equipment and the electronic equipment are in the same network environment;
and sending authentication code information to the electronic equipment through the first communication channel so that the electronic equipment can execute wireless communication scanning on the network distribution equipment in a first preset range according to the authentication code information, the authentication code information is generated according to a pairing code corresponding to the equipment information, when the electronic equipment generates a first scanning result, the electronic equipment establishes a second communication channel with the network distribution equipment to be distributed, and executes network distribution on the network distribution equipment to be distributed through the second communication channel.
In a third aspect, some embodiments of the present application provide a server, including a communication module configured to establish a communication connection with a terminal device, and a processing module configured to:
receiving equipment information of equipment to be distributed, which is sent by electronic equipment, wherein the terminal equipment and the electronic equipment are in the same network environment;
transmitting the device information to the terminal device;
acquiring authentication code information returned by the terminal equipment, wherein the authentication code information is obtained by scanning a pairing code corresponding to the equipment information by the terminal equipment;
and sending the authentication code to the electronic equipment so that the electronic equipment can execute wireless communication scanning on the network distribution equipment within a first preset range according to the authentication code information, and when the electronic equipment generates a first scanning result, establishing a second communication channel between the electronic equipment and the network distribution equipment to be distributed, and executing network distribution operation on the network distribution equipment to be distributed through the second communication channel.
In a fourth aspect, some embodiments of the present application provide a device network allocation method, applied to an electronic device, where the electronic device includes a first communication interface, a second communication interface, and a controller, where the first communication interface is configured to establish a first communication channel with a terminal device, and the second communication interface is configured to establish a second communication channel with a device to be network-allocated, and the method includes:
Responding to a network distribution instruction input by a user, and transmitting equipment information of equipment to be distributed to terminal equipment, wherein the terminal equipment and the electronic equipment are in the same network environment;
acquiring authentication code information through the first communication channel, wherein the authentication code information is generated by scanning a pairing code corresponding to the equipment information by the terminal equipment;
performing wireless communication scanning on the distribution network equipment within a first preset range according to the identification code information;
and if the first scanning result is generated, establishing a second communication channel with the equipment to be distributed, and executing distribution network on the equipment to be distributed through the second communication channel.
According to the technical scheme, the electronic equipment, the terminal equipment and the equipment network distribution method are provided, equipment information of equipment to be distributed is sent to the terminal equipment through responding to a network distribution instruction input by a user, authentication code information generated by a pairing code corresponding to equipment information of scanning equipment of the terminal equipment is acquired through a first communication channel, wireless communication scanning is carried out on the network distribution equipment in a first preset range according to the authentication code information, and therefore when a first scanning result is generated, a second communication channel is established with the equipment to be distributed, and network distribution of the equipment to be distributed is completed. The method and the device are connected with the terminal equipment through the electronic equipment, and the code scanning is carried out on the network equipment to be distributed through the terminal equipment, so that the identification code information of the network equipment to be distributed is scanned in the wireless communication range of the electronic equipment, the connection between the electronic equipment and the network equipment to be distributed is convenient, and the network distribution efficiency between the electronic equipment and the network equipment to be distributed is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings that are needed in the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a usage scenario of an electronic device in an embodiment of the present application;
fig. 2 is a hardware configuration diagram of an electronic device in an embodiment of the present application;
fig. 3 is a flowchart of a method for configuring a network by using a device according to an embodiment of the present application;
fig. 4 is a flowchart of generating configuration network equipment information through voice recognition according to an embodiment of the present application;
fig. 5 is a schematic flow chart of a terminal device scanning a pairing code in an embodiment of the present application;
fig. 6 is a flowchart of pairing distribution network equipment information according to a first preset range in the embodiment of the present application;
fig. 7 is a flowchart of determining pairing failure according to a first pairing duration in the embodiment of the application;
fig. 8 is a flowchart of refreshing a first pairing duration according to added configuration network device information in an embodiment of the present application;
fig. 9 is a flowchart of pairing distribution network equipment information according to a second preset range in the embodiment of the present application;
Fig. 10 is a flowchart of pairing according to the feedback information of the distribution network in the embodiment of the application.
Detailed Description
For purposes of clarity and implementation of the present application, the following description will make clear and complete descriptions of exemplary implementations of the present application with reference to the accompanying drawings in which exemplary implementations of the present application are illustrated, it being apparent that the exemplary implementations described are only some, but not all, of the examples of the present application.
It should be noted that the brief description of the terms in the present application is only for convenience in understanding the embodiments described below, and is not intended to limit the embodiments of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms "first," second, "" third and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar or similar objects or entities and not necessarily for limiting a particular order or sequence, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements explicitly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The terminal device provided in the embodiment of the application may have various implementation forms, for example, may be a television, a laser projection device, a display (monitor), an electronic whiteboard (electronic bulletin board), an electronic desktop (electronic table), and the like.
Fig. 1 is a schematic diagram of an operation scenario between a terminal device and a control apparatus according to an embodiment. As shown in fig. 1, a user may operate the electronic apparatus 200 through the terminal apparatus 300 or the control device 100.
In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the electronic device 200 includes infrared protocol communication or bluetooth protocol communication, and other short-range communication modes, and the electronic device 200 is controlled by a wireless or wired mode. The user may control the electronic device 200 by inputting user instructions through keys on a remote control, voice input, control panel input, etc.
In some embodiments, terminal device 300 (e.g., mobile phone, tablet, computer, notebook, etc.) may also be used to control electronic device 200. For example, the electronic device 200 is controlled using an application running on the terminal device 300.
In some embodiments, the electronic apparatus 200 may receive the instruction not using the terminal apparatus 300 or the control device 100 described above, but by touching or gesture or the like.
In some embodiments, the electronic device 200 may also perform control in a manner other than the control apparatus 100 and the terminal device 300, for example, the voice command control of the user may be directly received through a module configured inside the electronic device 200 device for acquiring a voice command, or the voice command control of the user may be received through a voice terminal device set outside the electronic device 200 device.
In some embodiments, the electronic device 200 is also in data communication with a server 400. Electronic device 200 may be permitted to communicate over a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various content and interactions to the electronic device 200. The server 400 may be a cluster, or may be multiple clusters, and may include one or more types of servers.
As shown in fig. 2, the electronic apparatus 200 may include at least one of a modem 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.
In some embodiments, the controller 250 may include a processor, a video processor, an audio processor, a graphic processor, a RAM, a ROM, and first to nth interfaces for input/output.
Display 260 may include the following components, namely: a display screen assembly for presenting a picture; a driving assembly driving the image display; a component for receiving an image signal outputted from the controller 250, performing display of video content, image content, and a menu manipulation interface, a component for manipulating a UI interface by a user, and the like.
The display 260 may be a liquid crystal display, an OLED display, a projection device, or a projection screen.
The communicator 220 is a component for communicating with an external device or server 400 according to various communication protocol types. For example: the communicator may include at least one of a Wifi module, a bluetooth module, a wired ethernet module, or other network communication protocol chip or a near field communication protocol chip, and an infrared receiver. The electronic apparatus 200 may establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220.
A user interface, which may be used to receive control signals from the control device 100 (e.g., an infrared remote control, etc.).
The detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for capturing the intensity of ambient light; alternatively, the detector 230 includes an image collector, such as a camera, which may be used to collect external environmental scenes, attributes of a user, or user interaction gestures, or alternatively, the detector 230 includes a sound collector, such as a microphone, which is used to receive external sounds or sound instructions from a user.
The external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, etc. The input/output interface may be a composite input/output interface formed by a plurality of interfaces.
The modem 210 receives broadcast television signals through a wired or wireless reception manner, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals. In some embodiments, the controller 250 and the modem 210 may be located in separate devices, i.e., the modem 210 may also be located in an external device to the main device in which the controller 250 is located, such as an external set-top box or the like.
The controller 250 controls the operation of the terminal device 300 and responds to the user's operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the electronic device 200. For example: in response to receiving a user command to select a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments, the controller 250 includes at least one of a central processing unit (Central Processing Unit, CPU), a video processor, an audio processor, a graphics processor (Graphics Processing Unit, GPU), RAM (Random Access Memory, RAM), ROM (Read-Only Memory, ROM), a first interface to an nth interface for input/output, a communication Bus (Bus), and the like.
The user may input a user command through a Graphical User Interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through the sensor to receive the user input command.
The user interface is a media interface for interaction and exchange of information between an application or operating system and a user, which enables conversion between an internal form of information and a form acceptable to the user. A commonly used presentation form of the user interface is a graphical user interface (Graphic User Interface, GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
In some embodiments, the system is divided into four layers, from top to bottom, an application layer (application layer), an application framework layer (Application Framework layer), an Android run layer and a system library layer (system runtime layer), and a kernel layer.
The framework layer provides an application programming interface (application programming interface, API) and programming framework for the application. The application framework layer includes a number of predefined functions. The application framework layer corresponds to a processing center that decides to let the applications in the application layer act. Through the API interface, the application program can access the resources in the system and acquire the services of the system in the execution.
In some embodiments, the electronic device 200 may integrate a Matter application in the application layer, which may assist the electronic device 200 in establishing an interactive connection with the Matter device, thereby enabling the electronic device 200 to perform home control on the Matter device according to the Matter protocol. The Matter protocol is an open-source intelligent home connection protocol, supports interconnection between intelligent home equipment and a control platform, and can control the running state of the intelligent home equipment through the control platform. In this embodiment, the electronic device 200 may be installed indoors, so as to perform control on the water devices in the same area according to the control instruction sent by the user as the control end.
The Matter device is an intelligent home hardware product with the Matter protocol function, and the electronic device 200 can be used as a control end of the intelligent home hardware product and is controlled by the electronic device 200. The Matter device may be a home device in the same area as the electronic device 200, such as a light bulb, a switch, a sensor, a thermostat, a shutter motor, a door lock, a bridge device, a media player device, and the like. The water device can be provided with a sensor or a sensor switch and the like to control the starting operation of the water device.
In some embodiments, the electronic device 200 may be wirelessly connected to the Matter device to perform control of the Matter device by remote communication, for example, a user sends voice instructions to the electronic device 200: "please turn on the bedroom lamp", the controller 250 of the electronic device 200 can convert the voice command into a control command and send the control command to the bedroom lamp through the wireless connection channel to turn on the bedroom lamp.
In the above embodiment, the electronic device 200 needs to send the control command to the sensor of the water device through the wireless network, and the sensor starts the water device or shuts down the water device according to the control command. For this reason, the Matter distribution network needs to be performed on the Matter device before the electronic device 200 controls the Matter device to operate.
In some embodiments, the electronic device 200 may perform the network distribution on the Matter device through wireless communication, for example, start a bluetooth module of the electronic device 200, and search for a device to be network-distributed to complete the pairing connection to complete the network distribution. The electronic device 200 may also be provided with an image acquisition interface and connected to a camera through the image acquisition interface, through which scanning is performed on the authentication code on the Matter device. The authentication code contains a network signal for establishing a distribution network connection with the Matter device, so that the pairing connection of the electronic device 200 and the Matter device is completed, and the control end distributes the network to the Matter device.
However, due to different structural designs of the home, the electronic device 200 may be spaced apart from the Matter device to be networked. When the electronic device 200 is far away from the Matter device, bluetooth of the Matter device cannot be connected, and because the occupied space of the electronic device 200 is large, two-dimensional codes on the Matter device cannot be conveniently scanned, so that network interaction between the control end of the electronic device 200 and the Matter device is inconvenient.
In order to solve the problem of difficult network interaction between the control end and the Matter device, some embodiments of the present application provide an electronic device 200, where the electronic device 200 includes a first communication interface and a second communication interface, where the first communication interface is used to establish a first communication connection with the terminal device 300, and the second communication interface is used to establish a second communication connection with a device to be networked.
The first communication connection may be established through a WiFi connection or the same hotspot network. The terminal device 300 may be a mobile device such as a smart phone, a smart watch, etc., so that after the electronic device 200 is connected to the terminal device 300, the terminal device 300 scans the authentication code of the device to be configured.
In some embodiments, the electronic device 200 and the terminal device 300 may have an application program installed thereon for the Matter connection, and the electronic device 200 and the terminal device 300 may simultaneously start the application program to establish the first communication channel through the pairing of identity information. In this embodiment, in order to ensure that the network environment of the first communication channel is stable, the electronic device 200 may be in the same network environment as the terminal device 300.
As shown in fig. 3, the electronic device 200 further comprises a controller 250, the controller 250 being configured to perform the following method:
s100: and responding to the network distribution instruction input by the user, and transmitting the equipment information of the equipment to be distributed to the terminal equipment.
In some embodiments, a user may input a network configuration instruction to the electronic device 200 through various input modes such as voice, gestures, touch pad, remote controller, etc., where the network configuration instruction may include device information of a device to be configured, where the device information includes information such as a device name, a device model number, a device installation location, and a device preparation state. As shown in fig. 4, when the user inputs a network allocation command "please turn on the lamp of the master bedroom" to the electronic device 200 by voice, the controller 250 performs voice recognition on the network allocation command, so as to obtain that the to-be-allocated network device is located in the master bedroom, the device type is "lamp", and the to-be-allocated network information is sent to the terminal device 300 through the first communication channel.
One or more devices with a Matter protocol function may be included in the periphery of the electronic device 200, where the to-be-networked device is the Matter device specified in the network deployment instruction.
In some embodiments, before receiving the network allocation instruction, the controller 250 may also establish a communication connection with a power system in an area where the electronic device 200 is located, where the area may be a home, an office area, a home booth area, or the like. The controller 250 may determine a ready state of the network device to be configured according to the device information of the network device to be configured, for example, an electric quantity of the network device to be configured, whether the network device to be configured has a fault, and the like, through the power system, and send the device information to the terminal device 300 according to the ready state.
S200: and acquiring authentication code information through the first communication channel.
Wherein the authentication code information is generated by the terminal device 300 scanning the pairing code corresponding to the device information. After the terminal device 300 obtains the device information of the to-be-configured network device sent by the electronic device 200, the user may start the camera of the terminal device 300 and call the scanning frame to perform scanning on the pairing code of the to-be-configured network device through the terminal device 300.
The terminal device 300 may display device information of the to-be-configured network device on a display of the terminal device 300 through an application program for the Matter connection, so as to prompt a user to hold the terminal device 300 close to the to-be-configured network device, scan a pairing code on the to-be-configured network device through the terminal device 300, and the terminal device 300 may parse the pairing code, thereby obtaining authentication code information. The authentication code information is the authentication information of the equipment to be distributed, and each Matter equipment has unique authentication code information for identifying the corresponding Matter equipment.
The terminal device 300 may return the authentication code information to the electronic device 200 through the first communication channel so that the controller 250 searches for the network device to be provisioned according to the authentication code information.
In some embodiments, as shown in fig. 5, the controller 250 may send the device information of the to-be-configured network device to the terminal device 300, and may also send a code scanning instruction to the terminal device 300 through the first communication channel, where after receiving the device information of the to-be-configured network device and the code scanning instruction, the terminal device 300 may establish a code scanning task according to the device information, so as to prompt a user to complete scanning of a pairing code corresponding to the device information through the terminal device 300. After generating the code scanning task, the controller 250 may send a prompt message to the terminal device 300 at a first time interval to prompt the user to complete the scanning task through the terminal device 300 as soon as possible, and after the terminal device 300 completes scanning, the code scanning task may be checked.
In some embodiments, in order to prevent the non-network distribution device from executing network distribution on the network device to be distributed, the pairing code may further set a decoding key, after the terminal device 300 scans the pairing code, scan code information obtained by scanning the pairing code may be obtained, and perform decoding operation on the scan code information through the pre-stored decoding key, so as to obtain information of the authentication code, thereby improving security of the network device to be distributed.
In some embodiments, the terminal device 300 may convert the pairing code into a digital signal through an optical recognition technology and extract the authentication code information from the digital signal, in which the terminal device 300 may acquire the pairing code through the image acquisition interface and recognize the type of the pairing code, for example, the pairing code is a two-dimensional code or a bar code, and then recognize the shape of the pairing code and black-and-white bars and the like in the pairing code through an image processing recognition algorithm, so as to convert the pairing code into the digital signal according to the positions of the black-and-white bars to extract the authentication code information.
S300: and executing wireless communication scanning on the distribution network equipment within a first preset range according to the identification code information.
After the electronic device 200 receives the authentication code information, the controller 250 needs to search the to-be-configured network device according to the authentication code information, so as to establish a second communication channel with the to-be-configured network device through the second communication interface, thereby completing the configuration of the to-be-configured network device. In this embodiment, the controller 250 may perform scanning on the network device by means of wireless communication.
In some embodiments, the wireless communication may include bluetooth module, infrared scanning, radio or electromagnetic wave technologies, but different wireless communication technologies have different coverage scanning ranges, so the controller 250 may perform wireless communication scanning on the network device within a first preset range, where the first preset range is a coverage range of a communication mode with the largest wireless communication coverage range.
Because the scanning ranges covered by different wireless communication technologies are different, for the network distribution devices with the distance from the electronic device 200 smaller than the first distance, the scanning can be performed by using infrared scanning, electromagnetic wave and other technologies, for the network distribution devices with the distance from the electronic device 200 larger than the first distance, the scanning can be performed by using wireless communication technologies such as a bluetooth module, a radio and the like, and pairing can be performed on the network distribution devices around the electronic device 200 one by one through the scanning, so that the network distribution device to be matched is determined.
It should be noted that, the network devices are all the Matter devices, the Matter devices are provided with a communication device for being scanned by the electronic device 200, and when the Matter devices are in a working state or a standby state, the communication device may continuously send a communication signal to the outside, so that the electronic device 200 can perform scanning pairing on the communication signal.
In some embodiments, the controller 250 may detect the wireless communication operation state of the electronic device 200 according to the authentication code information transmitted by the terminal device 300, and if the wireless communication operation state is an inactive state, the controller 250 may switch the wireless communication operation state to an active state.
When the controller 250 detects that the wireless communication operation state is the start state, it starts to perform wireless communication scanning on the distribution network devices within the first preset range, and acquires the distribution network device information of the scanned distribution network device. In order to screen the network device to be paired among the network devices, the controller 250 may perform pairing on the network information through the authentication code information.
In order to facilitate pairing, as shown in fig. 6, the controller 250 may generate an equipment information table according to the scanned network allocation equipment information, when the first network allocation equipment information appears in the equipment information table, the controller 250 may start to perform pairing through the authentication code information, and in the pairing process, the controller 250 continuously performs wireless communication scanning on the network allocation equipment around the electronic equipment 200, and adds the network allocation equipment information to the equipment information table one by one, so as to save the time used for pairing and improve the network allocation efficiency.
The network distribution equipment information may include authentication code information of the network distribution equipment, and the controller 250 may compare the authentication code information of the network distribution equipment to be matched with authentication code information of other network distribution equipment, and if the authentication code information of the other network distribution equipment is the same as the authentication code information of the network distribution equipment to be matched, the pairing is successful.
In some embodiments, the controller 250 may record a first pairing duration of the electronic device 200 when the electronic device 200 performs a wireless communication device scan on the network device, and the controller 250 may pair the network device information according to the authentication code information within the first pairing duration.
In order to determine whether the electronic device 200 is a pairing failure, in this embodiment, as shown in fig. 7, a first time threshold may be set to assist in determining the pairing result. When the first pairing period exceeds the first time threshold, it is indicated that the controller 250 is not paired to a distribution network device having the same authentication code information within the first time threshold.
In some embodiments, since the controller 250 is also performing scanning on the network device and adding network device information during pairing, the first pairing period further includes a waiting period for the controller 250 to scan. For this, as shown in fig. 8, the controller 250 may also start recording the first pairing time period when the newly added network device information is paired, and re-perform timing of the first pairing time period when the network device information is newly added.
S400: and if the first scanning result is generated, establishing a second communication channel with the equipment to be distributed, and executing distribution network on the equipment to be distributed through the second communication channel.
When the controller 250 generates the first scan result, it is indicated that the network device information of the network device to be configured is obtained by scanning within the scan range of the electronic device 200, so the controller 250 may directly establish a second communication channel with the network device to be configured, where the wireless communication manner of the second communication channel and the first communication channel may be different, for example, the first communication channel is a wireless network connection, and the second communication channel is a bluetooth communication connection. After the controller 250 establishes the second communication channel with the to-be-configured network device, the to-be-configured network device may perform the network configuration through the second communication channel.
In some embodiments, the electronic device 200 may also acquire the authentication code information by inputting the authentication code, and the user may control the electronic device 200 to display an authentication code input box through the control apparatus 100 and input the authentication code information through a keyboard on the control apparatus 100 to cause the electronic device 200 to acquire the authentication code information.
When the controller 250 does not generate the first scan result, it indicates that the electronic device 200 fails to pair the network device to be configured, and at this time, the controller 250 generates the second scan result.
The second scan result is used to indicate that the electronic device 200 does not scan other network devices paired with the network device to be configured, and indicates that none of the other network devices located around the electronic device 200 are network devices to be configured. In some embodiments, to expand the scanning range of searching for the network device to be configured, after generating the second scanning result, the controller 250 may send the second scanning result to the terminal device 300, and after receiving the second scanning result, the terminal device 300 may start the wireless communication operation module of the terminal device 300, for example, start the bluetooth module of the terminal device 300, or the like.
When the terminal device 300 starts the bluetooth module, the terminal device 300 also has the capability of scanning the network distribution device, and at this time, the terminal device 300 can scan other network distribution devices in the second preset area through bluetooth communication, and acquire device information of the network distribution devices. The second preset area is the maximum wireless communication scanning coverage of the terminal device 300.
In some embodiments, the controller 250 may further generate a terminal scan instruction according to the second scan result, where the terminal scan instruction is used to instruct the terminal device 300 to start the wireless communication operation module, and the controller 250 may send the terminal scan instruction to the terminal device 300. The terminal device 300 starts the wireless communication operation module in response to the terminal scanning instruction, and starts to perform wireless communication scanning on the coverage area where the terminal device 300 is located.
Since the terminal device 300 is spaced from the electronic device 200 by a certain distance, the terminal device 300 can scan a range which is not scanned by the electronic device 200, so that a range of scanning the to-be-networked device is enlarged, and therefore, as shown in fig. 9, the terminal device 300 can acquire the networked device information outside the scanning range of the electronic device 200, and return the networked device information to the electronic device 200 as the networked feedback information corresponding to the terminal scanning instruction.
The controller 250, upon receiving the device information transmitted from the terminal device 300, may continue to add the device information transmitted from the terminal device 300 on the basis of the original device information table and continue to perform pairing on the device information.
In some embodiments, the first preset range and the second preset range may have overlapping scan areas, and when there is a network device in the overlapping scan areas, for convenience of description, the network device located in the overlapping scan areas is defined as an overlapping device in this embodiment. Both the electronic device 200 and the terminal device 300 can scan and acquire the network distribution device information of the overlapping device, thereby causing that the network distribution device information of the overlapping device is acquired for multiple times and reducing the network distribution efficiency.
For this purpose, as shown in fig. 10, after receiving the distribution network feedback information, the controller 250 may perform screening on the distribution network feedback information according to the distribution network device information in the device information table, where the distribution network feedback information may include one or more pieces of distribution network device information, and the controller 250 may acquire the distribution network device information in the current device information table and traverse the distribution network feedback information according to the distribution network device information in the current device information table. If the distribution network feedback information includes the existing distribution network device information in the device information table, it indicates that the distribution network device corresponding to the distribution network device information is a composite device, at this time, the controller 250 reserves the distribution network device information in the device information table, and deletes the distribution network device information of the composite device in the distribution network feedback information.
After screening, the controller 250 adds the distribution network equipment information which is not the overlapping equipment in the distribution network feedback information to the equipment information table, and meanwhile, the controller 250 performs pairing on the distribution network equipment information in the distribution network feedback information according to the identification code information, when the distribution network equipment information in the distribution network feedback information has the distribution network equipment information which is successfully paired, the controller 250 can mark the distribution network equipment corresponding to the distribution network equipment information which is successfully paired as the equipment to be distributed.
In some embodiments, the pairing may also be performed on the distribution network feedback information by the terminal device 300, and since the terminal device 300 has already performed scanning on the pairing code with the distribution network device, the terminal device 300 also includes the authentication code information, and for this purpose, the terminal device 300 may also perform the above-mentioned step of screening the distribution network feedback information for the overlapping device, and perform pairing on the distribution network device information in the distribution network feedback information by using the authentication code information.
After the terminal device 300 successfully pairs the network device information through the authentication code information, the controller 250 may send a network allocation instruction to the terminal device 300, so that the terminal device 300 establishes a wireless communication connection with the network device to be allocated, where the wireless communication connection may include a bluetooth communication connection. The terminal device 300 has already started the bluetooth communication module when scanning the network device information, and for this purpose, the terminal device 300 can directly send a bluetooth connection request to the network device to be configured, and wait for the network device to be configured to respond to the bluetooth connection request.
After receiving the bluetooth connection request, the network device to be configured can automatically determine the connection state of the network device to be configured, if the network device to be configured is establishing bluetooth communication connection with other devices, bluetooth communication connection cannot be established with the terminal device 300, at this time, the network device to be configured can feed back busy information to the terminal device 300, where the busy information is used to indicate that the network device to be configured is being connected with other devices, and the bluetooth communication connection is in a busy state. The busy information may further include device information of a device that is being connected to the device to be configured, a duration of establishing connection, etc., so that a user may obtain a current state of the device to be configured.
In some embodiments, since the volume of the terminal device 300 is small relative to the electronic device 200, the user may hold the terminal device 300 and move, and after the controller 250 generates the second scan result, the movement information may be sent to the terminal device 300 through the first communication channel, where the movement information may be displayed on the display of the terminal device 300, so as to prompt the user to move the terminal device 300 toward the network device to be paired with the network device to be paired.
In some embodiments, the controller 250 may further obtain, through the first communication channel, location information of the terminal device 300, and a distance between the terminal device 300 and the network device to be configured, where in the above process, the terminal device 300 may send a GPS location request to the server 400 to obtain location information of the terminal device 300 fed back by the server 400, and send the location information to the controller 250. The controller 250 may generate corresponding movement information according to the location information of the terminal device 300 and the location of the network device to be configured, so as to guide the user to move the terminal device 300 according to the corresponding movement information.
In some embodiments, the scanning range of the terminal device 300 may also change along with the movement of the terminal device 300 during the process of the mobile terminal device 300, so the controller 250 may generate a movement track of the terminal device 300 according to the positioning information of the terminal device 300 fed back by the server 400, and define a second preset range according to the movement track, where the second preset range is the maximum range scanned when the scanning coverage of the terminal device 300 moves according to the movement track. The controller 250 may control the terminal device 300 to obtain the distribution network device information within the second preset range according to the authentication code information.
In some embodiments, the controller 250 may also perform timing on the pairing time of the terminal device 300, record a second pairing time of the terminal device 300 through the first communication channel, and set a second time threshold to determine the pairing situation of the terminal device 300 because the device model of the terminal device 300 is different from the electronic device 200, when the second pairing time exceeds the second time threshold, it indicates that the terminal device 300 does not reach pairing with a network device within a second preset range, at this time, the terminal device 300 may generate a prompt message, where the prompt message is used to prompt that the terminal device 300 fails to pair within the second time threshold, and the content of the prompt message may be in a text or voice form, for example, "fails to pair, please retry later-! The terminal device 300 may send the prompt information to the electronic device 200 after generating the prompt information, and the electronic device 200 may re-execute pairing according to the prompt information after receiving the prompt information.
In some embodiments, the present application provides a terminal device 300, the terminal device 300 comprising a display, a communicator for establishing a first communication channel with an electronic device 200, and a processor configured to:
And receiving equipment information of equipment to be distributed, which is sent by the electronic equipment 200 through the first communication channel, in response to a network distribution instruction input by a user, wherein the terminal equipment 300 and the electronic equipment 200 are in the same network environment.
And sending authentication code information to the electronic equipment 200 through the first communication channel, so that the electronic equipment 200 performs wireless communication scanning on the network equipment within a first preset range according to the authentication code information, the authentication code information is generated according to a pairing code corresponding to the equipment information, when the electronic equipment 200 generates a first scanning result, the electronic equipment 200 establishes a second communication channel with the network equipment to be distributed, and performs network distribution on the network equipment to be distributed through the second communication channel.
It may be appreciated that, in some embodiments, after receiving the device information sent by the network device to be configured, the terminal device 300 may send the device information to the electronic device 200, and the user may use a keyboard key or a touch function set by the terminal device 300. The processor can monitor a key event or a touch event of a user and generate a corresponding distribution network instruction according to the key event or the touch event. The processor can respond to the network allocation instruction and control the display of the terminal equipment 300 to display the scanning frame, at this time, the user can manually adjust the position and angle of the terminal equipment 300, so that the scanning frame is aligned to the pairing code, and the accuracy of identifying the pairing code by the terminal equipment 300 is improved.
In some embodiments, the terminal device 300 may also receive a network allocation instruction sent by the electronic device 200, and the processor may respond to the network allocation instruction and perform the above-described method steps.
In some embodiments, the terminal device 300 may send a GPS positioning request to the server 400 to obtain positioning information of the terminal device 300 fed back by the server 400, and send the positioning information to the controller 250. The controller 250 may generate corresponding movement information according to the location information of the terminal device 300 and the location of the network device to be configured, so as to guide the user to move the terminal device 300 according to the corresponding movement information.
Some embodiments of the present application further provide a server 400, including a communication module and a processing module, where the communication module is configured to establish a communication connection with a terminal device 300, and the processing module is configured to:
and receiving the equipment information of the equipment to be distributed, which is sent by the electronic equipment 200, wherein the terminal equipment 300 and the electronic equipment 200 are in the same network environment.
The device information is sent to the terminal device 300.
And acquiring authentication code information returned by the terminal equipment 300, wherein the authentication code information is obtained by scanning a pairing code corresponding to the equipment information by the terminal equipment 300.
The authentication code is sent to the electronic device 200, so that the electronic device 200 performs wireless communication scanning on the network distribution device within a first preset range according to the authentication code information, and when the electronic device 200 generates a first scanning result, the electronic device 200 establishes a second communication channel with the network distribution device to be connected, and performs network distribution operation on the network distribution device to be connected through the second communication channel.
It may be appreciated that the electronic device 200 may perform the step of acquiring the information of the network distribution device from the network distribution device to the terminal device 300 through the server 400, and in this embodiment, the terminal device 300 and the electronic device 200 may not establish the first communication channel with each other, and only perform the interaction through the server 400.
Some embodiments of the present application further provide a device network allocation method, where the method includes:
s100: and responding to the network distribution instruction input by the user, and transmitting the equipment information of the equipment to be distributed to the terminal equipment.
The terminal equipment and the electronic equipment are in the same network environment.
S200: and acquiring authentication code information through the first communication channel.
The authentication code information is generated by the terminal equipment scanning the pairing code corresponding to the equipment information.
S300: and executing wireless communication scanning on the distribution network equipment within a first preset range according to the identification code information.
S400: and if the first scanning result is generated, establishing a second communication channel with the equipment to be distributed, and executing distribution network on the equipment to be distributed through the second communication channel.
According to the technical scheme, the electronic equipment, the terminal equipment and the equipment network distribution method are provided, equipment information of equipment to be distributed is sent to the terminal equipment through responding to a network distribution instruction input by a user, authentication code information generated by a pairing code corresponding to equipment information of scanning equipment of the terminal equipment is acquired through a first communication channel, wireless communication scanning is carried out on the network distribution equipment in a first preset range according to the authentication code information, and therefore when a first scanning result is generated, a second communication channel is established with the equipment to be distributed, and network distribution of the equipment to be distributed is completed. The method and the device are connected with the terminal equipment through the electronic equipment, and the code scanning is carried out on the network equipment to be distributed through the terminal equipment, so that the identification code information of the network equipment to be distributed is scanned in the wireless communication range of the electronic equipment, the connection between the electronic equipment and the network equipment to be distributed is convenient, and the network distribution efficiency between the electronic equipment and the network equipment to be distributed is improved.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, in essence or contributing to the prior art.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; the foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the present disclosure and to enable others skilled in the art to best utilize the embodiments.

Claims (10)

1. An electronic device, comprising:
a first communication interface configured to establish a first communication channel with a terminal device;
the second communication interface is configured to establish a second communication channel with the network equipment to be configured;
A controller configured to:
responding to a network distribution instruction input by a user, and transmitting equipment information of equipment to be distributed to terminal equipment, wherein the terminal equipment and the electronic equipment are in the same network environment;
acquiring authentication code information through the first communication channel, wherein the authentication code information is generated by scanning a pairing code corresponding to the equipment information by the terminal equipment;
performing wireless communication scanning on the distribution network equipment within a first preset range according to the identification code information;
and if the first scanning result is generated, establishing a second communication channel with the equipment to be distributed, and executing distribution network on the equipment to be distributed through the second communication channel.
2. The electronic device of claim 1, wherein the controller executing the acquisition of the authentication code information over the first communication channel is configured to:
sending a scanning instruction to the terminal equipment through the first communication channel;
acquiring code scanning information obtained by the terminal equipment by scanning the pairing code;
and performing decoding operation on the code scanning information to acquire the identification code information.
3. The electronic device of claim 1, wherein the controller performing wireless communication scanning for distribution network devices within a first predetermined range according to the authentication code information is configured to:
Switching the wireless communication running state of the electronic equipment to a starting state according to the identification code information;
performing wireless communication scanning on the distribution network equipment in a first preset range to acquire distribution network equipment information;
pairing the distribution network equipment information according to the authentication code information;
and if the matched network equipment information is successful, generating the first scanning result, and marking the network equipment corresponding to the network equipment information as the network equipment to be matched.
4. The electronic device of claim 3, wherein the controller is further configured to:
recording a first pairing time length of the electronic equipment;
if the first pairing duration exceeds a first time threshold and the first scanning result is not generated, generating a second scanning result;
switching the wireless communication running state of the terminal equipment to a starting state according to the second scanning result;
and executing wireless communication scanning on the distribution network equipment in the second preset range through the terminal equipment.
5. The electronic device of claim 4, wherein the controller performs wireless communication scanning for a second preset range of distribution network devices by the terminal device, and is configured to:
Sending a terminal scanning instruction to the terminal equipment according to the second scanning result;
acquiring distribution network feedback information sent by the terminal equipment, wherein the distribution network feedback information is distribution network equipment information acquired in the second preset range by the terminal equipment after responding to the terminal scanning instruction;
if the distribution network equipment information successfully matched exists in the distribution network feedback information, marking the distribution network equipment corresponding to the distribution network equipment information as equipment to be distributed;
and sending a network allocation instruction to the terminal equipment, wherein the network allocation instruction is used for indicating the terminal equipment to establish wireless communication connection with the equipment to be allocated.
6. The electronic device of claim 5, wherein the controller executing obtaining the distribution network feedback information sent by the terminal device is configured to:
acquiring a moving track of the terminal equipment;
defining the second preset range according to the moving track;
and acquiring the distribution network equipment information in the second preset range through the terminal equipment according to the authentication code information.
7. The electronic device of claim 5, wherein the controller is further configured to:
Recording a second pairing time length of the terminal equipment through the first communication channel;
and if the second pairing time length exceeds a second time threshold value, acquiring prompt information of search failure generated by the terminal equipment.
8. A terminal device, comprising:
a display;
a communicator configured to establish a first communication channel with an electronic device;
a processor configured to:
receiving equipment information of equipment to be distributed, which is sent by the electronic equipment through the first communication channel, in response to a network distribution instruction input by a user, wherein the terminal equipment and the electronic equipment are in the same network environment;
and sending authentication code information to the electronic equipment through the first communication channel so that the electronic equipment can execute wireless communication scanning on the network distribution equipment in a first preset range according to the authentication code information, the authentication code information is generated according to a pairing code corresponding to the equipment information, when the electronic equipment generates a first scanning result, the electronic equipment establishes a second communication channel with the network distribution equipment to be distributed, and executes network distribution on the network distribution equipment to be distributed through the second communication channel.
9. A server, comprising:
a communication module configured to establish a communication connection with a terminal device;
a processing module configured to:
receiving equipment information of equipment to be distributed, which is sent by electronic equipment, wherein the terminal equipment and the electronic equipment are in the same network environment;
transmitting the device information to the terminal device;
acquiring authentication code information returned by the terminal equipment, wherein the authentication code information is obtained by scanning a pairing code corresponding to the equipment information by the terminal equipment;
and sending the authentication code to the electronic equipment so that the electronic equipment can execute wireless communication scanning on the network distribution equipment within a first preset range according to the authentication code information, and when the electronic equipment generates a first scanning result, establishing a second communication channel between the electronic equipment and the network distribution equipment to be distributed, and executing network distribution operation on the network distribution equipment to be distributed through the second communication channel.
10. A device networking method, applied to an electronic device, the electronic device including a first communication interface, a second communication interface, and a controller, where the first communication interface is configured to establish a first communication channel with a terminal device, and the second communication interface is configured to establish a second communication channel with a device to be networked, the method includes:
Responding to a network distribution instruction input by a user, and transmitting equipment information of equipment to be distributed to terminal equipment, wherein the terminal equipment and the electronic equipment are in the same network environment;
acquiring authentication code information through the first communication channel, wherein the authentication code information is generated by scanning a pairing code corresponding to the equipment information by the terminal equipment;
performing wireless communication scanning on the distribution network equipment within a first preset range according to the identification code information;
and if the first scanning result is generated, establishing a second communication channel with the equipment to be distributed, and executing distribution network on the equipment to be distributed through the second communication channel.
CN202311016639.4A 2023-08-14 2023-08-14 Electronic equipment, terminal equipment and equipment network distribution method Pending CN117614758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311016639.4A CN117614758A (en) 2023-08-14 2023-08-14 Electronic equipment, terminal equipment and equipment network distribution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311016639.4A CN117614758A (en) 2023-08-14 2023-08-14 Electronic equipment, terminal equipment and equipment network distribution method

Publications (1)

Publication Number Publication Date
CN117614758A true CN117614758A (en) 2024-02-27

Family

ID=89954827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311016639.4A Pending CN117614758A (en) 2023-08-14 2023-08-14 Electronic equipment, terminal equipment and equipment network distribution method

Country Status (1)

Country Link
CN (1) CN117614758A (en)

Similar Documents

Publication Publication Date Title
CN113766036B (en) Display equipment and information interaction method
CN111050199B (en) Display device and scheduling method of Bluetooth communication resources of display device
CN111752518A (en) Screen projection method of display equipment and display equipment
CN112055240B (en) Display device and operation prompt display method for pairing display device with remote controller
WO2021164177A1 (en) Method for playing media resource, display device, and mobile terminal
CN111277884A (en) Video playing method and device
US11671556B2 (en) Method of performing video call and display device
CN113784200B (en) Communication terminal, display device and screen projection connection method
CN112911380B (en) Display device and connection method with Bluetooth device
WO2020248924A1 (en) Display device, and method for scanning external bluetooth device
CN110958483A (en) Account synchronization method, device and system
CN111586463A (en) Display device
CN113784186B (en) Terminal device, server, and communication control method
CN117614758A (en) Electronic equipment, terminal equipment and equipment network distribution method
CN115278822A (en) Display apparatus, control apparatus, and broadcast source scanning method
CN111953838B (en) Call dialing method, display device and mobile terminal
CN115514998B (en) Display equipment and network media resource switching method
CN114785913B (en) Display device and device information processing method
CN114040341B (en) Bluetooth broadcast packet reporting processing method and display device
CN112087651B (en) Method for displaying inquiry information and smart television
CN117241346A (en) Wifi hotspot channel selection method and display device
CN117651088A (en) Control device, display device and account login method
CN117615188A (en) Display equipment, terminal and terminal control method
CN114007127A (en) Display device and multi-device distribution network retry method
CN116320564A (en) Display device, terminal device, and device control method

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