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

By calculating the router selection parameter value in the Mesh network, determining the low-latency main router, and using 5G network communication, the control delay and stability problems of home gateway equipment are solved, and network coverage and stability are improved.

CN119182624AActive Publication Date: 2024-12-24SHENZHEN CUDY TECH CO LTD

Patent Information

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

AI Technical Summary

Technical Problem

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

Method used

By calculating the selection parameter values ​​of each router in the Mesh network, a low-latency and stable main router is determined, and the 5G network and Mesh network are used to communicate between routers, reducing latency and enhancing 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 CN119182624A_ABST
    Figure CN119182624A_ABST
Patent Text Reader

Abstract

The invention discloses a home gateway equipment interconnection method based on a 5G network and a Mesh network, and the method comprises the steps: calculating a selection parameter value corresponding to each router in the Mesh network, and obtaining a plurality of selection parameter values; determining the router corresponding to the maximum selection parameter value as a main router; determining routers except the main router in the Mesh network as node routers; and issuing own network configuration information to the home gateway equipment based on each node router, so that the home gateway equipment is connected to the main router based on the network configuration information. According to the invention, the router corresponding to the maximum selection parameter value is determined as the main router, the determined main router is ensured to be the optimal router with low time delay and stability all the time, the time delay between the router and the main router is reduced by the 5G network, and the wireless coverage and the network stability are enhanced by the Mesh network, so that the control time delay of the home gateway equipment is reduced, and the service life of the home gateway equipment is prolonged. And stable control of the home gateway equipment is realized.
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 in particular 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 existing device interconnection process, 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. The node router sends configuration information to the home gateway device, and the home gateway device connects to the node router through the configuration information, thereby completing the connection communication between the home gateway device and the main router, and realizing the interconnection of home gateway devices. However, in the process of network communication, the network of the main router may have delays, instability, etc., which leads to delays in the control of the home gateway device and instability. Summary of the invention

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

[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, comprising:

[0005] 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;

[0006] 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 main router;

[0007] Determine routers other than the main router in the Mesh network as node routers; each of the node routers and the main router are connected and communicated via a 5G network;

[0008] Based on each of the node routers sending its own network configuration information to the home gateway device, 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 home gateway device interconnection system based on a 5G network and a Mesh network, comprising:

[0010] The calculation module is used to 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

[0011] A main router determination 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 main router;

[0012] A node router determination module, used to determine routers other than the main router in the Mesh network as node routers; each of the node routers and the main router are connected and communicated via a 5G network;

[0013] The device connection module is used 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 is connected to the main router based on the network configuration information.

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

[0015] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for interconnecting home gateway devices based on a 5G network and a Mesh network as described in the first aspect.

[0016] In a fifth aspect, the present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements the method for interconnecting home gateway devices based on a 5G network and a Mesh network as described in the first aspect.

[0017] The home gateway device interconnection method based on 5G network and Mesh network provided by the present invention determines the router corresponding to the maximum value of each selection parameter value as the main router, thereby ensuring that the determined main router is always a low-latency, stable and optimal router. 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 stable control of the home gateway device. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the present invention or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 It is a 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 It is a structural diagram of a home gateway device interconnection system based on 5G network and Mesh network provided by the present invention;

[0021] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0023] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0024] In the description of the present invention, the term "for example" is used to mean "used as an example, illustration or explanation". Any embodiment described as "for example" in the present invention is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is given to enable any technician in the field to implement and use the present invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other examples, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present invention.

[0025] Figure 1It is a flow chart 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 value 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 embodiment of the present invention is determined based on the network round-trip delay corresponding to any router and the network control parameter value corresponding to any 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, thereby obtaining the selection parameter values ​​of all routers. Among them, the network control parameter values ​​corresponding to different routers can be control parameter values ​​for the same image or control parameter values ​​for different images, which is 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 a maximum selection parameter value based on multiple selection parameter values, and determine a router corresponding to the maximum selection parameter value as a master router.

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

[0030] Furthermore, a maximum selection parameter value is determined from multiple selection parameter values, and a router corresponding to the maximum selection parameter value is determined as a main router, and routers other than the main router in the Mesh network are determined as node routers, and each node router communicates with the main router via a 5G network connection.

[0031] Step 40: Each node router sends 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.

[0032] Furthermore, 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 through the node router sending its own network configuration information, thereby connecting the home gateway device to the main router.

[0033] The embodiment of the present invention determines the router corresponding to the maximum value of each selection parameter value as the main router, thereby ensuring that the determined main router is always a low-latency, stable and optimal router. At the same time, the 5G network reduces the latency between the router and the main 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.

[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 round-trip delay of all users of any router at the target time to obtain the network round-trip delay corresponding to any router.

[0036] The full number of users refers to all users who use the 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 m users in total, and their round trip delays using the router at time k are t1 to t m , the round trip delay can be the round trip delay for these users to receive the image, for t1 to t m Normalize them separately to get the normalized round trip delay of m users at time k to Among them, t r is the round-trip delay of the rth user using the router at time k.

[0038] Use t k represents the average round-trip delay of m users using the 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 the router can also be obtained at time k and its surrounding times, and then the network round-trip delay corresponding to the router can be calculated based on these round-trip delays. m represents the round-trip delay at time k and the different times before and after it, then the final result is There exists a 1≤k≤m condition in .

[0041] Step 102, calculating adjacent coefficient sets of a plurality of pixels in the transmitted image of any router at the target time, and obtaining a plurality of adjacent coefficient sets corresponding to any router.

[0042] Furthermore, adjacent coefficient sets of multiple pixels in the transmitted image of any router at the target time are calculated to obtain multiple adjacent coefficient sets corresponding to any router.

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

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

[0045]

[0046] Wherein, A(i,j) is the intensity value of the pixel in the i-th row and j-th column, μ(i,j) is the average pixel intensity of the image after transmission, σ(i,j) is the standard deviation of the pixel intensity of the image after transmission, and C is a constant that 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] Assuming that the height of the transmitted image is M and the width is N, then 1≦i≦M, 1≦j≦N, a two-dimensional Gaussian window of K×L can be used in the transmitted image to calculate the average pixel intensity and the standard deviation of the pixel intensity, which can smooth and reduce noise in the transmitted image. The specific calculation formula is as follows:

[0048]

[0049] Among them, A k,l (i,j) is the intensity value of the pixel in the i+kth row and j+lth column in the transmitted image, ω k,l is the weight of the 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, multiple adjacent coefficients corresponding to the pixel in the i-th row and j-th column of the transmitted image and multiple directions 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 neighbor coefficient of the pixel in the i-th row and j-th column, V(i,j) is the vertical neighbor coefficient of the pixel in the i-th row and j-th column, D1(i,j) is the main diagonal neighbor coefficient of the pixel in the i-th row and j-th column, D2(i,j) is the sub-diagonal neighbor coefficient of the pixel in the i-th row and j-th column; B(i,j+1) is the target coefficient of the pixel adjacent to the pixel in the i-th row and j-th column in the horizontal direction, and B(i+1,j) is the target coefficient of the pixel adjacent to the pixel in the i-th row and j-th column in the vertical direction. The target coefficients of pixels adjacent to the pixel in the i-th row and j-th column in the main diagonal direction are as follows: B(i+1,j+1) is the target coefficient of pixels adjacent to the pixel in the i-th row and j-th column in the main diagonal direction, B(i+1,j-1) is the target coefficient of pixels adjacent to the pixel in 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 repeated here.

[0056] Further, H(i,j), V(i,j), D1(i,j) and D2(i,j) are combined into a set of adjacent coefficients of the pixel in the i-th row and j-th column.

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

[0058] Step 103: obtaining a network control parameter value corresponding to any router based on multiple adjacent coefficient sets.

[0059] Step 104: The network round trip delay and the network control parameter value are integrated to obtain the selection parameter value corresponding to any router.

[0060] Further, the network control parameter value corresponding to any router is obtained based on multiple adjacent coefficient sets. In one embodiment, the network control parameter value corresponding to any router is obtained based on multiple adjacent coefficient sets, including: 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; fusing the multi-directional image diffusion control parameter values ​​to obtain target diffusion control parameter values.

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

[0062]

[0063] in,

[0064] Among them, f(.) is the zero-mean asymmetric generalized Gaussian distribution function, x is the independent variable of the function, Γ(.) is the gamma function, and 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 left diffusion control parameter value of the image under the image horizontal shape control And the image right diffusion control parameter value under the image horizontal shape control

[0065] Similarly, the image vertical shape control parameter value α can be obtained by fitting: V , the left diffusion control parameter value of the image under the vertical shape control of the image Image right diffusion control parameter value under image vertical shape control Image main diagonal shape control parameter value α D1 , the diffusion control parameter value of the left side of the image under the control of the main diagonal shape of the image The right diffusion control parameter value of the image under the shape control of the main diagonal line of the image Image sub-diagonal shape control parameter value α D2 , the diffusion control parameter value of the left side of the image under the control of the image sub-diagonal shape And the diffusion control parameter value of the right side of the image under the image sub-diagonal shape control

[0066] The image horizontal shape control parameter value α can be calculated using the following formula: H , image vertical shape control parameter value α V , image main diagonal shape control parameter value α D1And the image sub-diagonal shape control parameter value α D2 Fusion is performed to obtain the target shape control parameter value α at time k k :

[0067]

[0068] The left diffusion control parameter value of the image under the horizontal shape control of the image can be calculated using the following formula: Image left diffusion control parameter value under image vertical shape control The left diffusion control parameter value of the image under the shape control of the main diagonal line of the image And the diffusion control parameter value of the left side of the image under the control of the image sub-diagonal shape Fusion is performed to obtain the target left diffusion control parameter value at time k

[0069] Similarly, the diffusion control parameter value on the right side of the image under the horizontal shape control of the image can be calculated using the following formula: Image right diffusion control parameter value under image vertical shape control The right diffusion control parameter value of the image under the shape control of the main diagonal line of the image And the diffusion control parameter value of the right side of the image under the image sub-diagonal shape control Fusion is performed to obtain the target right diffusion control parameter value at time k

[0070] Furthermore, the network round trip delay can be calculated 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 Perform fusion to obtain the selection parameter value corresponding to the router

[0071] Among them, S-NSSAI n Indicates the nth home gateway device interconnection auxiliary information NSSAI n The corresponding router S.

[0072] When the image is transmitted stably in the router, Relatively stable; when the image is mosaic or distorted due to excessive round-trip delay, Become smaller, becomes smaller, then Become smaller, that is The smaller the size, the worse the network transmission performance of the corresponding router. Therefore, it can be based on the The maximum value is selected and its corresponding router is determined as the main router with the best network transmission performance.

[0073] The embodiment of the present invention can obtain the image shape control parameter values, the left diffusion control parameter values ​​and the right diffusion control parameter values ​​of the image in multiple directions of the router by fitting multiple adjacent coefficient sets, and then fuse the image shape control parameter values ​​in multiple directions to obtain the target shape control parameter values, fuse the left diffusion control parameter values ​​in multiple directions to obtain the target left diffusion control parameter values, fuse the right diffusion control parameter values ​​in multiple directions to obtain the target right diffusion control parameter values, and finally fuse these control parameter values ​​with the network round-trip delay to obtain the selection parameter value, so that the selection parameter value fuses the delay information of the router and the shape control information and diffusion control information of the router for the transmitted image, 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 the own working hotspot is changed, the home gateway device connected to the own guiding hotspot in a target manner is verified according to the device information table.

[0076] Step 60: 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;

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

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

[0079] Before step 50, the node router will receive a network configuration information change request sent by the main router for its working hotspot to request a change in 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, i.e., a change time limit.

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

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

[0082] The embodiment of the present invention sets a boot hotspot, and its target network configuration information includes a 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 that uniquely corresponds to the original node router based on the unique association identifier, thereby accurately finding the original node router, and then obtain the latest network configuration information of the original node router after the working hotspot is updated through the boot hotspot, and reconnect with the original node router based on the information, thereby improving the accuracy of reconnection between the home gateway device and the node router, and can be applicable to the scenario where the node router is connected to more home gateway devices.

[0083] In one embodiment, after verifying the home gateway device connected to its own bootstrap hotspot in a target manner according to the device information table, the following may be included:

[0084] If the verification fails, the connection with the target home gateway device with timed-out connection to the boot hotspot is disconnected or the target home gateway device is added to the blacklist to reduce the resource consumption of the node router by the home gateway device connection.

[0085] The home gateway device of the embodiment of the present invention establishes a connection with the boot hotspot through a unique association identifier. The unique association identifier has been verified when the connection is established. The node router verifies the home gateway device connected to its own boot hotspot in a target manner according to the device information table, and further disconnects or blacklists illegal devices that fail the verification. That is, the security of the network configuration information synchronization process is improved through multiple verifications, and the resource consumption of the node router by the home gateway device connection is reduced.

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

[0087] Before the current network configuration information of its own working hotspot is changed, the device information of the home gateway device currently connected to itself is recorded to obtain an initial information table. The current 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 may include device MAC, device type, device model, etc. If the main router initiates multiple working hotspot network configuration information change requests within a short period of time, the node router will create a new initial information table to cover the previous initial information table;

[0088] After the current network configuration information of its own working hotspot changes, the device change status of each home gateway device in the initial information table is set to the state of disconnection between itself and each home gateway device, and the device information table is obtained. After the setting is completed, the node router will disconnect from 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 shown in the following table:

[0090] Table 1 Equipment information table

[0091] equipment 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, the home gateway device connected to its own boot hotspot in a target manner is verified according to the device information table. The device MAC and other information in the table can be used to determine whether the home gateway device connected to its own boot hotspot in a target manner is recorded in the device information table. If so, it means that the home gateway device is a downstream device of 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] The node router of the embodiment of the present invention creates a downstream device information table during a change in the working hotspot network configuration information, which helps the node router to verify the legitimacy of the home gateway device connected to the boot hotspot.

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

[0095] The device change status of the home gateway device connected to itself in the device information table is set to the status of itself being connected to each home gateway device, and an updated information table is obtained; wherein the status of the node router being connected to each home gateway device can be represented by 1.

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

[0097] If so, the information that the latest network configuration information of the working hotspot has been changed is sent to the user via APP or SMS;

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

[0099] If so, the 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 through an APP or SMS, so as to prompt the user to power on or restart the device, so as to ensure that the abnormal home gateway device completes the synchronous change of the network configuration information in time;

[0100] 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.

[0101] The embodiment of the present invention notifies the user of the information of the home gateway device that has not completed the latest network configuration information change of the working hotspot when the change times out, and 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 time, the physical network device can still obtain the latest working hotspot network configuration information by guiding the hotspot. The node router does not need to start multiple temporary access points, thereby reducing the resource consumption of the node router.

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

[0103] Step 80, 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;

[0104] Step 90, if the current network configuration information of the working hotspot is changed, identifying the guiding hotspot according to the unique association identifier, and connecting to the guiding hotspot according to the connection configuration information;

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

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

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

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

[0109] The service set identifier and password of the boot hotspot can be consistent in the same ecosystem, and the basic service set identifier of the node router boot hotspot is used to identify the boot hotspot; 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 basic service set identifier set of the node router boot hotspot to identify the boot hotspot.

[0110] The home gateway device performs user authentication during the first network configuration and 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. The first network configuration process is also the process of users authenticating unconfigured home gateway devices. Only authenticated home gateway devices can automatically synchronize the network configuration information of the node router in the future.

[0111] The embodiment of the present invention sets a boot hotspot, and its target network configuration information includes a 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 that uniquely corresponds to the original node router based on the unique association identifier, thereby accurately finding the original node router, and then obtain the latest network configuration information of the original node router after the working hotspot is updated through the boot hotspot, and reconnect with the original node router based on the information, thereby improving the accuracy of reconnection between the home gateway device and the node router, and can be applicable to the scenario where the node router is connected to more 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 guiding hotspot of the node router may include:

[0113] During the first network configuration, the connection configuration information of the node router's boot hotspot is obtained according to the preset information, and the boot hotspot is connected according to the connection configuration information. Then, the unique association identifier between the boot hotspot and the node router is obtained, and 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 guide hotspot has the network configuration capability, and the home gateway device is preset with connection configuration information of the guide hotspot when leaving the factory.

