An edge-computing-based data change grouping reporting method and system

By setting sensitive locations and data change thresholds in edge computing, combined with group identification and interrupt handling, the problems of data reporting delay and resource waste in the Internet of Things are solved, enabling rapid and flexible reporting of sensitive data, improving the accuracy of data analysis and gateway efficiency.

CN119652989BActive Publication Date: 2025-11-04SHANDONG YOU INTERNET OF THINGS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411741164.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-11-04
Estimated Expiration
2044-11-29

AI Technical Summary

Technical Problem

Traditional edge computing data reporting methods cannot meet the needs of rapid and flexible reporting of a large number of points and sensitive data in the Internet of Things. In particular, the processing logic for distinguishing between sensitive and non-sensitive data after data changes is complex, resulting in reporting delays and resource waste.

Method used

By setting sensitive locations and data change thresholds, grouping identifiers, and combining interruption handling, we can achieve rapid reporting of sensitive data in groups or individually, while also being compatible with periodic reporting to meet the needs of different customers.

Benefits of technology

It improves the accuracy of sensitive data analysis and gateway operating efficiency, reduces retrieval time, achieves more real-time data reporting, and is compatible with traditional and new market demands.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119652989B_ABST
    Figure CN119652989B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of Internet of Things, and provides a data change grouping reporting method and system based on edge computing, and the technical scheme is as follows: setting a sensitive point to be enabled and a data change threshold of the corresponding sensitive point; grouping the sensitive point to be enabled, and allocating a unique identifier to each group; performing polling data collection of the sensitive point, including: when the data collected by the sensitive point changes and the change amplitude exceeds the set data change threshold, determining the group to be urgently reported data according to the allocated group identifier, and sending an interruption information to the group to be urgently reported data; judging the change reporting condition in the group, if it is a whole group reporting, reporting all point data in the group, otherwise only reporting the latest data of the changed point. The effective combination of reporting groups and change reporting realizes that the sensitive data change reporting can carry related data together.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of Internet of Things, and particularly relates to a data change grouping reporting method and system based on edge computing. BACKGROUND

[0002] The statements in this section merely provide background information related to the present application and do not necessarily constitute the prior art.

[0003] Edge computing includes data active collection, data storage calculation, and data reporting server platform. The data reporting server platform is a way of displaying and processing data, and is also the most intuitive manifestation of the rapid development of the Internet of Things. However, with the rapid development of the Internet of Things and the increase of on-site data, the data reporting method has become more diversified.

[0004] The traditional data reporting method is as follows: the gateway stores the collected data in the device after processing, then finds the corresponding actual data in the gateway according to the pre-set data name, and then packs and uploads the data to the server according to the set format. The reporting is usually time period reporting, and sometimes clock point reporting. When the number of points is large, the data can be reported separately in the grouping mode. The cycle conditions of each group are different to avoid the problem of network transmission caused by the accumulation of a large amount of data.

[0005] With the rapid development of the Internet of Things, the number of application on-site collection points is increasing, and sensitive data is also increasing. After the data changes, more data needs to be reported quickly, and the reporting logic becomes complex. For example, although many data has changed, it is not sensitive data, so it does not need to be reported quickly. In addition, grouping reporting and change reporting need to be processed by different logics. The traditional single edge gateway data change reporting method cannot meet the demand. SUMMARY

[0006] In order to solve at least one technical problem in the background art, the present application provides a data change grouping reporting method and system based on edge computing, which filters the data change points and then reports them. At the same time, it not only realizes the unified processing and combination of grouping reporting and change reporting, but also judges whether the data to be reported is sensitive data to determine whether the data needs to be reported quickly after the data changes.

[0007] In order to achieve the above purpose, the present application adopts the following technical scheme:

[0008] The first aspect of the present application provides a data change grouping reporting method based on edge computing, comprising the following steps:

[0009] sensitive point positions to be enabled and a data change threshold of the corresponding sensitive point positions are set;

[0010] The sensitive point positions to be enabled are grouped, and a unique identification is allocated to each group;

[0011] The polling data collection of the sensitive point positions is performed, including:

[0012] When the data collected by the sensitive point positions changes and the change amplitude exceeds the set data change threshold, the group to be urgently reported data is determined according to the allocated group identification, and the interrupt information is sent to the group to be urgently reported data.

[0013] The change reporting condition in the group is judged, if the whole group is reported, all point position data in the group is reported, otherwise only the latest data of the changed point position is reported.

