Data processing method and device, computer equipment and storage medium

By acquiring and generating sensor capability description files, a mapping relationship between the sensor identification information and attribute information and data information is established, and the problem of cumbersome configuration of sensor information in the prior art is solved, thereby achieving efficient data access.

CN119544481APending Publication Date: 2025-02-28XIAN SI TOP ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411587170.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-07
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

In the prior art, data interaction between communication terminals and platforms requires a large amount of manual configuration of sensor information, resulting in large workload, cumbersome configuration, high error rate and low access efficiency.

Method used

By obtaining the capability description file of each sensor, the sensor's attribute information and data information are generated, and the sensor's identification information, attribute information and data information are established, without manual configuration, and automated access is achieved.

Benefits of technology

It reduces a lot of tedious work, improves data access efficiency, and reduces error rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119544481A_ABST
    Figure CN119544481A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method and device, computer equipment and a storage medium, and relates to the technical field of data processing. The method comprises the following steps: acquiring a capability description file corresponding to each sensor; generating attribute information and data information corresponding to each sensor according to the capability description file corresponding to each sensor; acquiring registration information of each sensor sent by a communication terminal, and returning identification information of each sensor to the communication terminal according to the registration information of each sensor; the identification information of each sensor corresponds to the attribute information and the data information corresponding to the identification information, and a mapping relation among the identification information, the attribute information and the data information of each sensor is established. According to the data processing method provided by the invention, manual configuration of sensor information is not needed, so that a large amount of tedious work can be reduced, and meanwhile, the data access efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a data processing method, device, computer equipment and storage medium. Background Art

[0002] With the advancement of science and technology, intelligent and smart solutions have emerged in all walks of life, involving numerous perception-layer sensors. Communication terminals (CTDs) such as data concentrators, aggregation terminals and communication gateways are needed to obtain sensor data in real time and send it to the corresponding platform system.

[0003] Usually, the interaction between the communication terminal (CTD) and the platform requires the platform to perform a lot of manual configuration of sensor information in advance before data interaction can be carried out, which results in heavy workload, cumbersome configuration, high error rate and low access efficiency. Summary of the invention

[0004] The purpose of the present invention is to overcome the deficiencies of the prior art and to provide a data processing method, apparatus, computer device and storage medium. The method does not require manual configuration of sensor information, thereby reducing a lot of tedious work and improving data access efficiency.

[0005] According to a first aspect of an embodiment of the present disclosure, a data processing method is provided, the method comprising:

[0006] Get the capability description file corresponding to each sensor;

[0007] Generate attribute information and data information corresponding to each sensor according to the capability description file corresponding to each sensor;

[0008] Acquire the registration information of each sensor sent by the communication terminal, and return the identification information of each sensor to the communication terminal according to the registration information of each sensor;

[0009] The identification information of each sensor is matched with its corresponding attribute information and data information, and a mapping relationship among the identification information, attribute information and data information of each sensor is established.

[0010] In one embodiment, the method further comprises:

[0011] Before obtaining the capability description file corresponding to each sensor, the method further includes:

[0012] Obtain at least one sensor type in the perception layer;

[0013] According to each type of the sensor, write a capability description file corresponding to each sensor, and store the capability description file corresponding to each sensor locally;

[0014] The step of obtaining the capability description file corresponding to each sensor includes:

[0015] Get the capability description file corresponding to each sensor locally.

[0016] In one embodiment, the capability description file corresponding to each sensor includes at least one of the data format, manufacturer name, sensor model, sensor name, sensor type, protocol type and data item array of each sensor.

[0017] In one embodiment, the registration information includes at least one of a model of the sensor, a name of the sensor, and a sensor serial number.

[0018] In one embodiment, the sensor includes at least one of a temperature and humidity sensor, a noise sensor, an ozone sensor, and a SF6 gas sensor;

[0019] The sensing layer includes at least one of access control, lighting, fans, water immersion, dehumidifiers, multi-function instruments, switch cabinet temperature measurement and switch cabinet partial discharge.

[0020] In one embodiment, the communication terminal includes: at least one of a data concentrator, a convergence terminal and a communication gateway connected to the management platform.

