An intelligent gateway

By allocating computing power and phased data conversion in the intelligent gateway, combined with the technology of point clustering and dedicated transmission signal width channels, the problem of insufficient computing power and low transmission efficiency when requesting data from multiple devices is solved, achieving high efficiency. data processing and transmission.

CN118118296BActive Publication Date: 2024-10-01深圳市渊信科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410236350.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-01
Publication Date
2024-10-01
Estimated Expiration
2044-03-01

AI Technical Summary

Technical Problem

Smart gateways are prone to insufficient or uneven computing power when processing data requests from multiple devices, resulting in slow data conversion and low processing efficiency.

Method used

By introducing a computing power distribution end into the intelligent gateway, the computing power is distributed according to the number of device data request instructions, the optimal processing computing power is determined, and a stage sequence processing table is generated to perform data conversion in stages; at the same time, point aggregation is used to Class and dedicated transmission channels are used for segmented data transmission to ensure transmission quality and speed.

Benefits of technology

It effectively solves the problems of uneven distribution and waste of computing power, improves data processing efficiency and transmission rate, and avoids data packet loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118118296B_ABST
    Figure CN118118296B_ABST
Patent Text Reader

Abstract

The present invention discloses an intelligent gateway, which relates to the technical field of intelligent gateways and solves the technical problem that insufficient or uneven computing power may occur if computing power is not analyzed for multiple data requirements for simultaneous data requests. Different device data corresponds to different data formats. The intelligent gateway obtains the required computing power for format conversion of the corresponding device data from a database for different device data, and then performs a comprehensive analysis to determine the optimal processing computing power. Subsequently, computing power is allocated based on the optimal processing computing power, and a stage sequence processing table is generated. Subsequently, computing power is allocated based on the stage sequence processing table, so that data in different formats can be effectively processed without uneven computing power allocation and waste.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of intelligent gateways, and in particular relates to an intelligent gateway. Background Art

[0002] Smart gateway is a network device and the key to the intelligence of local area network. It generally supports virtual network access, wifi access, wired broadband access, etc. It can realize information collection, information input, information output, centralized control, remote control, linkage control and other functions of various sensors, network devices, cameras and host devices in the local area network;

[0003] The patent application with the publication number CN108965119B discloses an intelligent gateway, including a master control buffer, multiple master stations that can work in parallel, a communication processing module corresponding to the master station one by one, and a slave station corresponding to each master station; the master control buffer includes multiple master control buffer partitions, each of which is used to cache the data information corresponding to each master station one by one, and the data information includes instructions and data. The master control buffer is used to send the instructions issued by the master control to the corresponding master station, and process the data reported by each master station for the master control to obtain; each master station has a corresponding master station address, and the master station is used to send the instructions issued by the master control buffer to the corresponding slave station, and report the data reported by each slave station to the master control buffer; the communication processing module is used to realize the communication between the master station and the corresponding slave station, and process the data reported by each slave station for the master station to obtain; the slave station is used to realize the data collection and reporting. Thus, the real-time performance of the response to the master control is improved.

[0004] During normal use, the smart gateway needs to convert and exchange data between the device and the cloud. However, during the normal conversion process, due to the lack of analysis of the computing power required for multiple data requests at the same time, insufficient or uneven computing power may occur, resulting in slow conversion of corresponding data and low data processing efficiency. Summary of the invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art; to this end, the present invention proposes an intelligent gateway for solving the technical problem that insufficient or uneven computing power may easily occur when the computing power of multiple data demands for simultaneous data requests is not analyzed.

[0006] To achieve the above object, an intelligent gateway is provided according to an embodiment of a first aspect of the present invention, comprising:

[0007] The data request end receives and confirms the data request instructions of the devices interconnected by the intelligent gateway. Different devices have different data request instructions, and transmits the confirmed request instructions to the computing power allocation end;

