Intelligent gateway management and control method and system

By determining and binding the correlation between gateway devices and network terminal devices, the reliability of device binding is improved, solving the problem of low reliability of gateway device binding in the prior art.

CN115550178BActive Publication Date: 2026-04-10TAIYUAN ZHENGKANG TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TAIYUAN ZHENGKANG TECH CO LTD
Filing Date
2022-09-06
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

In existing technologies, the reliability of gateway devices when bound to terminal devices is not high.

Method used

By determining the correlation between multiple gateway devices and network terminal devices, the correlation between the devices is output, and binding is performed based on the correlation, so that each gateway device is bound to at least one network terminal device.

Benefits of technology

It improves the reliability of the binding between gateway devices and network terminal devices, and addresses the problem of low reliability in existing technologies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115550178B_ABST
    Figure CN115550178B_ABST
Patent Text Reader

Abstract

The application provides a smart gateway management and control method and system, and relates to the technical field of network.In the application, for each two gateway devices in the plurality of gateway devices to be bound, the two gateway devices are subjected to a correlation determination operation to output a first device correlation between the two gateway devices.For each two network terminal devices, the two network terminal devices are subjected to a correlation determination operation to output a second device correlation between the two network terminal devices.According to the first device correlation between each two gateway devices and the second device correlation between each two network terminal devices, the plurality of gateway devices and the plurality of network terminal devices are subjected to a binding processing, so that each gateway device is bound to at least one network terminal device, and each network terminal device is bound to one gateway device.Based on the above method, the problem that the reliability of gateway management and control in the prior art is not high can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of network, in particular to a smart gateway management and control method and system. BACKGROUND

[0002] In the network technology, data transmission between devices is generally involved, wherein, deploying gateway devices between devices to perform data forwarding and other operations is an important link. However, in the prior art, when binding gateway devices and terminal devices, it is generally selected randomly by the staff, so that the reliability of gateway (binding) management and control is not high. SUMMARY

[0003] Therefore, the purpose of the present application is to provide a smart gateway management and control method and system to improve the problem of low reliability of gateway management and control in the prior art.

[0004] To achieve the above-mentioned purpose, the embodiments of the present application adopt the following technical solutions:

[0005] A smart gateway management and control method applied to a network management and control server, the smart gateway management and control method comprising:

[0006] For each of the two gateway devices in the plurality of gateway devices to be bound, a correlation determination operation is performed on the two gateway devices to output a first device correlation degree between the two gateway devices, the first device correlation degree reflecting the correlation degree between the corresponding two gateway devices;

[0007] For each of the two network terminal devices in the plurality of network terminal devices to be bound, a correlation determination operation is performed on the two network terminal devices to output a second device correlation degree between the two network terminal devices, the second device correlation degree reflecting the correlation degree between the corresponding two network terminal devices;

[0008] According to the first device correlation degree between each of the two gateway devices and the second device correlation degree between each of the two network terminal devices, the plurality of gateway devices and the plurality of network terminal devices are bound, so that each gateway device is bound to at least one network terminal device, and each network terminal device is bound to one gateway device.

[0009] In some preferred embodiments, in the above-mentioned smart gateway management and control method, the step of performing a correlation determination operation on each of the two gateway devices in the plurality of gateway devices to be bound to output a first device correlation degree between the two gateway devices comprises:

[0010] For each of the plurality of gateway devices to be bound, a determination operation is performed on the deployment location of the gateway device to output the device deployment location corresponding to the gateway device;

[0011] For each of the plurality of gateway devices to be bound, a determination operation is performed on the deployment location of the gateway device to output the device deployment location corresponding to the gateway device;

[0012] For each of the plurality of gateway devices to be bound, a determination operation is performed on the deployment location of the gateway device to output the device deployment location corresponding to the gateway device;

[0013] In some preferred embodiments, in the above-mentioned smart gateway management method, the step of determining the first device correlation between each of the plurality of gateway devices to be bound according to the device location distance between the two gateway devices includes:

[0014] For each of the plurality of gateway devices to be bound, a determination operation is performed on the deployment location of the gateway device to output the device deployment location corresponding to the gateway device;

[0015] For each of the plurality of gateway devices to be bound, a determination operation is performed on the deployment location of the gateway device to output the device deployment location corresponding to the gateway device;

[0016] For each of the plurality of gateway devices to be bound, a determination operation is performed on the deployment location of the gateway device to output the device deployment location corresponding to the gateway device;

[0017] In some preferred embodiments, in the above-mentioned smart gateway management method, the step of determining the first device correlation between each of the plurality of gateway devices to be bound according to the device location distance between the two gateway devices includes:

[0018] For each of the plurality of network terminal devices to be bound, a deployment location of the network terminal device is determined to output a device deployment location corresponding to the network terminal device, and for each of the plurality of network terminal devices to be bound, a location distance calculation is performed on the two network terminal devices according to the device deployment locations corresponding to the two network terminal devices to output a device location distance between the two network terminal devices.

[0019] For each of the plurality of network terminal devices to be bound, a deployment location of the network terminal device is determined to output a device deployment location corresponding to the network terminal device, and for each of the plurality of network terminal devices to be bound, a location distance calculation is performed on the two network terminal devices according to the device deployment locations corresponding to the two network terminal devices to output a device location distance between the two network terminal devices.

[0020] In some preferred embodiments, in the above-mentioned smart gateway management method, the step of determining the second device correlation between the two network terminal devices according to the device location distance between the two network terminal devices includes:

[0021] For each of the plurality of network terminal devices to be bound, a deployment location of the network terminal device is determined to output a device deployment location corresponding to the network terminal device, and for each of the plurality of network terminal devices to be bound, a location distance calculation is performed on the two network terminal devices according to the device deployment locations corresponding to the two network terminal devices to output a device location distance between the two network terminal devices.

