Data acquisition method and system applied to energy platform, medium and equipment

By obtaining and converting equipment real-time data of third-party data platforms of different brands, the problem of data structure differences is solved, and the energy platform's unified standardized processing and storage of equipment data of different brands is realized, which improves the capabilities of data analysis and business mining.

CN119513179APending Publication Date: 2025-02-25山东浪潮数据库技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411733440.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

There are differences in the definition of data points for the same type of equipment type in third-party data platforms of different brands, which leads to the inability of energy platforms to uniformly standardize the processing of real-time data of equipment types in different brands, increasing the difficulty of data analysis and mining.

Method used

By obtaining the authorization information of the third-party data platform, requesting to obtain the real-time data of the device, and calling the data conversion script to convert the data in format, obtaining standard format energy data. Map the device point information corresponding to the real-time data of the equipment into standard points of the energy platform, and store standard format energy data at the standard points.

Benefits of technology

It eliminates the differences in data structures of different third-party data platforms, reduces the complexity of the energy platform connecting equipment data of different brands of manufacturers, provides unified and standardized data storage, and improves the capabilities of data comparison and analysis and business mining.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119513179A_ABST
    Figure CN119513179A_ABST
Patent Text Reader

Abstract

The invention provides a data acquisition method applied to an energy platform. The data acquisition method comprises the following steps: acquiring authorization information of a third-party data platform; acquiring equipment real-time data of the third-party data platform according to the authorization information request; calling the data conversion script to perform format conversion on the equipment real-time data to obtain standard format energy data; and mapping the equipment point location information corresponding to the equipment real-time data into a standard point location of the energy platform, and storing the energy data in the standard format at the standard point location. According to the method, the data structure difference of different third-party data platforms is eliminated, the situation that the energy platform cannot process the equipment real-time data due to the data structure difference after acquiring the equipment real-time data is avoided, and the complexity when the energy platform is in butt joint with the energy equipment data of different brand manufacturers is reduced. The invention also provides a data acquisition system applied to the energy platform, a computer readable storage medium and electronic equipment, which have the above beneficial effects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of digital energy, and in particular to a data collection method, system, medium and device applied to an energy platform. Background Art

[0002] Digital energy refers to the use of digital technology and information and communication technology to achieve intelligent and efficient energy production, transmission, consumption and other links. It transforms the traditional energy system into a new energy system with intelligent perception, self-adaptation, coordinated regulation and other characteristics through digitalization, networking and intelligent means. The real-time data of energy equipment is the underlying support of digital energy.

[0003] In the specific implementation process, there are the following problems when obtaining real-time data of energy equipment:

[0004] Directly connecting to the data interfaces of hardware devices from different brands of manufacturers increases the complexity of the connection process due to the uncertainty of the device models, communication protocols, data formats, network communication restrictions and connected hardware devices of the same brand of manufacturers, which makes it very difficult for the energy platform to connect to energy devices from different brands of manufacturers. This method is rarely used in the connection process.

[0005] When the energy platform is directly connected to the data platform interfaces of different brands of manufacturers, there will be differences in the definitions of data points for the same type of equipment by third-party data platforms of different brands. There will also be differences in the data structures of real-time data of equipment obtained by third-party data platform interfaces of different brands. It is impossible to uniformly standardize the data of different brands of equipment types, which increases the difficulty of data analysis and data mining of the energy platform business modules. Summary of the invention

[0006] The purpose of this application is to provide a data collection method, system, computer-readable storage medium and electronic device applied to an energy platform, which can realize the real-time data standardization of energy equipment of different brands.

[0007] In order to solve the above technical problems, this application provides a data collection method applied to an energy platform, and the specific technical solution is as follows:

[0008] Obtain authorization information from third-party data platforms;

[0009] Requesting to obtain real-time data of equipment on the third-party data platform according to the authorization information;

[0010] Calling a data conversion script to convert the format of the real-time data of the device to obtain energy data in a standard format;

[0011] The device point information corresponding to the real-time data of the device is mapped to the standard point of the energy platform, and the standard format energy data is stored at the standard point.