[0014] Further, if the whole group is reported, the point position data of the whole group is pulled from the point table register, packaged according to the reporting format and sent to the server, if the single point is reported, only the latest data of the changed point position is pulled from the point table and packaged according to the set packaging method and reported to the server.

[0015] Further, when the sensitive point positions to be enabled are grouped, each sensitive point position to be enabled can be set in different groups.

[0016] Further, when the amplitude of the data collected by the sensitive point positions changes does not exceed the set data change threshold, the reporting group is periodically reported according to the set reporting period and reporting mode.

[0017] Further, the sensitive point positions to be enabled include temperature data collection point positions, humidity data collection point positions, current data collection point positions, voltage data collection point positions and related data collection point positions.

[0018] The second aspect of the application provides a data change grouping reporting system based on edge computing, including:

[0019] The point position setting module is used for setting the sensitive point positions to be enabled and the data change threshold of the corresponding sensitive point positions;

[0020] The grouping module is used for grouping the sensitive point positions to be enabled, and a unique identification is allocated to each group;

[0021] A change reporting module is configured to perform polling data collection of the sensitive point, including: when the data collected by the sensitive point changes and the amplitude of the change exceeds a set data change threshold, determining a group of data to be urgently reported according to the assigned group identifier, and sending an interrupt information to the group of data to be urgently reported; judging the change reporting condition in the group, if the whole group is reported, reporting all point data in the group, otherwise, only reporting the latest data of the changed point.

[0022] Further, in the change reporting module, if the whole group is reported, the latest data of the whole group of points is pulled from the point table register, packaged according to the reporting format and sent to the server, if single-point reporting is performed, only the latest data of the changed point is pulled from the point table and packaged according to the set packaging method and reported to the server.

[0023] The third aspect of the present application provides a computer readable storage medium, which stores a computer program, and the program is executed by a processor to implement the steps of the above-mentioned data change grouping reporting method based on edge computing.

[0024] The fourth aspect of the present application provides a computer device, which includes a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the above-mentioned data change grouping reporting method based on edge computing when executing the program.

[0025] The fifth aspect of the present application provides a program product, which is a computer program product, including a computer program, and the computer program is executed by a processor to implement the steps of the above-mentioned data change grouping reporting method based on edge computing.

[0026] Compared with the prior art, the present application has the following beneficial effects:

[0027] 1. Compared with the traditional edge computing reporting method, the present application can meet different needs of different customers for sensitive data change detection and risk control, and effectively combines reporting grouping and change reporting, so that sensitive data change reporting can carry related data together, greatly improving the accuracy of sensitive data analysis, better meeting data control and risk control when the gateway is used on site, and providing intelligence of edge computing gateway and accuracy of Internet of Things big data.

[0028] 2. Compared with the traditional reporting method, the present application solves the defect of single detection in the point change group of the grouping reporting, needs to search the cycle, and determines the reporting time by the point, so that the latest data package is only needed to be pulled for the reporting group, more search time is saved, real-time search is not needed, resources are saved for other processes, the reporting real-time performance is higher, and the running efficiency of the gateway is improved.

[0029] 3、The application realizes point change detection fast reporting grouping by the idea of interrupt, and realizes real-time change reporting.

[0030] 4、The reporting grouping can select two ways of whole-group reporting and single-point reporting, and is compatible with traditional change reporting mode and market new demand.

[0031] The advantages of the additional aspects of the application will be partly given in the following description, partly will become obvious from the following description, or will be understood by the practice of the application. BRIEF DESCRIPTION OF DRAWINGS

[0032] The accompanying drawings, which form a part of the specification, are included to provide a further understanding of the application and are incorporated herein for explanation by illustrating a preferred embodiment of the application.

[0033] Figure 1 A flow chart of a data change grouping reporting method based on edge computing is provided for the embodiment of the application. DETAILED DESCRIPTION

[0034] The application will be further described below in conjunction with the drawings and embodiments.

[0035] It should be noted that the following detailed description is illustrative only, and is intended to provide further description of the application. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.

[0036] It should be noted that the terms used herein are only for the purpose of describing specific embodiments, and are not intended to limit the exemplary embodiments according to the application. As used herein, unless the context clearly indicates otherwise, the singular form is intended to include the plural form, and in addition, it should be understood that when the terms "comprise" and / or "include" are used in the specification, there is a feature, step, operation, device, component and / or combination thereof.

