A network distribution method, device, gateway device and storage medium for terminal equipment

By obtaining the device status information and distribution network request information of the terminal equipment, controlling the distribution network to be distributed to complete the distribution network, solving the problems of large network burden and low data transmission efficiency caused by excessive gateway equipment connections, and improving the user experience.

CN114630330BActive Publication Date: 2025-05-06SHENZHEN TCL NEW-TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011463568.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-14
Publication Date
2025-05-06
Estimated Expiration
2040-12-14

AI Technical Summary

Technical Problem

In the prior art, when the number of connections of gateway devices is too large, the network burden will be large, affecting the data transmission efficiency of the terminal devices that have been connected to the network, and causing inconvenience to users' use.

Method used

By obtaining the equipment status information of the terminal equipment in the preset area, determining the equipment to be distributed, and determining its distribution permissions based on the distribution network request information, controlling the equipment to be distributed to complete the distribution network, thereby controlling the number of terminal equipment connected to the gateway equipment.

Benefits of technology

It effectively avoids the problems of large network burden and low data transmission efficiency caused by excessive gateway device connections, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114630330B_ABST
    Figure CN114630330B_ABST
Patent Text Reader

Abstract

The present invention discloses a network configuration method, device, gateway device and storage medium for terminal devices, the method comprising: obtaining device status information of terminal devices in a preset area, and determining the devices to be configured according to the device status information; obtaining network configuration request information sent by the devices to be configured, and determining the network configuration authority of the devices to be configured according to the network configuration request information; obtaining network configuration information according to the network configuration authority, and sending the network configuration information to the devices to be configured, so that the devices to be configured complete the network configuration according to the network configuration information. The present invention analyzes the terminal devices in the preset area, determines the devices to be configured that can be connected to the network, and thus controls these devices to be configured to complete the network configuration, avoiding the problem of heavy network burden caused by too many connections of gateway devices, and causing inconvenience to users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network distribution, and in particular to a network distribution method, device, gateway device and storage medium for terminal equipment. Background Art

[0002] In today's world where technology helps people live, people are always accompanied by various terminal devices. They have long been surrounded by mobile phones, tablets, computers, and televisions. Terminal devices have gradually penetrated into every corner of people's lives. And with the popularization of terminal devices, users will carry terminal devices (such as mobile phones) with them on their daily trips, and when users arrive at some occasions, they need to configure the network for their terminal devices to achieve data interaction with their terminal devices. However, the number of gateway devices that can be connected is limited, and it is not possible to connect terminal devices indefinitely. When the number of gateway devices connected is too large, it will cause a large network burden, affecting the data transmission efficiency of the terminal devices that have been connected to the network, thus causing inconvenience to the user.

[0003] Therefore, the prior art still needs to be improved and enhanced. Summary of the invention

[0004] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art, a network configuration method, device, gateway device and storage medium for terminal equipment are provided, aiming to solve the problem in the prior art that when the number of connections of the gateway device is too large, the network burden is heavy, the data transmission efficiency of the terminal devices that have been connected to the network is affected, and thus inconvenience is caused to the user.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is as follows:

[0006] In a first aspect, the present invention provides a network configuration method for a terminal device, comprising:

[0007] Obtain device status information of terminal devices in a preset area, and determine the devices to be networked according to the device status information;

[0008] Obtain the network configuration request information sent by the device to be configured, and determine the network configuration authority of the device to be configured according to the network configuration request information;

[0009] The network configuration information is obtained according to the network configuration authority, and the network configuration information is sent to the device to be configured so that the device to be configured completes the network configuration according to the network configuration information.

[0010] In a second aspect, an embodiment of the present invention further provides a network distribution device for a terminal device, including:

[0011] The device determination module is used to obtain the device status information of the terminal devices in the preset area and determine the devices to be configured according to the device status information;

[0012] The authority determination module is used to obtain the network configuration request information sent by the network configuration device, and determine the network configuration authority of the network configuration device according to the network configuration request information;

[0013] The network configuration execution module is used to obtain network configuration information according to the network configuration authority and send the network configuration information to the device to be configured so that the device to be configured completes the network configuration according to the network configuration information.