[0012] Optionally, obtaining authorization information of a third-party data platform includes:

[0013] Obtaining device-related information from the third-party data platform;

[0014] Adding corresponding target communication components and target virtual gateways on the energy platform according to the device related information;

[0015] Authorization information is obtained according to the configuration information of the target communication component, the target virtual gateway and the third-party data platform.

[0016] Optionally, before adding corresponding target communication components and target virtual gateways to the energy platform according to the device-related information, the method further includes:

[0017] The point generation script is called to initialize the standard point in the energy platform; the basic information of the standard point includes the point name, point code, point unit and point data type.

[0018] Optionally, obtaining authorization information according to configuration information of the target communication component, the target virtual gateway, and the third-party data platform includes:

[0019] Obtaining configuration information of the third-party data platform; the configuration information is used to indicate the platform basic information, authorization interface and authorization validity period of the third-party data platform;

[0020] The authorization information is acquired according to the authorization required information in the target communication component and the authorization interface, and the authorization information is stored in a cache according to the authorization validity period.

[0021] Optionally, obtaining the real-time data of the device on the third-party data platform according to the authorization information request includes:

[0022] Within the authorization validity period, the target virtual gateway is called to request the authorization interface to obtain the real-time data of the equipment on the third-party data platform.

[0023] Optionally, if the third-party data platform includes multiple types of devices, calling the target virtual gateway to request the authorization interface to obtain the real-time data of the devices on the third-party data platform includes:

[0024] Determine a data interface corresponding to each device type on the third-party data platform; wherein each data interface corresponds to at least one device type;

[0025] The data interface is used as an authorization interface, and the target virtual gateway is called to request the authorization interface to obtain the real-time data of the equipment on the third-party data platform.

[0026] Optionally, calling a data conversion script to convert the format of the real-time data of the device to obtain energy data in a standard format includes:

[0027] The device configuration information and third-party data interface information contained in the real-time data of the device are used as input parameter information of the data conversion script, and the standard format energy data consisting of the device identification, data timestamp information and the device point information is obtained as output parameters.

[0028] The present application also provides a data acquisition system applied to an energy platform, comprising:

[0029] Information acquisition equipment, used to obtain authorization information from third-party data platforms;

[0030] A data requesting device, used to request to obtain the real-time data of the device on the third-party data platform according to the authorization information;

[0031] A format conversion device, used to call a data conversion script to convert the format of the real-time data of the device to obtain energy data in a standard format;

[0032] A point storage device is used to map the device point information corresponding to the real-time data of the device to the standard point of the energy platform, and store the standard format energy data at the standard point.

[0033] The present application also provides a computer-readable storage medium having a computer program stored thereon, and the computer program implements the steps of the above-mentioned method when executed by a processor.

[0034] The present application also provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the above-mentioned method when calling the computer program in the memory.

[0035] The present application provides a data collection method applied to an energy platform, including: obtaining authorization information of a third-party data platform; obtaining real-time data of equipment on the third-party data platform according to the authorization information request; calling a data conversion script to convert the format of the real-time data of the equipment to obtain energy data in a standard format; mapping the equipment point information corresponding to the real-time data of the equipment to the standard point of the energy platform, and storing the energy data in the standard format at the standard point.

[0036] When collecting energy equipment information from different third-party data platforms, this application first obtains the authorization information of the third-party data platform. After obtaining the real-time data of the equipment based on the authorization information, the data conversion script is called to convert the format of the real-time data of the equipment, thereby converting the real-time data of the equipment from different third-party data platforms into energy data in the standard format set by the energy platform, eliminating the differences in data structures of different third-party data platforms, avoiding the energy platform from being unable to process the real-time data of the equipment due to differences in data structure after obtaining it, reducing the complexity of the energy platform connecting to energy equipment data from different brands of manufacturers, and at the same time using standard points to store standard format energy data, providing unified standardized storage for data of different brands of equipment types, greatly improving the energy platform's data comparison and analysis and business mining capabilities.