[0008] The computing power allocation end determines whether computing power allocation is required based on the number of request instructions. If computing power allocation is required, the computing power required for format conversion of the corresponding device data is obtained from the database, and then a comprehensive analysis is performed to determine the optimal processing computing power. Then, based on this optimal processing computing power, computing power allocation is performed and a stage sequence processing table is generated. The specific process is as follows:

[0009] If the number of requested instructions = 1, no computing power allocation is performed. If the number of requested instructions > 1, the following steps are performed;

[0010] Based on the device data request instruction, different data formats are locked, and the required computing power for the corresponding data format conversion is obtained from the database. The specific number obtained is no less than 30 groups, and the 30 groups of required computing power for the same device data are averaged to determine the verification mean, and the different required computing power for the same device data is calibrated as SL i-k , the check mean is calibrated as JZ i , where i represents different devices and k represents different computing power values, will satisfy: |SL i-k -JZ i |>Y1's demand computing power is eliminated, and the remaining demand computing power is averaged, and the average after processing is proposed as the optimal processing computing power for the corresponding device data, where Y1 is the preset value;

[0011] The best processing power of different devices is calibrated as ST i , where i represents different devices, and they are sorted from large to small according to the values ​​to generate a computing power sorting set;

[0012] Determine the total processing power of the smart gateway and mark it as ZL. If the sum of the computing power within the computing power sorting set is greater than ZL, proceed to the next step. Otherwise, directly use the device data corresponding to the computing power sorting set as the first-stage sequence without the second sequence, and directly perform data format conversion on the first-stage sequence, and transmit the converted device data to the point clustering end;

[0013] Eliminate the subsequent best processing computing power in the computing power sorting set in sequence until the sum of the computing power in the computing power sorting set is ≤ZL, and use the device data corresponding to the computing power sorting set as the first stage sequence of the stage sequence processing table. Use the same method to process the eliminated best processing computing power to determine the second stage sequence. Similarly, the determined several stage sequences are formulated as the stage sequence processing table.

[0014] Based on this stage sequence processing table, data conversion is performed in stages. The device data of the first stage sequence is converted first, and then the device data of the subsequent stage sequences are converted in sequence. The converted device data is transmitted to the point clustering end.

[0015] The point clustering end receives the data transferred by the device and calibrates the capacity values ​​of different data in the data transferred by the device. Then, the point clustering method is used to lock three groups of capacity intervals, and the locked three groups of capacity intervals are transmitted to the channel formation end. The specific method of locking the three groups of capacity intervals is as follows:

[0016] Based on the data separator "<……>", the transferred data of the device is divided into several groups of different segmented data, and the capacity value of each group of different segmented data is marked as RL t , where t represents different segmented data;

[0017] Establish a set of cluster circles and lock the center of the cluster circle based on the capacity value RL t Randomly walk from the center of the circle to the calibration point of the isoparameter, and the distance between the calibration point and the center of the circle is RL t , based on several sets of different capacity values ​​RL t , lock several corresponding calibration points within the clustering circle;

[0018] Reconstruct two groups of circles within the clustering circle, and the centers of the two groups of circles coincide with the center of the clustering circle, so that the entire clustering circle is divided into three different areas, namely, the outer circle area, the middle circle area, and the inner circle area. The sizes of the two groups of circles are gradually adjusted to minimize the difference between the number ratio of the internal calibration points of the three groups of circle areas and the preset ratio {1:1:1}. The adjustment is completed, and the outer circle capacity values ​​and the inner circle capacity values ​​of the three groups of different circle areas are locked to generate three groups of capacity intervals, and the generated three groups of capacity intervals are transmitted to the channel formation end;

[0019] The channel forming end determines the corresponding capacity value based on the three groups of capacity intervals determined, and then determines the optimal bandwidth range of the corresponding channel in combination with the corresponding conversion factor, where the conversion factor is a preset value; the specific method is:

[0020] The two end values ​​of the corresponding capacity interval are marked as D1 and D2 respectively, and then the bandwidth value KD1 corresponding to the end value D1 is generated by combining KD1=D1×C1, and then the bandwidth value KD2 corresponding to the end value D2 is determined in the same way, where C1 is a fixed conversion factor;

[0021] Based on KD1 and KD2, exclusive transmission signal bandwidth channels corresponding to the capacity intervals are constructed, and then three groups of exclusive transmission signal bandwidth channels corresponding to the three groups of capacity intervals are confirmed in turn.

[0022] Preferably, it also includes a transmission terminal, which selects a corresponding exclusive transmission bandwidth channel based on the capacity value of the corresponding segmented data based on several groups of segmented data divided inside the device transferred data, and transmits the segmented data, and each group of segmented data has a corresponding sequence mark. After all the data transferred by the device are transmitted, the segmented data are integrated based on the sequence mark to obtain the original data transferred by the device.

[0023] Compared with the prior art, the beneficial effects of the present invention are as follows: different device data corresponds to different data formats. The intelligent gateway obtains the required computing power for format conversion of the corresponding device data from the database for different device data, and then conducts a comprehensive analysis to determine the optimal processing computing power. Then, based on this optimal processing computing power, computing power is allocated, and a stage sequence processing table is generated. Then, computing power is allocated according to this stage sequence processing table, so that data of different formats can be effectively processed without uneven computing power allocation and waste.

[0024] In order to ensure that the data transferred by the corresponding device is transmitted normally, and the transmission rate and transmission quality are fully guaranteed, the data transferred by the device is divided according to the internal separator, so that it is decomposed into several groups of segmented data. Based on the subsequent several groups of segmented data, several calibration points are determined in a point clustering manner, and then the external adaptive division circle is determined based on the corresponding calibration points;

[0025] Then, based on this divided circle, the corresponding exclusive transmission signal bandwidth channel is gradually locked. Based on the selected exclusive signal bandwidth channel, the segmented data can be gradually transmitted, so as to achieve better transmission processing effect, ensure the data transmission rate and transmission quality, and at the same time ensure that there will be no transmission load during the transmission process, resulting in data packet loss. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a schematic diagram of the principle framework of the present invention;

[0027] Figure 2 This is a schematic diagram of the circle division of the calibration points of the present invention. DETAILED DESCRIPTION

[0028] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] See also Figure 1, the present application provides an intelligent gateway, including a data request terminal, a computing power allocation terminal, a database, a point clustering terminal, a channel formation terminal and a transmission terminal;

[0030] The data request end is electrically connected to the input node of the computing power allocation end, and the database is electrically connected to the input nodes of the computing power allocation end and the point clustering end respectively, wherein the computing power allocation end, the point clustering end, the channel formation end and the transmission terminal are electrically connected in sequence from the output node to the input node;

[0031] The data request end receives and confirms the data request instructions of the devices interconnected by the intelligent gateway, wherein different device data request instructions are different, and transmits the confirmed request instructions to the computing power allocation end. Specifically, during the use of the intelligent gateway, there will be multiple devices connected to each other, which may be wired or wireless. The formats of the required data and the sent data of different devices are inconsistent. Therefore, in the later processing, a computing power allocation is performed for data of different formats, so as to achieve a faster processing efficiency and shorten the processing time;

[0032] The computing power allocation end determines whether computing power allocation is required according to the number of request instructions. For situations where computing power allocation is required, the computing power required for format conversion of the corresponding device data is obtained from the database, and then a comprehensive analysis is performed to determine the optimal processing computing power. Subsequently, computing power allocation is performed based on the optimal processing computing power, and a stage sequence processing table is generated. The specific generation process of the stage sequence processing table is as follows:

[0033] If the number of requested instructions = 1, no computing power allocation is performed. If the number of requested instructions > 1, the following steps are performed;