[0014] In a third aspect, an embodiment of the present invention further provides a gateway device, which includes a memory, a processor, and a network configuration program for a terminal device stored in the memory and executable on the processor. When the processor executes the network configuration program for the terminal device, the steps of the network configuration method for the terminal device in the above-mentioned scheme are implemented.

[0015] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a network configuration program of a terminal device is stored. When the network configuration program of the terminal device is executed by a processor, the steps of the network configuration method of the terminal device in the above-mentioned scheme are implemented.

[0016] Beneficial effect: Compared with the prior art, the present invention provides a network configuration method for terminal devices, which obtains the device status information of the terminal devices in a preset area, and then determines the network configuration devices that can be connected to the network according to the device status information, and then analyzes these network configuration devices, and controls the completion of the network configuration of the network configuration devices. It can be seen that the present invention can control the number of terminal devices connected to the gateway device, effectively avoiding the problem of heavy network burden caused by too many connections of the gateway device, and affecting the data transmission efficiency of the terminal devices that have been connected to the network, thereby causing inconvenience to the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A flowchart of a specific implementation of a network configuration method for a terminal device provided in an embodiment of the present invention.

[0018] Figure 2 A flowchart for determining a device to be networked in a network configuration method for a terminal device provided in an embodiment of the present invention.

[0019] Figure 3 A flowchart for determining network configuration authority in a network configuration method for a terminal device provided in an embodiment of the present invention.

[0020] Figure 4 A flowchart for completing network configuration in a network configuration method for a terminal device provided in an embodiment of the present invention.

[0021] Figure 5 It is a principle block diagram of a network distribution device for a terminal device provided in an embodiment of the present invention.

[0022] Figure 6It is a block diagram of the internal structure principle of the terminal device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0024] In today's world where technology helps people live, people are always with various terminal devices. They have long been surrounded by mobile phones, tablets, computers, and televisions. Terminal devices have gradually penetrated into every corner of people's lives. And with the popularization of terminal devices, users will carry terminal devices (such as mobile phones) with them on their daily trips, and when users arrive at some occasions, they need to configure the network for their terminal devices to achieve data interaction with their terminal devices. However, the number of gateway devices that can be connected is limited, and it is not possible to connect terminal devices infinitely. When the number of gateway devices connected is too large, it will cause a large network burden, affecting the data transmission efficiency of the terminal devices that have been connected to the network, thus causing inconvenience to the user. For example, in the application scenario of large-scale smart home appliance stores, various product functions are becoming more and more advanced, so they also need to be connected to the network to demonstrate to customers. If all devices are connected to the network, the network burden is too large, affecting the demonstration effect.

[0025] In order to solve the problems of the prior art, the present embodiment provides a network configuration method for terminal devices. Through the network configuration method of the present embodiment, it is effectively avoided that when the number of gateway devices connected is too large, the network burden is heavy, and the data transmission efficiency of the terminal devices that have been connected to the network is affected, thereby causing inconvenience to the user. In specific implementation, the present embodiment first obtains the device status information of the terminal devices in the preset area, and determines the device to be configured based on the device status information. Next, the network configuration request information sent by the device to be configured is obtained, and the network configuration authority of the device to be configured is determined based on the network configuration request information. Finally, based on the network configuration authority, the network configuration information is obtained, and the device to be configured is controlled to complete the network configuration according to the network configuration information. It can be seen that the present invention can control the number of terminal devices connected to the gateway device, thereby ensuring the data transmission efficiency of the networked devices.

[0026] Exemplary Methods

[0027] The network configuration method of the terminal device in this embodiment can be applied to the gateway device. Figure 1 As shown in , the method comprises the following steps:

[0028] Step S100: Obtain device status information of terminal devices in a preset area, and determine the device to be networked according to the device status information.

[0029] In order to control the number of terminal devices connected to the gateway device, this embodiment needs to analyze the terminal devices in the preset area, determine the network devices to be configured that can be connected to the network from these terminal devices, and thus control the number of terminal devices connected to the gateway device. In the specific implementation, this embodiment first obtains the device status information of the terminal devices in the preset area, and then determines the network devices to be configured according to the device status information. In this embodiment, the number of terminal devices connected to the gateway device is controlled, and the terminal devices in the mobile state are mainly controlled. For example, when a customer enters the mall, the customer's terminal device is automatically connected to the network. At this time, it is necessary to control whether these customers' terminal devices can all be connected to the gateway device, while for the fixed terminal devices in the mall, they are fixed and these terminal devices are always connected to the gateway device. The device status information in this embodiment reflects the state of the terminal device, that is, it is determined whether the terminal device is movable or fixed. If it is movable, these movable terminal devices can be analyzed to determine the network devices to be configured.