[0037] As mentioned in the background of the application, the data change reporting mode of the edge gateway is relatively single, the present application considers that with the rapid development of the Internet of Things, the number of application field collected points is increasing, sensitive data is also increasing, and more data needs to be quickly reported after data change, but many data has changed, but it is not sensitive data, so it does not need to be quickly reported, so the point of data change needs to be screened and then reported, and the group reporting and change reporting are not processed under the same logic, and the related data may also need to be reported, in the face of such diversified needs, in order to meet different needs, the present application needs to not only realize the unified processing of group reporting and change reporting, combination and collocation, but also judge whether the data to be reported is sensitive data, so as to judge whether the data after change needs to be quickly reported.

[0038] This way realizes the combination of change reporting and group reporting, solves the emergency response of change reporting, avoids the reporting delay caused by the long screening period of the large number of data in a single reporting group, and the related data reporting mode also meets the current market demand. Related data reporting at the same time can help analyze the reasons for single-point change and avoid risks. At the same time, the customer distinguishes sensitive data and non-sensitive data, and the notification mode of sensitive data binding group can meet the simultaneous support of the two conditions of other conditions and change reporting without point screening when reporting in groups. Periodic reporting meets the timing refresh function of all points, and change reporting meets the real-time update demand of sensitive data.

[0039] Embodiment one

[0040] The embodiment provides a data change group reporting method based on edge computing, which mainly combines embedded hardware interrupt processing logic, sensitive independent conditions, effective combination of change reporting and group reporting, realizes real-time emergency reporting of data, and specifically includes the following steps:

[0041] Step 1: Set the sensitive point to be enabled and the data change threshold of the corresponding sensitive point;

[0042] In the embodiment, the independent setting of the sensitivity of each point of the edge data collection in the gateway ensures the independence of the point and the flexibility of the customer. Here, the enablement of change reporting and the upper threshold Dh of change reporting are set; the point to be enabled is the sensitive point A selected by the customer, and when the change exceeds the upper threshold Dh, the data needs to be reported in real time.

[0043] When configuring the information of the edge collection point in the gateway, the enablement switch state of the change reporting configured by the customer is received to obtain the data to be quickly reported by the customer after the change;

[0044] In this embodiment, the point change threshold is set for each point, such as customer collected temperature T, collected humidity L, collected current I, collected voltage V, and related data H. When setting the collection information, the change reporting of the corresponding data is enabled according to the threshold set by the customer; for example, the customer thinks that the temperature needs to be quickly reported when it is increased by about 2 degrees, so the change amplitude of 2 is set as the trigger condition, and the change reporting of the temperature is enabled.

[0045] The application can quickly report the changed data and synchronously report the related data, and no longer simply reports the single changed point data.

[0046] Step 2: Group the sensitive points to be enabled, and assign a unique identifier to each group.

[0047] The traditional reporting usually uses the Json format to set the custom data format to meet the format requirements of the server, and the time period reporting is usually used, and the clock point reporting is sometimes used.

[0048] In this embodiment, the gateway reporting group is created, and a unique identifier Gn (n represents the number 1, 2, 3…) is assigned to each group. The number only represents the order of creation, which is convenient for the point to find the group later and can be uniquely corresponding. At the same time, the change reporting of each group is divided into two ways: the whole group reporting mode F1 and the single point reporting mode F2, which can meet the demand of multiple change reporting modes.

[0049] The application can effectively detect and quickly report the point data change of the points divided into different reporting groups.

[0050] In this embodiment, when the amplitude of the data change of the sensitive point is less than the set data change threshold, the reporting group performs periodic data reporting according to the set reporting period and reporting mode.

[0051] For example, when configuring the reporting conditions, the voltage V, the current I, and the temperature T are divided into the first reporting group (G1 group), and the temperature T and the humidity L, and the related data H are also divided into the second reporting group (G2 group) at the same time. The reporting periods of the two groups are 2s and 60s respectively. At the same time, the first reporting group enables the change whole group reporting function, and the first reporting group enables the change single point reporting and can set the format of the single point reporting.

[0052] Step 3: After the point and group configuration is completed, it needs to be reinitialized so that the point information is reenabled, and the sensitive point and the corresponding group can make corresponding records in advance; then the point training collection and active reporting are performed; specifically including the following steps:

[0053] Step 301: When the sensitive data A changes, and the change amplitude Db exceeds the upper threshold Dh compared with the last historical data, A will quickly find the group Gn that needs to be urgently reported according to the reporting group identifier recorded during initialization, and send an interrupt message to Gn, requiring the group to immediately report a packet of data.

[0054] Step 302: After receiving the interrupt data, the Gn group will judge the change reporting condition of the group. If it is a whole group reporting F1, the latest data of the whole group will be pulled from the point table register, packaged according to the reporting format, and sent to the server. If it is a single point reporting F2, only the latest data of the changed point will be pulled from the point table and packaged according to the set packaging method and reported to the server.