[0037] The present application also provides a data acquisition system, a computer-readable storage medium and an electronic device applied to an energy platform, which have the above-mentioned beneficial effects and are not described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0039] Figure 1 A flow chart of a data collection method applied to an energy platform provided in an embodiment of the present application;

[0040] Figure 2 A schematic diagram of the application structure of the data collection method applied to the energy platform provided in the embodiment of the present application;

[0041] Figure 3 A schematic diagram of the structure of a data acquisition system applied to an energy platform provided in an embodiment of the present application;

[0042] Figure 4 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0044] The object information involved in this application, including but not limited to the object device information, object personal information, etc., and data, including but not limited to data used for analysis, stored data, displayed data, etc., are all information and data authorized by the object or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the laws, regulations and standards of relevant countries and regions.

[0045] This application aims to solve the problems of complex data standardization processing, inability to uniformly process data of the same type of equipment from different brands, and inability to uniformly standardize storage and data analysis due to differences in the data structures of real-time data of equipment obtained by third-party data platform interfaces of different brands of different brands due to differences in the definitions of data points of the same type of equipment by third-party data platforms of different brands.

[0046] To solve the above problems, see Figure 1 , Figure 1 A flow chart of a data collection method applied to an energy platform provided in an embodiment of the present application, the method comprising:

[0047] S101: Obtain authorization information of a third-party data platform;

[0048] S102: Requesting to obtain real-time data of devices on the third-party data platform according to the authorization information;

[0049] S103: calling a data conversion script to convert the format of the real-time data of the device to obtain energy data in a standard format;

[0050] S104: Mapping the device point information corresponding to the real-time data of the device to the standard point of the energy platform, and storing the energy data in the standard format at the standard point.

[0051] This embodiment mainly involves the data interaction process between the energy platform and the third-party data platform, with the energy platform mainly obtaining energy equipment data from the third-party data platform.

[0052] Specifically, it is necessary to first obtain the authorization information of the third-party data platform so that the energy platform can request real-time data of the equipment based on the authorization information.

[0053] In a feasible implementation, the configuration information of the third-party data platform can be obtained; the configuration information is used to indicate the platform basic information, authorization interface and authorization validity period of the third-party data platform, and then the authorization information is obtained based on the authorization required information in the target communication component and the authorization interface, and the authorization information is stored in the cache according to the authorization validity period.

[0054] Specifically, the device-related information of the third-party data platform can be obtained, and the corresponding target communication components and target virtual gateways can be added to the energy platform according to the device-related information, and the authorization information can be obtained according to the configuration information of the target communication components, target virtual gateways and the third-party data platform.

[0055] The energy platform in the embodiment of the present application can create, update and delete the target communication component and the target virtual gateway. The target communication component will verify and authorize the authentication information of the third-party data platform, and store it after obtaining the authorization information. Specifically, it can be customized through the Web front end of the energy platform via the World Wide Web.

[0056] The information contained in the target communication component when it is created mainly includes the name of the target communication component, the authorization interface of the third-party data platform, the information required for authorization, and the authorization validity period. After the target communication component is created, it will obtain authorization information based on the information required for authorization and the authorization interface of the third-party data platform, and store the authorization information in the cache based on the authorization expiration time for the target virtual gateway to request the third-party data interface; the authorization validity period can also be used to automatically renew and update the authorization information.

[0057] When executing step S102, the target virtual gateway may be called to request the authorization interface to obtain the real-time data of the device on the third-party data platform within the authorization validity period.

[0058] The target virtual gateway can be created after the target communication component is verified and authorized. It is used to configure the device type corresponding to the data that the target communication component can obtain, the mapping relationship information between different device type point sets and third-party platform device type points, data processing scripts, and the target virtual gateway's scheduled tasks for requesting third-party data platforms at regular intervals.

[0059] Since different brands of third-party data platforms have different definitions of data points for the same type of equipment and are inconsistent with the definitions of equipment type points on the energy platform, in order to adapt to the data points of the same type of equipment on third-party data platforms of different brands, the mapping relationship information between the standard points of the energy platform and the points of the third-party data platform can be configured in the virtual gateway. One virtual gateway corresponds to one communication component, that is, it communicates data with a third-party data platform of one brand; one virtual gateway can simultaneously pull energy equipment data of different equipment types according to the data interface of the third-party data platform, and support the processing of real-time data of multiple equipment types.

[0060] In addition, if the third-party data platform includes multiple types of equipment, it can manage the equipment types and the life cycle of the equipment. The equipment type mainly includes the equipment type name, equipment type identification, and the point set associated with the equipment type. The equipment mainly includes the basic information of the equipment and the equipment type associated with the equipment. The relationship between equipment type and equipment is one-to-many. The equipment type is an abstraction of a class of equipment. The relationship between equipment type and point information is also one-to-many. Different equipment types correspond to different point sets. Similarly, in the field of digital energy, the business analysis direction of different equipment is also different. Point data is the cornerstone of business analysis.

[0061] The equipment point information described in this application, as a business analysis standard for energy equipment, can be used to analyze the business benefits of energy equipment to meet the needs of the business side. Taking the electric meter as an example, the data analysis and mining of the electric meter can all be used as the equipment point information of the electric meter, including but not limited to electricity data, load data, voltage and current data, event data, working condition data and fee control information. Among them, the electricity data can understand the user's electricity usage habits and needs, thereby optimizing the power supply strategy and improving the power supply efficiency. Load data is of great significance for power dispatching and load forecasting. Voltage and current data play an important role in monitoring the health of the power grid and preventing faults. Event data such as various events and alarms of the electric meter can help to promptly discover and handle abnormal situations in the power grid. Working condition data helps to maintain and manage power infrastructure. Power quality data such as power factor, harmonics, etc. can assist in evaluating power quality and improving power grid performance. Fee control information is data related to electricity fee collection and management, which can analyze economic benefits.

[0062] After obtaining the real-time data of the device, the data conversion script can be called to convert the format of the real-time data of the device to obtain energy data in a standard format. The data conversion script is mainly used to standardize the data requested from the third-party data interface. Similarly, since the data structure of the real-time data of the device obtained by requesting third-party data platform interfaces of different brands is different, the requested data can be standardized in the virtual gateway through the data conversion script to generate a data format that can be uniformly processed by the energy platform.

[0063] In a feasible implementation, the data conversion script can be a standard method function, which uses the device configuration information and third-party data interface information contained in the real-time data of the device as the input parameter information of the data conversion script, and obtains the standard format energy data composed of the device identification, data timestamp information and the device location information as the output parameter. At this time, the input parameters of the method function mainly include the configuration information related to the device in the virtual gateway and the third-party data interface information, and the output parameter is a standard collection object, including data timestamp information, the device identification and the device location data, that is, the labeled format energy data. In the data conversion script, according to the third-party data interface information and the device information associated with the virtual gateway, the third-party data interface is called to obtain the third-party device real-time data, and the format of the device real-time data is converted and processed into standard format energy data that can be processed by the energy platform.

[0064] Finally, the device point information corresponding to the real-time data of the device can be mapped to the standard point of the energy platform, and the standard format energy data can be stored at the standard point. The device point information can be generated using a point generation script. Specifically, the point generation script can be called to initialize the standard points in the energy platform. The basic information of the standard points includes the point name, positioning code, point unit, point data type, etc. The point name is used to distinguish different standard points. The point code is an identifier for obtaining point data when the business platform performs business analysis. It is unique and non-repeatable. The point unit is mainly used for unit conversion of point data to ensure the consistency of platform data. The point data type is mainly a storage method used to identify points when storing data.

[0065] When collecting energy equipment information from different third-party data platforms, this application first obtains the authorization information of the third-party data platform. After obtaining the real-time data of the equipment based on the authorization information, the data conversion script is called to convert the format of the real-time data of the equipment, thereby converting the real-time data of the equipment from different third-party data platforms into energy data in the standard format set by the energy platform, eliminating the differences in data structures of different third-party data platforms, avoiding the energy platform from being unable to process the real-time data of the equipment due to differences in data structure after obtaining it, reducing the complexity of the energy platform connecting to energy equipment data from different brands of manufacturers, and at the same time using standard points to store standard format energy data, providing unified standardized storage for data of different brands of equipment types, greatly improving the energy platform's data comparison and analysis and business mining capabilities.

[0066] See also Figure 2 , Figure 2The schematic diagram of the application structure of the data collection method applied to the energy platform provided by the embodiment of the present application, in the actual application of the present application, the energy platform can be developed and managed in modules. At this time, the combination of each module can realize the data collection method applied to the energy platform described above. For each step described above, it can be completed by a single module or by a combination of multiple modules. Figure 2 In the energy platform, the operating user can operate the WEB layer, that is, the user operation layer. The energy platform displays point information through the business display and analysis module, and the user can view the real-time information of the equipment on the third-party data platform obtained by the energy platform through the user operation layer.

[0067] The data processing layer includes a data point management module, a device type and device management module, a data processing module, and a communication component and virtual gateway management module. The data processing layer is connected to the storage module.

[0068] The following is about Figure 2 The following are the modules for explanation:

[0069] Communication component and virtual gateway management module: works in the energy platform and is mainly used for the life cycle management of communication components and virtual gateways, as well as the management of standardized scripts and communication information for processing points in virtual gateways;

[0070] Equipment type and equipment management module: works on the energy platform and is mainly used to manage different equipment types used in the energy platform and the basic information of the equipment;

[0071] Data point management module: works on the energy platform and is mainly used for standardized and unified management of points of different types of equipment on the platform, so that the energy platform can display and analyze equipment data;

[0072] Data processing module: works in the energy platform. After the communication component and the virtual gateway module receive the data, it calls the data conversion script to convert the format of the data from different third-party data platforms, and maps and stores the data points;

[0073] Storage module: works on the energy platform and is used to store basic information of the energy platform and energy data in standard format. The basic information mainly includes communication components and network management, equipment types and equipment, points and other basic information. In addition, the storage module can also be used for other related information that needs to be stored in this system;

[0074] Business display and analysis module: The business module of the energy platform combines the real-time data of equipment on the third-party data platform to conduct business analysis and mining.

[0075] The third-party data platform is a data platform for different suppliers of energy equipment that the energy platform connects to, and is one of the sources of equipment data for the energy platform.

[0076] In actual application, after the energy platform is deployed, the data point management module will synchronously initialize the basic information of the point according to the point generation script. The basic information of the point includes the point name, positioning code, point unit, point data type, etc.

[0077] The communication components and the virtual gateway management module, the device type and the device management module can be customized by the user through the Web front end of the World Wide Web.

[0078] The device type and device management module are used to manage the device type and the device life cycle. The device type mainly includes the device type name, device type identifier, and the point set associated with the device type. The device mainly includes the basic information of the device and the device type associated with the device. The relationship between the device type and the device is one-to-many. The device type is an abstraction of a class of equipment. The relationship between the device type and the point is also one-to-many. Different device types correspond to different point sets. Similarly, the business analysis directions of different devices in the digital energy field are also different.

[0079] The communication component and virtual gateway management module can be used to create, update and delete communication components and virtual gateways. Among them, the communication component of the energy platform will verify and authorize the authentication information of the third-party data platform, and store it after obtaining the authorization information.

[0080] The information contained in the target communication component when it is created mainly includes the name of the communication component, the authorization interface of the third-party data platform, the information required for authorization, and the expiration time of authorization. After the communication component is created, the authorization information will be obtained based on the information required for authorization in the component and the authorization interface of the third-party data platform, and the authorization information will be stored in the cache based on the authorization expiration time in the component for the virtual gateway to use when requesting the third-party data interface.

[0081] The target virtual gateway will be created after the communication component verification and authorization are completed. It is used to configure the device type corresponding to the data that the target communication component can obtain, the mapping relationship information between different device type point sets and third-party platform device type points, data processing scripts, and the virtual gateway's scheduled tasks for regularly requesting third-party data platforms.

[0082] Since different brands of third-party data platforms have different definitions of data points for the same type of equipment and are inconsistent with the definitions of equipment type points on the energy platform, in order to adapt to the data points of the same type of equipment on third-party data platforms of different brands, the mapping relationship information between the standard points of the energy platform and the points of the third-party data platform can be configured in the virtual gateway. One virtual gateway corresponds to one communication component, that is, it communicates data with one brand of third-party data platform; one virtual gateway can simultaneously pull device data of different device types according to the data interface of the third-party data platform, and support data processing of multiple device types.

[0083] The data conversion scripts in the communication component and the virtual gateway management module are mainly used to standardize the data requested from the third-party data interface. Similarly, since the data structure of the real-time data of the device obtained by requesting third-party data platform interfaces of different brands are different, the requested data can be standardized in the virtual gateway through data conversion scripts to generate a data format that can be uniformly processed by the data processing module.

[0084] After the data processing module receives the energy data in standard format transmitted by the virtual gateway, it can map the points of the third-party data platform into the standard points of the energy platform according to the mapping relationship information between the standard points configured in the virtual gateway and the equipment point information of the third-party data platform, and store them in the storage module.

[0085] During the data processing process, if there is no mapping relationship between the energy platform and the third-party data platform in the point mapping set, it means that the device point information will not be used by the business module of the energy platform and can be ignored.

[0086] See also Figure 3 , Figure 3 This is a structural diagram of a data acquisition system applied to an energy platform provided in an embodiment of the present application. The present application also provides a data acquisition system applied to an energy platform, including:

[0087] Information acquisition equipment, used to obtain authorization information from third-party data platforms;

[0088] A data requesting device, used to request to obtain the real-time data of the device on the third-party data platform according to the authorization information;

[0089] A format conversion device, used to call a data conversion script to convert the format of the real-time data of the device to obtain energy data in a standard format;

[0090] A point storage device is used to map the device point information corresponding to the real-time data of the device to the standard point of the energy platform, and store the standard format energy data at the standard point.

[0091] Based on the above embodiments, as a preferred embodiment, the information acquisition device includes:

[0092] An information acquisition unit, used to acquire device-related information from the third-party data platform;

[0093] A network configuration unit, configured to add corresponding target communication components and target virtual gateways to the energy platform according to the device related information;

[0094] The authorization information acquisition unit is used to acquire authorization information according to the configuration information of the target communication component, the target virtual gateway and the third-party data platform.

[0095] Based on the above embodiments, as a preferred embodiment, the energy platform is also used to call a point generation script to initialize the standard points in the energy platform; the basic information of the standard points includes point name, point code, point unit and point data type.

[0096] Based on the above embodiment, as a preferred embodiment, the authorization information acquisition unit is a unit for performing the following steps:

[0097] Obtaining configuration information of the third-party data platform; the configuration information is used to indicate the platform basic information, authorization interface and authorization validity period of the third-party data platform;

[0098] The authorization information is acquired according to the authorization required information in the target communication component and the authorization interface, and the authorization information is stored in a cache according to the authorization validity period.

[0099] Based on the above embodiment, as a preferred embodiment, the data requesting device is a device for calling the target virtual gateway to request the authorization interface to obtain the real-time data of the device of the third-party data platform within the authorization validity period.

[0100] Based on the above embodiment, as a preferred embodiment, if the third-party data platform includes multiple device types, the data request device is also used to determine the data interface corresponding to each device type on the third-party data platform; use the data interface as an authorization interface, and call the target virtual gateway to request the authorization interface to obtain the real-time data of the device on the third-party data platform. Each data interface corresponds to at least one device type.

[0101] Based on the above embodiments, as a preferred embodiment, the format conversion device is a device used to use the device configuration information and third-party data interface information contained in the real-time data of the device as input parameter information of the data conversion script, and to obtain the standard format energy data composed of the device identification, data timestamp information and the device point information as output parameters.

[0102] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed, the steps provided in the above embodiment can be implemented. The storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0103] The present application also provides an electronic device, see Figure 4 , a structural diagram of an electronic device provided in an embodiment of the present application, such as Figure 4 As shown, a processor 1410 and a memory 1420 may be included.