[0034] Based on the device data request instruction, different data formats are locked, and the required computing power for the corresponding data format conversion is obtained from the database. The specific number obtained is no less than 30 groups, and the 30 groups of required computing power for the same device data are averaged to determine the verification mean, and the different required computing power for the same device data is calibrated as SL i-k , the check mean is calibrated as JZ i , where i represents different devices and k represents different computing power values, will satisfy: |SL i-k -JZ i |>Y1's demand computing power is eliminated, and the remaining demand computing power is averaged, and the average value after processing is formulated as the optimal processing computing power for the corresponding device data, where Y1 is a preset value, and its specific value is formulated by the operator based on experience;

[0035] The best processing power of different devices is calibrated as ST i, where i represents different devices, and they are sorted from large to small according to the values ​​to generate a computing power sorting set;

[0036] Determine the total processing power of the smart gateway and mark it as ZL. If the sum of the computing power within the computing power sorting set is greater than ZL, proceed to the next step. Otherwise, directly use the device data corresponding to the computing power sorting set as the first-stage sequence without the second sequence, and directly perform data format conversion on the first-stage sequence, and transmit the converted device data to the point clustering end;

[0037] Eliminate the subsequent best processing computing power in the computing power sorting set in sequence until the sum of the computing power in the computing power sorting set is ≤ZL, and use the device data corresponding to the computing power sorting set as the first stage sequence of the stage sequence processing table. Use the same method to process the eliminated best processing computing power to determine the second stage sequence. Similarly, the determined several stage sequences are formulated as the stage sequence processing table.

[0038] Based on this stage sequence processing table, data conversion is performed in stages. The equipment data of the first stage sequence is converted first, and then the equipment data of the subsequent stage sequences are converted in turn, and the converted equipment data is transmitted to the point clustering end.

[0039] For example, different request instructions correspond to different device data. If the formats of the device data are inconsistent, and if there are five sets of device data request instructions, but there are only two corresponding data formats, then the required computing power corresponding to the two data formats is obtained;

[0040] However, in order to ensure that the computing power between different data can be evenly distributed, there will be no situation where the computing power is crowded and the data cannot be processed. For example, if there are five sets of formats, and the required optimal processing computing power is 10, 9, 7, 3, and 11 respectively, then the computing power form after generating the computing power sorting set is: {11, 10, 9, 7, 3};

[0041] However, the maximum computing power that this intelligent gateway can process is 22. Then, according to this computing power sorting set, two sets of stage sequences can be generated, namely: {11, 10} and {9, 7, 3}. By processing them in sequence in this way, data of different formats can be effectively processed without uneven distribution and waste of computing power.

[0042] The point clustering end receives the data transferred by the device, and calibrates the capacity values ​​of different data in the data transferred by the device, and then locks three groups of capacity intervals by point clustering, and transmits the locked three groups of capacity intervals to the channel forming end, wherein the specific method of locking the three groups of capacity intervals is:

[0043] Based on the data separator "<……>", the transferred data of the device is divided into several groups of different segmented data, and the capacity value of each group of different segmented data is marked as RL t , where t represents different segmented data;

[0044] Establish a set of cluster circles and lock the center of the cluster circle based on the capacity value RL t Randomly walk from the center of the circle to the calibration point of the isoparameter, and the distance between the calibration point and the center of the circle is RL t , based on several sets of different capacity values ​​RL t , lock several corresponding calibration points within the clustering circle;

[0045] Reconstruct two groups of circles within the clustering circle, and the centers of the two groups of circles coincide with the center of the clustering circle, so that the entire clustering circle is divided into three different areas, namely, the outer circle area, the middle circle area, and the inner circle area. The sizes of the two groups of circles are gradually adjusted to minimize the difference between the number ratio of the internal calibration points of the three groups of circle areas and the preset ratio {1:1:1}. The adjustment is completed, and the outer circle capacity values ​​and the inner circle capacity values ​​of the three groups of different circle areas are locked to generate three groups of capacity intervals, and the generated three groups of capacity intervals are transmitted to the channel formation end;

