CN115996480B - Networking method, display equipment, internet of things equipment and networking system - Google Patents

Networking method, display equipment, internet of things equipment and networking system Download PDF

Info

Publication number
CN115996480B
CN115996480B CN202211668039.1A CN202211668039A CN115996480B CN 115996480 B CN115996480 B CN 115996480B CN 202211668039 A CN202211668039 A CN 202211668039A CN 115996480 B CN115996480 B CN 115996480B
Authority
CN
China
Prior art keywords
connection
equipment
working channel
iot
target working
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.)
Active
Application number
CN202211668039.1A
Other languages
Chinese (zh)
Other versions
CN115996480A (en
Inventor
张鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jimi Software Technology Co ltd
Original Assignee
Shenzhen Jimi Software Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jimi Software Technology Co ltd filed Critical Shenzhen Jimi Software Technology Co ltd
Priority to CN202211668039.1A priority Critical patent/CN115996480B/en
Publication of CN115996480A publication Critical patent/CN115996480A/en
Application granted granted Critical
Publication of CN115996480B publication Critical patent/CN115996480B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a networking method, a display device, an Internet of things device and a networking system, wherein the method comprises the following steps: acquiring a connection request of IOT equipment, wherein the connection request is used for requesting to establish P2P connection with display equipment; determining a connection state of the display device and a router in response to the connection request; determining a target working channel of the IOT device based on the connection status; and sending a response message to the IOT device, wherein the response message at least comprises the target working channel, so that the IOT device can switch to the target working channel to establish P2P connection with the display device.

Description

Networking method, display equipment, internet of things equipment and networking system
Technical Field
The application relates to the technical field of networking, and relates to a networking method, display equipment, internet of things equipment and a networking system.
Background
In the related technology, equipment interconnection is more and more common in life, interconnection means that information needs to be exchanged between equipment to form a network, video, audio and the like need to be transmitted in most scenes, and the requirement of high-capacity bandwidth data transmission cannot be met by a Bluetooth technology alone, so networking in the market is realized by combining Bluetooth and Wi-Fi technology, bluetooth transmits control connection information, and wireless local area network transmits audio and video high-capacity data; in addition, for using the hotspot networking, the name of an AP (Access Point) connected to the network, a password, an encryption mode, and the like need to be transmitted to another device to initiate the connection networking, so that the implementation complexity is high.
Disclosure of Invention
In view of the above, the embodiment of the application provides a networking method, a display device, an internet of things device and a networking system.
In a first aspect, an embodiment of the present application provides a networking method, applied to a display device, where the method includes: acquiring a connection request of IOT equipment, wherein the connection request is used for requesting to establish P2P connection with the display equipment; determining a connection state of the display device and a router in response to the connection request; determining a target working channel of the IOT device based on the connection status; and sending a response message to the IOT device, wherein the response message at least comprises the target working channel, so that the IOT device can switch to the target working channel to establish P2P connection with the display device.
In a second aspect, an embodiment of the present application provides a networking method, applied to an IOT device in the internet of things, where the method includes: sending a connection request to a display device, wherein the connection request is used for requesting to establish P2P connection with the display device, so that the display device can respond to the connection request to determine the connection state of the display device and a router; determining a target working channel of the IOT device based on the connection status; receiving a response message sent by the display device, wherein the response message at least comprises the target working channel; and switching to the target working channel and establishing P2P connection with the display equipment.
In a third aspect, an embodiment of the present application provides a display apparatus, including: the first acquisition module is used for acquiring a connection request of IOT equipment, wherein the connection request is used for requesting to establish P2P connection with the display equipment; the first determining module is used for responding to the connection request and determining the connection state of the display equipment and the router; a second determining module, configured to determine a target working channel of the IOT device based on the connection status; and the first sending module is used for sending a response message to the IOT equipment, wherein the response message at least comprises the target working channel so that the IOT equipment can be switched to the target working channel to establish P2P connection with the display equipment.
In a fourth aspect, an embodiment of the present application provides an internet of things device, including: the second sending module is used for sending a connection request to the display equipment, wherein the connection request is used for requesting to establish P2P connection with the display equipment so that the display equipment can respond to the connection request to determine the connection state of the display equipment and the router; determining a target working channel of the IOT device based on the connection status; the first receiving module is used for receiving a response message sent by the display equipment, wherein the response message at least comprises the target working channel; and the first connection module is used for switching to the target working channel and establishing P2P connection with the display equipment.
In a fifth aspect, an embodiment of the present application provides a networking system, where the system includes: IOT equipment, display equipment and a router; the IOT device is configured to send a connection request to the display device, where the connection request is used to request to establish a P2P connection with the display device; the display device is used for responding to the connection request and determining the connection state of the display device and the router; determining a target working channel of the IOT device based on the connection status; transmitting a response message to the IOT device, wherein the response message at least comprises the target working channel; and the IOT device is further configured to switch to the target working channel and establish P2P connection with the display device.
In the embodiment of the application, when the display equipment acquires the connection request of the Internet of things equipment, the connection state of the display equipment and the router can be determined, the target working channel of the IOT equipment is determined based on the connection state, and the target working channel is sent to the IOT equipment, so that the IOT equipment is switched to the target working channel to establish P2P connection with the display equipment, thereby adapting to networking requirements under different application environments (connected with the router or unconnected with the router), reducing the complexity of networking technology and improving the networking simplicity.
Drawings
FIG. 1 is a schematic flow chart of a networking method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of another networking method according to an embodiment of the present application;
FIG. 3a is a schematic diagram of a networking system according to an embodiment of the present application;
FIG. 3b is a schematic diagram of a networking system according to another embodiment of the present application;
FIG. 4 is a schematic flow chart of a networking method according to another embodiment of the present application;
FIG. 5 is a schematic flow chart of a networking method according to another embodiment of the present application;
fig. 6 is a schematic flow chart of a networking method according to an embodiment of the present application;
fig. 7 is a schematic flow chart of a networking method according to an embodiment of the present application;
fig. 8 is a schematic diagram of a composition structure of a display device according to an embodiment of the present application;
fig. 9 is a schematic diagram of a composition structure of an internet of things device according to an embodiment of the present application.
Detailed Description
The technical scheme of the application is further elaborated below with reference to the drawings and examples.
Fig. 1 is a schematic flow chart of a networking method of an embodiment of the present application, which is applied to a display device, as shown in fig. 1, and the method includes the following steps:
step 102: acquiring a connection request of IOT equipment, wherein the connection request is used for requesting to establish P2P connection with the display equipment;
The P2P connection is simply referred to as peer-to-peer (peer-to-peer connection), and Wi-Fi peer-to-peer is also called WIFI Direct (WIFI Direct), that is, devices in the wireless local area network may directly establish a connection with each other through a router, for example, an internet of things device in the wireless local area network may initiate a connection networking request to a display device in the wireless local area network; the connection request may also be referred to as a P2P request or a P2P request frame.
An internet of things (Internet of Things, IOT) device is a non-standard computing device that can be wirelessly connected to a network and has the capability to transmit data; the internet of things expands the connection range of the internet from standard equipment such as a desktop, a notebook computer, a smart phone, a tablet computer and the like to traditional physical equipment and daily articles which are not used for the internet or are not used for the internet in any range; these devices have embedded technology and can communicate and interact over the internet. They may also be monitored and controlled remotely; the internet of things device can comprise an intelligent television, an intelligent loudspeaker, an intelligent toy, a wearable device, an intelligent electric appliance, an intelligent lock, an intelligent thermostat, intelligent illumination, intelligent safety equipment, a screen throwing device and the like.
The display device may be a device that can output an image or tactile information (e.g., a braille display designed for the blind person), which may be a large screen device such as a projector device, a television, a projection television, etc.
Step 104: determining a connection state of the display device and a router in response to the connection request;
the connection state comprises connection and disconnection, wherein the connection indicates that the display device is connected with the router, and the disconnection indicates that the display device is disconnected with the router.
Step 106: determining a target working channel of the IOT device based on the connection status;
the channels are also called frequency bands, which are data signal transmission channels using wireless network signals as transmission media, and in the IEEE 802.11b/g network standard, the wireless network operates in the frequency band of 2.4-2.4835 Ghz, and these frequency bands can be divided into 11 or 13 channels.
Step 108: and sending a response message to the IOT device, wherein the response message at least comprises the target working channel, so that the IOT device can switch to the target working channel to establish P2P connection with the display device.
Wherein the response message may also be referred to as a P2P response or P2P response frame, the target working channel may be denoted as operation channel; after the equipment is successfully paired and networked through the Wi-Fi Direct, the equipment is called a P2P Group; in the "P2P Group" the devices have two roles: P2P Group Owner, commonly referred to as P2P GO device; P2P Group Client, commonly referred to as P2P GC devices; and when the GO and the GC roles are the earliest two paired devices connected, the GO and the GC roles are mutually negotiated and determined according to the respectively set request information.
In the embodiment of the application, when the display equipment acquires the connection request of the Internet of things equipment, the connection state of the display equipment and the router can be determined, the target working channel of the IOT equipment is determined based on the connection state, and the target working channel is sent to the IOT equipment, so that the IOT equipment is switched to the target working channel to establish P2P connection with the display equipment, thereby adapting to networking requirements under different application environments (connected with the router or unconnected with the router), reducing the complexity of networking technology and improving the networking simplicity.
In some embodiments, after step 104, the method further comprises the following steps 1051 and 1052:
step 1051: under the condition that the connection state is connection, determining a first duration and a second duration according to P2P gap configuration information;
step 1052: and in the first time period, communicating with the router, and in the second time period, monitoring the connection request of the IOT equipment.
If the large-screen device is connected to the router, the large-screen device can read the router broadcast message and conduct data communication with the router, and monitor Wi-Fi Direct requests of the IOT device while keeping the large-screen device connected with the router.
The P2P gap configuration information may be used to determine a first duration for the display device to communicate with the router and a second duration for the display device to monitor the IOT, and the P2P gap configuration information may include a gap period and a gap duration; the first duration may be determined based on the gap period and the second duration may be determined based on the gap period, e.g., the gap period may be determined as the first duration and the gap period may be determined as the second duration.
In the case that the display device is a large-screen device, the large-screen device may stop performing data communication with the router on a channel operated by the router every interval period, monitor a request frame (connection request) sent by the IOT device on a P2P channel (other channels, for example, channels other than 1, 6 and 11 channels), and resume data communication with the router after maintaining the monitoring duration period.
In the embodiment of the application, by setting the first time length and the second time length, the data communication with the router can be maintained, and the P2P networking can be performed with the IOT equipment by monitoring the connection request of the IOT equipment.
In some embodiments, the connection request includes a first operator identification and a first device type of the IOT device, and the method further comprises, prior to step 108:
Authenticating the IOT device based on the first operator identity and the first device type;
the operator identifier may be denoted as a Vendor ID, which is used to indicate an operator or Vendor to which the IOT device belongs, and the device type may be denoted as a device type, which is used to indicate a type to which the IOT device belongs, for example, may be a screen projector, a smart tv, or other types.
If the large-screen equipment receives the P2P request frame of the IOT equipment within the second time period, judging whether a first operator identifier and a first equipment type contained in the P2P request frame are matched with the operator identifier and the equipment type which are stored in the display equipment in advance and supported by the display equipment.
Step 108 includes: under the condition that the authentication of the IOT equipment is successful, a response message is sent to the IOT equipment;
if the first operator identifier is matched with a third operator identifier in the operator identifiers supported by the display device and the first device type is matched with a third device type in the device types supported by the display device, the display device can be considered to successfully authenticate the IOT device, and the large-screen device sends a P2P response frame to the IOT device.
And the response message further comprises a second operator identifier and a second equipment identifier of the display equipment, so that the IOT equipment is switched to the target working channel to establish P2P connection with the display equipment under the condition that the authentication of the display equipment is successful based on the second operator identifier and the second equipment identifier.
The IOT device may further authenticate the display device through a second operator identifier and a second device identifier of the display device, after receiving a P2P response frame replied by the display device, the IOT device reads the second operator identifier and the second device type contained in the P2P response frame, determines whether the second operator identifier and the second device type are matched with the operator identifier and the device type supported by the IOT device stored in the display device in advance, and considers that the IOT device successfully authenticates the display device when the second operator identifier and the second device type are matched with the operator identifier and the device type supported by the IOT device, and performs data communication with the large-screen device on a target working channel indicated by operation channel after finishing networking.
In the embodiment of the application, the state information of the IOT equipment and the display equipment is interacted through the connection request and the response message for authentication, and then the IOT equipment is informed to switch the working channel to complete networking, so that the networking safety can be improved.
In some embodiments, the connection request further includes a binding field, and after step 104, the method further includes:
step 110: determining, based on the binding field, whether the IOT device is bound to the display device;
the binding field may be expressed as a Bind status, and the binding field is used for determining whether the IOT device is networked or bound with the display device, where the binding field may include information of all large-screen devices bound with the IOT device; if the binding field indicates that the IOT device is not bound with the display device, ignoring the connection request of the IOT device, and if the binding field indicates that the IOT device is not bound with any device, binding the IOT device and the display device.
Step 112: and if the IOT equipment is bound with the display equipment, sending a back connection request to the IOT equipment based on the binding record between the IOT equipment and the display equipment.
In the embodiment of the application, the connection can be prevented from being preempted by other devices by determining whether the IOT device and the display device are bound or not, and the utilization rate of resources is improved.
In some embodiments, the connection request may further include a Hardware Status field of the IOT device, where the Hardware Status field may be expressed as a hard Status, and is used for sending an exception message when a Hardware module of an HDMI (high definition multimedia interface line), USB (universal serial bus interface), wiFi antenna, etc. of the IOT device is abnormal, and the display device displays an exception prompt.
In some embodiments, the response message further includes an IP address allocation manner, so that when the IP address allocation manner is static allocation, the IOT device uses the static allocated IP address to communicate with the display device.
The static IP address may be stored in an IP field in the P2P response frame, where the IP field is used for Group Owner address allocation of the display device, and the IP address allocation manner may include a dynamic manner and a static manner.
In the embodiment of the application, the static IP address is configured in such a way that the IOT equipment directly uses the static IP address so as to quickly networking.
In some embodiments, step 106 "determining a target operating channel for the IOT device based on the connection status" may include steps 162 and 164 of:
step 162: under the condition that the connection state is unconnected, determining the channel with the strongest anti-interference capability in a plurality of channels of the wireless local area network in the current environment as a target working channel;
step 164: and determining the working channel of the router as the target working channel under the condition that the connection state is connection.
In the embodiment of the application, the target working channel of the IOT equipment can be determined by using different methods according to different connection states, so that the method can adapt to networking requirements under different application environments (connected routers or unconnected routers), reduce the complexity of networking technology and improve the networking simplicity.
In some embodiments, prior to step 162, the method further comprises the following steps 160 and 161:
step 160: acquiring a received signal strength indication value and/or a bandwidth of each channel;
Step 161: and determining the channel with the strongest anti-interference capability from the plurality of channels based on the received signal strength indication value and/or the bandwidth of each channel.
When the large-screen equipment is not connected with the router, the optimal channel can be selected according to the current environment to improve the anti-interference capability, the received signal strength indication value can represent the anti-interference capability of the channel, and the smaller the received signal strength indication value of a certain channel is, the stronger the anti-interference capability of the channel is; the bandwidth can represent the interference degree of a certain channel to other channels, the smaller the bandwidth of the certain channel is, the smaller the interference of the channel to other channels is, the score of the corresponding channel can be determined according to the received signal strength indication value and/or the bandwidth of the channel, and the channel with the highest score is determined to be the channel with the strongest anti-interference capability based on the score of each channel; for example, the score of the corresponding channel may be determined according to the received signal strength indication value of the channel, and/or the score of the corresponding channel may be determined according to the bandwidth of the channel, and the score of the corresponding channel may be determined based on the total score and the total score of the channel; the smaller the received signal strength indication value is, the smaller the deduction score is, the smaller the bandwidth is, and the smaller the deduction score is for other adjacent channels.
In some embodiments, the optimal channel selection method may be as follows: the total score of each channel can be 100 points, the smaller the value of RSSI (received signal strength indicator ) signals is, the strongest anti-interference capability of the channel can be shown, 15 points are buckled when the RSSI is more than or equal to-30, 10 points are buckled when the RSSI is less than-30 and more than-40, 8 points are buckled when the RSSI is less than-40 and more than-50, 5 points are buckled when the RSSI is less than-60, and no points are buckled when the RSSI is less than-75; the frequency width of the channels is equal to 20 megabits (unit: M), the adjacent channels are respectively buckled for 5 minutes when the frequency width is equal to 40M, the adjacent channels are buckled for 5 minutes when the frequency width is equal to 80M, other overlapped channels are correspondingly buckled for 5 minutes, and the channel with the highest score can be determined to be the channel with the strongest anti-interference capability according to the final score of each channel.
In the embodiment of the application, the channel with the strongest anti-interference capability is determined from the channels based on the received signal strength indication value and/or the bandwidth of each channel, so that the optimal channel can be determined more accurately.
Fig. 2 is a flow chart of another networking method according to an embodiment of the present application, which is applied to an internet of things device, as shown in fig. 2, and the method includes the following steps:
Step 202: sending a connection request to a display device, wherein the connection request is used for requesting to establish P2P connection with the display device, so that the display device can respond to the connection request to determine the connection state of the display device and a router; determining a target working channel of the IOT device based on the connection status;
step 204: receiving a response message sent by the display device, wherein the response message at least comprises the target working channel;
step 206: and switching to the target working channel and establishing P2P connection with the display equipment.
Fig. 3a is a schematic diagram of a composition structure of a networking system according to an embodiment of the present application, as shown in fig. 3a, where the system includes: the IOT equipment 31, the display equipment 32 and the router 33;
the IOT device 31 is configured to send a connection request to the display device 32, where the connection request is used to request to establish a P2P connection with the display device 32;
the display device 32 is configured to determine, in response to the connection request, a connection state of the display device 32 and the router 33; determining a target working channel of the IOT device 31 based on the connection status; transmitting a response message to the IOT device 31, wherein the response message at least comprises the target working channel;
The IOT device 31 is further configured to switch to the target working channel to establish a P2P connection with the display device 32.
Fig. 3b is a schematic diagram of a composition structure of a networking system according to an embodiment of the present application, as shown in fig. 3b, where the system includes: the IOT equipment 31, the display equipment 32 and the router 33;
the display device 32 is configured to determine a connection state of the display device 32 and the router 33;
the display device 32 may determine whether the display device 32 establishes a connection with the router 33 according to the connection state of the display device 32 and the router 33 recorded by the display device 32, and determine that the display device 32 is connected to the router 33 when the connection state is connected, and determine that the display device 32 is not connected to the router 33 when the connection state is not connected.
The display device 32 is configured to determine, based on the connection status, a first channel for listening to a connection request of the IOT device 31 and a target working channel of the IOT device; the connection request is for requesting to establish a P2P connection with the display device 32;
wherein, in the case that the connection state is a connection, the first channel is determined to be a working channel of the router 33, for example, a connection request of the IOT device 31 may be monitored on a 36 channel that is operated by the router 33, and the 36 channel is used as a target working channel of the IOT device 31; in the case that the connection state is unconnected, cyclically monitoring connection requests of the IOT device 31 on a plurality of channels (such as a 1 channel and a 6 channel), and calculating a channel with the strongest anti-interference capability in the current environment as a target working channel of the IOT device 31;
The display device 32 is configured to obtain a connection request of the IOT device 31;
the display device 32 is configured to send a response message to the IOT device 31, where the response message includes at least the target working channel;
the IOT device 31 is further configured to switch to the target working channel to establish a P2P connection with the display device 32.
Fig. 4 is a flow chart of another networking method according to an embodiment of the present application, as shown in fig. 4, where the method is applied to a networking system, and the system includes: IOT device 41, projector device 42, and router 43; the method comprises the following steps:
step 402: the projector apparatus 42 is connected to the router 43;
step 404: projector device 42 initiates P2P listening according to 36 channels of connection router 43;
step 406: the projector device 42 remains in data communication with the router 43 for 200 milliseconds;
step 408: projector device 42 keeps listening for 50 milliseconds for a connection request by IOT device 41;
step 410: projector device 42 obtains the P2P request of IOT device 41 on channel 1, without responding;
step 412: projector device 42 obtains the P2P request of IOT device 41 on 36 channels;
step 414: projector device 42 sends a P2P response to IOT device 41 informing IOT device 41 to switch to channel 36;
Step 416: projector device 42 and IOT device 41 interact with each other in a network on 36 channels to create a P2PGroup.
Fig. 5 is a flow chart of another networking method according to an embodiment of the present application, as shown in fig. 5, where the method is applied to a networking system, and the system includes: IOT device 51, large screen device 52, and large screen device 53; the method comprises the following steps:
step 502: IOT device 51 sends a P2P unbound request;
step 504: the large screen device 52 and the large screen device 53 both pop up messages;
step 506: the large-screen device 52 is connected with the IOT device 51 through a P2P networking;
step 508: IOT device 51 sends a P2P bound request;
step 510: the large-screen device 53 does not have a connection record of the IOT device 51 and does not do processing;
step 512: the large screen device 52 has a connection record of the IOT device 51 and actively connects back to the IOT device 51.
Fig. 6 is a schematic flow chart of a networking method according to an embodiment of the present application, and as shown in fig. 6, the method is applied to a networking system, and the system includes: IOT device 61 and large screen device 62; the method comprises the following steps:
step 602: IOT device 61 sends a P2P request to large screen device 62;
step 604: the IOT device 61 successfully matches the large screen device 62P 2P;
Step 606: the large screen device 62 sends a response message to the IOT device 61, where the response message carries an IP configuration mode;
the IP configuration manner may be a static configuration manner, and the response message carries a static IP address;
step 608: the large screen device 62 establishes a GO networking;
step 610: IOT device 61 configures a static IP address locally;
step 612: the large screen device 62 initiates the Dhcp server.
Wherein the Dhcp (Dynamic Host Configuration Protocol ) server can dynamically allocate IP addresses.
Fig. 7 is a schematic flow chart of a networking method according to an embodiment of the present application, and as shown in fig. 7, the method is applied to a networking system, and the system includes: IOT device 71, projector device 72, and router 73; the method comprises the following steps:
step 702: the projector device 72 is not connected to the router 73;
step 704: projector device 72 initiates a P2P request by P2P listening IOT device 71;
wherein the projector apparatus can cycle monitor at 1 channel hold time of 1 second (unit: S);
step 706: IOT device 71 sends a P2P request to projector device 72 on channel 1;
step 708: projector device 72 sends a P2P response to the IOT device 71 on channel 1;
Step 710: IOT device 71 sends a P2P request to projector device 72 on the 6 channel, projector device 72 not responding;
wherein, projector device 72 may calculate an optimal channel as an operating channel of IOT device 71, and send the operating channel to IOT device 71 through a P2P response to notify IOT device 71 to switch to the optimal channel;
step 712: IOT device 71 and projector device 72 interact in an optimal channel networking to create a group runner.
In the above embodiment, when the projector device 72 is not connected to the router 73, the P2P listening and receiving message is kept in the 1 channel, the P2P gap configuration information includes a gap period and a gap duration, and the listening message is continuously executed after the duration, and after receiving the P2P request of the IOT device, the current environment-optimal channel is calculated as operation channel to respond to the IOT device and notify the IOT device to switch to a new channel for networking.
The wireless local area network Direct technology networking is relatively simple but has limited application scenes in the current market, if the existing method is adopted, the Wi-Fi performance of the current method can not meet the networking requirements of the scenes of the large-screen equipment, a new method is provided based on the current method, the new networking method is suitable for the wireless local area network Direct technology in each application scene of the large-screen equipment, and the networking technology complexity and simplicity are reduced.
In the embodiment of the application, large screen equipment is paired and networked by using a Direct technology under the scene of connecting a router or not connecting the router, and the IOT equipment transmits the hardware state information and the software equipment state of the IOT equipment through a request packet and simplifies the Direct negotiation process to complete networking.
It should be noted that, in the embodiment of the present application, if the networking method is implemented in the form of a software functional module, and is sold or used as a separate product, the networking method may also be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be embodied essentially or in a part contributing to the related art in the form of a software product stored in a storage medium, including several instructions for causing a large screen device (which may be a mobile phone, a tablet computer, a desktop computer, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensing device, etc.) to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes. Thus, embodiments of the application are not limited to any specific combination of hardware and software.
Fig. 8 is a schematic diagram of a composition structure of a display device according to an embodiment of the present application, as shown in fig. 8, the apparatus 800 includes: a first acquisition module 801, a first determination module 802, a second determination module 803, and a first transmission module 804, wherein:
a first obtaining module 801, configured to obtain a connection request of an IOT device, where the connection request is used to request to establish a P2P connection with a display device;
a first determining module 802, configured to determine a connection state of the display device and a router in response to the connection request;
a second determining module 803, configured to determine, based on the connection state, a target working channel of the IOT device;
a first sending module 804, configured to send a response message to the IOT device, where the response message at least includes the target working channel, so that the IOT device switches to the target working channel and establishes a P2P connection with the display device.
In some embodiments, the first determining module 802 includes: the first determining submodule is used for determining a channel with the strongest anti-interference capability in a plurality of channels of the wireless local area network in the current environment as a target working channel under the condition that the connection state is unconnected; and the second determining submodule is used for determining the working channel of the router as the target working channel under the condition that the connection state is connection.
In some embodiments, the apparatus further comprises: the second acquisition module is used for acquiring the received signal strength indication value and the frequency band of each channel; and the third determining module is used for determining the channel with the strongest anti-interference capability from the plurality of channels based on the received signal strength indication value and/or the bandwidth of each channel.
In some embodiments, the apparatus further comprises: a fourth determining module, configured to determine a first duration and a second duration according to P2P gap configuration information when the connection state is connection; and the processing module is used for communicating with the router in the first time period and monitoring the connection request of the IOT equipment in the second time period.
In some embodiments, the connection request includes a first operator identifier and a first device type of the IOT device, and the apparatus further comprises: an authentication module, configured to authenticate the IOT device based on the first operator identifier and the first device type; the first sending module is configured to send a response message to the IOT device when authentication of the IOT device is successful; and the response message further comprises a second operator identifier and a second equipment identifier of the display equipment, so that the IOT equipment is switched to the target working channel to establish P2P connection with the display equipment under the condition that the authentication of the display equipment is successful based on the second operator identifier and the second equipment identifier.
In some embodiments, the connection request further includes a binding field, and the apparatus further includes: a fifth determining module, configured to determine, based on the binding field, whether the IOT device is bound to the display device; and the second sending module is used for sending a reconnection request to the IOT equipment based on the binding record between the IOT equipment and the display equipment in the display equipment if the IOT equipment is bound with the display equipment.
In some embodiments, the response message further includes an IP address allocation manner, so that when the IP address allocation manner is static allocation, the IOT device uses the static allocated IP address to communicate with the display device.
It should be noted that, in the embodiment of the present application, if the networking method is implemented in the form of a software functional module, and is sold or used as a separate product, the networking method may also be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be embodied essentially or in a part contributing to the related art in the form of a software product stored in a storage medium, including several instructions for causing an internet of things device (which may be a mobile phone, a tablet computer, a desktop computer, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensing device, etc.) to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes. Thus, embodiments of the application are not limited to any specific combination of hardware and software.
Fig. 9 is a schematic diagram of a composition structure of an internet of things device according to an embodiment of the present application, as shown in fig. 8, the apparatus 900 includes: a second sending module 901, a first receiving module 902, and a first connecting module 903, wherein:
a second sending module 901, configured to send a connection request to a display device, where the connection request is used to request to establish a P2P connection with the display device, so that the display device determines a connection state between the display device and a router in response to the connection request; determining a target working channel of the IOT device based on the connection status;
a first receiving module 902, configured to receive a response message sent by the display device, where the response message includes at least the target working channel;
the first connection module 903 is configured to switch to the target working channel and establish a P2P connection with the display device.
Correspondingly, an embodiment of the present application provides a computer readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the networking method provided in the above embodiment.
It should be noted here that: the description of the storage medium and the device embodiments above is similar to that of the method embodiments above, with similar benefits as the device embodiments. For technical details not disclosed in the embodiments of the storage medium and the method of the present application, please refer to the description of the embodiments of the apparatus of the present application.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application. The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It should be noted that, in this document, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes. Alternatively, the above-described integrated units of the present application may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present application may be embodied essentially or in a part contributing to the related art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a mobile phone, a tablet computer, a desktop computer, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensing device, etc.) to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
The methods disclosed in the method embodiments provided by the application can be arbitrarily combined under the condition of no conflict to obtain a new method embodiment. The features disclosed in the several product embodiments provided by the application can be combined arbitrarily under the condition of no conflict to obtain new product embodiments. The features disclosed in the embodiments of the method or the apparatus provided by the application can be arbitrarily combined without conflict to obtain new embodiments of the method or the apparatus.
The foregoing is merely an embodiment of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A networking method, characterized by being applied to a display device, the method comprising:
acquiring a connection request of IOT equipment, wherein the connection request is used for requesting to establish P2P connection with the display equipment;
determining a connection state of the display device and a router in response to the connection request;
Under the condition that the connection state is unconnected, determining the channel with the strongest anti-interference capability in a plurality of channels of the wireless local area network in the current environment as a target working channel;
determining a working channel of the router as the target working channel in the case that the connection state is connection;
and sending a response message to the IOT device, wherein the response message at least comprises the target working channel, so that the IOT device can switch to the target working channel to establish P2P connection with the display device.
2. The method according to claim 1, wherein the method further comprises:
acquiring a received signal strength indication value and/or a bandwidth of each channel;
and determining the channel with the strongest anti-interference capability from the plurality of channels based on the received signal strength indication value and/or the bandwidth of each channel.
3. The method according to claim 1, wherein the method further comprises:
under the condition that the connection state is connection, determining a first duration and a second duration according to P2P gap configuration information;
and in the first time period, communicating with the router, and in the second time period, monitoring the connection request of the IOT equipment.
4. A method according to any one of claims 1 to 3, wherein the connection request includes a first operator identity and a first device type of the IOT device, the method further comprising:
authenticating the IOT device based on the first operator identity and the first device type;
the sending a response message to the IOT device includes: under the condition that the authentication of the IOT equipment is successful, a response message is sent to the IOT equipment;
and the response message further comprises a second operator identifier and a second equipment identifier of the display equipment, so that the IOT equipment is switched to the target working channel to establish P2P connection with the display equipment under the condition that the authentication of the display equipment is successful based on the second operator identifier and the second equipment identifier.
5. The method of claim 4, wherein the connection request further comprises a binding field, the method further comprising:
determining, based on the binding field, whether the IOT device is bound to the display device;
and if the IOT equipment is bound with the display equipment, sending a back connection request to the IOT equipment based on the binding record between the IOT equipment and the display equipment.
6. The method of claim 4 wherein the response message further includes an IP address assignment for the IOT device to communicate with the display device using the statically assigned IP address when the IP address assignment is static.
7. A networking method, characterized in that it is applied to IOT devices in the internet of things, the method comprising:
sending a connection request to a display device, wherein the connection request is used for requesting to establish P2P connection with the display device, so that the display device can respond to the connection request to determine the connection state of the display device and a router; under the condition that the connection state is unconnected, determining the channel with the strongest anti-interference capability in a plurality of channels of the wireless local area network in the current environment as a target working channel; determining a working channel of the router as the target working channel in the case that the connection state is connection;
receiving a response message sent by the display device, wherein the response message at least comprises the target working channel;
and switching to the target working channel and establishing P2P connection with the display equipment.
8. A display device, the display device comprising:
The first acquisition module is used for acquiring a connection request of IOT equipment, wherein the connection request is used for requesting to establish P2P connection with the display equipment;
the first determining module is used for responding to the connection request and determining the connection state of the display equipment and the router;
the second determining module is used for determining a channel with the strongest anti-interference capability in a plurality of channels of the wireless local area network in the current environment as a target working channel under the condition that the connection state is unconnected; determining a working channel of the router as the target working channel in the case that the connection state is connection;
and the first sending module is used for sending a response message to the IOT equipment, wherein the response message at least comprises the target working channel so that the IOT equipment can be switched to the target working channel to establish P2P connection with the display equipment.
9. The utility model provides an thing networking device which characterized in that, thing networking device includes:
the second sending module is used for sending a connection request to the display equipment, wherein the connection request is used for requesting to establish P2P connection with the display equipment so that the display equipment can respond to the connection request to determine the connection state of the display equipment and the router; under the condition that the connection state is unconnected, determining the channel with the strongest anti-interference capability in a plurality of channels of the wireless local area network in the current environment as a target working channel; determining a working channel of the router as the target working channel in the case that the connection state is connection;
The first receiving module is used for receiving a response message sent by the display equipment, wherein the response message at least comprises the target working channel;
and the first connection module is used for switching to the target working channel and establishing P2P connection with the display equipment.
10. A networking system, the system comprising: IOT equipment, display equipment and a router;
the IOT device is configured to send a connection request to the display device, where the connection request is used to request to establish a P2P connection with the display device;
the display device is used for responding to the connection request and determining the connection state of the display device and the router; under the condition that the connection state is unconnected, determining the channel with the strongest anti-interference capability in a plurality of channels of the wireless local area network in the current environment as a target working channel; determining a working channel of the router as the target working channel in the case that the connection state is connection; transmitting a response message to the IOT device, wherein the response message at least comprises the target working channel;
and the IOT device is further configured to switch to the target working channel and establish P2P connection with the display device.
CN202211668039.1A 2022-12-23 2022-12-23 Networking method, display equipment, internet of things equipment and networking system Active CN115996480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211668039.1A CN115996480B (en) 2022-12-23 2022-12-23 Networking method, display equipment, internet of things equipment and networking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211668039.1A CN115996480B (en) 2022-12-23 2022-12-23 Networking method, display equipment, internet of things equipment and networking system