[0022] For each of the plurality of network terminal devices to be bound, a deployment location of the network terminal device is determined to output a device deployment location corresponding to the network terminal device, and for each of the plurality of network terminal devices to be bound, a location distance calculation is performed on the two network terminal devices according to the device deployment locations corresponding to the two network terminal devices to output a device location distance between the two network terminal devices.

[0023] In some preferred embodiments, in the above-mentioned smart gateway management method, the step of determining the second device correlation between the two network terminal devices according to the device location distance between the two network terminal devices includes:

[0024] A, according to the first device correlation between each of the plurality of gateway devices, a classification operation is performed on the plurality of gateway devices to form a plurality of gateway device sets corresponding to the plurality of gateway devices.

[0025] B, performing a quantity counting operation on the plurality of gateway device sets to output a set quantity statistical value corresponding to the plurality of gateway device sets, for each of the plurality of gateway device sets, performing a counting operation on the number of gateway devices included in the gateway device set to output a device quantity statistical value corresponding to the gateway device set, and then performing a size comparison operation on the device quantity statistical value corresponding to each of the plurality of gateway device sets to output a target device quantity statistical value having a maximum value;

[0026] C, performing a classification operation on the plurality of network terminal devices according to the set quantity statistical value, the target device quantity statistical value, and a second device correlation between each two network terminal devices to output a plurality of network terminal device sets corresponding to the plurality of network terminal devices, the number of the plurality of network terminal device sets being equal to the set quantity statistical value, and the number of gateway terminal devices included in each of the plurality of network terminal device sets being greater than the target device quantity statistical value;

[0027] D, performing a one-to-one correspondence operation on the plurality of network terminal device sets and the plurality of gateway device sets, so that each network terminal device set has a corresponding candidate gateway device set;

[0028] E, for each of the plurality of network terminal device sets, performing a position distance calculation operation on the center position of the network terminal device included in the network terminal device set and the center position of the gateway device included in the candidate gateway device set corresponding to the network terminal device set to output a position distance corresponding to the network terminal device set, and then performing a summation calculation operation on the position distance corresponding to each of the plurality of network terminal device sets to output a target position distance;

[0029] F, repeatedly performing steps D and E for a plurality of times in sequence until the number of times of performing step E is greater than or equal to a preset number of times, and the difference between the target position distance output by the most recent performance of step E and the minimum value among the target position distances output by each performance of step E is less than a preset difference value, then stopping the repeated performance of steps D and E, and marking the correspondence relationship between the plurality of network terminal device sets and the plurality of gateway device sets corresponding to the target position distance having the minimum value as a target correspondence relationship, and for each of the plurality of network terminal device sets, performing a binding process on the network terminal device included in the network terminal device set and the gateway device included in the candidate gateway device set corresponding in the target correspondence relationship, so that each gateway device is bound to at least one network terminal device, and each network terminal device is bound to one gateway device.

[0030] In some preferred embodiments, in the smart gateway management method described above, step F comprises:

[0031] Steps D and E are repeatedly executed in sequence for multiple times until the number of times of executing step E is greater than or equal to a preset number of times, and the difference between the target position distance output by the most recent execution of step E and the minimum value among the target position distances output by each execution of step E is less than a preset difference value, then the repeated execution of steps D and E is stopped, and the correspondence between the multiple network terminal device sets and the multiple gateway device sets corresponding to the target position distance with the minimum value is marked as a target correspondence, for each network terminal device set in the multiple network terminal device sets, a quantity statistical operation is performed on the network terminal devices included in the network terminal device set to output a first quantity corresponding to the network terminal device set, and a quantity statistical operation is performed on the gateway devices included in the candidate gateway device set corresponding to the network terminal device set in the target correspondence to output a second quantity corresponding to the network terminal device;

[0032] For each network terminal device set in the multiple network terminal device sets, a ratio calculation operation is performed according to the first quantity and the second quantity corresponding to the network terminal device set to output a quantity ratio corresponding to the network terminal device set;

[0033] For each network terminal device set in the multiple network terminal device sets, according to the quantity ratio corresponding to the network terminal device set, the network terminal devices included in the network terminal device set and the gateway devices included in the candidate gateway device set corresponding to the network terminal device set in the target correspondence are bound according to the quantity balance principle.

[0034] Embodiments of the present application also provide a smart gateway management system applied to a network management server, which comprises:

[0035] A first correlation determination module is configured to perform a correlation determination operation on each two gateway devices in the multiple gateway devices to be bound to output a first device correlation degree between the two gateway devices, and the first device correlation degree is used to reflect the correlation degree between the corresponding two gateway devices.

[0036] A second correlation determination module is configured to perform a correlation determination operation on each two network terminal device in the multiple network terminal devices to be bound to output a second device correlation degree between the two network terminal devices, and the second device correlation degree is used to reflect the correlation degree between the corresponding two network terminal devices.

[0037] The device binding module is configured to perform a binding process on the plurality of gateway devices and the plurality of network terminal devices according to a first device correlation between each two of the gateway devices and a second device correlation between each two of the network terminal devices, so that each gateway device is bound to at least one network terminal device, and each network terminal device is bound to one gateway device.

[0038] In some preferred embodiments, in the smart gateway management system, the second correlation determination module is specifically configured to:

[0039] For each of the plurality of network terminal devices to be bound, a deployment position of the network terminal device is determined to output a device deployment position corresponding to the network terminal device, and for each two of the plurality of network terminal devices to be bound, a position distance between the two network terminal devices is calculated according to the device deployment positions corresponding to the two network terminal devices to output a device position distance between the two network terminal devices.

[0040] For each two of the plurality of network terminal devices to be bound, a correlation between the two network terminal devices is determined according to the device position distance between the two network terminal devices to output a second device correlation between the two network terminal devices.

[0041] In some preferred embodiments, in the smart gateway management system, the device binding module is specifically configured to:

[0042] A, according to the first device correlation between each two of the gateway devices, a classification operation is performed on the plurality of gateway devices to form a plurality of gateway device sets corresponding to the plurality of gateway devices;

[0043] B, a quantity statistical operation is performed on the plurality of gateway device sets to output a set quantity statistical value corresponding to the plurality of gateway device sets, for each of the plurality of gateway device sets, a number of gateway devices included in the gateway device set is counted to output a device quantity statistical value corresponding to the gateway device set, and then from the device quantity statistical value corresponding to each of the plurality of gateway device sets, a size comparison operation is performed to output a target device quantity statistical value with a maximum value.

[0044] C, according to the set quantity statistical value, the target device quantity statistical value and the second device correlation between each two network terminal devices, performing a classification operation on the plurality of network terminal devices to output a plurality of network terminal device sets corresponding to the plurality of network terminal devices, the number of the plurality of network terminal device sets is equal to the set quantity statistical value, and the number of gateway terminal devices included in each network terminal device set is greater than the target device quantity statistical value;

[0045] D, performing a one-to-one operation on the plurality of network terminal device sets and the plurality of gateway device sets, so that each network terminal device set has a corresponding candidate gateway device set;

[0046] E, for each network terminal device set in the plurality of network terminal device sets, performing a position distance calculation operation on the center position of the network terminal device included in the network terminal device set and the center position of the gateway device included in the candidate gateway device set corresponding to the network terminal device set to output a position distance corresponding to the network terminal device set, and performing a summation calculation operation on the position distance corresponding to each network terminal device set in the plurality of network terminal device sets to output a target position distance;

[0047] F, repeatedly performing steps D and E for a plurality of times in sequence until the number of times of performing step E is greater than or equal to a preset number of times, and the difference between the target position distance output by the most recent performance of step E and the minimum value among the target position distances output by each performance of step E is less than a preset difference value, and then stopping the repeated performance of steps D and E, and marking the corresponding relationship between the plurality of network terminal device sets and the plurality of gateway device sets corresponding to the target position distance with the minimum value as a target corresponding relationship, and for each network terminal device set in the plurality of network terminal device sets, performing a binding process on the network terminal device included in the network terminal device set and the gateway device included in the candidate gateway device set corresponding in the target corresponding relationship, so that each gateway device is bound to at least one network terminal device, and each network terminal device is bound to one gateway device.

[0048] The smart gateway management and control method and system provided by the embodiment of the present application can determine the correlation of each two gateway devices in the plurality of gateway devices to be bound and output the first device correlation between the two gateway devices. The correlation of each two network terminal devices is determined to output the second device correlation between the two network terminal devices. The plurality of gateway devices and the plurality of network terminal devices are bound according to the first device correlation between each two gateway devices and the second device correlation between each two network terminal devices, so that each gateway device is bound with at least one network terminal device and each network terminal device is bound with one gateway device. In this way, the correlation between gateway devices and the correlation between network terminal devices can be considered when the binding of devices is performed, so that the reliability of the binding of gateway devices and network terminal devices can be improved to some extent, thereby improving the low reliability of gateway management and control in the prior art.

[0049] In order to make the above object, characteristics and advantages of the present application more obvious and easy to understand, the following preferred embodiments are described in detail below, and the accompanying drawings are described as follows. BRIEF DESCRIPTION OF DRAWINGS

[0050] Figure 1 The structural block diagram of the network management and control server provided by the embodiment of the present application.

[0051] Figure 2 The flowchart of each step included in the smart gateway management and control method provided by the embodiment of the present application.

[0052] Figure 3 The schematic diagram of the modules included in the smart gateway management and control system provided by the embodiment of the present application. DETAILED DESCRIPTION

[0053] In order to make the object, technical scheme and advantages of the embodiment of the present application more clear, the technical scheme in the embodiment of the present application will be described clearly and completely in combination with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, not all the embodiments. The components of the embodiment of the present application described and shown in the drawings can be arranged and designed in various different configurations.

[0054] Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art without creative labor based on the embodiments in the present application belong to the scope of protection of the present application.

[0055] As Figure 1As shown, the embodiment of the present application provides a network management and control server. Wherein, the network management and control server can include a memory and a processor.

[0056] For example, in some possible implementation manners, the memory and the processor are directly or indirectly electrically connected to realize the transmission or interaction of data. For example, they can be electrically connected through one or more communication buses or signal lines. The memory can store at least one software function module (computer program) in the form of software or firmware. The processor can be used to execute the executable computer program stored in the memory, so as to realize the intelligent gateway management and control method provided by the embodiment of the present application.

[0057] For example, in some possible implementation manners, the memory can be, but is not limited to, a random access memory (RAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), a system on chip (SoC), etc.; and can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.

[0058] In combination Figure 2 The embodiment of the present application also provides an intelligent gateway management and control method, which can be applied to the above network management and control server. Wherein, the method steps defined by the flow of the intelligent gateway management and control method can be realized by the network management and control server.

[0059] The specific flow of the embodiment of the present application will be described in detail below. Figure 2

[0060] Step S110, for each two gateway devices in the plurality of gateway devices to be bound, performing a correlation determination operation on the two gateway devices to output a first device correlation degree between the two gateway devices.​

[0061] In the embodiment of the present application, the network management server can perform a correlation determination operation on each two gateway devices in the plurality of gateway devices to be bound, to output a first device correlation degree between the two gateway devices.

[0062] Step S120, for each two network terminal devices in the plurality of network terminal devices to be bound, a correlation determination operation is performed on the two network terminal devices to output a second device correlation degree between the two network terminal devices.

[0063] In the embodiment of the present application, the network management server can perform a correlation determination operation on each two network terminal devices in the plurality of network terminal devices to be bound, to output a second device correlation degree between the two network terminal devices. The second device correlation degree is used to reflect the correlation degree between the corresponding two network terminal devices.

[0064] Step S130, according to the first device correlation degree between each two gateway devices and the second device correlation degree between each two network terminal devices, the plurality of gateway devices and the plurality of network terminal devices are bound, so that each gateway device binds at least one network terminal device, and each network terminal device is bound with one gateway device.

[0065] In the embodiment of the present application, the network management server can perform a correlation determination operation on each two network terminal devices in the plurality of network terminal devices to be bound, to output a second device correlation degree between the two network terminal devices. The second device correlation degree is used to reflect the correlation degree between the corresponding two network terminal devices.

[0066] Based on the steps S110, S120 and S130 included in the above method, for each two gateway devices in the plurality of gateway devices to be bound, the correlation determination operation is performed on the two gateway devices to output the first device correlation between the two gateway devices. For each two network terminal devices, the correlation determination operation is performed on the two network terminal devices to output the second device correlation between the two network terminal devices. According to the first device correlation between each two gateway devices and the second device correlation between each two network terminal devices, the binding processing is performed on the plurality of gateway devices and the plurality of network terminal devices, so that each gateway device is bound with at least one network terminal device, and each network terminal device is bound with one gateway device. Based on this, when the binding processing of the devices is performed, not only the correlation between the gateway devices is considered, but also the correlation between the network terminal devices is considered, so that the reliability of the binding of the gateway devices and the network terminal devices can be ensured to a certain extent, thereby improving the problem that the reliability of the gateway control in the prior art is not high.

[0067] For example, in some possible implementation manners, the step S110 can include:

[0068] For each gateway device in the plurality of gateway devices to be bound, the deployment position of the gateway device is determined to output the device deployment position corresponding to the gateway device.

[0069] For each two gateway devices in the plurality of gateway devices to be bound, the position distance calculation operation is performed on the two gateway devices according to the device deployment positions corresponding to the two gateway devices to output the device position distance between the two gateway devices.

[0070] For each two gateway devices in the plurality of gateway devices to be bound, the correlation determination operation is performed on the two gateway devices according to the device position distance between the two gateway devices to output the first device correlation between the two gateway devices.

[0071] For example, in some possible implementation manners, the step of performing, for each two gateway devices in the plurality of gateway devices to be bound, the correlation determination operation on the two gateway devices according to the device position distance between the two gateway devices to output the first device correlation between the two gateway devices can include:

[0072] For each two gateway devices in the plurality of gateway devices to be bound, the first correlation coefficient negatively correlated with the device position distance between the two gateway devices is calculated according to the device position distance.

[0073] For each of the plurality of gateway devices to be bound, a device parameter of the gateway device is determined to output a device parameter corresponding to the gateway device;

[0074] For each of the plurality of gateway devices to be bound, a device parameter of the gateway device is determined to output a device parameter corresponding to the gateway device;

[0075] For example, in some possible implementations, the step S120 can include:

[0076] For each of the plurality of network terminal devices to be bound, a deployment location of the network terminal device is determined to output a device deployment location corresponding to the network terminal device, and for each of the plurality of network terminal devices to be bound, a location distance between the two network terminal devices is calculated according to the device deployment locations corresponding to the two network terminal devices to output a device location distance between the two network terminal devices.

[0077] For each of the plurality of network terminal devices to be bound, a deployment location of the network terminal device is determined to output a device deployment location corresponding to the network terminal device, and for each of the plurality of network terminal devices to be bound, a location distance between the two network terminal devices is calculated according to the device deployment locations corresponding to the two network terminal devices to output a device location distance between the two network terminal devices.

[0078] For example, in some possible implementations, the step of determining, for each of the plurality of network terminal devices to be bound, a device parameter of the network terminal device to output a device parameter corresponding to the network terminal device, can include:

[0079] For each of the plurality of network terminal devices to be bound, a deployment location of the network terminal device is determined to output a device deployment location corresponding to the network terminal device, and for each of the plurality of network terminal devices to be bound, a location distance between the two network terminal devices is calculated according to the device deployment locations corresponding to the two network terminal devices to output a device location distance between the two network terminal devices.

[0080] For each two network terminal devices in the plurality of network terminal devices to be bound, a fusion operation is performed on the first correlation value between the two network terminal devices and the second correlation value between the two network terminal devices to output a second device correlation degree between the two network terminal devices.

[0081] For example, in some possible implementation manners, the step S130 can include the following steps:

[0082] A, according to the first device correlation degree between each two gateway devices, a classification operation is performed on the plurality of gateway devices to form a plurality of gateway device sets corresponding to the plurality of gateway devices;

[0083] B, a quantity statistical operation is performed on the plurality of gateway device sets to output a set quantity statistical value corresponding to the plurality of gateway device sets, for each gateway device set in the plurality of gateway device sets, a statistical operation is performed on the number of gateway devices included in the gateway device set to output a device quantity statistical value corresponding to the gateway device set, and then a size comparison operation is performed on the device quantity statistical value corresponding to each gateway device set in the plurality of gateway device sets to output a target device quantity statistical value with a maximum value;

[0084] C, according to the set quantity statistical value, the target device quantity statistical value and the second device correlation degree between each two network terminal devices, a classification operation is performed on the plurality of network terminal devices to output a plurality of network terminal device sets corresponding to the plurality of network terminal devices, the number of the plurality of network terminal device sets is equal to the set quantity statistical value, and the number of gateway terminal devices included in each network terminal device set is greater than the target device quantity statistical value;

[0085] D, a one-to-one corresponding operation is performed on the plurality of network terminal device sets and the plurality of gateway device sets, so that each network terminal device set has a corresponding candidate gateway device set;

[0086] E, for each network terminal device set in the plurality of network terminal device sets, a position distance calculation operation is performed on the central position of the network terminal device included in the network terminal device set and the central position of the gateway device included in the candidate gateway device set corresponding to the network terminal device set (the center of a plurality of positions corresponding to a plurality of gateway devices) to output a position distance corresponding to the network terminal device set, and then a summation calculation operation is performed on the position distance corresponding to each network terminal device set in the plurality of network terminal device sets to output a target position distance;

[0087] F, repeatedly performing step D and step E for multiple times in sequence until the number of times of performing step E is greater than or equal to a preset number of times, and a difference between a target position distance output by the latest time of performing step E and a minimum value among target position distances output by each time of performing step E is less than a preset difference value, then stop repeatedly performing step D and step E, and mark a corresponding relationship between a network terminal device set corresponding to the target position distance with the minimum value and a gateway device set in the target corresponding relationship as a target corresponding relationship, for each network terminal device set in the multiple network terminal device sets, bind a network terminal device included in the network terminal device set with a gateway device included in the candidate gateway device set corresponding in the target corresponding relationship, so that each gateway device is bound with at least one network terminal device, and each network terminal device is bound with one gateway device.

[0088] For example, in some possible implementation manners, step A described above comprises:

[0089] A1, performing a random combination operation on the multiple gateway devices to output multiple gateway device combinations corresponding to the multiple gateway devices, each of the gateway device combinations comprising multiple gateway devices;

[0090] A2, for each of two gateway device combinations in the multiple gateway device combinations, performing a combination relevance calculation operation on the two gateway device combinations according to a first device relevance between each of the two gateway devices to output a combination relevance between the two gateway device combinations;

[0091] A3, performing a mean value calculation on the combination relevance between each of the two gateway device combinations in the multiple gateway device combinations to output a relevance mean value corresponding to the multiple gateway device combinations, and then performing a size comparison between the relevance mean value and a relevance reference value set in advance;

[0092] A4, if the relevance mean value is less than or equal to the relevance reference value, marking the multiple gateway device combinations as multiple gateway device sets, and if the relevance mean value is greater than the relevance reference value, re-performing step A1, step A2 and step A3 in sequence until the currently output relevance mean value is less than or equal to the relevance reference value.

[0093] For example, in some possible implementation manners, step A2 described above comprises:

[0094] marking one of the two gateway device combinations including a smaller number of gateway devices as a first gateway device combination, and marking the other of the two gateway device combinations including a larger number of gateway devices as a second gateway device combination;

[0095] averaging the first device relevancies between each gateway device in the first gateway device combination and each other gateway device in the first gateway device combination to output a representative relevance for the gateway device, and sorting the gateway devices included in the first gateway device combination according to the representative relevance of each gateway device to form a first gateway device sequence;

[0096] averaging the first device relevancies between each gateway device in the second gateway device combination and each other gateway device in the second gateway device combination to output a representative relevance for the gateway device, and sorting the gateway devices included in the second gateway device combination according to the representative relevance of each gateway device to form a second gateway device sequence;

[0097] averaging the first device relevancies between each gateway device in the first gateway device sequence and each gateway device in the second gateway device sequence to output a target relevance for the gateway device in the first gateway device sequence, and performing a size comparison operation on the target relevance and a pre-set relevance comparison value, in the case that the target relevance is greater than or equal to the relevance comparison value, marking the gateway device in the first gateway device sequence as a first gateway device in the first gateway device sequence;

[0098] performing a segmentation operation on the first gateway device sequence according to each first gateway device to form a plurality of first gateway device subsequences corresponding to the first gateway device sequence, each first gateway device subsequence including one first gateway device;

[0099] performing a sliding window operation on the second gateway device sequence according to the number of gateway devices included in the first gateway device sequence to form at least one second gateway device sliding window sequence corresponding to the second gateway device sequence, for each second gateway device sliding window sequence, performing a segmentation operation on the second gateway device sliding window sequence according to the plurality of first gateway device subsequences to form a plurality of second gateway device subsequences corresponding to the second gateway device sliding window sequence, and then one-to-one corresponding the plurality of second gateway device subsequences and the plurality of first gateway device subsequences, and respectively calculating a sequence similarity between each second gateway device subsequence and the corresponding first gateway device subsequence according to the first device relevancies between the gateway devices in the corresponding sequence positions;

[0100] For each of the second gateway device sliding window sequence, the sequence similarity corresponding to the corresponding plurality of second gateway device sub-sequences corresponding to the second gateway device sliding window sequence is averaged to output the target sequence similarity corresponding to the second gateway device sliding window sequence, and the maximum value in each of the target sequence similarities corresponding to the second gateway device sliding window sequence is marked as the combination correlation between the two gateway device combinations.

[0101] For example, in some possible implementations, the step F described above includes:

[0102] The steps D and E are repeatedly executed in sequence for multiple times until the execution times of the step E is greater than or equal to the preset number of times, and the difference between the target position distance output by the latest execution of the step E and the minimum value in the target position distances output by each execution of the step E is less than the preset difference value, the repeated execution of the steps D and E is stopped, the corresponding relationship between the multiple network terminal device sets and the multiple gateway device sets corresponding to the target position distance with the minimum value is marked as a target corresponding relationship, for each of the multiple network terminal device sets, the number of network terminal devices included in the network terminal device set is counted to output a first number corresponding to the network terminal device set, and the number of gateway devices included in the candidate gateway device set corresponding to the network terminal device set in the target corresponding relationship is counted to output a second number corresponding to the network terminal device set;

[0103] For each of the multiple network terminal device sets, a ratio calculation operation is performed on the first number and the second number corresponding to the network terminal device set to output a number ratio corresponding to the network terminal device set;

[0104] For each of the multiple network terminal device sets, the network terminal devices included in the network terminal device set are bound to the gateway devices included in the candidate gateway device set corresponding to the network terminal device set in the target corresponding relationship according to the number ratio corresponding to the network terminal device set and the number balance principle (i.e., the difference between the numbers of network terminal devices bound to each gateway device is as small as possible).

[0105] In combination with Figure 3 The embodiments of the present application also provide a smart gateway management and control system, which can be applied to the network management and control server described above. The smart gateway management and control system can include:

[0106] The first correlation determination module is configured to perform a correlation determination operation on each two gateway devices in the plurality of gateway devices to be bound, to output a first device correlation degree between the two gateway devices, the first device correlation degree reflecting a correlation degree between the two gateway devices.

[0107] The second correlation determination module is configured to perform a correlation determination operation on each two network terminal device in the plurality of network terminal devices to be bound, to output a second device correlation degree between the two network terminal devices, the second device correlation degree reflecting a correlation degree between the two network terminal devices.

[0108] The device binding module is configured to perform a binding operation on the plurality of gateway devices and the plurality of network terminal devices according to the first device correlation degree between each two gateway device and the second device correlation degree between each two network terminal device, so that each gateway device binds at least one network terminal device, and each network terminal device is bound with one gateway device.

[0109] In some possible implementation manners, the second correlation determination module is specifically configured to:

[0110] For each network terminal device in the plurality of network terminal devices to be bound, a deployment position of the network terminal device is determined to output a device deployment position corresponding to the network terminal device, and for each two network terminal device in the plurality of network terminal devices to be bound, a position distance calculation operation is performed on the two network terminal devices according to the device deployment positions corresponding to the two network terminal devices, to output a device position distance between the two network terminal devices.

[0111] For each two network terminal device in the plurality of network terminal devices to be bound, a correlation determination operation is performed on the two network terminal devices according to the device position distance between the two network terminal devices, to output a second device correlation degree between the two network terminal devices.

[0112] In some possible implementation manners, the device binding module is specifically configured to:

[0113] A, a classification operation is performed on the plurality of gateway devices according to the first device correlation degree between each two gateway device, to form a plurality of gateway device set corresponding to the plurality of gateway devices;

[0114] B, performing a quantity counting operation on the plurality of gateway device sets to output a set quantity statistical value corresponding to the plurality of gateway device sets, for each of the plurality of gateway device sets, performing a counting operation on the number of gateway devices included in the gateway device set to output a device quantity statistical value corresponding to the gateway device set, and then performing a size comparison operation on the device quantity statistical value corresponding to each of the plurality of gateway device sets to output a target device quantity statistical value having a maximum value;

[0115] C, performing a classification operation on the plurality of network terminal devices according to the set quantity statistical value, the target device quantity statistical value, and a second device correlation between each two network terminal devices to output a plurality of network terminal device sets corresponding to the plurality of network terminal devices, the number of the plurality of network terminal device sets being equal to the set quantity statistical value, and the number of gateway terminal devices included in each of the plurality of network terminal device sets being greater than the target device quantity statistical value;

[0116] D, performing a one-to-one correspondence operation on the plurality of network terminal device sets and the plurality of gateway device sets, so that each network terminal device set has a corresponding candidate gateway device set;

[0117] E, for each of the plurality of network terminal device sets, performing a position distance calculation operation on the center position of the network terminal device included in the network terminal device set and the center position of the gateway device included in the candidate gateway device set corresponding to the network terminal device set to output a position distance corresponding to the network terminal device set, and then performing a summation calculation operation on the position distance corresponding to each of the plurality of network terminal device sets to output a target position distance;

[0118] F, repeatedly performing steps D and E for a plurality of times in sequence until the number of times of performing step E is greater than or equal to a preset number of times, and the difference between the target position distance output by the most recent performance of step E and the minimum value among the target position distances output by each performance of step E is less than a preset difference value, then stopping the repeated performance of steps D and E, and marking the correspondence relationship between the plurality of network terminal device sets and the plurality of gateway device sets corresponding to the target position distance having the minimum value as a target correspondence relationship, and for each of the plurality of network terminal device sets, performing a binding process on the network terminal device included in the network terminal device set and the gateway device included in the candidate gateway device set corresponding in the target correspondence relationship, so that each gateway device is bound to at least one network terminal device, and each network terminal device is bound to one gateway device.

[0119] In summary, the intelligent gateway management and control method and system provided by the present application, for each two gateway devices in the plurality of gateway devices to be bound, performs a correlation determination operation on the two gateway devices to output a first device correlation between the two gateway devices. For each two network terminal devices, a correlation determination operation is performed on the two network terminal devices to output a second device correlation between the two network terminal devices. According to the first device correlation between each two gateway devices and the second device correlation between each two network terminal devices, the plurality of gateway devices and the plurality of network terminal devices are bound, so that each gateway device is bound to at least one network terminal device, and each network terminal device is bound to one gateway device. Based on this, when performing the binding processing of the devices, not only the correlation between the gateway devices is considered, but also the correlation between the network terminal devices is considered, so that the reliability of the binding of the gateway devices and the network terminal devices can be ensured to a certain extent, thereby improving the problem that the reliability of the gateway management and control in the prior art is not high.

[0120] The above only describes the preferred embodiments of the present application and is not intended to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A smart gateway management method, characterized in that, The intelligent gateway management method is applied to a network management server and comprises the following steps: For each of the two gateway devices in the plurality of gateway devices to be bound, a correlation determination operation is performed on the two gateway devices to output a first device correlation degree between the two gateway devices, which reflects the correlation degree between the corresponding two gateway devices; For each of the two network terminal devices in the plurality of network terminal devices to be bound, a correlation determination operation is performed on the two network terminal devices to output a second device correlation degree between the two network terminal devices, which reflects the correlation degree between the corresponding two network terminal devices; According to the first device correlation degree between each of the two gateway devices and the second device correlation degree between each of the two network terminal devices, a binding process is performed on the plurality of gateway devices and the plurality of network terminal devices, so that each gateway device is bound to at least one network terminal device, and each network terminal device is bound to one gateway device; The binding process performed on the plurality of gateway devices and the plurality of network terminal devices according to the first device correlation degree between each of the two gateway devices and the second device correlation degree between each of the two network terminal devices, so that each gateway device is bound to at least one network terminal device, and each network terminal device is bound to one gateway device, comprises the following steps: A. According to the first device correlation degree between each of the two gateway devices, a classification operation is performed on the plurality of gateway devices to form a plurality of gateway device sets corresponding to the plurality of gateway devices; B. A quantity statistical operation is performed on the plurality of gateway device sets to output a set quantity statistical value corresponding to the plurality of gateway device sets. For each of the plurality of gateway device sets, a statistical operation is performed on the number of gateway devices included in the gateway device set to output a device quantity statistical value corresponding to the gateway device set. Then, by performing a size comparison operation on the device quantity statistical value corresponding to each of the plurality of gateway device sets, a target device quantity statistical value having a maximum value is outputted; C. According to the set quantity statistical value, the target device quantity statistical value, and the second device correlation degree between each of the two network terminal devices, a classification operation is performed on the plurality of network terminal devices to output a plurality of network terminal device sets corresponding to the plurality of network terminal devices. The number of the plurality of network terminal device sets is equal to the set quantity statistical value, and the number of network terminal devices included in each of the plurality of network terminal device sets is greater than the target device quantity statistical value; D. A one-to-one corresponding operation is performed on the plurality of network terminal device sets and the plurality of gateway device sets, so that each network terminal device set has a corresponding candidate gateway device set. E, for each of the plurality of network terminal device sets, performing a position distance calculation operation on a center position of a network terminal device included in the network terminal device set and a center position of a gateway device included in a candidate gateway device set corresponding to the network terminal device set to output a target position distance corresponding to the network terminal device set, and performing a summation calculation operation on the target position distances corresponding to each of the plurality of network terminal device sets to output a target position distance; F, repeatedly performing steps D and E multiple times until the number of times step E is executed is greater than or equal to a preset number, and the difference between the target position distance output by the most recent execution of step E and the minimum value among the target position distances output by each execution of step E is less than a preset difference value, and then stopping the repeated execution of steps D and E, and marking the correspondence between the plurality of network terminal device sets and the plurality of gateway device sets corresponding to the target position distance with the minimum value as a target correspondence, and for each of the plurality of network terminal device sets, binding the network terminal device included in the network terminal device set with the gateway device included in the candidate gateway device set corresponding to the network terminal device set in the target correspondence, so that each gateway device is bound to at least one network terminal device and each network terminal device is bound to one gateway device; Step F includes: repeatedly performing steps D and E multiple times until the number of times step E is executed is greater than or equal to a preset number, and the difference between the target position distance output by the most recent execution of step E and the minimum value among the target position distances output by each execution of step E is less than a preset difference value, and then stopping the repeated execution of steps D and E, and marking the correspondence between the plurality of network terminal device sets and the plurality of gateway device sets corresponding to the target position distance with the minimum value as a target correspondence, and for each of the plurality of network terminal device sets, performing a quantity calculation operation on the network terminal device included in the network terminal device set to output a first quantity corresponding to the network terminal device set, and performing a quantity calculation operation on the gateway device included in the candidate gateway device set corresponding to the network terminal device set in the target correspondence to output a second quantity corresponding to the network terminal device; for each of the plurality of network terminal device sets, performing a ratio calculation operation on the first quantity and the second quantity corresponding to the network terminal device set to output a quantity ratio corresponding to the network terminal device set; for each of the plurality of network terminal device sets, according to the quantity ratio corresponding to the network terminal device set, performing a binding operation on the network terminal device included in the network terminal device set and the gateway device included in the candidate gateway device set corresponding to the network terminal device set in the target correspondence according to a quantity balancing principle. 2.The smart gateway management method of claim 1, wherein, The step of performing the correlation determination operation on each two gateway devices of the plurality of gateway devices to be bound to output the first device correlation between the two gateway devices comprises: For each gateway device of the plurality of gateway devices to be bound, a deployment location of the gateway device is determined to output a device deployment location corresponding to the gateway device. For each two gateway devices of the plurality of gateway devices to be bound, a location distance calculation operation is performed on the two gateway devices according to the device deployment locations corresponding to the two gateway devices to output a device location distance between the two gateway devices. For each two gateway devices of the plurality of gateway devices to be bound, a correlation determination operation is performed on the two gateway devices according to the device location distance between the two gateway devices to output a first device correlation between the two gateway devices. 3.The smart gateway management method of claim 2, wherein, The step of performing the correlation determination operation on each two gateway devices of the plurality of gateway devices to be bound to output the first device correlation between the two gateway devices comprises: For each two gateway devices of the plurality of gateway devices to be bound, a first correlation coefficient negatively correlated with the device location distance between the two gateway devices is calculated according to the device location distance. For each gateway device of the plurality of gateway devices to be bound, a device parameter of the gateway device is determined to output a device parameter corresponding to the gateway device. For each two gateway devices of the plurality of gateway devices to be bound, a similarity calculation operation is performed on the device parameters corresponding to the two gateway devices to output a second correlation coefficient between the two gateway devices, and a coefficient fusion operation is performed on the second correlation coefficient and the first correlation coefficient between the two gateway devices to output a first device correlation between the two gateway devices. 4.The smart gateway management method of claim 1, wherein, The step of performing the correlation determination operation on each two network terminal device of the plurality of network terminal devices to be bound to output a second device correlation between the two network terminal devices comprises: For each network terminal device of the plurality of network terminal devices to be bound, a deployment location of the network terminal device is determined to output a device deployment location corresponding to the network terminal device, and for each two network terminal device of the plurality of network terminal devices to be bound, a location distance calculation operation is performed on the two network terminal devices according to the device deployment locations corresponding to the two network terminal devices to output a device location distance between the two network terminal devices. For each two network terminal device of the plurality of network terminal devices to be bound, a correlation determination operation is performed on the two network terminal devices according to the device location distance between the two network terminal devices to output a second device correlation between the two network terminal devices. 5.The smart gateway management method of claim 4, wherein, The step of performing a correlation determination operation on each two network terminal devices in the plurality of network terminal devices to be bound according to a device location distance between the two network terminal devices to output a second device correlation between the two network terminal devices comprises: For each two network terminal devices in the plurality of network terminal devices to be bound, a first correlation value negatively correlated with the device location distance between the two network terminal devices is calculated, a device interaction data amount determination operation is performed on the two network terminal devices to output a device interaction data amount between the two network terminal devices, and a second correlation value positively correlated with the device interaction data amount is calculated and output. For each two network terminal devices in the plurality of network terminal devices to be bound, a first correlation value between the two network terminal devices and a second correlation value between the two network terminal devices are fused to output a second device correlation between the two network terminal devices.

6. A smart gateway management system, characterized in that, The intelligent gateway management and control system applied to a network management and control server comprises: A first correlation determination module is configured to perform a correlation determination operation on each two gateway devices in the plurality of gateway devices to be bound to output a first device correlation between the two gateway devices, the first device correlation reflecting a correlation degree between the two gateway devices. A second correlation determination module is configured to perform a correlation determination operation on each two network terminal device in the plurality of network terminal devices to be bound to output a second device correlation between the two network terminal devices, the second device correlation reflecting a correlation degree between the two network terminal devices. A device binding module is configured to bind the plurality of gateway devices and the plurality of network terminal devices according to the first device correlation between each two gateway devices and the second device correlation between each two network terminal devices, so that each gateway device is bound to at least one network terminal device, and each network terminal device is bound to one gateway device. The device binding module is specifically configured to: A, according to the first device correlation between each two gateway devices, performing a classification operation on the plurality of gateway devices to form a plurality of gateway device sets corresponding to the plurality of gateway devices; B, performing a quantity statistical operation on the plurality of gateway device sets to output a set quantity statistical value corresponding to the plurality of gateway device sets, for each gateway device set in the plurality of gateway device sets, performing a statistical operation on the number of gateway devices included in the gateway device set to output a device quantity statistical value corresponding to the gateway device set, and performing a size comparison operation on the device quantity statistical value corresponding to each gateway device set in the plurality of gateway device sets to output a target device quantity statistical value having a maximum value. C, according to the set quantity statistical value, the target device quantity statistical value and the second device correlation between each two network terminal devices, performing a classification operation on the plurality of network terminal devices to output a plurality of network terminal device sets corresponding to the plurality of network terminal devices, the number of the plurality of network terminal device sets being equal to the set quantity statistical value, and each network terminal device set including a number of network terminal devices greater than the target device quantity statistical value; D, performing a one-to-one operation on the plurality of network terminal device sets and the plurality of gateway device sets, so that each network terminal device set has a corresponding candidate gateway device set; E, for each network terminal device set in the plurality of network terminal device sets, performing a position distance calculation operation on the center position of the network terminal devices included in the network terminal device set and the center position of the gateway devices included in the candidate gateway device set corresponding to the network terminal device set to output a position distance corresponding to the network terminal device set, and performing a summation calculation operation on the position distances corresponding to each network terminal device set in the plurality of network terminal device sets to output a target position distance; F, repeatedly performing steps D and E in sequence for a plurality of times until the execution times of step E are greater than or equal to a preset number of times, and the difference between the target position distance output by the most recent execution of step E and the minimum value among the target position distances output by each execution of step E is less than a preset difference value, and then stopping the repeated execution of steps D and E, and marking the correspondence relationship between the plurality of network terminal device sets and the plurality of gateway device sets corresponding to the target position distance with the minimum value as a target correspondence relationship, and for each network terminal device set in the plurality of network terminal device sets, binding the network terminal devices included in the network terminal device set with the gateway devices included in the candidate gateway device set corresponding in the target correspondence relationship, so that each gateway device is bound to at least one network terminal device, and each network terminal device is bound to one gateway device; F includes: repeatedly performing D and E in sequence for a plurality of times until the execution times of E are greater than or equal to a preset number of times, and the difference between the target position distance output by the most recent execution of E and the minimum value among the target position distances output by each execution of E is less than a preset difference value, and then stopping the repeated execution of D and E, and marking the correspondence relationship between the plurality of network terminal device sets and the plurality of gateway device sets corresponding to the target position distance with the minimum value as a target correspondence relationship, and for each network terminal device set in the plurality of network terminal device sets, performing a quantity statistical operation on the network terminal devices included in the network terminal device set to output a first quantity corresponding to the network terminal device set, and performing a quantity statistical operation on the gateway devices included in the candidate gateway device set corresponding to the network terminal device set in the target correspondence relationship to output a second quantity corresponding to the network terminal device; For each of the plurality of network terminal device sets, a ratio calculation operation is performed according to the first quantity and the second quantity corresponding to the network terminal device set to output a quantity ratio corresponding to the network terminal device set; For each of the plurality of network terminal device sets, according to the quantity ratio corresponding to the network terminal device set, a binding processing is performed on the network terminal devices included in the network terminal device set and the gateway devices included in the candidate gateway device set corresponding to the network terminal device set in the target correspondence according to a quantity balancing principle.

7. The smart gateway management system of claim 6, wherein, The second correlation determination module is specifically configured to: For each of the plurality of network terminal devices to be bound, a deployment location determination operation is performed on the network terminal device to output a device deployment location corresponding to the network terminal device, and for each of the plurality of network terminal devices to be bound, a location distance calculation operation is performed on the two network terminal devices according to the device deployment locations corresponding to the two network terminal devices to output a device location distance between the two network terminal devices; For each of the plurality of network terminal devices to be bound, a correlation determination operation is performed on the two network terminal devices according to the device location distance between the two network terminal devices to output a second device correlation degree between the two network terminal devices.

Citation Information

Patent Citations

  • Data transmission method, device and equipment and readable storage medium

    CN109802985A

  • Internet of Things equipment binding method based on data processing and system thereof

    CN113676362A

  • Data processing method and device, computer and readable storage medium

    CN114419357A