[0055] Step 303: After the reporting is completed, the reporting group will continue to execute the original periodic reporting rule unless a new change reporting interrupt signal arrives.

[0056] Through the above scheme, the change point single-point reporting mode is compatible with the group reporting.

[0057] For example, after the gateway is powered on, the change reporting enabled point will first perform reporting group screening and record the group identifier of the point, for example, temperature T enables change reporting, so after searching, it will record two group identifiers G1 and G2 groups. During the gateway data collection process, when the temperature T collects new data and old data comparison, the change exceeds 2 degrees, which reaches the trigger change reporting condition, the group identifier will be called to inform G1 and G2 two groups that the temperature change is too large and needs to be reported quickly. At this time, the two groups will report according to the change reporting condition in the group, G1 performs whole group reporting, that is, the latest data of temperature T, current I, and voltage V is counted, and then reported to the server. G2 will report only the latest data of temperature T according to the set format, and other data will not be urgently processed.

[0058] The whole group reporting of G1 reports the voltage V and current I related to the temperature together, so that the sensitive data and related data are quickly reported. The reporting mode of G2 is compatible with the reporting mode of a single changed point. Because other information in the group has little relevance, it is not necessary to urgently report.

[0059] Through the above-described edge computing group change reporting method, the different emergency reporting methods for sensitive point data are fully met, which better promotes the effective application of effective data, enhances the accuracy of data correlation judgment and on-site big data analysis, and promotes the better and faster development of Internet of Things.

[0060] Embodiment two

[0061] The embodiment provides a data change grouping reporting system based on edge computing, which comprises:

[0062] A point setting module is used for setting a sensitive point to be enabled and starting and a data change threshold of the corresponding sensitive point;

[0063] A grouping module is used for grouping the sensitive points to be enabled and starting, and a unique identifier is allocated to each group;

[0064] A change reporting module is used for performing polling data collection of the sensitive points, comprising the following steps: when the data collected by the sensitive points changes and the change amplitude exceeds the set data change threshold, the group to be urgently reported data is determined according to the allocated grouping identifier, and the interrupt information is sent to the group to be urgently reported data; the change reporting condition in the group is judged, if the whole group is reported, all point data in the group are reported, otherwise only the latest data of the changed point is reported.

[0065] In this way, the combination of change reporting and grouping reporting is realized, the emergency response of change reporting is solved, the reporting delay caused by the reasons such as more data in a single reporting group and long screening period is avoided, and the related data reporting mode also meets the current market demand. The related data reporting at the same time can help to analyze the reasons for single-point change and avoid risks. At the same time, the customer distinguishes sensitive data and non-sensitive data, and the notification mode of the sensitive data binding group can meet the simultaneous support of the two conditions of other conditions and change reporting without point screening when the group is reported. The periodic reporting meets the timing refreshing function of all points, and the change reporting meets the real-time updating demand of sensitive data.

[0066] Embodiment three

[0067] The embodiment provides a computer readable storage medium, which stores a computer program, and the program is executed by a processor to realize the steps in the data change grouping reporting method based on edge computing.

[0068] Embodiment four

[0069] The embodiment provides a computer device, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, and the processor realizes the steps in the data change grouping reporting method based on edge computing when executing the program.

[0070] Embodiment five

[0071] The embodiment provides a program product, which is a computer program product, comprising a computer program, wherein the computer program is executed by a processor to implement the steps in the edge computing-based data change grouping reporting method.

[0072] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage, etc.) containing computer-usable program code.

[0073] The present application is described with reference to flowcharts and / or block diagrams of the method, device (system), and computer program product according to the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing apparatus to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing apparatus generate a means for implementing the functions specified in the flowcharts and / or block diagrams. Figure 1 one or more flows and / or blocks Figure 1 means for carrying out the functions specified in the flowchart

[0074] These computer program instructions can also be stored in a computer-readable memory capable of directing the computer or other programmable data processing apparatus to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including instruction means, which implements the functions specified in the flowcharts and / or block diagrams. Figure 1 one or more flows and / or blocks Figure 1 means for carrying out the functions specified in the flowchart

[0075] These computer program instructions can also be loaded into a computer or other programmable data processing apparatus, so that a series of operation steps are performed on the computer or other programmable data processing apparatus to produce a computer-implemented process, so that the instructions executed on the computer or other programmable data processing apparatus provide a process for implementing the functions specified in the flowcharts and / or block diagrams. Figure 1 one or more flows and / or blocks Figure 1 means for carrying out the functions specified in the flowchart