[0021] According to a second aspect of an embodiment of the present disclosure, an application management platform is provided, the application management platform comprising: a first acquisition module, a generation module, a processing module and a creation module; wherein:

[0022] The first acquisition module is used to acquire a capability description file corresponding to each sensor;

[0023] The generating module is used to generate attribute information and data information corresponding to each sensor according to the capability description file corresponding to each sensor;

[0024] The processing module is used to obtain the registration information of each sensor sent by the communication terminal, and return the identification information of each sensor to the communication terminal according to the registration information of each sensor;

[0025] The establishment module is used to match the identification information of each sensor with its corresponding attribute information and data information, and establish a mapping relationship between the identification information, attribute information and data information of each sensor.

[0026] In one embodiment, the application management platform further includes: a second acquisition module and a writing module; wherein,

[0027] The second acquisition module is used to acquire at least one sensor type in the perception layer;

[0028] The writing module is used to write a capability description file corresponding to each sensor type, and store the capability description file corresponding to each sensor locally.

[0029] According to a third aspect of an embodiment of the present disclosure, a computer device is provided, including: a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.

[0030] According to a fourth aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored, wherein the computer program implements the steps of any of the above methods when executed by a processor.

[0031] The disclosed embodiments provide a data processing method, apparatus, computer equipment and storage medium, which logicize the perception layer sensors by referring to the "object-oriented concept" and the "IEC61850 standard specification for substations" to form a unique capability description file DCD, and import the capability description file DCD file into the management platform, thereby eliminating the need for manual configuration of sensor information and input of various attributes and data items, thereby reducing a lot of tedious work and improving data access efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0033] Figure 1 A schematic diagram of a data processing system provided in an embodiment of the present disclosure.

[0034] Figure 2 A flowchart of a data processing method provided by an embodiment of the present disclosure;

[0035] Figure 3 An architectural diagram of a data processing device provided in an embodiment of the present disclosure;

[0036] Figure 4 An architectural diagram of a data processing device provided in an embodiment of the present disclosure;

[0037] Figure 5 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0038] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0039] Figure 1 Schematic diagram of a data processing system provided by an embodiment of the present disclosure. Figure 1 As shown, the system includes:

[0040] 1. Statistical collection unit:

[0041] Count the types of sensors in the perception layer, collect relevant information for each sensor, and upload the counted sensor types and collected relevant information for each sensor to the platform system.

[0042] Platform system:

[0043] Write a capability description file corresponding to each sensor according to the type and related information of each sensor, and store the capability description file corresponding to each sensor locally for later retrieval of data.

[0044] 3. Communication terminal:

[0045] Register each sensor information of the perception layer to the platform system, receive the unique identification of each sensor returned by the platform system, and use the unique identification of each sensor to send sensor data to the platform system.

[0046] The specific processing flow of the data processing method in the present disclosure will be described in detail below with specific embodiments.

[0047] Figure 2 A flowchart of a data processing method provided by an embodiment of the present disclosure. Figure 2 As shown, the method includes:

[0048] Step 201: Obtain capability description files corresponding to each sensor;

[0049] In the step, considering that the perception layer includes multiple sensors and each sensor includes multiple sensors, but in order to improve data processing efficiency, this embodiment assumes that the capability description file DCD of each sensor is the same and unique. Therefore, this embodiment only needs to obtain the capability description file DCD corresponding to each sensor.

[0050] In one embodiment, the capability description file corresponding to each sensor includes at least one of the data format, manufacturer name, sensor model, sensor name, sensor type, protocol type and data item array of each sensor.

[0051] Exemplarily, assuming that the sensor is a temperature and humidity sensor, the capability description file DCD corresponding to the temperature and humidity sensor includes:

[0052] The data format of the sensor is: "JSON";

[0053] Manufacturer Name: "XXX";

[0054] The sensor name productName is: "Temperature and Humidity Sensor";

[0055] The sensor model productType is: "1";

[0056] The protocol type protocolType is: "MQTT";

[0057] The data item array description is: "telemetry", "ambient humidity" and "ambient temperature".

