Home gateway device interconnection method based on 5G network and Mesh network

By determining the main router in the Mesh network and using 5G network connections, the control delay and stability problems of home gateway devices are solved, and stable control and low-latency home gateway devices are realized.

CN119182624BActive Publication Date: 2025-08-05SHENZHEN CUDY TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411278594.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2025-08-05
Estimated Expiration
2044-09-12

AI Technical Summary

Technical Problem

In the existing home gateway device interconnection method, the network delay and stability problems of the main router lead to control delay and instability, affecting the control effect of the home gateway device.

Method used

By calculating the selection parameter values of each router in the Mesh network, determine the router corresponding to the maximum selection parameter value as the main router, and use the 5G network to connect the node router and the home gateway device to reduce latency and enhance network stability.

Benefits of technology

It realizes stable control of home gateway equipment, reduces control delay, and improves network coverage and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119182624B_ABST
    Figure CN119182624B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for interconnecting home gateway devices based on a 5G network and a Mesh network, including: calculating the selection parameter values corresponding to each router in the Mesh network to obtain a plurality of selection parameter values; determining the router corresponding to the maximum selection parameter value as the master router; determining the routers in the Mesh network other than the master router as node routers; and sending the network configuration information of each node router to the home gateway device, so that the home gateway device connects to the master router based on the network configuration information. The present invention determines the router corresponding to the maximum selection parameter value as the master router, ensuring that the determined master router is always the best router with low latency and stability. The 5G network reduces the latency between the router and the master router, and the Mesh network enhances the wireless coverage and network stability, thereby reducing the control latency of the home gateway device and achieving stable control of the home gateway device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technologies, and particularly to a method for interconnecting home gateway devices based on a 5G network and a Mesh network. Background Art

[0002] With the rapid development of the Internet, device interconnection has become a mainstream trend. In the process of existing device interconnection, the main method is the device interconnection method of a single fixed router, that is, a fixed router is selected in the network, and the remaining routers are node routers. Configuration information is sent from the node routers to the home gateway devices, and the home gateway devices are connected to the node routers through the configuration information, so as to complete the connection communication between the home gateway devices and the main router, and realize the interconnection of home gateway devices. However, in the process of network communication, the network of the main router may have problems such as time delay and instability, resulting in time delay in the control of home gateway devices and instability problems. Summary of the Invention

[0003] The present invention provides a method for interconnecting home gateway devices based on a 5G network and a Mesh network, so as to reduce the control time delay of home gateway devices and realize stable control of home gateway devices.

[0004] In a first aspect, the present invention provides a method for interconnecting home gateway devices based on a 5G network and a Mesh network, including:

[0005] Calculating selection parameter values corresponding to each router in the Mesh network to obtain multiple selection parameter values; the selection parameter value corresponding to any router is determined based on the network round-trip delay corresponding to any router and the network control parameter value corresponding to any router;

[0006] Determining the maximum selection parameter value based on the multiple selection parameter values, and determining the router corresponding to the maximum selection parameter value as the main router;

[0007] Determining the routers in the Mesh network other than the main router as node routers; each of the node routers and the main router is connected and communicates through a 5G network;

[0008] Based on each of the node routers, sending its own network configuration information to the home gateway device, so that the home gateway device is connected to the main router based on the network configuration information.

[0009] In a second aspect, the present invention provides a system for interconnecting home gateway devices based on a 5G network and a Mesh network, including:

[0010] A calculation module, configured to calculate the selection parameter values corresponding to each router in the Mesh network, and obtain multiple selection parameter values; the selection parameter value corresponding to any router is determined based on the network round-trip delay corresponding to any router and the network control parameter value corresponding to any router.

[0011] A master router determination module, configured to determine the maximum selection parameter value based on the multiple selection parameter values, and determine the router corresponding to the maximum selection parameter value as the master router;

[0012] A node router determination module, configured to determine the routers in the Mesh network other than the master router as node routers; each of the node routers and the master router are connected and communicate through a 5G network;

[0013] A device connection module, configured to send its own network configuration information to the home gateway device based on each of the node routers, so that the home gateway device connects to the master router based on the network configuration information.

[0014] In a third aspect, the present invention further provides a home gateway device interconnection system based on a 5G network and a Mesh network, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the home gateway device interconnection method based on a 5G network and a Mesh network as described in the first aspect.

[0015] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the home gateway device interconnection method based on a 5G network and a Mesh network as described in the first aspect.

[0016] In a fifth aspect, the present invention further provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the home gateway device interconnection method based on a 5G network and a Mesh network as described in the first aspect.

[0017] The home gateway device interconnection method based on a 5G network and a Mesh network provided by the present invention determines the router corresponding to the maximum value among the selection parameter values as the master router, thereby ensuring that the determined master router is always the best router with low delay and stability. At the same time, the 5G network reduces the delay between the routers and the master router, and the Mesh network enhances the wireless coverage and network stability, thereby reducing the control delay of the home gateway device and realizing the stable control of the home gateway device. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] To more clearly illustrate the technical solutions in the present invention or related technologies, the following will briefly introduce the drawings required for use in the embodiments or related technology descriptions. Obviously, the drawings in the following descriptions are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0019] Figure 1 is a schematic flowchart of a method for interconnecting home gateway devices based on a 5G network and a Mesh network provided by the present invention;

[0020] Figure 2 is a schematic structural diagram of a system for interconnecting home gateway devices based on a 5G network and a Mesh network provided by the present invention;

[0021] Figure 3 is a schematic structural diagram of an electronic device provided by the present invention. Detailed implementation manners

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.

[0023] In the description of the present invention, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the described features. In the description of the present invention, "multiple" means two or more, unless otherwise specifically defined.

[0024] In the description of the present invention, the term "for example" is used to mean "serving as an example, illustration, or explanation". Any embodiment described as "for example" in the present invention is not necessarily construed as more preferred or more advantageous than other embodiments. In order for any person skilled in the art to implement and use the present invention, the following description is given. In the following description, details are set forth for purposes of explanation. It should be understood that those of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other instances, well-known structures and processes will not be elaborated in detail to avoid unnecessary details from obscuring the description of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown, but rather to be in line with the broadest scope consistent with the principles and features disclosed in the present invention.

[0025] Figure 1It is a schematic flowchart of a method for interconnecting home gateway devices based on a 5G network and a Mesh network provided by the present invention. The method for interconnecting home gateway devices based on a 5G network and a Mesh network includes:

[0026] Step 10, calculate the selection parameter values corresponding to each router in the Mesh network to obtain multiple selection parameter values.

[0027] The selection parameter value corresponding to any router in the Mesh network provided by the embodiments of the present invention is determined based on the network round-trip delay corresponding to the router and the network control parameter value corresponding to the router. Therefore, it can be understood that for each router in the Mesh network, its selection parameter value is determined based on its corresponding network round-trip delay and network control parameter value, so as to obtain the selection parameter values of all routers. Among them, the network control parameter values corresponding to different routers can be the control parameter values for the same image or the control parameter values for different images, which are not limited here, but the network control parameter value corresponding to any router must be obtained at the same time as its corresponding network round-trip delay.

[0028] Step 20, determine the maximum selection parameter value based on the multiple selection parameter values, and determine the router corresponding to the maximum selection parameter value as the master router.

[0029] Step 30, determine the routers in the Mesh network other than the master router as node routers.

[0030] Further, determine the maximum selection parameter value from the multiple selection parameter values, determine the router corresponding to the maximum selection parameter value as the master router, and determine the routers in the Mesh network other than the master router as node routers. Each node router and the master router are connected and communicate through the 5G network.

[0031] Step 40, based on each node router, send its own network configuration information to the home gateway device, so that the home gateway device connects to the master router based on the network configuration information.

[0032] Further, each node router sends its own network configuration information to the home gateway device, and the home gateway device connects to the corresponding node router by sending its own network configuration information through the node router, so as to realize the connection of the home gateway device to the master router.

[0033] The embodiments of the present invention determine the router corresponding to the maximum value among each selection parameter value as the master router, so as to ensure that the determined master router is always the best router with low delay and stability. At the same time, the 5G network reduces the delay between the router and the master router, and the Mesh network enhances the wireless coverage and network stability, thereby reducing the control delay of the home gateway device and realizing the stable control of the home gateway device.

[0034] In one embodiment, the selection parameter value corresponding to any router is determined based on the following method:

[0035] Step 101, calculate the normalized average value of the round-trip delays of all users of any router at the target moment to obtain the network round-trip delay corresponding to any router.

[0036] Among them, all users refer to all users using this router, including both master-end users and slave-end users, and there may be multiple master-end users and multiple slave-end users.

[0037] Assume that there are a total of m users, and their round-trip delays when using this router at time k are t1 to t m , and this round-trip delay can be the round-trip delay for these users to receive images. Normalize t1 to t m respectively to obtain the normalized round-trip delays of m users at time k to Among them, t r is the round-trip delay of the r-th user when using this router at time k.

[0038] Use t k to represent the average value of the round-trip delays of m users when using this router at time k, then:

[0039] The network round-trip delay corresponding to this router is

[0040] It should be noted that the round-trip delays of m users using this router can also be obtained at time k and its nearby times before and after, and then the network round-trip delay corresponding to this router can be calculated in the same way based on these round-trip delays. At this time, since the round-trip delay of each user is obtained at different times, that is, t1 to t m represent the round-trip delays at different times before and after time k, then the finally obtained has the condition of 1 ≤ k ≤ m.

[0041] Step 102, calculate the adjacent coefficient sets of multiple pixels in the transmitted image of any router at the target moment to obtain multiple adjacent coefficient sets corresponding to any router.

[0042] Further, calculate the adjacent coefficient sets of multiple pixels in the transmitted image of any router at the target moment to obtain multiple adjacent coefficient sets corresponding to any router.

[0043] In one embodiment, the adjacent coefficient set of any pixel is determined based on the following: based on the target coefficient of the pixel and the target coefficients of the pixels adjacent to the pixel in multiple directions, multiple adjacent coefficients corresponding to the multiple directions are obtained for the pixel; based on the multiple adjacent coefficients, the adjacent coefficient set of the pixel is obtained. In one embodiment, the target coefficient of any pixel is determined based on the following: calculating the average value and standard deviation of the pixel intensities of the transmitted image; based on the average value and standard deviation of the pixel intensities, calculating the de-mean normalization coefficient of the intensity value of the pixel to obtain the target coefficient of the pixel.

[0044] Among them, the multiple directions can be the horizontal direction, vertical direction, main diagonal direction, and sub-diagonal direction, and the target coefficient can be the de-mean normalization coefficient of the pixel intensity value. For the pixel at the i-th row and j-th column in the transmitted image, its target coefficient B(i,j) can be obtained based on the following formula:

[0045]

[0046] Among them, A(i,j) is the intensity value of the pixel at the i-th row and j-th column, μ(i,j) is the average value of the pixel intensities of the transmitted image, σ(i,j) is the standard deviation of the pixel intensities of the transmitted image, C is a constant, which can be set according to actual needs and is not limited here. In this embodiment, C can be set to 1 to prevent the denominator from being 0.

[0047] Assume that the height of the transmitted image is M and the width is N. Then, 1 ≤ i ≤ M, 1 ≤ j ≤ N. The average value and standard deviation of the pixel intensities can be calculated using a K×L two-dimensional Gaussian window in the transmitted image, which plays a role in smoothing and noise reduction for the transmitted image. The specific calculation formulas are as follows:

[0048]

[0049] Among them, A k,l (i,j) is the intensity value of the pixel at the (i + k)-th row and (j + l)-th column in the transmitted image, ω k,l is the weight of this pixel. The values of K and L can be set according to actual needs and are not limited here. In this embodiment, K = L = 3.

[0050] Furthermore, the multiple adjacent coefficients corresponding to the multiple directions for the pixel at the i-th row and j-th column in the transmitted image can be calculated according to the following formula:

[0051] H(i,j) = B(i,j)B(i,j + 1);

[0052] V(i,j) = B(i,j)B(i + 1,j);

[0053] D1(i,j) = B(i,j)B(i + 1,j + 1);

[0054] D2(i, j) = B(i, j) × B(i + 1, j - 1);

[0055] Where, H(i, j) is the horizontal adjacent coefficient of the pixel at the i-th row and j-th column, V(i, j) is the vertical adjacent coefficient of the pixel at the i-th row and j-th column, D1(i, j) is the main diagonal adjacent coefficient of the pixel at the i-th row and j-th column, and D2(i, j) is the sub-diagonal adjacent coefficient of the pixel at the i-th row and j-th column; B(i, j + 1) is the target coefficient of the pixel adjacent to the pixel at the i-th row and j-th column in the horizontal direction, B(i + 1, j) is the target coefficient of the pixel adjacent to the pixel at the i-th row and j-th column in the vertical direction, B(i + 1, j + 1) is the target coefficient of the pixel adjacent to the pixel at the i-th row and j-th column in the main diagonal direction, and B(i + 1, j - 1) is the target coefficient of the pixel adjacent to the pixel at the i-th row and j-th column in the sub-diagonal direction. B(i, j + 1), B(i + 1, j), B(i + 1, j + 1) and B(i + 1, j - 1) can be obtained in the same way as B(i, j), which will not be elaborated here.

[0056] Furthermore, H(i, j), V(i, j), D1(i, j) and D2(i, j) are combined into an adjacent coefficient set of the pixel at the i-th row and j-th column.

[0057] In the embodiment of the present invention, the network round-trip delay of the router is obtained by calculating the normalized average value of the round-trip delays of all users using the router, and the transmission timeliness of the router can be comprehensively evaluated based on the timeliness of all users using the router, thereby improving the evaluation accuracy. At the same time, the network control parameter values corresponding to the router are obtained by using the adjacent coefficients in multiple directions such as the horizontal, vertical, main diagonal and sub-diagonal of each pixel, so that the network control parameter values can evaluate the quality of the transmitted image based on the de-meaned normalization coefficients of each pixel and the intensity values of its adjacent pixels in multiple directions, and improve the evaluation accuracy of the overall quality of the transmitted image.

[0058] Step 103: Based on multiple adjacent coefficient sets, obtain the network control parameter values corresponding to any router.

[0059] Step 104: Fuse the network round-trip delay and the network control parameter values to obtain the selection parameter values corresponding to any router.

[0060] Further, network control parameter values corresponding to any router are obtained based on multiple adjacent coefficient sets. In one embodiment, obtaining network control parameter values corresponding to any router based on multiple adjacent coefficient sets includes: performing parameter fitting based on multiple adjacent coefficient sets to obtain multi-directional image shape control parameter values and multi-directional image diffusion control parameter values corresponding to any router; fusing the multi-directional image shape control parameter values to obtain target shape control parameter values; and fusing the multi-directional image diffusion control parameter values to obtain target diffusion control parameter values.

[0061] Under normal circumstances, these adjacent coefficient sets follow a Gaussian distribution. Therefore, zero-mean asymmetric generalized Gaussian distribution fitting can be performed based on these adjacent coefficient sets. Taking the horizontal adjacent coefficients as an example, the fitting equation is as follows:

[0062]

[0063] where

[0064] where f(.) is the zero-mean asymmetric generalized Gaussian distribution function, x is the independent variable of the function, Γ(.) is the gamma function. The horizontal adjacent coefficients in multiple adjacent coefficient sets are input into formula (3-1) for fitting to obtain the image horizontal shape control parameter value α H , the image left-side diffusion control parameter value under image horizontal shape control and the image right-side diffusion control parameter value under image horizontal shape control

[0065] Similarly, by fitting, the image vertical shape control parameter value α V , the image left-side diffusion control parameter value under image vertical shape control the image right-side diffusion control parameter value under image vertical shape control the image main diagonal shape control parameter value α D1 , the image left-side diffusion control parameter value under image main diagonal shape control the image right-side diffusion control parameter value under image main diagonal shape control the image sub-diagonal shape control parameter value α D2 , the image left-side diffusion control parameter value under image sub-diagonal shape control and the image right-side diffusion control parameter value under image sub-diagonal shape control

[0066] The following formula can be used to calculate the image horizontal shape control parameter value α H , the image vertical shape control parameter value α V , the image main diagonal shape control parameter value α D1and the image sub-diagonal shape control parameter value α D2 are fused to obtain the target shape control parameter value α at time k k :

[0067]

[0068] The image left diffusion control parameter value under image horizontal shape control can be obtained using the following formula The image left diffusion control parameter value under image vertical shape control The image left diffusion control parameter value under image main diagonal shape control and the image left diffusion control parameter value under image sub-diagonal shape control are fused to obtain the target left diffusion control parameter value at time k

[0069] Similarly, the image right diffusion control parameter value under image horizontal shape control can be obtained using the following formula The image right diffusion control parameter value under image vertical shape control The image right diffusion control parameter value under image main diagonal shape control and the image right diffusion control parameter value under image sub-diagonal shape control are fused to obtain the target right diffusion control parameter value at time k

[0070] Furthermore, the network round-trip delay can be obtained according to the following formula The target shape control parameter value α at time k k , the target left diffusion control parameter value at time k and the target right diffusion control parameter value at time are fused to obtain the selection parameter value corresponding to the router

[0071] where, S-NSSAI n represents the NSSAI of the nth home gateway device interconnection assistance information n corresponding to the router S

[0072] When the image is stably transmitted in this router is relatively stable; when mosaics or screen distortion occur due to excessive round-trip delay of the image becomes smaller becomes smaller, then becomes smaller, that is The smaller it is, the worse the network transmission performance of the corresponding router. Therefore, based on all routers' select the maximum value, and determine the master router with the best network transmission performance corresponding to it.

[0073] In an embodiment of the present invention, through the fitting of multiple adjacent coefficient sets, the image shape control parameter values in multiple directions, the image left diffusion control parameter values in multiple directions, and the image right diffusion control parameter values in multiple directions of the router can be obtained. Then, the image shape control parameter values in multiple directions are fused to obtain the target shape control parameter value, the image left diffusion control parameter values in multiple directions are fused to obtain the target left diffusion control parameter value, and the image right diffusion control parameter values in multiple directions are fused to obtain the target right diffusion control parameter value. Finally, these control parameter values are fused with the network round-trip delay to obtain the selection parameter value, so that the selection parameter value incorporates the delay information of the router, as well as the shape control information and diffusion control information of the transmitted image by the router, and can select the router with the best network transmission performance based on accurate network timeliness evaluation and transmission image quality evaluation.

[0074] In one embodiment, for the node router side, the home gateway device interconnection method based on 5G network and Mesh network provided by the embodiment of the present invention further includes:

[0075] Step 50, if the current network configuration information of its own working hotspot changes, then verify the home gateway devices connected to its own guiding hotspot in the target manner according to the device information table.

[0076] Step 60, if the verification passes, then send the latest network configuration information of the working hotspot to the home gateway device through the guiding hotspot;

[0077] Step 70, connect to the home gateway device according to the latest network configuration information.

[0078] Among them, the target manner is that the home gateway device identifies its own guiding hotspot according to the unique association identifier between the guiding hotspot and itself, and connects to the guiding hotspot according to the connection configuration information of the guiding hotspot.

[0079] Before step 50, the node router receives a network configuration information change request sent by the master router for its working hotspot to request to change the service set identifier and / or password of the node router's working hotspot. At this time, the node router can start a timer and set a change synchronization time window, that is, a change time limit.

[0080] In steps 60 to 70, if the verification is passed, the node router can respond to the request of the home gateway device for the latest network configuration information of its working hotspot, and send the latest service set identifier and / or password of the working hotspot to the home gateway device through the bootstrapping hotspot, and reconnect with the home gateway device based on the latest service set identifier and / or password of the working hotspot.

[0081] Further, the node router can encrypt the latest service set identifier and / or password of the working hotspot and then send it to the home gateway device through the bootstrapping hotspot to ensure the secure transmission of the network configuration information.

[0082] In the embodiment of the present invention, a bootstrapping hotspot is set, and its target network configuration information includes the unique association identifier between it and the node router. Therefore, when the current network configuration information of the working hotspot of the node router changes, the home gateway device can first find the bootstrapping hotspot uniquely corresponding to the original node router based on the unique association identifier, so as to accurately find the original node router, and then obtain the updated latest network configuration information of the working hotspot of the original node router through this bootstrapping hotspot, and reconnect with the original node router based on this information, improving the accuracy of the reconnection between the home gateway device and the node router, and being applicable to the scenario where the node router is connected to a relatively large number of home gateway devices.

[0083] In one embodiment, after verifying the home gateway device that is connected to its own bootstrapping hotspot in a target manner according to the device information table, it may include:

[0084] If the verification fails, disconnect the connection with the target home gateway device whose connection to the bootstrapping hotspot has timed out or add the target home gateway device to the blacklist to reduce the resource consumption of the home gateway device connection on the node router.

[0085] In the embodiment of the present invention, the home gateway device establishes a connection with the bootstrapping hotspot through a unique association identifier, and the verification has been performed on the unique association identifier during the connection establishment. The node router also verifies the home gateway device that is connected to its own bootstrapping hotspot in a target manner according to the device information table, and further disconnects or blacklists the illegal devices that fail the verification, that is, improves the security of the network configuration information synchronization process through multiple verifications and reduces the resource consumption of the home gateway device connection on the node router.

[0086] In one embodiment, the device information table can be determined based on the following method:

[0087] Before the current network configuration information of its own working hotspot changes, record the device information of the currently attached home gateway device to obtain an initial information table. The currently attached home gateway device can include the home gateway device currently connected to the working hotspot of the node router and the home gateway device that was previously connected to the working hotspot of the node router but is currently offline. The device information can include device MAC, device type, device model, etc. For the case where the main router initiates multiple requests for changing the working hotspot network configuration information within a short period of time, the node router will create a new initial information table to overwrite the previous initial information table;

[0088] After the current network configuration information of its own working hotspot changes, set the device change status of each home gateway device in the initial information table to the state where it is disconnected from each home gateway device to obtain a device information table. After the setting is completed, the node router will disconnect the connection with each home gateway device.

[0089] The state where the node router is disconnected from each home gateway device can be represented by 0, and the device information table can be as shown in the following table:

[0090] Table 1 Device Information Table

[0091] Device Device MAC Device type Device model Online / offline status Device change status Device 1 ******* ******* ******* Online 0 Device 2 ******* ******* ******* Online 0 Device 3 ******* ******* ******* Online 0 Device 4 ******* ******* ******* Offline 0 …… …… …… …… …… …… Device N ******* ******* ******* Offline 0

[0092] According to the above table, verify the home gateway device connected to its own guiding hotspot in the target manner based on the device information table. It can be judged whether the home gateway device connected to its own guiding hotspot in the target manner is recorded in the device information table through information such as the device MAC in the table. If so, it means that the home gateway device is a device attached to the node router and the verification passes. If not, it means that the home gateway device is an illegal device that has not been authenticated and the verification fails.

[0093] In the embodiment of the present invention, the node router creates an attached device information table during the change of the working hotspot network configuration information, which helps the node router verify the legality of the home gateway device connected to the guiding hotspot.

[0094] In one embodiment, after connecting to the home gateway device according to the latest network configuration information, it includes:

[0095] Set the device change status of the home gateway device already connected to itself in the device information table to the state where it is already connected to each home gateway device to obtain an updated information table; wherein, the state where the node router is already connected to each home gateway device can be represented by 1.

[0096] Determine whether each home gateway device in the updated information table has completed the change of the latest network configuration information of the working hotspot;

[0097] If so, send the information indicating that the change of the latest network configuration information of the current working hotspot has been completed to the user in the form of an APP or a text message, etc.;

[0098] If not, determine whether the change time limit is exceeded;

[0099] If so, send the information of the home gateway device whose latest network configuration information change of the working hotspot in the update information table has not been completed to the user in the form of an APP or a text message, etc., to prompt the user to perform a power-on or restart operation to ensure that the abnormal home gateway device completes the synchronous change of the network configuration information in a timely manner;

[0100] If not, return to the step of verifying the home gateway device connected to its own guiding hotspot in the target manner according to the device information table until the change time limit is exceeded or the latest network configuration information changes of each home gateway device in the update information table are completed.

[0101] In the embodiment of the present invention, when the change times out, the information of the home gateway device whose latest network configuration information change of the working hotspot has not been completed is informed to the user, which can ensure the synchronization of the latest network configuration information change through user intervention. At the same time, for the situation where the network configuration information change of the working hotspot is triggered multiple times, even if the home gateway device under the node router fails to complete the previous change synchronization in a timely manner, the physical network device can still obtain the latest network configuration information of the working hotspot through the guiding hotspot, and the node router does not need to start multiple temporary access points, reducing the resource consumption of the node router.

[0102] In one embodiment, for the home gateway device, the method for interconnecting home gateway devices based on 5G network and Mesh network provided by the embodiment of the present invention further includes:

[0103] Step 80, obtain the current network configuration information of the working hotspot of the node router and the target network configuration information of the guiding hotspot of the node router;

[0104] Step 90, if the current network configuration information of the working hotspot changes, identify the guiding hotspot according to the unique association identifier, and connect to the guiding hotspot according to the connection configuration information;

[0105] Step 100, receive the latest network configuration information of the working hotspot sent by the node router through the guiding hotspot;

[0106] Step 110, connect to the node router according to the latest network configuration information.

[0107] Among them, the target network configuration information includes the unique association identifier between the guiding hotspot and the node router and the connection configuration information of the guiding hotspot.

[0108] In step 80, the node router provides a wireless access network terminal for the home gateway device to work properly. The network configuration information of its working hotspot may include the service set identifier and password of the working hotspot, and the connection configuration information of its boot hotspot may include the service set identifier and password of the boot hotspot. The unique association identifier may be the basic service set identifier.

[0109] The service set identifier and password of the boot hotspot can be kept consistent in the same ecosystem. By using the basic service set identifier of the node router's boot hotspot, the identification of the boot hotspot can be achieved. The service set identifier and password of the boot hotspot can also be unique for each node router in the same ecosystem and combined with the set of basic service set identifiers of the node router's boot hotspot to achieve the identification of the boot hotspot.

[0110] When the home gateway device is initially networked, user authentication is performed, and the current network configuration information of the working hotspot of the node router and the target network configuration information of the boot hotspot of the node router are obtained. The initial network configuration process is also a process for the user to authenticate the un-networked home gateway device. Only the authenticated home gateway device can automatically synchronize the network configuration information of the node router subsequently.

[0111] In the embodiment of the present invention, a boot hotspot is set, and its target network configuration information includes the unique association identifier between it and the node router. Therefore, when the current network configuration information of the working hotspot of the node router changes, the home gateway device can first find the boot hotspot uniquely corresponding to the original node router based on the unique association identifier, thus accurately finding the original node router. Then, through this boot hotspot, the updated latest network configuration information of the working hotspot of the original node router is obtained, and based on this information, a reconnection with the original node router is achieved, improving the accuracy of the reconnection between the home gateway device and the node router, and being applicable to the scenario where the node router is connected to a relatively large number of home gateway devices.

[0112] In one embodiment, obtaining the current network configuration information of the working hotspot of the node router and the target network configuration information of the boot hotspot of the node router may include:

[0113] During the initial network configuration, according to the preset information, the connection configuration information of the boot hotspot of the node router is obtained, connected to the boot hotspot according to the connection configuration information, and then the unique association identifier between the boot hotspot and the node router is obtained. The current network configuration information of the working hotspot sent by the node router is received through the boot hotspot.

[0114] In the embodiment of the present invention, the boot hotspot has the ability to configure the network, and the connection configuration information of the boot hotspot is preset when the home gateway device leaves the factory.

[0115] In an embodiment of the present invention, through the network configuration ability of the guiding hotspot and the preset information of the home gateway device, the home gateway device can be networked through the guiding hotspot, so as to obtain the current network configuration information of the working hotspot of the node router and the target network configuration information of the guiding hotspot of the node router during the network configuration process.

[0116] In one embodiment, obtaining the current network configuration information of the working hotspot of the node router and the target network configuration information of the guiding hotspot of the node router may include:

[0117] During the first network configuration, receive the current network configuration information of the working hotspot of the node router and the target network configuration information of the guiding hotspot of the node router sent by the main router through the target network configuration method, and the target network configuration method includes the near-field communication method, the Bluetooth connection method, and the software access point method.

[0118] The main router has previously obtained the current network configuration information of the working hotspot of the node router and the target network configuration information of the guiding hotspot of the node router.

[0119] After establishing a connection with the main router through the target network configuration method in an embodiment of the present invention, receive the current network configuration information of the working hotspot of the node router and the target network configuration information of the guiding hotspot of the node router sent by the main router, so as to obtain the current network configuration information of the working hotspot of the node router and the target network configuration information of the guiding hotspot of the node router during the network configuration process.

[0120] In one embodiment, obtaining the current network configuration information of the working hotspot of the node router and the target network configuration information of the guiding hotspot of the node router may include:

[0121] During the first network configuration, receive the current network configuration information of the working hotspot of the node router sent by the main router through the target network configuration method. The target network configuration method includes the near-field communication method, the Bluetooth connection method, and the software access point method. After the first network configuration is completed, connect to the working hotspot according to the current network configuration information, and receive the target network configuration information of the guiding hotspot sent by the node router through the working hotspot.

[0122] The main router has previously obtained the current network configuration information of the working hotspot of the node router.

[0123] After establishing a connection with the main router through the target power distribution network method in an embodiment of the present invention, first receive the current network configuration information of the working hotspot of the node router sent by the main router to complete the network configuration, and then establish a connection with the working hotspot accordingly, and obtain the target network configuration information of the boot hotspot sent by the node router through the working hotspot, so as to obtain the current network configuration information of the working hotspot of the node router and the target network configuration information of the boot hotspot of the node router during and after the network configuration process.

[0124] In one embodiment, the boot hotspot is always on and isolated from the external network.

[0125] By adopting the method of a boot hotspot that is always on and hidden, the node router does not need to turn on a temporary hotspot when the current network configuration information of the working hotspot changes, which improves the stability of the node router's operation. At the same time, the boot hotspot is isolated from the external network, which improves the security of the node router's operation;

[0126] In addition, the boot hotspot is always on and fixed. When the offline home gateway device fails to synchronize the network configuration information change in time due to some reasons, the node router can actively notify the user to intervene. Even if the user ignores it and does not intervene, within the wireless network coverage of the node router, when the offline home gateway device automatically resumes normal operation, it can still connect to the boot hotspot to obtain the latest network configuration information of the working hotspot of the node router to reconnect to the network, which greatly ensures that all the attached home gateway devices within the wireless network coverage of the node router synchronize and change the configuration information based on the latest network configuration information.

[0127] In an embodiment of the present invention, through the always-on and isolation settings of the boot hotspot, the stability and security of the node router's operation are improved, and it can ensure to the greatest extent that the attached home gateway devices of the node router synchronize and change the configuration information based on the latest network configuration information of the working hotspot of the node router.

[0128] In a specific embodiment, the full process on the node router side is as follows:

[0129] Step A1: The node router receives a request for changing the network configuration information of the working hotspot sent by the main router, and synchronously sets the change synchronization time window;

[0130] Step A2: The node router records the device information of the currently attached home gateway devices itself and completes the setting to obtain a device information table;

[0131] Step A3: The node router changes its own network configuration information of the working hotspot;

[0132] Step A4: The node router verifies whether the home gateway device connected to its own boot hotspot in the target manner is recorded in the device information table;

[0133] Step A5: If so, the node router sends the latest network configuration information of the working hotspot to the home gateway device through the boot hotspot.

[0134] Step A6: If not, the node router disconnects the connection with the target home gateway device whose connection to the boot hotspot has timed out or adds the target home gateway device to the blacklist.

[0135] Step A7: The node router connects to the home gateway device according to the latest network configuration information.

[0136] Step A8: The node router queries the reconnection status of the home gateway device and updates the device change status of the home gateway devices already connected to itself in the device information table.

[0137] Step A9: The node router determines whether all the home gateway devices in the updated information table have completed the change of the latest network configuration information of the working hotspot.

[0138] Step A10: If so, the information indicating that the change of the latest network configuration information of the working hotspot has been completed is sent to the user through the APP or text message, etc.

[0139] Step A11: If not, it is determined whether the change synchronization time window has been exceeded.

[0140] Step A12: If so, prompt the user to intervene, and after the intervention, return to Step A4.

[0141] If not, directly return to Step A4.

[0142] In a specific embodiment, the full - process on the home gateway device side is as follows:

[0143] Step B1: During the first network configuration process, the home gateway device obtains the current network configuration information of the node router's working hotspot and the target network configuration information of the node router's boot hotspot through multiple methods:

[0144] Boot hotspot network configuration method: Obtain the connection configuration information of the node router's boot hotspot according to the preset information, connect to the boot hotspot according to the connection configuration information, then obtain the unique association identifier between the boot hotspot and the node router, and receive the current network configuration information of the node router's working hotspot sent by the node router through the boot hotspot.

[0145] Other network configuration method 1: Receive the current network configuration information of the node router's working hotspot and the target network configuration information of the node router's boot hotspot sent by the main router through the target network configuration method. The target network configuration method includes near - field communication method, Bluetooth connection method, and software access point method.

[0146] Other power distribution method 2: Receive the current network configuration information of the working hotspot of the node router sent by the main router through the target power distribution method. The target power distribution method includes near-field communication method, Bluetooth connection method, and software access point method. After the initial power distribution is completed, connect to the working hotspot according to the current network configuration information, and receive the target network configuration information of the guiding hotspot sent by the node router through the working hotspot.

[0147] Step B2: If the current network configuration information of the working hotspot changes, the home gateway device scans for wireless hotspots in the environment, identifies the guiding hotspot based on the unique association identifier, and connects to the guiding hotspot according to the connection configuration information.

[0148] Step B3: The home gateway device receives the latest network configuration information of the working hotspot sent by the node router through the guiding hotspot.

[0149] Step B4: The home gateway device connects to the node router according to the latest network configuration information.

[0150] In a specific embodiment, the overall process of the interconnection method of the home gateway device based on the 5G network and the Mesh network is as follows:

[0151] 1. The home gateway device obtains the current network configuration information of the working hotspot of the node router during the initial power distribution process, and connects to the node router according to the current network configuration information.

[0152] 2. The home gateway device obtains the target network configuration information of the guiding hotspot of the node router.

[0153] 3. The main router initiates a request to change the network configuration information of the working hotspot to the node router.

[0154] 4. The node router changes the current network configuration information to the latest network configuration information.

[0155] 5. The home gateway device identifies the guiding hotspot through the unique association identifier of the guiding hotspot, and establishes a connection with the guiding hotspot according to the connection configuration information.

[0156] 6. The home gateway device sends a request to obtain the latest network configuration information to the node router.

[0157] 7. The node router encrypts the latest network configuration information and sends it to the home gateway device.

[0158] 8. The home gateway device re-establishes a connection with the node router based on the latest network configuration information.

[0159] The following describes the home gateway device interconnection system based on 5G network and Mesh network provided by the present invention. The home gateway device interconnection system based on 5G network and Mesh network described below can be correspondingly referred to the home gateway device interconnection method based on 5G network and Mesh network described above.

[0160] Please refer to Figure 2 , Figure 2 which is a schematic diagram of an embodiment of the home gateway device interconnection system based on 5G network and Mesh network provided by an embodiment of the present invention. As Figure 2 shown, the home gateway device interconnection system based on 5G network and Mesh network includes:

[0161] A computing module 210, configured to calculate the selection parameter values corresponding to each router in the Mesh network, and obtain multiple selection parameter values; the selection parameter value corresponding to any router is determined based on the network round-trip delay corresponding to any router and the network control parameter value corresponding to any router

[0162] A main router determination module 220, configured to determine the maximum selection parameter value based on the multiple selection parameter values, and determine the router corresponding to the maximum selection parameter value as the main router;

[0163] A node router determination module 230, configured to determine the routers in the Mesh network other than the main router as node routers; each of the node routers and the main router are connected and communicate through a 5G network;

[0164] A device connection module 240, configured to send its own network configuration information to the home gateway device based on each of the node routers, so that the home gateway device connects to the main router based on the network configuration information.

[0165] The home gateway device interconnection system based on 5G network and Mesh network provided by the present invention determines the router corresponding to the maximum value among each selection parameter value as the main router, thereby ensuring that the determined main router is always the best router with low delay and stability. At the same time, the 5G network reduces the delay between the router and the main router, and the Mesh network enhances the wireless coverage and network stability, thereby reducing the control delay of the home gateway device and realizing the stable control of the home gateway device.

[0166] Refer to Figure 3 , Figure 3It is a schematic structural diagram of an electronic device provided by the present invention. An embodiment of the present invention provides an electronic device 300, including a memory 310, a processor 320, and a computer program 311 stored on the memory 310 and executable on the processor 320. When the processor 320 executes the computer program 311, the following steps are implemented:

[0167] Calculate the selection parameter values corresponding to each router in the Mesh network to obtain multiple selection parameter values; the selection parameter value corresponding to any router is determined based on the network round-trip delay corresponding to any router and the network control parameter value corresponding to any router;

[0168] Determine the maximum selection parameter value based on the multiple selection parameter values, and determine the router corresponding to the maximum selection parameter value as the master router;

[0169] Determine the routers in the Mesh network other than the master router as node routers; each of the node routers and the master router are connected and communicate through a 5G network;

[0170] Based on each of the node routers, send its own network configuration information to the home gateway device, so that the home gateway device connects to the master router based on the network configuration information.

[0171] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiments.

[0172] 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 them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of each embodiment of the present invention.

Claims

1. A method for interconnecting home gateway devices based on 5G network and Mesh network, characterized in that: include: Calculate the selection parameter value corresponding to each router in the Mesh network to obtain multiple selection parameter values; the selection parameter value corresponding to any router is determined based on the network round-trip delay corresponding to any router and the network control parameter value corresponding to any router; Determine a maximum selection parameter value based on the multiple selection parameter values, and determine a router corresponding to the maximum selection parameter value as a master router; Determine routers other than the primary router in the Mesh network as node routers; Each of the node routers and the main router is connected and communicated via a 5G network; Based on each of the node routers sending its own network configuration information to the home gateway device, so that the home gateway device is connected to the main router based on the network configuration information; The selection parameter value corresponding to any router is determined based on the following method: Calculate the normalized average round-trip delay of all users on any router at the target time to obtain the network round-trip delay corresponding to any router; Calculating adjacent coefficient sets of a plurality of pixels in the transmitted image of any router at the target time to obtain a plurality of adjacent coefficient sets corresponding to any router; Based on the multiple adjacent coefficient sets, obtaining a network control parameter value corresponding to any router; Merging the network round trip delay and the network control parameter value to obtain a selection parameter value corresponding to any router; The set of neighboring coefficients for any pixel is determined based on the following: Obtaining a plurality of adjacent coefficients corresponding to the pixel in multiple directions based on a target coefficient of the pixel and target coefficients of pixels adjacent to the pixel in multiple directions; Based on the plurality of adjacent coefficients, obtaining an adjacent coefficient set of the pixel; The target coefficient for any pixel is determined based on: Calculating the average pixel intensity and the standard deviation of the pixel intensity of the transmitted image; Calculating a de-mean normalization coefficient of the intensity value of the pixel based on the pixel intensity average and the pixel intensity standard deviation to obtain a target coefficient of the pixel; The obtaining, based on the multiple adjacent coefficient sets, a network control parameter value corresponding to any router, includes: Perform parameter fitting based on the multiple adjacent coefficient sets to obtain a multi-directional image shape control parameter value and a multi-directional image diffusion control parameter value corresponding to any router; Fusing the multi-directional image shape control parameter values to obtain target shape control parameter values; The multi-directional image diffusion control parameter values are fused to obtain a target diffusion control parameter value.

2. The method for interconnecting home gateway devices based on 5G network and Mesh network according to claim 1, characterized in that: The method further comprises: If the current network configuration information of its own working hotspot changes, the home gateway device connected to its own guiding hotspot in a target manner is verified according to the device information table; the target manner is a manner in which the home gateway device identifies its own guiding hotspot according to a unique association identifier between the guiding hotspot and itself, and connects to the guiding hotspot according to the connection configuration information of the guiding hotspot; If the verification is passed, the latest network configuration information of the working hotspot is sent to the home gateway device through the guiding hotspot; Connecting to the home gateway device according to the latest network configuration information.

3. The method for interconnecting home gateway devices based on 5G network and Mesh network according to claim 2, characterized in that: The verifying of the home gateway device connected to the home gateway device's own boot hotspot in a target manner according to the device information table includes: It is determined whether the home gateway device connected to its own bootstrap hotspot in the target mode is recorded in the device information table.

4. The method for interconnecting home gateway devices based on 5G network and Mesh network according to claim 3, characterized in that: The device information table is determined based on the following method: Before the current network configuration information of the working hotspot is changed, the device information of the home gateway device currently connected to the hotspot is recorded to obtain an initial information table; After the current network configuration information of its own working hotspot is changed, the device change status of each home gateway device in the initial information table is set to a state where the device itself is disconnected from each home gateway device, thereby obtaining the device information table.

5. The method for interconnecting home gateway devices based on 5G network and Mesh network according to claim 4, characterized in that: After connecting with the home gateway device according to the latest network configuration information, the method includes: Setting the device change status of the home gateway device connected to the device in the device information table to the state that the device is connected to each home gateway device to obtain an updated information table; Determine whether each home gateway device in the update information table has completed the latest network configuration information change of the working hotspot; If not, determine whether the change time limit has been exceeded; If so, information of the home gateway device that has not completed the latest network configuration information change of the working hotspot in the update information table is sent to the user to prompt the user to power on or restart the device; If not, return to the step of verifying the home gateway device connected to its own guide hotspot in a target manner according to the device information table until the change time limit is exceeded or each home gateway device in the update information table completes the latest network configuration information change of the working hotspot.

6. A home gateway device interconnection system based on 5G network and Mesh network, characterized in that: include: The calculation module is used to calculate the selection parameter value corresponding to each router in the Mesh network and obtain multiple selection parameter values; the selection parameter value corresponding to any router is determined based on the network round-trip delay corresponding to any router and the network control parameter value corresponding to any router a primary router determining module, configured to determine a maximum selection parameter value based on the multiple selection parameter values, and determine a router corresponding to the maximum selection parameter value as a primary router; A node router determination module, configured to determine routers other than the primary router in the Mesh network as node routers; Each of the node routers and the main router is connected and communicated via a 5G network; A device connection module, configured to send network configuration information of each node router to a home gateway device based on the node router, so that the home gateway device is connected to the main router based on the network configuration information; The selection parameter value corresponding to any router is determined based on the following method: Calculate the normalized average round-trip delay of all users on any router at the target time to obtain the network round-trip delay corresponding to any router; Calculating adjacent coefficient sets of a plurality of pixels in the transmitted image of any router at the target time to obtain a plurality of adjacent coefficient sets corresponding to any router; Based on the multiple adjacent coefficient sets, obtaining a network control parameter value corresponding to any router; Merging the network round trip delay and the network control parameter value to obtain a selection parameter value corresponding to any router; The set of neighboring coefficients for any pixel is determined based on the following: Obtaining a plurality of adjacent coefficients corresponding to the pixel in multiple directions based on a target coefficient of the pixel and target coefficients of pixels adjacent to the pixel in multiple directions; Based on the plurality of adjacent coefficients, obtaining an adjacent coefficient set of the pixel; The target coefficient for any pixel is determined based on: Calculating the average pixel intensity and the standard deviation of the pixel intensity of the transmitted image; Calculating a de-mean normalization coefficient of the intensity value of the pixel based on the pixel intensity average and the pixel intensity standard deviation to obtain a target coefficient of the pixel; The obtaining, based on the multiple adjacent coefficient sets, a network control parameter value corresponding to any router, includes: Perform parameter fitting based on the multiple adjacent coefficient sets to obtain a multi-directional image shape control parameter value and a multi-directional image diffusion control parameter value corresponding to any router; Fusing the multi-directional image shape control parameter values to obtain target shape control parameter values; The multi-directional image diffusion control parameter values are fused to obtain a target diffusion control parameter value.

Citation Information

Patent Citations

  • Method and device for calculation of circuit router

    CN108270672A