Publications (2)

Publication Number Publication Date
CN115996480A CN115996480A (en) 2023-04-21
CN115996480B true CN115996480B (en) 2023-11-28

Family

ID=85989870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211668039.1A Active CN115996480B (en) 2022-12-23 2022-12-23 Networking method, display equipment, internet of things equipment and networking system

Country Status (1)

Country Link
CN (1) CN115996480B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377219A (en) * 2017-01-31 2018-08-07 格里布株式会社 IoT gateways and its working method
CN108574975A (en) * 2017-03-08 2018-09-25 三星电子株式会社 The system of wireless router, internet of things equipment and the wireless router for supporting to be connected to internet of things equipment
JP2019125855A (en) * 2018-01-12 2019-07-25 シャープ株式会社 Display device, display system, display method, and program
CN115174672A (en) * 2022-06-28 2022-10-11 海信集团控股股份有限公司 Terminal, display device and data transmission method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377219A (en) * 2017-01-31 2018-08-07 格里布株式会社 IoT gateways and its working method
CN108574975A (en) * 2017-03-08 2018-09-25 三星电子株式会社 The system of wireless router, internet of things equipment and the wireless router for supporting to be connected to internet of things equipment
JP2019125855A (en) * 2018-01-12 2019-07-25 シャープ株式会社 Display device, display system, display method, and program
CN115174672A (en) * 2022-06-28 2022-10-11 海信集团控股股份有限公司 Terminal, display device and data transmission method