[0076] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by a computer program instructing relevant hardware, and the program can be stored in a computer readable storage medium. When the program is executed, the program can include the processes of the above-mentioned embodiment methods. The storage medium can be a magnetic disc, an optical disc, a read-only memory (ROM) or a random access memory (RAM), etc.

[0077] The above only describes the preferred embodiments of the present application and is not used 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. within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for reporting data change packets based on edge computing, characterized in that, Comprising the following steps: Setting the sensitive point to be enabled and the data change threshold of the corresponding sensitive point; Independently setting the sensitivity of each point of the edge data collection in the gateway to ensure the independence of the point and the flexibility of the customer, setting the change reporting enablement and the upper threshold of the change reporting here; the point to be enabled is the sensitive point selected by the customer, and when the change exceeds the upper threshold, the data needs to be reported in real time; Setting the point change threshold for each point, and the customer collects temperature, humidity, current, voltage, and related data, and sets the change reporting enablement of the corresponding data according to the threshold set by the customer when setting the collection information; Grouping the sensitive points to be enabled, and assigning a unique identifier to each group; When configuring the reporting conditions, voltage, current, and temperature are divided into the first reporting group, and temperature, humidity, and related data are divided into the second reporting group, and the change whole group reporting function is enabled for the first reporting group, and the change single-point reporting is enabled for the second reporting group and the single-point reporting format is set; After the point and group configuration is complete, re-initialize to enable the point information again, and record the sensitive points and corresponding groups in advance, and then perform the polling collection and active reporting of the points; Performing polling data collection of sensitive points, including: When the data collected by the sensitive point changes and the change amplitude exceeds the set data change threshold, determine the group to be urgently reported according to the assigned group identifier, and send an interrupt message to the group to be urgently reported; Determine the change reporting condition in the group, if it is whole group reporting, report all point data in the group, otherwise only report the latest data of the changed point. 2.The method of claim 1, wherein, If it is whole group reporting, pull the latest data of the whole group of point data from the point table register, package according to the reporting format and send to the server, if it is single-point reporting, only pull the latest data of the changed point from the point table and package according to the set packaging method and report to the server. 3.The method of claim 1, wherein, When grouping the sensitive points to be enabled, each sensitive point to be enabled can be set in different groups.

4. The data change grouping reporting method based on edge computing according to claim 1, wherein, When the change amplitude of the data collected by the sensitive point does not exceed the set data change threshold, the reporting group performs periodic data reporting according to the set reporting period and reporting method.

5. The data change grouping reporting method based on edge computing according to claim 1, wherein, The sensitive points to be enabled include temperature data collection points, humidity data collection points, current data collection points, voltage data collection points, and related data collection points.

6. An edge computing-based data change grouping reporting system, characterized in that, A data change grouping reporting method based on edge computing is adopted, comprising: A point setting module for setting the sensitive points to be enabled and the data change threshold of the corresponding sensitive points; A grouping module for grouping the sensitive points to be enabled, and assigning a unique identifier to each group; The change reporting module is used for performing polling data collection of the sensitive point, and includes: when the data collected by the sensitive point changes and the amplitude of the change exceeds a set data change threshold, determining a group of data to be urgently reported according to the assigned group identifier, and sending an interrupt information to the group of data to be urgently reported; judging a change reporting condition in the group, if reporting the whole group, reporting all point data in the group, otherwise only reporting the latest data of the changed point.

7. The edge computing-based data change grouping reporting system of claim 6, wherein, In the change reporting module, if reporting the whole group, the latest data of the point data in the whole group is pulled from the point table register, packaged according to a reporting format and sent to the server, if reporting a single point, only the latest data of the changed point is pulled from the point table and packaged according to a set packaging mode and reported to the server.

8. A computer-readable storage medium, characterized in that, A computer program is stored thereon, and the program is executed by a processor to realize the steps in the data change group reporting method based on edge computing according to any one of claims 1-5.

9. A computer device, comprising: A computer program is stored thereon, and the program is executed by a processor to realize the steps in the data change group reporting method based on edge computing according to any one of claims 1-5.

10. A program product, characterized by The product is a computer program product, including a computer program, and the computer program is executed by a processor to realize the steps in the data change group reporting method based on edge computing according to any one of claims 1-5.

Citation Information

Patent Citations

  • Data reporting method and device

    CN105263162A

  • Data acquisition method and related equipment

    CN111294112A