[0115] The embodiment of the present invention can configure the network of the home gateway device through the guiding hotspot by guiding the network configuration capability of the hotspot and the preset information of the home gateway device, thereby realizing the acquisition of 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, the current network configuration information of the working hotspot of the node router and the target network configuration information of the guide hotspot of the node router sent by the main router are received through the target network configuration method. The target network configuration method includes near field communication method, Bluetooth connection method and software access point method.

[0118] The main router has pre-acquired 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, the embodiment of the present invention receives 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 issued by the main router, thereby realizing the acquisition of 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, the current network configuration information of the working hotspot of the node router sent by the main router is received through the target network configuration method. The target network configuration method includes near-field communication method, Bluetooth connection method and software access point method. After the first network configuration is completed, the working hotspot is connected according to the current network configuration information, and the target network configuration information of the guide hotspot sent by the node router is received through the working hotspot.

[0122] The main router has already acquired the current network configuration information of the working hotspot of the node router in advance.

[0123] After the embodiment of the present invention establishes a connection with the main router through the target network configuration mode, it first receives the current network configuration information of the working hotspot of the node router issued by the main router to complete the network configuration, and then establishes a connection with the working hotspot based on this, and obtains the target network configuration information of the guide hotspot issued by the node router through the working hotspot, thereby realizing the acquisition of the current network configuration information of the working hotspot of the node router and the target network configuration information of the guide hotspot of the node router during and after the network configuration is completed.

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

[0125] By adopting the method of always opening hidden hotspots, node routers do not need to open temporary hotspots when the current network configuration information of the working hotspot changes, which improves the stability of node routers. At the same time, the hotspots are isolated from the external network, which improves the security of node routers.

[0126] In addition, the boot hotspot is always open and fixed. When the offline home gateway device fails to synchronize network configuration information changes in time for some reason, the node router can actively notify the user to intervene. Even if the user ignores and does not intervene, the offline home gateway device can still connect to the boot hotspot after automatically recovering to normal within the wireless network coverage of the node router to obtain the latest network configuration information of the node router's working hotspot to reconnect to the network, which to a great extent ensures that all downstream home gateway devices within the wireless network coverage of the node router synchronize configuration information based on the latest network configuration information.

[0127] The embodiment of the present invention improves the stability and security of the node router by guiding the normal opening and isolation settings of the hotspot, and can maximize the guarantee that the home gateway device under the node router performs synchronous changes in configuration information based on the latest network configuration information of the node router's working hotspot.

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

[0129] Step A1: The node router receives the working hotspot network configuration information change request 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 home gateway device currently connected to it and completes the setting to obtain a device information table;

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

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

[0133] Step A5: If yes, the node router sends the latest network configuration information of the working hotspot to the home gateway device by guiding the hotspot;

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

[0135] Step A7, the node router is connected 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 device connected to itself in the device information table;

[0137] Step A9: The node router determines whether each home gateway device in the update information table has completed the latest network configuration information change of the working hotspot;

[0138] Step A10: If yes, then the information that the latest network configuration information of the working hotspot has been changed is sent to the user via APP or SMS;

[0139] Step A11: If not, determine whether the change synchronization time window has been exceeded;

[0140] Step A12: If yes, prompt the user to intervene, and return to step A4 after the intervention;

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

[0142] In a specific embodiment, the whole 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 working hotspot of the node router and the target network configuration information of the guiding hotspot of the node router in a variety of ways:

[0144] Guided hotspot network configuration method: obtain the connection configuration information of the guide hotspot of the node router according to the preset information, connect with the guide hotspot according to the connection configuration information, then obtain the unique association identifier between the guide hotspot and the node router, and receive the current network configuration information of the working hotspot issued by the node router through the guide hotspot;

[0145] Other network configuration methods 1: Receive the current network configuration information of the working hotspot of the node router and the target network configuration information of the guide hotspot of the node router 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 network configuration methods 2: 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 methods include near field communication method, Bluetooth connection method and 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 guide 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 the wireless hotspots in the environment, identifies the guiding hotspot according to 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 guide hotspot;

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

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

[0151] 1. During the first network configuration process, the home gateway device obtains the current network configuration information of the working hotspot of the node router 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 boot hotspot of the node router;

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