Also Published As

Publication number Publication date
CN115996480A (en) 2023-04-21

Similar Documents

Publication Publication Date Title
CN109640310B (en) Data transmission control method and related product
US10205914B2 (en) Wireless video camera and connection methods including multiple video or audio streams
CN113841339B (en) Service connection establishing method, bluetooth main device, chip and Bluetooth system
US11197335B2 (en) Method for data transmission and related products
KR101707364B1 (en) Apparatus and method for performing wireless docking service
EP2285163B1 (en) System, method and apparatus for wireless network connection using near field communication
CN107249174B (en) Communication connection establishing method and terminal
KR101700937B1 (en) Method and apparatus for service discovery in WiFi direct network
CN113360108B (en) Screen projection connection control method and electronic equipment
CN109743783B (en) Data transmission control method and related product
EP3857975B1 (en) Mobile device and electronic device for wireless communication, and operation methods thereof
US10863559B2 (en) Method and apparatus for communicating in a wireless communication network
WO2016027960A1 (en) Method and device for performing wireless docking service
US20190320315A1 (en) Method and apparatus for transmitting and receiving data using bluetooth technology
CN113455026A (en) Access method and communication device
CN114697991A (en) Wi-Fi configuration method and electronic equipment
WO2022166636A1 (en) Device network configuration method and apparatus, devices and storage medium
US10492060B2 (en) Method and device for transmitting/receiving data in wireless communication system
CN115996480B (en) Networking method, display equipment, internet of things equipment and networking system
CN109803454B (en) Data transmission control method and related product
US11252553B2 (en) Method and device for establishing connection using Bluetooth low energy
CN113824753B (en) Communication method, communication system, storage medium, and computing device
CN116634362A (en) Automatic control method, electronic equipment and computer readable storage medium
CN117956016A (en) Data transmission method, central control equipment, equipment control device and storage medium
CN117793678A (en) Network connection method, electronic equipment and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant