CN114630330A - Network distribution method and device for terminal equipment, gateway equipment and storage medium - Google Patents

Network distribution method and device for terminal equipment, gateway equipment and storage medium Download PDF

Info

Publication number
CN114630330A
CN114630330A CN202011463568.9A CN202011463568A CN114630330A CN 114630330 A CN114630330 A CN 114630330A CN 202011463568 A CN202011463568 A CN 202011463568A CN 114630330 A CN114630330 A CN 114630330A
Authority
CN
China
Prior art keywords
equipment
distribution network
information
distributed
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011463568.9A
Other languages
Chinese (zh)
Inventor
林嘉明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011463568.9A priority Critical patent/CN114630330A/en
Publication of CN114630330A publication Critical patent/CN114630330A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/06Access restriction performed under specific conditions based on traffic conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Abstract

The invention discloses a network distribution method and device of terminal equipment, gateway equipment and a storage medium, wherein the method comprises the following steps: acquiring equipment state information of terminal equipment in a preset area, and determining equipment to be distributed according to the equipment state information; acquiring distribution network request information sent by equipment to be distributed, and determining distribution network permission of the equipment to be distributed according to the distribution network request information; and acquiring distribution network information according to the distribution network authority, and sending the distribution network information to the equipment to be distributed, so that the equipment to be distributed completes distribution network according to the distribution network information. The invention analyzes the terminal equipment in the preset area to determine the equipment to be networked, thereby controlling the equipment to be networked to complete the network distribution, and avoiding the problem of large network burden caused by excessive connection quantity of gateway equipment and causing inconvenience for users.

Description

Network distribution method and device for terminal equipment, gateway equipment and storage medium
Technical Field
The present invention relates to the field of distribution network technologies, and in particular, to a network distribution method and apparatus for a terminal device, a gateway device, and a storage medium.
Background
Today, people and various terminal devices such as videos and videos are surrounded by mobile phones, tablets, computers and televisions in life, and the terminal devices slowly permeate into all corners of people's life. With the popularization of terminal devices, users carry the terminal devices (such as mobile phones) with the users in daily trips, and when the users arrive at some occasions, the network distribution needs to be carried out on the terminal devices of the users, so that data interaction with the terminal devices of the users is achieved. The number of gateway devices that can be connected is limited, and not unlimited terminal devices. When the connection quantity of the gateway device is too much, the network load is large, and the data transmission efficiency of the terminal device which is already networked is influenced, so that inconvenience is caused to the use of the user.
Thus, there is a need for improvements and enhancements in the art.
Disclosure of Invention
The present invention provides a network distribution method and apparatus for a terminal device, a gateway device, and a storage medium, aiming at solving the problem that when the number of connected gateway devices is too large, the network load is large, the data transmission efficiency of the networked terminal device is affected, and the use of the user is inconvenient.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a network distribution method for a terminal device, including:
acquiring equipment state information of terminal equipment in a preset area, and determining equipment to be distributed according to the equipment state information;
acquiring distribution network request information sent by equipment to be distributed, and determining distribution network permission of the equipment to be distributed according to the distribution network request information;
and acquiring distribution network information according to the distribution network authority, and sending the distribution network information to the equipment to be distributed, so that the equipment to be distributed completes distribution network according to the distribution network information.
In a second aspect, an embodiment of the present invention further provides a network distribution device for a terminal device, where the network distribution device includes:
the device determining module is used for acquiring device state information of terminal devices in a preset area and determining devices to be distributed according to the device state information;
the authority determining module is used for acquiring distribution network request information sent by the equipment to be distributed and determining distribution network authority of the equipment to be distributed according to the distribution network request information;
and the distribution network execution module is used for acquiring distribution network information according to the distribution network authority and sending the distribution network information to the equipment to be distributed so that the equipment to be distributed completes distribution network according to the distribution network information.
In a third aspect, an embodiment of the present invention further provides a gateway device, where the gateway device includes a memory, a processor, and a network distribution program of a terminal device that is stored in the memory and is capable of running on the processor, and when the processor executes the network distribution program of the terminal device, the method for distributing a network of the terminal device in the foregoing scheme is implemented.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a distribution network program of a terminal device is stored on the computer-readable storage medium, and when the distribution network program of the terminal device is executed by a processor, the steps of the distribution network method of the terminal device in the foregoing scheme are implemented.
Has the advantages that: compared with the prior art, the invention provides a network distribution method of terminal equipment, which comprises the steps of obtaining equipment state information of the terminal equipment in a preset area, then determining equipment to be networked which can be networked according to the equipment state information, then analyzing the equipment to be networked, and controlling to complete the network distribution of the equipment to be networked. Therefore, the invention can control the number of the terminal devices connected with the gateway device, and effectively avoids the problems of large network burden and influence on the data transmission efficiency of the networked terminal devices when the number of the connected gateway devices is too large, thereby causing inconvenience to the use of users.
Drawings
Fig. 1 is a flowchart of a specific implementation of a network distribution method for a terminal device according to an embodiment of the present invention.
Fig. 2 is a flowchart of determining a device to be networked in the network distribution method of the terminal device provided in the embodiment of the present invention.
Fig. 3 is a flowchart of determining a distribution network right in the distribution network method of the terminal device according to the embodiment of the present invention.
Fig. 4 is a flowchart of completing a network distribution in the network distribution method of the terminal device according to the embodiment of the present invention.
Fig. 5 is a schematic block diagram of a network distribution device of a terminal device according to an embodiment of the present invention.
Fig. 6 is a schematic block diagram of an internal structure of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Today, people and various terminal devices such as videos and videos are surrounded by mobile phones, tablets, computers and televisions in life, and the terminal devices slowly permeate into all corners of people's life. With the popularization of terminal devices, users carry the terminal devices (such as mobile phones) with the users in daily trips, and when the users arrive at some occasions, the network distribution needs to be carried out on the terminal devices of the users, so that data interaction with the terminal devices of the users is achieved. The number of gateway devices that can be connected is limited, and not unlimited terminal devices. When the connection quantity of the gateway device is too much, the network load is large, and the data transmission efficiency of the terminal device which is already networked is influenced, so that inconvenience is caused to the use of the user. For example, in the application scenario of a large-scale intelligent household appliance store, the functions of various products are more and more advanced, and therefore, the demonstration to customers needs to be performed through networking, and if all devices are networked, the network burden is too large, and the demonstration effect is affected.
In order to solve the problems in the prior art, the present embodiment provides a network distribution method for a terminal device, and by the network distribution method of the present embodiment, the problems that when the number of connected gateway devices is too large, the network load is large, and the data transmission efficiency of the networked terminal device is affected are effectively avoided, so that inconvenience is brought to the use of a user. In specific implementation, in this embodiment, first, device state information of terminal devices in a preset area is obtained, and a device to be distributed is determined according to the device state information. And then, acquiring distribution network request information sent by the equipment to be distributed, and determining the distribution network authority of the equipment to be distributed according to the distribution network request information. And finally, acquiring distribution network information according to the distribution network authority, and controlling the equipment to be distributed to complete distribution network according to the distribution network information. Therefore, the invention can control the number of the terminal devices connected with the gateway device, thereby ensuring the data transmission efficiency of the networked devices.
Exemplary method
The network distribution method of the terminal device in this embodiment may be applied to a gateway device, and specifically as shown in fig. 1, the method includes the following steps:
step S100, obtaining equipment state information of terminal equipment in a preset area, and determining equipment to be distributed according to the equipment state information.
In order to control the number of terminal devices connected to the gateway device, in this embodiment, the terminal devices in the preset area need to be analyzed, and a device to be networked that can be networked is determined from the terminal devices, so as to control the number of terminal devices connected to the gateway device. In specific implementation, the method first obtains the device state information of the terminal device in the preset area, and then determines the device to be distributed according to the device state information. In this embodiment, the number of the terminal devices connected to the gateway device is controlled, and the terminal devices in a mobile state are mainly controlled, for example, when a customer enters a shopping mall, the terminal devices of the customer are automatically networked, and at this time, it is required to control whether the terminal devices of the customer can be connected to the gateway device, whereas for the terminal devices fixed in the shopping mall, the terminal devices are fixed and are always connected to the gateway device. The device state information in this embodiment reflects the state of the terminal device, that is, whether the terminal device is movable or fixed is determined, and if the terminal device is movable, the movable terminal devices may be analyzed to determine the device to be connected to the network.
In one implementation, as shown in fig. 2, step S100 specifically includes the following steps:
step S101, acquiring equipment state information of terminal equipment in a preset area through a preset radar device;
step S102, determining the stay time of the terminal equipment in a preset area according to the equipment state information;
and S103, determining equipment to be distributed according to the stay time.
In order to analyze the terminal devices in the preset area, the present embodiment first needs to determine the preset area, and then obtains all the terminal devices in the preset area. The present embodiment may determine the preset region through a preset image capturing device. Specifically, the embodiment starts a preset image acquisition device to automatically scan the pattern of the surrounding environment, and generates map information of a preset area. After the preset area is determined, the embodiment may acquire the terminal device in the preset area. Specifically, in this embodiment, the gateway device is controlled to automatically scan the terminal device in the preset area after being powered on, because the terminal device automatically enters the distribution network mode in 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, and when the gateway device scans the request frame and obtains the specific field from the request frame, it can be determined that the terminal device exists in the preset area, so that all the terminal devices can be obtained.
In an implementation manner, after determining the terminal devices in the preset area, the embodiment may determine the device to be networked from the terminal devices. Specifically, the present embodiment may obtain device status information of the terminal devices in the preset area, where the device status information reflects which of the terminal devices are movable, so that the device to be networked may be determined from the movable terminal devices. In specific implementation, the present embodiment may send the radar detection wave to the terminal device in the preset area through the preset radar device, for example, the radar device may be controlled to send the radar detection wave to the terminal device multiple times per second, then receive feedback information fed back by the terminal device in the preset area in response to the radar detection wave, and determine the position information of the terminal device in the preset area according to the feedback information, so that the change of the position information of the terminal device before and after receiving the radar detection wave may be determined. And if the position information of the terminal device A changes, determining that the device state information of the terminal device A is movable, wherein the terminal device A is any one of the terminal devices in the preset area. If the device state information of the terminal device a is movable, it indicates that the terminal device a is not a fixed terminal device in the preset area, and in order to prevent the gateway device from connecting too many terminal devices, the number of the connected gateway devices needs to be controlled.
In an implementation manner, if the device state information indicates that the device is movable, the embodiment obtains activity record information of the terminal device in the preset area, where the activity record information is used to reflect a movement record of the terminal device in the preset area during movement. In this embodiment, the movement record may reflect information such as a movement track, a staying time, and a staying number of the terminal device in the preset area, so that the embodiment may determine the staying time of the terminal device in the preset area according to the activity record information. If the terminal device stays for a long enough time, it is indicated that the terminal device does not pass through temporarily, but stays in the preset area for a long time, so that the terminal device needs to be connected with a gateway device to enable the terminal device to be networked. Therefore, in this embodiment, after the information of the staying duration of each terminal device is obtained, the staying duration of each terminal device is compared with the duration threshold; and if the stay time is longer than the time threshold, taking the corresponding terminal equipment as the equipment to be networked.
S200, acquiring distribution network request information sent by the equipment to be distributed, and determining distribution network permission of the equipment to be distributed according to the distribution network request information.
After the devices to be distributed are determined from all the terminal devices in the preset area, the present embodiment may perform distribution network control on the devices to be distributed. Specifically, the network distribution request information of the device to be configured needs to be acquired first. In this embodiment, the distribution network request information is sent by the device to be distributed, and is used to reflect the intention of the device to be distributed to connect to the gateway device. For example, if the tablet computer is a device to be connected to the network, the tablet computer may send the network connection request information when the gateway device needs to be connected. After the terminal device receives the distribution network request information, the embodiment can determine the distribution network permission of the device to be distributed according to the distribution network request information, so as to realize distribution network.
In one implementation, as shown in fig. 3, step S200 specifically includes the following steps:
step S201, acquiring distribution network request information sent by equipment to be distributed, and analyzing the distribution network request information to obtain equipment information of the equipment to be distributed;
step S202, analyzing the equipment information to obtain equipment identification information in the equipment information, wherein the equipment identification information is used for reflecting the physical address of the equipment to be networked;
step S203, verifying the physical address in the equipment identification information, and determining the distribution network authority of the equipment to be distributed.
In specific implementation, the device information of the device to be configured may be determined according to the network configuration request information. In this embodiment, the device information reflects parameter information of the device to be networked, where the parameter information includes name information of the device to be networked, and functional parameters (for example, functional parameters of a refrigerator are information such as a refrigerating temperature and a freezing temperature), and all devices to be networked can be distinguished and identified through the device information, and device identification information in the device information can also be obtained, where the device identification information is used to reflect a physical address of the device to be networked. And then, verifying the physical address in the equipment identification information so as to determine the distribution network authority of the equipment to be distributed, thereby realizing distribution network.
In an implementation manner, in this embodiment, a distribution network state of the device to be configured is first obtained, where the distribution network state reflects whether the device to be configured has started a distribution network mode at this time, and if the device to be configured is in the distribution network mode at this time, it indicates that the device to be configured has been powered on and started at this time, so that the device to be configured can send distribution network request information. In an implementation manner, the distribution network request information sent by the device to be configured is sent in the form of broadcast information, for example, the device to be configured may automatically send the broadcast distribution network request information, where the distribution network request information includes a probe request frame, that is, a probe request frame, so that the gateway device knows which devices to be configured exist, so as to implement distribution network through these devices in the subsequent steps. Specifically, in the distribution network request information in this embodiment, specific field information may be added to the probe frame, where the field information may be used to identify the existence of the device to be configured, that is, when the gateway device in the surrounding environment receives the distribution network request information, the existence of the device to be configured may be known from the field information in the probe frame of the distribution network request information.
After receiving the distribution network request information, the present embodiment may analyze the distribution network request information to obtain the device information in the distribution network request information. Since the device information may be used to distinguish the device to be networked, in this embodiment, the distribution network request information may carry device information of the device to be networked, such as device identification information, such as a device type, a device ID, and a physical address of the device to be networked, so that the device information is obtained from the distribution network request information in time when the distribution network request information is received, and what device the device to be networked is can be known. For example, when the device to be networked is a tablet computer, after the distribution network request information of the tablet computer is received, the device information of the tablet computer can be obtained from the distribution network request information, such as information that the device type is a communication device, the device ID is PAD, and the physical address is XXX.
Because the device information can be used for distinguishing devices to be distributed, and the device information includes device identification information such as device types, device IDs, physical addresses and the like, the distribution network permission of the devices to be distributed can be determined according to the device information after the device information is obtained, that is, whether the devices to be distributed can be distributed or not can be determined according to the device information, so that the situation of malicious distribution network can be prevented.
In this embodiment, when determining the distribution right of the device to be distributed, the device information may be analyzed, and device identification information is obtained from the device information, where the device identification information is information such as a device type, a device ID, and a physical address. Because the device information of each device to be networked is different, the device identification information is also different, and different devices to be networked can be distinguished through the device identification information. Therefore, the distribution network authority of the device to be distributed can be analyzed according to the device identification information. Specifically, in an implementation manner, in a specific application, after a networked device scans a probe frame in distribution network request information sent by a device to be distributed, device information carried in the distribution network request information may be reported to a cloud server, and the cloud server may store the device information so as to call in a subsequent step. Therefore, when the distribution network permission of the device to be distributed needs to be analyzed, the embodiment can acquire the device information from the cloud server. When the terminal device obtains the device information, the device information can be analyzed to obtain the device identification information. Since the device identification information carries the physical address, and the physical address is the unique identifier of each to-be-configured network device, the embodiment verifies the physical address to obtain a verification result, and determines the network-configuring permission of the to-be-configured network device according to the verification result.
In an implementation manner, the embodiment may match a physical address in the device identification information with a preset white list, and if the matching is successful, the device to be networked corresponding to the physical address is said to have a network distribution right. The white list is preset, and physical addresses of a plurality of terminal devices with distribution network authority are stored in the white list. For example, the device information of the tablet computer, the smart television and the smart refrigerator is stored in a white list in advance, which indicates that the tablet computer, the smart television and the smart refrigerator have the distribution network authority. In this embodiment, when the distribution network right of the device to be distributed is determined, the obtained physical address (i.e., the MAC address) may be matched with the white list, and if the physical address of the device to be distributed is in the white list, it is determined that the distribution network right of the device to be distributed is authorized, that is, it indicates that the device to be distributed has the distribution network right. The embodiment verifies that the distribution network authority of the device to be distributed is to determine what device the device to be connected to the wireless network is, and further determines whether the device to be distributed can be connected to the wireless network, so as to prevent the malicious distribution network.
Certainly, the white list in this embodiment may be updated, that is, operations such as replacing and deleting the device information stored in the white list may be performed. For example, when the device information of the device to be networked is not set in the white list, and the user wants to connect the device to be networked to the wireless network, the white list may be updated. In specific application, the device information of the device to be networked can be acquired from the cloud server, and then the device information is added into the white list, so that the device to be networked obtains the network distribution permission, namely, the device to be networked is allowed to connect the wireless network.
Step S300, acquiring distribution network information according to the distribution network authority, and sending the distribution network information to the equipment to be distributed, so that the equipment to be distributed completes distribution network according to the distribution network information.
In this embodiment, after the distribution network authority of the equipment to be distributed is determined, the distribution network can be realized according to the distribution network authority. When the network is distributed, the present embodiment acquires the distribution network information issued by the gateway device, where the distribution network information includes a network address, network connection password information, and the like. Therefore, after the distribution network information is acquired, the wireless network connection can be performed according to the distribution network information, so that a user does not need to input any distribution network information on the equipment to be distributed, and convenience is brought to the user.
In one implementation, as shown in fig. 4, step S300 specifically includes the following steps:
step S301, if the distribution network authority is authorized, acquiring distribution network information issued by a receiving gateway device;
step S302, carrying out decryption processing on the distribution network information to obtain network connection information;
step S303, sending network connection information to the device to be networked so that the device to be networked is connected with the gateway device corresponding to the network connection information.
In this embodiment, if it is determined that the distribution network authority of the device to be distributed is authorized, the distribution network operation is started. Specifically, the gateway device issues distribution network information to the authorized terminal device, where the distribution network information includes wireless network address information and network password information. Therefore, the device to be configured can perform network distribution according to the network distribution information so as to connect the gateway device. As can be seen, when the device to be configured in this embodiment performs network distribution, it is not necessary to input any network password information in the device to be configured, and only the network distribution information issued by the gateway device needs to be acquired, so that network distribution can be performed according to the network distribution information.
And after the network distribution of the equipment to be distributed is finished, binding the equipment to be distributed with the gateway equipment according to the equipment information of the equipment to be distributed. In specific implementation, the embodiment can acquire the device information of the device to be connected with the network from the cloud server, then acquire the device ID, the physical address and other information from the device information, and then bind the device ID, the physical address and other information with the wireless router, so that the device to be connected with the wireless router can be directly connected when network connection is performed next time, and automatic network distribution is realized. When binding is completed, the user may be notified that binding was successful. In addition, the embodiment can also copy and backup the device information of all bound terminal devices in the gateway device to the cloud server, and when the gateway device needs to be replaced, the embodiment can download the device information stored in the gateway device before replacement from the cloud server and synchronize the device information to the replaced gateway device, so that all the terminal devices can be normally connected with the wireless network.
In summary, the present embodiment provides a network distribution method for a terminal device, which specifically includes obtaining device state information of a terminal device in a preset area, then determining a device to be networked that can be networked according to the device state information, then analyzing the device to be networked, and controlling to complete a network distribution of the device to be networked. Therefore, the number of the terminal devices connected with the gateway device can be controlled, the problems that the network burden is large and the data transmission efficiency of the terminal devices which are already networked is influenced when the number of the connected terminal devices of the gateway device is too large are effectively solved, and inconvenience is brought to the use of users.
Exemplary device
As shown in fig. 5, an embodiment of the present invention provides a network distribution apparatus for a terminal device, where the apparatus includes: the device comprises an equipment determining module 10, an authority determining module 20 and a distribution network executing module 30, wherein:
the device determining module 10 is configured to acquire device state information of terminal devices in a preset area, and determine a device to be distributed according to the device state information;
the authority determining module 20 is configured to obtain distribution network request information sent by the to-be-distributed network device, and determine a distribution network authority of the to-be-distributed network device according to the distribution network request information;
and the distribution network execution module 30 is configured to acquire distribution network information according to the distribution network authority, and send the distribution network information to the device to be distributed, so that the device to be distributed completes distribution of a network according to the distribution network information.
In one implementation, the device determination module 10 includes:
the state information acquisition unit is used for acquiring the equipment state information of the terminal equipment in the preset area through a preset radar device;
the time length information determining unit is used for determining the stay time length of the terminal equipment in the preset area according to the equipment state information;
and the network equipment to be distributed determining unit is used for determining the network equipment to be distributed according to the stay time.
In one implementation, the permission determination module 20 includes:
the device information acquisition unit is used for acquiring the distribution network request information sent by the device to be distributed and analyzing the distribution network request information to obtain the device information of the device to be distributed;
the device comprises an identification information acquisition unit, a network configuration unit and a network configuration unit, wherein the identification information acquisition unit is used for analyzing the device information to obtain the device identification information in the device information, and the device identification information is used for reflecting the physical address of the device to be networked;
and the distribution network authority determining unit is used for verifying the physical address in the equipment identification information and determining the distribution network authority of the equipment to be distributed.
In one implementation, the distribution network execution module 30 includes:
the distribution network information acquisition unit is used for acquiring distribution network information issued by the receiving gateway equipment if the distribution network authority is authorized;
the connection information acquisition unit is used for decrypting the distribution network information to obtain network connection information;
and the distribution network execution control unit is used for sending network connection information to the equipment to be distributed so as to enable the equipment to be distributed to be connected with the gateway equipment corresponding to the network connection information.
Based on the above embodiments, the present invention further provides a gateway device, and a schematic block diagram thereof may be as shown in fig. 6. The gateway device comprises a processor, a memory, a network interface, a display screen and a temperature sensor which are connected through a system bus. Wherein the processor of the gateway device is configured to provide computing and control capabilities. The memory of the gateway device comprises a nonvolatile 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 an operating system and computer programs in the non-volatile storage medium. The network interface of the gateway device is used for communicating with an external terminal through network connection. The computer program is executed by a processor to implement a network distribution method for a terminal device. 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 arranged in the gateway device in advance and used for detecting the operating temperature of the internal device.
It will be understood by those skilled in the art that the schematic block diagram shown in fig. 6 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the terminal device to which the solution of the present invention is applied, and a specific gateway device may include more or less components than those shown in the figure, or combine some components, or have a different arrangement of components.
In one embodiment, a gateway device is provided, where the gateway device includes a memory, a processor, and a distribution network program of a terminal device stored in the memory and operable on the processor, and when the processor executes the distribution network program of the terminal device, the following operation instructions are implemented:
acquiring equipment state information of terminal equipment in a preset area, and determining equipment to be distributed according to the equipment state information;
acquiring distribution network request information sent by equipment to be distributed, and determining distribution network permission of the equipment to be distributed according to the distribution network request information;
and acquiring distribution network information according to the distribution network authority, and sending the distribution network information to the equipment to be distributed, so that the equipment to be distributed completes distribution network according to the distribution network information.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may 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. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
In summary, the present invention discloses a network distribution method and apparatus for a terminal device, a gateway device, and a storage medium, wherein the method includes: acquiring equipment state information of terminal equipment in a preset area, and determining equipment to be distributed according to the equipment state information; acquiring distribution network request information sent by equipment to be distributed, and determining distribution network permission of the equipment to be distributed according to the distribution network request information; and acquiring distribution network information according to the distribution network authority, and sending the distribution network information to the equipment to be distributed so that the equipment to be distributed completes distribution network according to the distribution network information. The invention analyzes the terminal equipment in the preset area to determine the equipment to be networked, thereby controlling the equipment to be networked to complete the network distribution, and avoiding the problem of large network burden caused by excessive connection quantity of gateway equipment and causing inconvenience for users.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (11)

1. A network distribution method of terminal equipment is characterized by comprising the following steps:
acquiring equipment state information of terminal equipment in a preset area, and determining equipment to be networked according to the equipment state information;
acquiring distribution network request information sent by the equipment to be distributed, and determining the distribution network authority of the equipment to be distributed according to the distribution network request information;
and acquiring distribution network information according to the distribution network authority, and sending the distribution network information to the equipment to be distributed so that the equipment to be distributed completes distribution network according to the distribution network information.
2. The method according to claim 1, wherein the obtaining device state information of the terminal device in the preset area and determining the device to be networked according to the device state information comprises:
acquiring equipment state information of terminal equipment in a preset area through a preset radar device;
determining the stay time of the terminal equipment in the preset area according to the equipment state information;
and determining equipment to be networked according to the stay time.
3. The method according to claim 2, wherein the obtaining, by a preset radar device, the device state information of the terminal devices in a preset area comprises:
sending radar detection waves to terminal equipment in a preset area through a preset radar device;
receiving feedback information fed back by the terminal equipment in the preset area in response to the radar detection wave, and determining the position information of the terminal equipment in the preset area according to the feedback information;
and if the position information of the terminal device A changes, determining that the device state information of the terminal device A is movable, wherein the terminal device A is any one of the terminal devices in the preset area.
4. The method according to claim 3, wherein the determining the stay time of the terminal device in the preset area according to the device status information comprises:
if the equipment state information is that the equipment is movable, acquiring activity record information of the terminal equipment in the preset area, wherein the activity record information is used for reflecting a movement record in the movement process of the terminal equipment in the preset area;
and determining the stay time of the terminal equipment in the preset area according to the activity record information.
5. The method according to claim 4, wherein the determining the device to be networked according to the stay time comprises:
comparing the stay time of each terminal device with a time threshold;
and if the stay time is longer than the time threshold, taking the corresponding terminal equipment as the equipment to be networked.
6. The method according to any one of claims 1 to 5, wherein the obtaining of the distribution network request information sent by the device to be distributed and the determining of the distribution network permission of the device to be distributed according to the distribution network request information include:
acquiring distribution network request information sent by the equipment to be distributed, and analyzing the distribution network request information to obtain equipment information of the equipment to be distributed;
analyzing the equipment information to obtain equipment identification information in the equipment information, wherein the equipment identification information is used for reflecting the physical address of the equipment to be networked;
and verifying the physical address in the equipment identification information, and determining the distribution network authority of the equipment to be distributed.
7. The method of claim 6, wherein the verifying the physical address in the device identification information and determining the distribution network authority of the device to be distributed comprises:
matching the physical address in the equipment identification information with a preset white list, wherein the white list stores the physical addresses of a plurality of terminal equipment with distribution network authority;
and if the physical address is in the white list, determining that the distribution network authority of the equipment to be distributed is authorized.
8. The method of claim 1, wherein the obtaining distribution network information according to the distribution network authority and sending the distribution network information to the device to be distributed comprises:
if the distribution network authority is authorized, acquiring distribution network information issued by the receiving gateway equipment;
carrying out decryption processing on the distribution network information to obtain network connection information;
and sending the network connection information to the equipment to be distributed so that the equipment to be distributed is connected with the gateway equipment corresponding to the network connection information.
9. A network distribution device of a terminal device is characterized by comprising:
the device determining module is used for acquiring the device state information of the terminal device in a preset area and determining the device to be networked according to the device state information;
the authority determining module is used for acquiring distribution network request information sent by the equipment to be distributed and determining the distribution network authority of the equipment to be distributed according to the distribution network request information;
and the distribution network execution module is used for acquiring distribution network information according to the distribution network authority and sending the distribution network information to the equipment to be distributed so that the equipment to be distributed completes distribution network according to the distribution network information.
10. Gateway device, characterized in that it comprises a memory, a processor and a distribution network program of a terminal device stored in the memory and operable on the processor, the processor implementing the steps of the distribution network method of a terminal device according to any one of claims 1 to 8 when executing the distribution network program of the terminal device.
11. A computer-readable storage medium, on which a distribution network program of a terminal device is stored, which, when executed by a processor, implements the steps of the distribution network method of the terminal device according to any one of claims 1 to 8.
CN202011463568.9A 2020-12-14 2020-12-14 Network distribution method and device for terminal equipment, gateway equipment and storage medium Pending CN114630330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011463568.9A CN114630330A (en) 2020-12-14 2020-12-14 Network distribution method and device for terminal equipment, gateway equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011463568.9A CN114630330A (en) 2020-12-14 2020-12-14 Network distribution method and device for terminal equipment, gateway equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114630330A true CN114630330A (en) 2022-06-14