[0104] Among them, the processor 1410 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1410 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1410 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1410 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1410 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0105] The memory 1420 may include one or more computer-readable storage media, which may be non-transitory. The memory 1420 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 1420 is at least used to store the following computer program 1421, wherein, after the computer program is loaded and executed by the processor 1410, it can implement the relevant steps in the method performed by the electronic device side disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 1420 may also include an operating system 1422 and data 1423, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 1422 may include Windows, Linux, Android, etc.

[0106] In some embodiments, the electronic device may further include a display screen 1430 , an input / output interface 1440 , a communication interface 1450 , a sensor 1460 , a power source 1470 , and a communication bus 1480 .

[0107] certainly, Figure 4 The structure of the electronic device shown does not constitute a limitation on the electronic device in the embodiments of the present application. In actual applications, the electronic device may include Figure 4 More or fewer components than shown, or combinations of certain components.

[0108] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. For the system provided in the embodiment, since it corresponds to the method provided in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0109] Specific examples are used herein to illustrate the principles and implementation methods of the present application, and the description of the above embodiments is only used to help understand the method and core ideas of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

[0110] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. A data collection method applied to an energy platform, characterized in that: include: Obtain authorization information from third-party data platforms; Requesting to obtain real-time data of equipment on the third-party data platform according to the authorization information; Calling a data conversion script to convert the format of the real-time data of the device to obtain energy data in a standard format; The device point information corresponding to the real-time data of the device is mapped to the standard point of the energy platform, and the standard format energy data is stored at the standard point.

2. The data collection method according to claim 1, characterized in that: The authorization information for obtaining the third-party data platform includes: Obtaining device-related information from the third-party data platform; Adding corresponding target communication components and target virtual gateways on the energy platform according to the device related information; Authorization information is obtained according to the configuration information of the target communication component, the target virtual gateway and the third-party data platform.

3. The data collection method according to claim 2, characterized in that: Before adding corresponding target communication components and target virtual gateways to the energy platform according to the device related information, the method further includes: The point generation script is called to initialize the standard point in the energy platform; the basic information of the standard point includes the point name, point code, point unit and point data type.

4. The data collection method according to claim 2, characterized in that: Acquiring authorization information according to the configuration information of the target communication component, the target virtual gateway, and the third-party data platform includes: Obtaining configuration information of the third-party data platform; the configuration information is used to indicate the platform basic information, authorization interface and authorization validity period of the third-party data platform; The authorization information is acquired according to the authorization required information in the target communication component and the authorization interface, and the authorization information is stored in a cache according to the authorization validity period.

5. The data collection method according to claim 4, characterized in that: Requesting to obtain the real-time data of the device on the third-party data platform according to the authorization information includes: Within the authorization validity period, the target virtual gateway is called to request the authorization interface to obtain the real-time data of the equipment on the third-party data platform.

6. The data collection method according to claim 5, characterized in that: If the third-party data platform includes multiple types of devices, calling the target virtual gateway to request the authorization interface to obtain the real-time data of the devices on the third-party data platform includes: Determine a data interface corresponding to each device type on the third-party data platform; wherein each data interface corresponds to at least one device type; The data interface is used as an authorization interface, and the target virtual gateway is called to request the authorization interface to obtain the real-time data of the equipment on the third-party data platform.

7. The data collection method according to claim 1, characterized in that: Calling the data conversion script to convert the format of the real-time data of the device to obtain standard format energy data including: The device configuration information and third-party data interface information contained in the real-time data of the device are used as input parameter information of the data conversion script, and the standard format energy data consisting of the device identification, data timestamp information and the device point information is obtained as output parameters.

8. A data acquisition system applied to an energy platform, characterized in that: include: Information acquisition equipment, used to obtain authorization information from third-party data platforms; A data requesting device, used to request to obtain the real-time data of the device on the third-party data platform according to the authorization information; A format conversion device, used to call a data conversion script to convert the format of the real-time data of the device to obtain energy data in a standard format; A point storage device is used to map the device point information corresponding to the real-time data of the device to the standard point of the energy platform, and store the standard format energy data at the standard point.

9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which implements the steps of the method according to any one of claims 1 to 7 when executed.