[0046] For example Figure 2 As shown, there are two groups of circles inside the clustering circle, and the ratio of the corresponding calibration points in each circle is: 3:4:3. On this basis, it has gradually approached {1:1:1}. In this way, several calibration points are clustered to determine the corresponding circles. The circles are closer to the corresponding outermost calibration points, and the proximity distance value can be set by the operator. In this way, several calibration points can be classified to facilitate the subsequent construction of transmission channels.

[0047] The channel forming end determines the corresponding capacity value based on the determined three groups of capacity intervals, and then determines the optimal bandwidth range of the corresponding channel in combination with the corresponding conversion factor, wherein the conversion factor is a preset value, and its specific value is determined by the operator based on experience, and the specific method is as follows:

[0048] The two end values ​​of the corresponding capacity interval are marked as D1 and D2 respectively, and then the bandwidth value KD1 corresponding to the end value D1 is generated by combining KD1=D1×C1. Then, the bandwidth value KD2 corresponding to the end value D2 is determined in the same way, where C1 is a fixed conversion factor, and its specific value is determined by the operator based on experience;

[0049] Based on KD1 and KD2, exclusive transmission signal bandwidth channels corresponding to the capacity intervals are constructed, and then three groups of exclusive transmission signal bandwidth channels corresponding to the three groups of capacity intervals are confirmed in turn.

[0050] The transmission terminal selects a corresponding exclusive transmission bandwidth channel based on the capacity value of the corresponding segmented data and divides the several groups of segmented data into which the data transferred by the device is divided, and transmits the segmented data. Each group of segmented data carries a corresponding sequence mark. After all the data transferred by the device is transmitted, the segmented data is integrated based on the sequence mark to obtain the original data transferred by the device.

[0051] Example: In order to ensure that the data transferred by the corresponding device is transmitted normally, and the transmission rate and transmission quality are fully guaranteed, the data transferred by the device is divided according to the internal delimiter to decompose it into several groups of segmented data. Based on the subsequent several groups of segmented data, several calibration points are determined in a point clustering manner, and then the external adaptive division circle is determined based on the corresponding calibration points;

[0052] Then, based on this divided circle, the corresponding exclusive transmission signal bandwidth channel is gradually locked. Based on the selected exclusive signal bandwidth channel, the segmented data can be gradually transmitted, so as to achieve better transmission processing effect, ensure the data transmission rate and transmission quality, and at the same time ensure that there will be no transmission load during the transmission process, resulting in data packet loss.

[0053] Some of the data in the above formula are calculated by removing the dimensions and taking their numerical values. The formula is a formula that is closest to the actual situation obtained by software simulation of a large amount of collected data; the preset parameters and preset thresholds in the formula are set by technical personnel in this field according to actual conditions or obtained through simulation of a large amount of data.