[0058] Specifically, the capability description file DCD corresponding to the temperature and humidity sensor is as follows:

[0059]

[0060] In one embodiment, the sensor includes at least one of a temperature and humidity sensor, a noise sensor, an ozone sensor, and a SF6 gas sensor; the perception layer includes at least one of access control, lighting, a fan, water immersion, a dehumidifier, a multi-function instrument, switch cabinet temperature measurement, and switch cabinet partial discharge.

[0061] Step 202: Generate attribute information and data information corresponding to each sensor according to the capability description file corresponding to each sensor;

[0062] In this step, the management platform can generate attribute information and data information corresponding to each sensor according to the capability description file DCD corresponding to each sensor.

[0063] Specifically, after obtaining the capability description file DCD corresponding to each sensor, the management platform will parse the capability description file DCD to generate relevant attributes and data items corresponding to each sensor.

[0064] Step 203: Acquire the registration information of each sensor sent by the communication terminal, and return the identification information of each sensor to the communication terminal according to the registration information of each sensor;

[0065] In this step, after acquiring the registration information of each sensor sent by the terminal, the management platform generates identification information corresponding to each sensor according to the registration information of each sensor, and returns the identification information corresponding to each sensor to the corresponding communication terminal.

[0066] In one embodiment, the registration information includes at least one of a model of the sensor, a name of the sensor, and a sensor serial number.

[0067] For example, when the sensor is a temperature and humidity sensor, its registration information is as follows:

[0068] The model of the sensor is: "XTWSD";

[0069] The name of the sensor is: "1# Temperature and Humidity";

[0070] The sensor's own nodeId is: "SITECH-XTWSD-001".

[0071] Specifically, the registration information of the temperature and humidity sensor is as follows:

[0072]

[0073] In one embodiment, the communication terminal includes: at least one of a data concentrator, a convergence terminal and a communication gateway connected to the management platform.

[0074] Step 204: Match the identification information of each sensor with its corresponding attribute information and data information, and establish a mapping relationship between the identification information, attribute information and data information of each sensor.

[0075] In this step, the management platform matches the identification information of each sensor with its respective attribute information and data information, and establishes a mapping relationship between the identification information, attribute information and data information of each sensor. The communication terminal can send sensor data to the management platform through the unique identification information of each sensor.

[0076] Exemplarily, when the sensor is a temperature and humidity sensor, the temperature and humidity sensor data sent by it is as follows:

[0077] The unique identification information of the sensor, DeviceID, is: "D2375915513tI48X";

[0078] The data information of the sensor is: "Humidity EvnRH is 56.4", "Temperature EvnTmp is 21.6".

[0079] Specifically, the data of the temperature and humidity sensor are as follows:

[0080]

[0081] Optionally, before obtaining the capability description file corresponding to each sensor, the method further includes:

[0082] Obtain at least one sensor type in the perception layer;

[0083] According to each type of the sensor, write a capability description file corresponding to each sensor, and store the capability description file corresponding to each sensor locally;

[0084] The step of obtaining the capability description file corresponding to each sensor includes:

[0085] Get the capability description file corresponding to each sensor locally.

[0086] In this embodiment, the types of sensors in the perception layer can be manually counted, and relevant information of each sensor can be collected. After the counted sensor types and the collected relevant information of each sensor are uploaded to the management platform, the management platform will compile a capability description file corresponding to each sensor according to the type of each sensor, and store the capability description file corresponding to each sensor locally for later retrieval of data.

[0087] The disclosed embodiments provide a data processing method, apparatus, computer equipment and storage medium, which logicize the perception layer sensors by referring to the "object-oriented concept" and the "IEC61850 standard specification for substations" to form a unique capability description file DCD, and import the capability description file DCD file into the management platform, thereby eliminating the need for manual configuration of sensor information and input of various attributes and data items, thereby reducing a lot of tedious work and improving data access efficiency.

[0088] Figure 3 The following is an architecture diagram of an application management platform provided in an embodiment of the present disclosure. Figure 3As shown, the application management platform includes a first acquisition module 301, a generation module 302, a processing module 303 and an establishment module 304; wherein the first acquisition module 301 is used to obtain the capability description file corresponding to each sensor; the generation module 302 is used to generate the attribute information and data information corresponding to each sensor according to the capability description file corresponding to each sensor; the processing module 303 is used to obtain the registration information of each sensor sent by the communication terminal, and return the identification information of each sensor to the communication terminal according to the registration information of each sensor; the establishment module 304 is used to match the identification information of each sensor with its respective corresponding attribute information and data information, and establish a mapping relationship between the identification information, attribute information and data information of each sensor.

[0089] Figure 4 The following is an architecture diagram of an application management platform provided in an embodiment of the present disclosure. Figure 4 As shown, the application management platform includes a second acquisition module 401, a writing module 402, a first acquisition module 403, a generation module 404, a processing module 405 and an establishment module 406; wherein the second acquisition module 401 is used to acquire at least one sensor type in the perception layer; the writing module 406 is used to write a capability description file corresponding to each sensor type, and store the capability description file corresponding to each sensor locally.

[0090] In one embodiment, a computer device is provided, the internal structure diagram of which can be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a data processing method as described above is implemented. It includes: a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, any step in the data processing method as described above is implemented.

[0091] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any step in the above data processing method can be implemented.

[0092] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0093] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, 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 device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0094] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0096] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0097] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A data processing method, characterized in that: Applied to a management platform, the method includes: Get the capability description file corresponding to each sensor; Generate attribute information and data information corresponding to each sensor according to the capability description file corresponding to each sensor; Acquire the registration information of each sensor sent by the communication terminal, and return the identification information of each sensor to the communication terminal according to the registration information of each sensor; The identification information of each sensor is matched with its corresponding attribute information and data information, and a mapping relationship among the identification information, attribute information and data information of each sensor is established.

2. The method according to claim 1, characterized in that Before obtaining the capability description file corresponding to each sensor, the method further includes: Obtain at least one sensor type in the perception layer; According to each type of the sensor, write a capability description file corresponding to each sensor, and store the capability description file corresponding to each sensor locally; The step of obtaining the capability description file corresponding to each sensor includes: Get the capability description file corresponding to each sensor locally.

3. The method according to claim 1 or 2, characterized in that: The capability description file corresponding to each sensor includes at least one of a data format, a manufacturer name, a sensor model, a sensor name, a sensor type, a protocol type, and a data item array for each sensor.

4. The method according to claim 1 or 2, characterized in that: The registration information includes at least one of a model of the sensor, a name of the sensor, and a sensor serial number.

5. The method according to claim 2, characterized in that: The sensor includes at least one of a temperature and humidity sensor, a noise sensor, an ozone sensor and a SF6 gas sensor; The sensing layer includes at least one of access control, lighting, fans, water immersion, dehumidifiers, multi-function instruments, switch cabinet temperature measurement and switch cabinet partial discharge.

6. The method according to claim 1 or 2, characterized in that: The communication terminal includes: at least one of a data concentrator, a convergence terminal and a communication gateway connected to the management platform.

7. An application management platform, characterized in that: The application management platform includes: a first acquisition module, a generation module, a processing module and a creation module; wherein, The first acquisition module is used to acquire a capability description file corresponding to each sensor; The generating module is used to generate attribute information and data information corresponding to each sensor according to the capability description file corresponding to each sensor; The processing module is used to obtain the registration information of each sensor sent by the communication terminal, and return the identification information of each sensor to the communication terminal according to the registration information of each sensor; The establishment module is used to match the identification information of each sensor with its corresponding attribute information and data information, and establish a mapping relationship between the identification information, attribute information and data information of each sensor.

8. The application management platform according to claim 7, characterized in that: The application management platform also includes: a second acquisition module and a writing module; wherein, The second acquisition module is used to acquire at least one sensor type in the perception layer; The writing module is used to write a capability description file corresponding to each sensor type, and store the capability description file corresponding to each sensor locally.

9. A computer device comprising: A memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method according to any one of claims 1 to 6 when executing the computer program.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.