[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 guide hotspot through the unique association identifier of the guide hotspot and establishes a connection with the guide hotspot through the connection configuration information;

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

[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 home gateway device interconnection system based on 5G network and Mesh network provided by the present invention is described below. The home gateway device interconnection system based on 5G network and Mesh network described below and the home gateway device interconnection method based on 5G network and Mesh network described above can be referenced to each other.

[0160] See also Figure 2 , Figure 2 This is a schematic diagram of an embodiment of a home gateway device interconnection system based on a 5G network and a Mesh network provided by an embodiment of the present invention. Figure 2 As shown in the figure, the home gateway device interconnection system based on 5G network and Mesh network includes:

[0161] The calculation module 210 is used to 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.

[0162] A master router determination module 220, 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 master router;

[0163] The node router determination module 230 is used to determine the routers other than the main router in the Mesh network as node routers; each of the node routers and the main router are connected and communicated via a 5G network;

[0164] The device connection module 240 is used 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 is connected 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 of each selection parameter value as the main router, thereby ensuring that the determined main router is always a low-latency, stable and optimal router. 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 stable control of the home gateway device.

[0166] See also Figure 3 , Figure 3is a schematic diagram of the structure 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 in 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 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;

[0168] 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 main router;

[0169] Determine routers other than the main router in the Mesh network as node routers; each of the node routers and the main router are connected and communicated via a 5G network;

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

[0171] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method 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 this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for 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 embodiment.

[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 it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A 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 main router; Determine routers other than the main router in the Mesh network as node routers; Each of the node routers and the main router are 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, the home gateway device is connected to the main router based on the network configuration information.

2. The method for interconnecting home gateway devices based on 5G network and Mesh network according to claim 1, characterized in that: 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 of 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, and obtaining 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; The network round trip delay and the network control parameter value are merged to obtain a selection parameter value corresponding to any router.

3. The method for interconnecting home gateway devices based on 5G network and Mesh network according to claim 2 is characterized in that: The set of neighboring coefficients for any pixel is determined based on the following: Based on the target coefficient of the pixel and the target coefficients of pixels adjacent to the pixel in multiple directions, obtaining multiple adjacent coefficients corresponding to the pixel in multiple directions; Based on the plurality of adjacent coefficients, an adjacent coefficient set of the pixel is obtained.

4. The method for interconnecting home gateway devices based on 5G network and Mesh network according to claim 3 is characterized in that: 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; Based on the pixel intensity average value and the pixel intensity standard deviation, a de-mean normalization coefficient of the intensity value of the pixel is calculated to obtain a target coefficient of the pixel.

5. The method for interconnecting home gateway devices based on 5G network and Mesh network according to claim 3 is characterized in that: 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.

6. The method for interconnecting home gateway devices based on 5G network and Mesh network according to any one of claims 1 to 5, 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 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; 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.

7. The method for interconnecting home gateway devices based on 5G network and Mesh network according to claim 6, characterized in that: The verifying of the home gateway device connected to the guiding hotspot of the home gateway device in a target manner according to the device information table includes: It is determined whether the home gateway device connected to the home gateway hotspot in the target mode is recorded in the device information table.

8. The method for interconnecting home gateway devices based on 5G network and Mesh network according to claim 7, 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 is disconnected from each home gateway device, thereby obtaining the device information table.

9. The method for interconnecting home gateway devices based on 5G network and Mesh network according to claim 8, characterized in that: After the connection with the home gateway device according to the latest network configuration information, the method includes: The device change status of the home gateway device connected to the device in the device information table is set 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 yes, the 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.

10. 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 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 A main router determination 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 main router; A node router determination module, used to determine routers other than the main router in the Mesh network as node routers; Each of the node routers and the main router are connected and communicated via a 5G network; The device connection module is used 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 is connected to the main router based on the network configuration information.

Citation Information

Patent Citations

  • Method, device and system for Mesh network routing

    CN102647364A

  • Method and device for calculation of circuit router

    CN108270672A

  • Mesh network-based network distribution method and device and household appliance

    CN109462529A

  • Message sending method, device and system applied to distributed router networking

    CN110620683A

  • Industrial Internet of Things data acquisition and management method and system

    CN113691454A

Cited By

  • Network quality analysis method, device, equipment, medium and product

    CN119676098A