[0030] In one implementation, Figure 2 As shown in , step S100 specifically includes the following steps:

[0031] Step S101: Acquire device status information of terminal devices in a preset area through a preset radar device;

[0032] Step S102: Determine the duration of a terminal device's stay in a preset area according to the device status information;

[0033] Step S103: Determine the network equipment to be configured according to the stay time.

[0034] In order to analyze the terminal devices in the preset area, the present embodiment first needs to determine the preset area, and then obtain all the terminal devices in the preset area. The present embodiment can determine the preset area by a preset image acquisition device. Specifically, the present embodiment starts the preset image acquisition device to automatically scan the pattern of the surrounding environment and generate map information of the preset area. After determining the preset area, the present embodiment can obtain the terminal devices in the preset area. Specifically, the present embodiment controls the gateway device to automatically scan the terminal devices in the preset area after power-on. Since the terminal device automatically enters the network distribution mode when entering the wireless network area covered by the gateway device, and automatically broadcasts a request frame (probe request frame), a specific field is set in the request frame. When the gateway device scans the request frame and obtains the specific field from it, it can be determined that the terminal device exists in the preset area, so that all terminal devices can be obtained.

[0035] In one implementation, after determining the terminal devices in the preset area, this embodiment can determine the devices to be networked from these terminal devices. Specifically, this embodiment can obtain the device status information of the terminal devices in the preset area, and the device status information reflects which of these terminal devices are movable, so that the devices to be networked can be determined from these movable terminal devices. In specific implementation, this embodiment can send radar detection waves to the terminal devices in the preset area through a preset radar device, such as controlling the radar device to send radar detection waves to the terminal devices multiple times per second, and then receive the feedback information of the terminal devices in the preset area in response to the radar detection waves, and determine the location information of the terminal devices in the preset area according to the feedback information, so that the location information change of the terminal devices before and after receiving the radar detection waves can be determined. If the location information of terminal device A changes, it is determined that the device status information of terminal device A is that the device is movable, and terminal device A is any one of the terminal devices in the preset area. If the device status information of terminal device A is movable, it means that terminal device A is not a fixed terminal device in the preset area. In order to prevent the gateway device from connecting to too many terminal devices, it is necessary to control the number of connected gateway devices. For this purpose, this embodiment needs to screen the movable terminal devices and determine the devices to be configured.

[0036] In one implementation, if the device status information indicates that the device is movable, the present embodiment obtains the activity record information of the terminal device in the preset area, and the activity record information is used to reflect the movement record of the terminal device in the preset area during movement. In the present embodiment, the movement record can reflect the movement trajectory, stay duration, stay time, stay number and other information of the terminal device in the preset area, so the present embodiment can determine the stay duration of the terminal device in the preset area according to the activity record information. For the terminal device, if its stay duration is long enough, it means that the terminal device is not a short pass, but stays in the preset area for a long time, so it is necessary to connect it to the gateway device so that the terminal device can be connected to the network. Therefore, after obtaining the stay duration information of each terminal device, the present embodiment compares the stay duration of each terminal device with the duration threshold; if the stay duration is greater than the duration threshold, the corresponding terminal device is used as a device to be configured.

[0037] Step S200: obtaining network configuration request information sent by the device to be configured, and determining the network configuration authority of the device to be configured according to the network configuration request information.

[0038] After the devices to be configured are determined from all the terminal devices in the preset area, this embodiment can perform network configuration control on these devices to be configured. Specifically, it is first necessary to obtain the network configuration request information of the device to be configured. In this embodiment, the network configuration request information is sent by the device to be configured, and is used to reflect the willingness of the device to be configured to connect to the gateway device. For example, if a tablet computer is a device to be configured, the tablet computer can send a network configuration request information when it needs to connect to the gateway device. When the terminal device receives the network configuration request information, this embodiment can determine the network configuration authority of the device to be configured based on the network configuration request information, thereby realizing network configuration.