Family

ID=81896272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011463568.9A Pending CN114630330A (en) 2020-12-14 2020-12-14 Network distribution method and device for terminal equipment, gateway equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114630330A (en)

Similar Documents

Publication Publication Date Title
US20190268155A1 (en) Method for Ensuring Terminal Security and Device
EP3716656B1 (en) Profile generation method, profile acquisition method, and related device and storage medium
EP3541043B1 (en) Account login method and apparatus
US8280986B2 (en) Mobile terminal and associated storage devices having web servers, and method for controlling the same
US10021355B2 (en) Method and device for processing request
US10645568B2 (en) Carrier configuration processing method, device and system, and computer storage medium
US20140113601A1 (en) Method for accessing media content, service server and mobile terminal
US20070066280A1 (en) Connection management system, method and program
US8213991B2 (en) Mobile terminal, associated storage devices and methods of using the same
EP3386167B1 (en) Cloud operation interface sharing method, related device and system
CN102934118A (en) User equipment and control method therefor
CN113225744A (en) Intelligent device ad hoc network method, intelligent networking system and storage medium
CN112839331A (en) User information authentication method for wireless local area network Portal authentication escape
CN112738046A (en) One-key login method, terminal and system server
US11743258B2 (en) Access authenticating
US20220159103A1 (en) Method, device, system, and storage medium for establishing local communication link
CN101800985B (en) Authentication method and system, terminal, server and data downloading method and device
CN114630330A (en) Network distribution method and device for terminal equipment, gateway equipment and storage medium
CN114585055B (en) Vehicle-mounted WiFi access method, vehicle controller, cloud server and mobile terminal
CN114760112B (en) Wireless local area network-oriented intelligent home equipment networking method, system, equipment and storage medium
CN114630331A (en) Network distribution method and device for terminal equipment, terminal equipment and storage medium
CN114500256B (en) Distribution network method and device of terminal equipment, router equipment and storage medium
CN114697053A (en) Method and device for distributing network in batches for terminal equipment, routing equipment and storage medium
CN114698001A (en) Equipment network distribution method, system, terminal equipment and storage medium
CN114697959A (en) Equipment network distribution method and device, gateway equipment and storage medium

Legal Events

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