[0054] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. An intelligent gateway, characterized in that: include: The data request end receives and confirms the data request instructions of the devices interconnected by the intelligent gateway. Different devices have different data request instructions, and transmits the confirmed request instructions to the computing power allocation end; The computing power allocation end determines whether computing power allocation is required based on the number of request instructions. If computing power allocation is required, the computing power required for format conversion of the corresponding device data is obtained from the database, and then a comprehensive analysis is performed to determine the optimal processing computing power. Then, based on this optimal processing computing power, computing power allocation is performed and a stage sequence processing table is generated. The specific process is as follows: If the number of requested instructions = 1, no computing power allocation is performed. If the number of requested instructions > 1, the following steps are performed; Based on the device data request instruction, different data formats are locked, and the required computing power for the corresponding data format conversion is obtained from the database. The specific number obtained is no less than 30 groups, and the 30 groups of required computing power for the same device data are averaged to determine the verification mean, and the different required computing power for the same device data is calibrated as SL i-k , and the check mean is calibrated as JZ i , where i represents different devices and k represents different computing power values, will satisfy: |SL i-k -JZ i |>Y1's demand computing power is eliminated, and the remaining demand computing power is averaged, and the average after processing is proposed as the optimal processing computing power for the corresponding device data, where Y1 is the preset value; The best processing power of different devices is calibrated as ST i , where i represents different devices, and they are sorted from large to small according to the values ​​to generate a computing power sorting set; Determine the total processing power of the smart gateway and mark it as ZL. If the sum of the computing power within the computing power sorting set is greater than ZL, proceed to the next step. Otherwise, directly use the device data corresponding to the computing power sorting set as the first-stage sequence without the second sequence, and directly perform data format conversion on the first-stage sequence, and transmit the converted device data to the point clustering end; Eliminate the subsequent best processing computing power in the computing power sorting set in sequence until the sum of the computing power in the computing power sorting set is ≤ ZL, and use the device data corresponding to the computing power sorting set as the first stage sequence of the stage sequence processing table. Use the same method to process the eliminated best processing computing power to determine the second stage sequence. Similarly, the determined several stage sequences are formulated as the stage sequence processing table; Based on this stage sequence processing table, data conversion is performed in stages. The device data of the first stage sequence is converted first, and then the device data of the subsequent stage sequences are converted in sequence. The converted device data is transmitted to the point clustering end. The point clustering end receives the data transferred by the device and calibrates the capacity values ​​of different data in the data transferred by the device. Then, the point clustering method is used to lock three groups of capacity intervals, and the locked three groups of capacity intervals are transmitted to the channel formation end. The channel forming end determines the corresponding capacity value based on the determined three groups of capacity intervals, and then determines the optimal bandwidth range of the corresponding channel in combination with the corresponding conversion factor, wherein the conversion factor is a preset value.

2. The intelligent gateway according to claim 1, characterized in that: The specific method of locking the three groups of capacity intervals at the point clustering end is: Based on the data separator "<……>", the transferred data of the device is divided into several groups of different segmented data, and the capacity value of each group of different segmented data is marked as RL t , where t represents different segmented data; Establish a set of cluster circles and lock the center of the cluster circle based on the capacity value RL t Randomly walk from the center of the circle to the calibration point of the isoparameter, and the distance between the calibration point and the center of the circle is RL t , based on several sets of different capacity values ​​RL t , lock several corresponding calibration points within the clustering circle; Two groups of circles are reconstructed within the clustering circle, and the centers of the two groups of circles coincide with the center of the clustering circle, so that the entire clustering circle is divided into three different areas, namely the outer circle area, the middle circle area and the inner circle area. The sizes of the two groups of circles are gradually adjusted to minimize the difference between the number ratio of the internal calibration points of the three groups of circle areas and the preset ratio {1:1:1}. The adjustment is then completed, and the outer circle capacity values ​​and the inner circle capacity values ​​of the three different circle areas are locked to generate three groups of capacity intervals, which are then transmitted to the channel assembly end.

3. The intelligent gateway according to claim 2, characterized in that: The specific method for determining the optimal bandwidth range of the corresponding channel at the channel forming end is: The two end values ​​of the corresponding capacity interval are marked as D1 and D2 respectively, and then the bandwidth value KD1 corresponding to the end value D1 is generated by combining KD1=D1×C1, and then the bandwidth value KD2 corresponding to the end value D2 is determined in the same way, where C1 is a fixed conversion factor; Based on KD1 and KD2, exclusive transmission signal bandwidth channels corresponding to the capacity intervals are constructed, and then three groups of exclusive transmission signal bandwidth channels corresponding to the three groups of capacity intervals are confirmed in turn.

4. The intelligent gateway according to claim 3, characterized in that: It also includes a transmission terminal, which selects a corresponding exclusive transmission bandwidth channel based on the capacity value of the corresponding segmented data based on several groups of segmented data divided within the device transferred data, and transmits the segmented data. Each group of segmented data has a corresponding sequence mark. After all the device transferred data has been transmitted, the segmented data is integrated based on the sequence mark to obtain the original device transferred data.