[0039] In one implementation, Figure 3 As shown in , step S200 specifically includes the following steps:

[0040] Step S201: obtaining network configuration request information sent by the device to be configured, and parsing the network configuration request information to obtain device information of the device to be configured;

[0041] Step S202: parse the device information to obtain device identification information in the device information, where the device identification information is used to reflect the physical address of the device to be networked;

[0042] Step S203: verify the physical address in the device identification information to determine the network configuration authority of the device to be configured.

[0043] In specific implementation, this embodiment can determine the device information of the device to be networked according to the network configuration request information. In this embodiment, the device information reflects the parameter information of the device to be networked, and the parameter information includes the name information, functional parameters (such as the functional parameters of the refrigerator are refrigeration temperature, freezing temperature and other information) of the device to be networked, etc. Through these device information, all the devices to be networked can be distinguished and identified, and the device identification information in the backup information can also be obtained. The device identification information is used to reflect the physical address of the device to be networked. Then, the physical address in the device identification information is verified to determine the network configuration authority of the device to be networked, thereby realizing network configuration.

[0044] In one implementation, this embodiment first obtains the network configuration state of the network configuration device to be configured. The network configuration state reflects whether the network configuration device to be configured has started the network configuration mode at this time. If the network configuration device to be configured is in the network configuration mode at this time, it means that the network configuration device to be configured has been powered on and started at this time, so the network configuration device to be configured can send a network configuration request message. In one implementation, the network configuration request message sent by the network configuration device to be configured is sent in the form of broadcast information. For example, the network configuration device to be configured can automatically send a broadcast network configuration request message. The network configuration request message includes a probe request frame, that is, a detection request frame, so that the gateway device knows which network configuration devices to be configured exist, so that the network configuration can be realized through these devices in the subsequent steps. Specifically, the network configuration request message in this embodiment can add specific field information in the detection frame, and the field information can be used to identify the existence of the network configuration device to be configured, that is, when the gateway device in the surrounding environment receives the network configuration request message, it can know the existence of the network configuration device to be configured from the field information in the detection frame of the network configuration request message.

[0045] After receiving the network configuration request information, this embodiment can parse the network configuration request information to obtain the device information in the network configuration request information. Since the device information can be used to distinguish the device to be configured, the network configuration request information in this embodiment can carry the device information of the device to be configured, such as the device type, device ID, and physical address of the device to be configured, so that when the network configuration request information is received, the device information can be obtained from the network configuration request information in a timely manner, so that it can be known what device the device to be configured is. For example, when the device to be configured is a tablet computer, after receiving the network configuration request information of the tablet computer, the device information of the tablet computer can be obtained from the network configuration request information, such as the device type is a communication device, the device ID is PAD, the physical address is XXX and other information.

[0046] Since the device information can be used to distinguish the devices to be networked, and the device information includes device identification information such as device type, device ID, and physical address, after obtaining the device information, this embodiment can determine the network configuration authority of the device to be networked based on the device information. In other words, this embodiment can determine whether the device to be networked can be networked based on the device information, thereby preventing malicious network configuration.

[0047] When the embodiment is implemented, when determining the network configuration authority of the network device to be configured, the device information can be parsed to obtain the device identification information from the device information, and the device identification information is information such as the device type, device ID, and physical address. Since the device information of each network device to be configured is different, the device identification information is also different, and the device identification information can be used to distinguish different network devices to be configured. Therefore, the embodiment can analyze the network configuration authority of the network device to be configured according to the device identification information. Specifically, in one implementation, in a specific application, after scanning the detection frame in the network configuration request information sent by the network device to be configured, the networked device can report the device information carried in the network configuration request information to the cloud server, and the cloud server can store the device information for calling in subsequent steps. Therefore, when it is necessary to analyze the network configuration authority of the network device to be configured, the embodiment can obtain the device information from the cloud server. When the terminal device obtains the device information, it can parse the device information to obtain the device identification information. Since the device identification information carries a physical address, and the physical address is a unique identifier of each device to be networked, this embodiment verifies the physical address to obtain a verification result, and determines the network configuration authority of the device to be networked according to the verification result.

[0048] In one implementation, this embodiment can match the physical address in the device identification information with a preset whitelist. If the match is successful, it is said that the network device to be configured corresponding to the physical address has the network configuration authority. The whitelist is pre-set, and the physical addresses of several terminal devices with network configuration authority are stored in the whitelist. For example, the device information of a tablet computer, a smart TV, and a smart refrigerator is stored in the whitelist in advance, which means that the tablet computer, the smart TV, and the smart refrigerator have the network configuration authority. When determining the network configuration authority of the network device to be configured, this embodiment can match the obtained physical address (i.e., MAC address) with the whitelist. If the physical address of the network device to be configured is in the whitelist, it is determined that the network configuration authority of the network device to be configured is authorized, which means that the network device to be configured has the network configuration authority. This embodiment verifies the network configuration authority of the network device to be configured in order to determine what device is the device that wants to connect to the wireless network, and then judge whether the network device to be configured can connect to the wireless network, so as to prevent malicious network configuration.

[0049] Of course, the whitelist in this embodiment can be updated, that is, the device information stored in the whitelist can be replaced, deleted, etc. For example, when the device information of the device to be configured may not be set in the whitelist, and the user wants to connect the device to be configured to the wireless network, the whitelist can be updated. In specific applications, the device information of the device to be configured can be obtained from the cloud server, and then the device information is added to the whitelist, so that the device to be configured obtains the network configuration permission, that is, the device to be configured is allowed to connect to the wireless network.

[0050] Step S300: acquiring network configuration information according to the network configuration authority, and sending the network configuration information to the device to be configured, so that the device to be configured completes the network configuration according to the network configuration information.

[0051] In this embodiment, after the network configuration authority of the device to be configured is determined, the network configuration can be implemented according to the network configuration authority. When configuring the network, this embodiment obtains the network configuration information sent by the gateway device, and the network configuration information includes the network address, network connection password information, etc. Therefore, after the network configuration information is obtained in this embodiment, the wireless network connection can be performed according to the network configuration information, so that the user does not need to enter any network configuration information on the device to be configured, which provides convenience for the user.

[0052] In one implementation, Figure 4 As shown in , step S300 specifically includes the following steps:

[0053] Step S301: If the network configuration authority is authorized, obtain the network configuration information sent by the receiving gateway device;

[0054] Step S302: decrypt the network configuration information to obtain network connection information;

[0055] Step S303: Send network connection information to the device to be configured, so that the device to be configured is connected to the gateway device corresponding to the network connection information.

[0056] In this embodiment, if it is determined that the network configuration authority of the device to be configured is authorized, the network configuration operation is performed. Specifically, the gateway device will send network configuration information to the authorized terminal device, and the network configuration information includes wireless network address information and network password information. Therefore, the device to be configured can be configured according to the network configuration information to connect to the gateway device. It can be seen that when the device to be configured in this embodiment is configured, it is not necessary to enter any network password information in the device to be configured. It only needs to obtain the network configuration information sent by the gateway device, and then the network configuration can be performed according to the network configuration information.

[0057] When the network configuration of the device to be configured is completed, the device to be configured is bound to the gateway device according to the device information of the device to be configured. In specific implementation, this embodiment can obtain the device information of the device to be configured from the cloud server, and then obtain the device ID, physical address and other information from the device information, and then bind the device ID and physical address and other information to the wireless router, so that the device to be configured can be directly connected to the wireless router when the network connection is made next time, thereby realizing automatic network configuration. When the binding is completed, the user can be notified that the binding is successful. In addition, this embodiment can also copy and back up the device information of all bound terminal devices in the gateway device to the cloud server. When the gateway device needs to be replaced, this embodiment can download the device information stored in the gateway device before the replacement from the cloud server, and synchronize it to the replaced gateway device to ensure that all terminal devices can be connected to the wireless network normally.

[0058] In summary, this embodiment provides a network configuration method for terminal devices, which can specifically obtain the device status information of the terminal devices in a preset area, and then determine the network configuration devices that can be connected to the network according to the device status information, and then analyze these network configuration devices, and control the completion of the network configuration of the network configuration devices. It can be seen that this embodiment can control the number of terminal devices connected to the gateway device, effectively avoiding the problem of too many connections to the gateway device, which causes a large network burden and affects the data transmission efficiency of the terminal devices that have been connected to the network, thereby causing inconvenience to the user.

[0059] Exemplary Devices

[0060] like Figure 5 As shown in , an embodiment of the present invention provides a network configuration device for a terminal device, the device comprising: a device determination module 10, an authority determination module 20, and a network configuration execution module 30, wherein:

[0061] The device determination module 10 is used to obtain device status information of terminal devices in a preset area and determine the devices to be networked according to the device status information;

[0062] The authority determination module 20 is used to obtain the network configuration request information sent by the network configuration device, and determine the network configuration authority of the network configuration device according to the network configuration request information;

[0063] The network configuration execution module 30 is used to obtain network configuration information according to the network configuration authority, and send the network configuration information to the device to be configured, so that the device to be configured completes the network configuration according to the network configuration information.

[0064] In one implementation, the device determination module 10 includes:

[0065] A status information acquisition unit, used to acquire device status information of terminal devices in a preset area through a preset radar device;

[0066] A duration information determination unit, used to determine the duration of a terminal device's stay in a preset area according to the device status information;

[0067] The to-be-configured network device determining unit is used to determine the to-be-configured network device according to the stay time.

[0068] In one implementation, the authority determination module 20 includes:

[0069] The device information acquisition unit is used to acquire the network configuration request information sent by the device to be configured, and parse the network configuration request information to obtain the device information of the device to be configured;

[0070] An identification information acquisition unit is used to parse the device information to obtain the device identification information in the device information, where the device identification information is used to reflect the physical address of the device to be configured;

[0071] The network configuration authority determination unit is used to verify the physical address in the device identification information and determine the network configuration authority of the device to be configured.

[0072] In one implementation, the network configuration execution module 30 includes:

[0073] A network configuration information acquisition unit, used to acquire the network configuration information sent by the receiving gateway device if the network configuration authority is authorized;

[0074] A connection information acquisition unit, used to decrypt the network configuration information to obtain network connection information;

[0075] The network configuration execution control unit is used to send network connection information to the network configuration device to enable the network configuration device to connect to the gateway device corresponding to the network connection information.

[0076] Based on the above embodiments, the present invention further provides a gateway device, whose principle block diagram can be shown as follows: Figure 6As shown. The gateway device includes a processor, a memory, a network interface, a display screen, and a temperature sensor connected through a system bus. Among them, the processor of the gateway device is used to provide computing and control capabilities. The memory of the gateway device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the gateway device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a network distribution method for a terminal device is implemented. The display screen of the gateway device can be a liquid crystal display screen or an electronic ink display screen, and the temperature sensor of the gateway device is pre-set inside the gateway device to detect the operating temperature of the internal device.

[0077] Those skilled in the art will understand that Figure 6 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the solution of the present invention, and does not constitute a limitation on the terminal device to which the solution of the present invention is applied. The specific gateway device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0078] In one embodiment, a gateway device is provided. The gateway device includes a memory, a processor, and a network configuration program of a terminal device stored in the memory and executable on the processor. When the processor executes the network configuration program of the terminal device, the following operation instructions are implemented:

[0079] Obtain device status information of terminal devices in a preset area, and determine the devices to be networked according to the device status information;

[0080] Obtain the network configuration request information sent by the device to be configured, and determine the network configuration authority of the device to be configured according to the network configuration request information;

[0081] The network configuration information is obtained according to the network configuration authority, and the network configuration information is sent to the device to be configured so that the device to be configured completes the network configuration according to the network configuration information.

[0082] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0083] In summary, the present invention discloses a network configuration method, device, gateway device and storage medium for terminal devices, the method comprising: obtaining device status information of terminal devices in a preset area, and determining the devices to be configured based on the device status information; obtaining network configuration request information sent by the devices to be configured, and determining the network configuration authority of the devices to be configured based on the network configuration request information; obtaining network configuration information based on the network configuration authority, and sending the network configuration information to the devices to be configured, so that the devices to be configured complete the network configuration based on the network configuration information. The present invention analyzes the terminal devices in the preset area, determines the devices to be configured that can be connected to the network, and thus controls these devices to be configured to complete the network configuration, avoiding the problem of heavy network burden caused by too many connections of gateway devices, and causing inconvenience to users.

[0084] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A network configuration method for a terminal device, characterized in that: include: Obtaining device status information of terminal devices in a preset area, and determining the device to be networked according to the device status information; Obtaining network configuration request information sent by the device to be configured, and determining the network configuration authority of the device to be configured according to the network configuration request information; Acquire network configuration information according to the network configuration authority, and send the network configuration information to the device to be configured, so that the device to be configured completes the network configuration according to the network configuration information; The obtaining of device status information of terminal devices in a preset area, and determining the device to be networked according to the device status information, includes: Acquire device status information of terminal devices in a preset area through a preset radar device, wherein the device status information reflects the status of the terminal devices and is used to determine whether the terminal devices are movable or fixed; Determining the length of time the terminal device stays in the preset area according to the device status information; The device to be networked is determined according to the stay time.

2. The method according to claim 1, characterized in that The obtaining, by means of a preset radar device, device status information of a terminal device in a preset area includes: Sending radar detection waves to terminal devices in a preset area through a preset radar device; receiving feedback information from a terminal device in the preset area in response to the radar detection wave feedback, and determining location information of the terminal device in the preset area according to the feedback information; If the location information of the terminal device A changes, it is determined that the device status information of the terminal device A is that the device is movable, and the terminal device A is any one of the terminal devices in the preset area.

3. The method according to claim 2, characterized in that The step of determining the residence time of the terminal device in the preset area according to the device status information includes: If the device status information indicates that the device is movable, then obtaining activity record information of the terminal device in the preset area, wherein the activity record information is used to reflect the movement record of the terminal device in the preset area during movement; The duration of stay of the terminal device in the preset area is determined according to the activity record information.

4. The method according to claim 3, characterized in that The determining of the to-be-connected network device according to the stay time includes: Compare the dwell time of each terminal device with the time threshold; If the stay duration is greater than the duration threshold, the corresponding terminal device is used as a device to be networked.

5. The method according to any one of claims 1 to 4, characterized in that: The obtaining of the network configuration request information sent by the device to be configured, and determining the network configuration authority of the device to be configured according to the network configuration request information, includes: Obtaining network configuration request information sent by the device to be configured, and parsing the network configuration request information to obtain device information of the device to be configured; Parsing the device information to obtain device identification information in the device information, where the device identification information is used to reflect the physical address of the device to be networked; The physical address in the device identification information is verified to determine the network configuration authority of the device to be configured.

6. The method according to claim 5, characterized in that The verifying the physical address in the device identification information to determine the network configuration authority of the device to be configured includes: Matching the physical address in the device identification information with a preset whitelist, wherein the whitelist stores the physical addresses of several terminal devices with network configuration authority; If the physical address is in the whitelist, it is determined that the network configuration authority of the device to be configured is authorized.

7. The method according to claim 1, characterized in that The acquiring network configuration information according to the network configuration authority and sending the network configuration information to the device to be configured includes: If the network configuration permission is authorized, the network configuration information sent by the receiving gateway device is obtained; Decrypting the network configuration information to obtain network connection information; The network connection information is sent to the device to be networked, so that the device to be networked is connected to a gateway device corresponding to the network connection information.

8. A network distribution device for a terminal device, characterized in that: The device is used to implement the steps of the network configuration method for the terminal device according to any one of claims 1 to 7, and the device includes: The device determination module is used to obtain the device status information of the terminal devices in the preset area, and determine the device to be configured according to the device status information; The authority determination module is used to obtain the network configuration request information sent by the network configuration device, and determine the network configuration authority of the network configuration device according to the network configuration request information; The network configuration execution module is used to obtain network configuration information according to the network configuration authority, and send the network configuration information to the device to be configured, so that the device to be configured completes the network configuration according to the network configuration information.

9. A gateway device, characterized in that: The gateway device includes a memory, a processor, and a network configuration program of the terminal device stored in the memory and executable on the processor. When the processor executes the network configuration program of the terminal device, the steps of the network configuration method of the terminal device as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a network configuration program for a terminal device. When the network configuration program for the terminal device is executed by a processor, the steps of the network configuration method for a terminal device as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Network distribution method and device, storage medium and processor

    CN111741509A

  • Intelligent equipment distribution network authentication method and system and storage medium

    CN111867002A