CN114996195A - Method, system, device and medium for acquiring carbon footprint data - Google Patents

Method, system, device and medium for acquiring carbon footprint data Download PDF

Info

Publication number
CN114996195A
CN114996195A CN202210684891.1A CN202210684891A CN114996195A CN 114996195 A CN114996195 A CN 114996195A CN 202210684891 A CN202210684891 A CN 202210684891A CN 114996195 A CN114996195 A CN 114996195A
Authority
CN
China
Prior art keywords
carbon footprint
footprint data
energy metering
electricity consumption
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210684891.1A
Other languages
Chinese (zh)
Other versions
CN114996195B (en
Inventor
徐天天
陈甜妹
俞晨玺
张莹
郑思佳
王骊
顾晔
马骏
吴波
岑雷扬
李佳蒨
袁骁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Materials Branch of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
Materials Branch of State Grid Zhejiang Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Materials Branch of State Grid Zhejiang Electric Power Co Ltd filed Critical Materials Branch of State Grid Zhejiang Electric Power Co Ltd
Priority to CN202210684891.1A priority Critical patent/CN114996195B/en
Publication of CN114996195A publication Critical patent/CN114996195A/en
Application granted granted Critical
Publication of CN114996195B publication Critical patent/CN114996195B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/80Management or planning
    • Y02P90/84Greenhouse gas [GHG] management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The application discloses a method, a system, a device and a medium for acquiring carbon footprint data, and relates to the field of energy. The method is applied to a system comprising energy metering equipment, a server and a carbon footprint collector, and comprises the following steps: acquiring the current power consumption of the energy metering equipment; determining carbon footprint data corresponding to the current electricity consumption of the energy metering equipment according to the current electricity consumption and a preset relationship between the electricity consumption and the carbon footprint data; and uploading carbon footprint data corresponding to the current electricity consumption of the energy metering equipment to a server. Therefore, the carbon footprint data is calculated according to the electricity consumption and uploaded to the server, so that the user can know the carbon footprint data of the product produced by the equipment, and the user is guided to live at low carbon according to the carbon footprint data.

Description

Method, system, device and medium for acquiring carbon footprint data
Technical Field
The present application relates to the field of energy, and in particular, to a method, system, apparatus, and medium for acquiring carbon footprint data.
Background
In recent years, global warming has become one of the most recognized global crisis, and the emission of greenhouse gases (carbon dioxide) is generally considered to be the leading cause of global warming, so "low carbon life" is being silently established. The term carbon footprint, i.e., carbon consumption, also appears more and more frequently and is closely linked to activities such as green consumption, green supply chain, global climate control, and international trade.
At present, when the energy of a product produced by equipment is acquired, the electricity consumption of the product produced by the equipment is mainly used as a basis, but the carbon emission of the produced product is not acquired, so that whether the product produced by the equipment meets the low-carbon emission standard or not cannot be judged.
Therefore, the technical problem to be solved by the technical personnel in the field is to acquire the carbon footprint data of the products produced by the equipment.
Disclosure of Invention
The application aims to provide a method, a system, a device and a medium for acquiring carbon footprint data, which are used for acquiring the carbon footprint data of products produced by equipment.
In order to solve the technical problem, the application provides a method for acquiring carbon footprint data, which is applied to a system comprising an energy metering device, a server and a carbon footprint collector, and comprises the following steps:
acquiring the current power consumption of the energy metering equipment;
determining the carbon footprint data corresponding to the current electricity consumption of the energy metering equipment according to the current electricity consumption and a preset relationship between the electricity consumption and the carbon footprint data;
and uploading the carbon footprint data corresponding to the current electricity consumption of the energy metering equipment to the server.
Preferably, the uploading the carbon footprint data corresponding to the current electricity consumption of the energy metering device to the server includes:
judging whether an instruction sent by the server for representing and reading the carbon footprint data is received;
if so, uploading the carbon footprint data corresponding to the current electricity consumption of the energy metering equipment to the server;
and if not, uploading the carbon footprint data corresponding to the current electricity consumption of the energy metering equipment to the server according to a fixed frequency.
Preferably, after the uploading the carbon footprint data corresponding to the current electricity consumption of the energy metering device to the server, the method further comprises: and outputting prompt information for representing the completion of uploading.
In order to solve the above technical problem, the present application further provides a system for acquiring carbon footprint data, including: energy metering equipment, server still include: a carbon footprint collector;
the carbon footprint collector is connected with the energy metering equipment; the current electricity consumption of the energy metering equipment is obtained; determining the carbon footprint data corresponding to the current electricity consumption of the energy metering equipment according to the current electricity consumption and a preset relation between the electricity consumption and the carbon footprint data;
and the server is connected with the carbon footprint collector and is used for receiving the carbon footprint data, which is obtained by the carbon footprint collector and corresponds to the current electricity consumption of the energy metering equipment.
Preferably, the system further comprises: a base station;
the base station is used for realizing wireless communication between the carbon footprint collector and the server.
Preferably, the carbon footprint collector is connected with the energy metering device through an RS485 bus, and a transmission protocol of the RS485 bus is a Modbus protocol.
Preferably, the server and the carbon footprint collector communicate wirelessly through a SIM 7020; and the SIM7020 employs MQTT protocol.
In order to solve the above technical problem, the present application further provides a device for acquiring carbon footprint data, which is applied to a system including an energy metering device, a server, and a carbon footprint collector, the device including:
the acquisition module is used for acquiring the current electricity consumption of the energy metering equipment;
the determining module is used for determining the carbon footprint data corresponding to the current electricity consumption of the energy metering equipment according to the current electricity consumption and a preset relation between the electricity consumption and the carbon footprint data;
and the uploading module is used for uploading the carbon footprint data corresponding to the current electricity consumption of the energy metering equipment to the server.
In order to solve the above technical problem, the present application further provides a device for acquiring carbon footprint data, including:
a memory for storing a computer program;
a processor for implementing the steps of the above method of obtaining carbon footprint data when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the above method for acquiring carbon footprint data.
The method for acquiring the carbon footprint data is applied to a system comprising energy metering equipment, a server and a carbon footprint collector, and comprises the following steps: acquiring the current power consumption of the energy metering equipment; determining carbon footprint data corresponding to the current electricity consumption of the energy metering equipment according to the current electricity consumption and a preset relationship between the electricity consumption and the carbon footprint data; and uploading carbon footprint data corresponding to the current electricity consumption of the energy metering equipment to a server. Therefore, the carbon footprint data is calculated according to the electricity consumption and uploaded to the server, so that the user can know the carbon footprint data of the product produced by the equipment, and the user is guided to live at low carbon according to the carbon footprint data.
In addition, the application also provides a system, a device and a computer readable storage medium for acquiring the carbon footprint data, which have the same or corresponding technical characteristics and effects as the above-mentioned method for acquiring the carbon footprint data.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a block diagram of a system for obtaining carbon footprint data provided by an embodiment of the present application;
FIG. 2 is a flow chart of a method of obtaining carbon footprint data provided by an embodiment of the present application;
fig. 3 is a block diagram of a SP3485EN transceiver chip provided by an embodiment of the present application;
fig. 4 is a flowchart of a method for transmitting data by using an RS485 bus according to an embodiment of the present disclosure;
fig. 5 is a structural diagram of a SIM7020 chip provided in an embodiment of the present application;
fig. 6 is a flowchart of a method for wirelessly transmitting data by using the SIM7020 according to an embodiment of the present application;
FIG. 7 is a block diagram of an apparatus for acquiring carbon footprint data as provided by an embodiment of the present application;
FIG. 8 is a block diagram of an apparatus for acquiring carbon footprint data as provided in another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a method, a system, a device and a medium for acquiring carbon footprint data, which are used for acquiring the carbon footprint data of products produced by equipment.
For ease of understanding, the hardware structure used in the technical solution of the present application is described below. Fig. 1 is a block diagram of a system for acquiring carbon footprint data according to an embodiment of the present disclosure. As shown in fig. 1, the system includes an energy metering device 1, a carbon footprint collector 2, a base station 3, and a server 4. The energy metering device 1 refers to electricity, gas, water and other devices, the carbon footprint collector 2 can be regarded as a master device, and each device in the energy metering device 1 can be called as each slave device. The embodiment of the application adopts the RS485 bus to collect the electricity consumption and adopts the SIM7020 to carry out wireless transmission, so that the RS485 chip and the SIM7020 chip are embedded in the carbon footprint collector. Each slave device is provided with a corresponding identification code, when the carbon footprint collector needs to collect power consumption data, an instruction for reading the power consumption data is sent to the corresponding slave device, after the power consumption data of the slave device is read, the data is stored, the corresponding carbon footprint data is calculated according to the power consumption data, and when the server needs to read the carbon footprint data, the carbon footprint data at the corresponding moment is transmitted to the server.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. Fig. 2 is a flowchart of a method for acquiring carbon footprint data according to an embodiment of the present disclosure, and as shown in fig. 2, the method includes:
s10: and acquiring the current electricity consumption of the energy metering equipment.
Because a certain relation exists between the carbon emission of the products produced by the equipment and the electricity consumption, the carbon footprint data can be calculated through the electricity consumption. Therefore, the power consumption of the energy metering equipment is acquired before the carbon footprint data is acquired. In practice, because there may be a plurality of energy metering devices, when the carbon footprint collector needs to collect the power consumption of the corresponding energy metering device, it needs to know the identification code of the corresponding energy metering device in advance, send a request instruction for acquiring the power consumption data to the corresponding energy metering device according to the identification code, read the power consumption of the corresponding energy metering device, and store the power consumption data after reading. The transmission mode and the protocol adopted during transmission when the energy metering equipment transmits the power consumption data to the carbon footprint collector are not limited.
S11: and determining carbon footprint data corresponding to the current electricity consumption of the energy metering equipment according to the current electricity consumption and a preset relationship between the electricity consumption and the carbon footprint data.
In the production process, a large amount of resources and energy are consumed in the manufacturing stage, which results in a large amount of carbon emission, the carbon footprint data mainly comprises two aspects, the first is the electricity consumption, the second part is the carbon emission of raw materials in the production, and the formula of the carbon footprint is shown as formula (1):
Figure BDA0003693584810000051
in the formula, A Electric power Expressed as the consumption of productionElectric quantity, AE i And EF i Respectively representing the quantity of the ith raw material and the carbon emission factor of the raw material, calculating the carbon footprint in the production process according to the unit emission factor data of the materials in the Switzerland Ecoinvent 3 and the life cycle database RCEES 2012 of the national academy of sciences, and the carbon footprint formula, and multiplying the electric power data by 0.9 and the mass of each consumed material by the corresponding unit emission factor to calculate the carbon footprint data in the production process.
S12: and uploading carbon footprint data corresponding to the current electricity consumption of the energy metering equipment to a server.
After the carbon footprint data is calculated, when the server needs to read the carbon footprint data, the server may send an instruction to the carbon footprint collector to collect the carbon footprint data, and then the carbon footprint collector sends the carbon footprint data to the server. The data transmission mode when the carbon footprint data is sent to the server by the carbon footprint collector, the protocol collected during transmission, and the like are not limited.
The method for acquiring the carbon footprint data provided by the embodiment is applied to a system comprising an energy metering device, a server and a carbon footprint collector, and comprises the following steps: acquiring the current power consumption of the energy metering equipment; determining carbon footprint data corresponding to the current electricity consumption of the energy metering equipment according to the current electricity consumption and a preset relationship between the electricity consumption and the carbon footprint data; and uploading carbon footprint data corresponding to the current electricity consumption of the energy metering equipment to a server. Therefore, the carbon footprint data is calculated according to the electricity consumption and uploaded to the server, so that the user can know the carbon footprint data of the product produced by the equipment, and the user is guided to live at low carbon according to the carbon footprint data.
After the carbon footprint data is acquired, the server may or may not send an instruction to acquire the carbon footprint data, and in order to enable a user to conveniently know the carbon footprint data, the preferred embodiment is that uploading the carbon footprint data corresponding to the current power consumption of the energy metering equipment to the server includes:
judging whether an instruction sent by a server for representing and reading the carbon footprint data is received;
if so, uploading carbon footprint data corresponding to the current electricity consumption of the energy metering equipment to a server;
and if not, uploading carbon footprint data corresponding to the current electricity consumption of the energy metering equipment to a server according to the fixed frequency.
The value of the fixed frequency is not limited, and is determined according to the actual situation. When the server sends an instruction for acquiring the carbon footprint data, the carbon footprint data at the current moment is transmitted to the server; when the server does not send the instruction for collecting the carbon footprint data, the carbon footprint data at the corresponding moment is output to the server according to the fixed frequency, and through the method, the user can know the carbon footprint data of the product produced by the equipment through the carbon footprint data recorded in the server.
In order to facilitate the user to know whether the carbon footprint is completely uploaded to the server, the method preferably further includes, after uploading the carbon footprint data corresponding to the current electricity consumption of the energy metering device to the server: and outputting prompt information for representing the completion of uploading.
The prompting mode and prompting content used in prompting information are not limited, and the determination is carried out according to the actual situation, for example, the uploading completion can be displayed on the carbon footprint collector or represented by the flashing of an indicator light.
After the carbon footprint data is uploaded to the server, the prompt information of the uploaded carbon footprint data is output, and the user can intuitively know whether the carbon footprint data at the current moment is completely uploaded to the server according to the prompt information.
The present embodiment provides a system for acquiring carbon footprint data, including: energy metering equipment, server still include: a carbon footprint collector;
the carbon footprint collector is connected with the energy metering equipment; the system comprises a power supply, a power consumption acquisition unit, a power consumption control unit and a power consumption control unit, wherein the power supply is used for acquiring the current power consumption of the energy metering equipment; determining carbon footprint data corresponding to the current electricity consumption of the energy metering equipment according to the current electricity consumption and a preset relationship between the electricity consumption and the carbon footprint data;
and the server is connected with the carbon footprint collector and is used for receiving the carbon footprint data corresponding to the current electricity consumption of the energy metering equipment, which is obtained by the carbon footprint collector.
The method for acquiring the carbon footprint data is described above, and since the system for acquiring the carbon footprint data provided in the present embodiment corresponds to the above-mentioned method for acquiring the carbon footprint data, the embodiment of the system for acquiring the carbon footprint data is not described in detail in the present embodiment, and the system for acquiring the carbon footprint data has the same beneficial effects as the above-mentioned method for acquiring the carbon footprint data. In an implementation, the system for acquiring carbon footprint data when the carbon footprint collector wirelessly communicates with the remote server further comprises: a base station; the base station is used for realizing wireless communication between the carbon footprint collector and the server.
In the process of transmitting the power consumption of the energy metering equipment to the carbon footprint acquisition, noise interference and the like may exist, so that errors and slow data transmission may exist in the data transmission process, and the power consumption of the energy metering equipment cannot be acquired in time. Therefore, in implementation, the carbon footprint collector and the energy metering device are preferably connected through an RS485 bus, and the transmission protocol of the RS485 bus is a Modbus protocol.
The SP485 chip is a standard half-duplex receiving and transmitting series RS485, low-power operation is allowed in design without sacrificing performance, the transmission rate reaches 5Mbps, and the requirement of the RS485 is met. Fig. 3 is a block diagram of a SP3485EN transceiver chip according to an embodiment of the present disclosure. The SP3485EN chip is contained in the carbon footprint collector, and the A and/B pins are connected with the energy metering equipment.
The RS485 transmission protocol is a Modbus protocol, a message type of a Remote Terminal Unit (RTU) is adopted, an information frame of the message comprises an address code, a function code, data and a Cyclic Redundancy Check (CRC) code, wherein the address code is the first byte of the information frame, each slave has a unique address from 0 to 255, in a downlink frame, only the slave conforming to the address code can receive a signal of a host, and in an uplink frame, a source of surface data can be obtained; the function code is the second byte of the information frame, the specified function number is 1-127, the slave is informed of what action by the function code in the downlink frame, and the function code which is sent by the master is sent in the uplink frame to indicate that the operation of the master has been responded; the data can be data, state values, reference addresses, data length sums, and is different due to different function codes and different slaves; the CRC code is calculated by the transmitting device and placed at the end of the information frame to verify that the transmitted information is correct.
Fig. 4 is a flowchart of a method for transmitting data by using an RS485 bus according to an embodiment of the present application. As shown in fig. 4, the method includes:
s13: setting a carbon footprint collector as a host mode;
s14: initializing a protocol to be RTU, initializing an RS485 serial port, and setting serial port information;
s15: acquiring slave machine identification code information;
s16: sending an instruction for reading the electricity consumption of the slave;
s17: judging whether the data reading is successful; if yes, go to step S18; if not, returning to the step S16;
s18: and storing the data and uploading the data to the transmission module.
As can be seen from fig. 4, the 485 port is initialized, the single chip microcomputer is set to the host mode, the parameter of the Modbus controller is set after success, the mode is the RTU protocol mode, the information of the RS485 serial port, the settings of the port number, the baud rate, the check mode, etc. are initialized, then the Universal Asynchronous Receiver/Transmitter (UART) port and the half-duplex mode corresponding to the single chip microcomputer are set for the port number, and the initialization of the RS485 is completed. After initialization is completed, the single chip microcomputer serves as a host to read identification codes of slave computers needing to be read, then an instruction for reading carbon data of the slave computers is sent, information of the RS485 slave computers is read through a serial port, an information storage characteristic description table is stored, the data are read and stored, and then the data are uploaded to a server through a transmission module.
It should be noted that, in this embodiment, the RS485 bus and the transmission protocol of the bus are the Modbus protocol, and in practice, the data transmission between the energy metering device and the carbon footprint collector is not limited to the above manner and protocol.
The carbon footprint collector that this embodiment provided passes through RS485 bus connection with energy metering equipment, and the transmission protocol of RS485 bus is the Modbus protocol, guarantees data transmission's efficiency and the accuracy of data as far as possible through the RS485 bus, and through the check-up effect of Modbus protocol for the data that obtain are accurate as far as possible.
In order to avoid these problems as much as possible, it is preferable that the server and the carbon footprint collector perform wireless communication through the SIM 7020; and the SIM7020 employs MQTT protocol.
And the module of the SIM7020 supports uplink and downlink single-tone transmission of 3.75KHz subcarriers and uplink and downlink single-tone and multi-tone transmission of 15KHz subcarriers. The module has rich hardware interfaces, including serial ports, General-purpose input/output (GPIO), Analog-to-Digital converters (ADC), low delay, low power consumption, low throughput, and the like, and is very suitable for the application of the internet of things for carbon number data acquisition. Fig. 5 is a structural diagram of a SIM7020 chip provided in an embodiment of the present application. The SIM7020 chip is contained in a carbon footprint collector, the SIM _ DET pin is connected to a Subscriber Identity Module (SIM) card, and the ANT pin is connected to an antenna for transmitting data when the antenna is connected to a base station.
The SIM7020 employs a Message queue transmission detection (MQTT) protocol, which is a protocol designed for communication between remote sensors and controller devices operating in low-bandwidth, unreliable networks with limited computing power; the mode of publishing and subscribing messages is used, one-to-many message publishing is provided, message transmission shielding load content can be realized, network connection is provided by using TCP/IP, the service quality of various message publishing can be provided, and the method and the device have the advantages of small transmission, low cost, minimized protocol exchange and the like.
Fig. 6 is a flowchart of a method for wirelessly transmitting data by using the SIM7020 according to an embodiment of the present application. As shown in fig. 6, the method includes:
s19: initializing the SIM7020, connecting a network and acquiring time;
s20: judging whether the initialization is successful; if yes, go to step S21; if not, returning to the step S19;
s21: analyzing private key information and performing Hash calculation;
s22: connecting an MQTT server;
s23: judging whether to bind; if not, go to step S24; if yes, go to step S25;
s24: restarting the equipment;
s25: displaying success;
s26: judging whether MQTT information of the carbon footprint data read by the server is received or not; if yes, go to step S27; if not, go to step S28;
s27: reading carbon footprint data from RS 485;
s28: waiting for a period of time interval, and automatically reading RS485 information by a carbon footprint collector;
s29: sending data to the server through the SIM 7020;
s30: whether the information that the server reads successfully is received; if not, go to step S31; if yes, go to step S32;
s31: resending;
s32: and finishing uploading the carbon footprint data.
As can be seen from fig. 6, the SIM7020 module is first powered on, then initialized to set the port number, the data bit, the stop bit, and the baud rate, then waits for the network connected to the base station to obtain the current time, and if the connection is unsuccessful, the obtaining time is initialized again; if the information is successful, calculating the hash value of the carbon footprint collector information by using a hash algorithm to serve as the uplink evidence, and then analyzing the private key information; after the completion, the carbon footprint collector tries to connect with the MQTT server, the binding is completed after the server passes the verification, and at the moment, the carbon footprint collector is successfully connected with the MQTT server. And then the carbon footprint collector judges whether a message for reading the carbon footprint data from the server exists or not, if not, the carbon footprint collector sends the carbon footprint data at the current moment at a certain interval, if so, the command needs to be analyzed, then the carbon footprint data of the current RS485 is read, and then the carbon footprint data and the current timestamp are packaged and sent to the server. And if the transmission fails, retransmitting.
It should be noted that, in this embodiment, the SIM7020 performs wireless transmission and the transmission protocol is a Modbus protocol, and in practice, data transmission between the server and the carbon footprint collector is not limited to the above manner and protocol.
The server and the carbon footprint collector provided by the embodiment perform wireless communication through the SIM 7020; and the SIM7020 adopts an MQTT protocol, so that the problems of delay, high power consumption and the like in the data transmission process are solved, the data transmission efficiency is improved as much as possible, and the energy consumption in the transmission process is reduced.
In combination with the foregoing embodiments and this embodiment, the carbon footprint collector provides a transmission method for the RS485 chip and the SIM7020 chip, and the power consumption is collected via an RS485 bus and wirelessly transmitted via a Narrowband (NB) module of the SIM 7020. The power consumption data can be acquired on the RS485 bus as long as the carbon footprint collector is a Modbus protocol; in wireless transmission, the method can be used universally as long as the corresponding MQTT protocol is supported for communication. The data acquisition of the carbon footprint collector is RS485 bus acquisition, the RS485 bus is connected with each energy metering device, the data is divided into command data and acquired data, and the carbon footprint collector obtains a corresponding data packet by sending the command data; after the data are received, the carbon footprint collector can calculate the data, so that the carbon footprint data are obtained, and the conversion from the data such as electric power and the like to the carbon footprint data is realized; and the wireless transmission is an NB module, the wireless module is connected with the carbon footprint collector and the base station, and executes related operations, such as uploading carbon footprint data to a server, at specific time intervals or when detecting an external wake-up signal.
In the above embodiments, the method of acquiring the carbon footprint data is described in detail, and the present application also provides embodiments corresponding to the apparatus for acquiring the carbon footprint data. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one is from the perspective of the function module, and the other is from the perspective of the hardware.
FIG. 7 is a block diagram of an apparatus for acquiring carbon footprint data provided by an embodiment of the present application. The present embodiment is based on the angle of the function module, including:
the acquisition module 10 is used for acquiring the current power consumption of the energy metering equipment;
the determining module 11 is configured to determine carbon footprint data corresponding to the current power consumption of the energy metering device according to the current power consumption and a preset relationship between the power consumption and the carbon footprint data;
and the uploading module 12 is used for uploading the carbon footprint data corresponding to the current electricity consumption of the energy metering equipment to the server.
Since the embodiment of the apparatus portion and the embodiment of the method portion correspond to each other, please refer to the description of the embodiment of the method portion for the embodiment of the apparatus portion, and details are not repeated here.
The device for acquiring the carbon footprint data provided by the embodiment is applied to a system comprising energy metering equipment, a server and a carbon footprint collector, and in the device, the current power consumption of the energy metering equipment is acquired through an acquisition module; determining carbon footprint data corresponding to the current electricity consumption of the energy metering equipment through a determining module according to the current electricity consumption and a preset relation between the electricity consumption and the carbon footprint data; and uploading carbon footprint data corresponding to the current electricity consumption of the energy metering equipment to a server through an uploading module. Therefore, the carbon footprint data is calculated according to the electricity consumption in the device and is uploaded to the server, so that the user can know the carbon footprint data of the product produced by the equipment, and the user is guided to live at low carbon according to the carbon footprint data.
FIG. 8 is a block diagram of an apparatus for acquiring carbon footprint data as provided in another embodiment of the present application. In this embodiment, based on the hardware angle, as shown in fig. 8, the apparatus for acquiring carbon footprint data includes:
a memory 20 for storing a computer program;
a processor 21 for implementing the steps of the method of acquiring carbon footprint data as mentioned in the above embodiments when executing the computer program.
The device for acquiring the carbon footprint data provided by the embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The Processor 21 may be implemented in at least one hardware form of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), and a Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 21 may further include an Artificial Intelligence (AI) processor for processing computing operations related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing the computer program 201, wherein after being loaded and executed by the processor 21, the computer program can realize the relevant steps of the method for acquiring carbon footprint data disclosed in any one of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, Windows, Unix, Linux, and the like. The data 203 may include, but is not limited to, data related to the above-mentioned method of obtaining carbon footprint data, and the like.
In some embodiments, the means for obtaining carbon footprint data may further comprise a display 22, an input-output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the configuration shown in FIG. 8 does not constitute a limitation of the means for acquiring carbon footprint data and may include more or fewer components than those shown.
The device for acquiring the carbon footprint data comprises a memory and a processor, wherein when the processor executes a program stored in the memory, the following method can be realized: the method for acquiring the carbon footprint data has the same effect as the method.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The computer-readable storage medium provided by the application comprises the above-mentioned method for acquiring the carbon footprint data, and the effects are the same as those described above.
The method, system, device and medium for acquiring carbon footprint data provided by the present application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method for acquiring carbon footprint data is applied to a system comprising an energy metering device, a server and a carbon footprint collector, and comprises the following steps:
acquiring the current power consumption of the energy metering equipment;
determining the carbon footprint data corresponding to the current electricity consumption of the energy metering equipment according to the current electricity consumption and a preset relationship between the electricity consumption and the carbon footprint data;
and uploading the carbon footprint data corresponding to the current electricity consumption of the energy metering equipment to the server.
2. The method of obtaining carbon footprint data of claim 1, wherein said uploading said carbon footprint data corresponding to said current power usage of said energy metering device to said server comprises:
judging whether an instruction sent by the server for representing and reading the carbon footprint data is received;
if so, uploading the carbon footprint data corresponding to the current electricity consumption of the energy metering equipment to the server;
and if not, uploading the carbon footprint data corresponding to the current electricity consumption of the energy metering equipment to the server according to a fixed frequency.
3. The method of acquiring carbon footprint data of claim 1 or 2, further comprising, after said uploading the carbon footprint data corresponding to the current electricity usage of the energy metering device to the server: and outputting prompt information for representing the completion of uploading.
4. A system for acquiring carbon footprint data, comprising: energy metering equipment, server, its characterized in that still includes: a carbon footprint collector;
the carbon footprint collector is connected with the energy metering equipment; the current electricity consumption of the energy metering equipment is obtained; determining the carbon footprint data corresponding to the current electricity consumption of the energy metering equipment according to the current electricity consumption and a preset relationship between the electricity consumption and the carbon footprint data;
and the server is connected with the carbon footprint collector and is used for receiving the carbon footprint data, which is obtained by the carbon footprint collector and corresponds to the current electricity consumption of the energy metering equipment.
5. The system for capturing carbon footprint data of claim 4, further comprising: a base station;
the base station is used for realizing wireless communication between the carbon footprint collector and the server.
6. The system for acquiring carbon footprint data of claim 5, wherein the carbon footprint collector is connected with the energy metering device through an RS485 bus, and a transmission protocol of the RS485 bus is a Modbus protocol.
7. The system for acquiring carbon footprint data of claim 5, wherein the server and the carbon footprint collector communicate wirelessly through SIM 7020; and the SIM7020 employs MQTT protocol.
8. An apparatus for acquiring carbon footprint data, applied to a system comprising an energy metering device, a server, and a carbon footprint collector, the apparatus comprising:
the acquisition module is used for acquiring the current electricity consumption of the energy metering equipment;
the determining module is used for determining the carbon footprint data corresponding to the current electricity consumption of the energy metering equipment according to the current electricity consumption and a preset relation between the electricity consumption and the carbon footprint data;
and the uploading module is used for uploading the carbon footprint data corresponding to the current electricity consumption of the energy metering equipment to the server.
9. An apparatus for acquiring carbon footprint data, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method of acquiring carbon footprint data of any one of claims 1 to 3 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the method of acquiring carbon footprint data according to any one of claims 1 to 3.
CN202210684891.1A 2022-06-14 2022-06-14 Method, system, device and medium for acquiring carbon footprint data Active CN114996195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210684891.1A CN114996195B (en) 2022-06-14 2022-06-14 Method, system, device and medium for acquiring carbon footprint data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210684891.1A CN114996195B (en) 2022-06-14 2022-06-14 Method, system, device and medium for acquiring carbon footprint data

Publications (2)

Publication Number Publication Date
CN114996195A true CN114996195A (en) 2022-09-02
CN114996195B CN114996195B (en) 2023-12-12

Family

ID=83035700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210684891.1A Active CN114996195B (en) 2022-06-14 2022-06-14 Method, system, device and medium for acquiring carbon footprint data

Country Status (1)

Country Link
CN (1) CN114996195B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116468201A (en) * 2023-04-23 2023-07-21 国网上海市电力公司 Carbon footprint monitoring method and system based on power cable production and manufacturing

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100191998A1 (en) * 2009-01-23 2010-07-29 Microsoft Corporation Apportioning and reducing data center environmental impacts, including a carbon footprint
KR20110111198A (en) * 2010-04-02 2011-10-10 임송택 Carbon footprint system and method for agricultural products
CN102289721A (en) * 2011-04-22 2011-12-21 华中科技大学 Carbon emission monitoring and measuring service system for daily life
CN203366310U (en) * 2013-05-21 2013-12-25 马慧 Device capable of displaying carbon footprint consumption/flow
CN104269930A (en) * 2014-10-20 2015-01-07 国网山西省电力公司晋城供电公司 Electric network pollution data bus type analysis system based on PQDIF standard
US20160057039A1 (en) * 2014-08-20 2016-02-25 Ciena Corporation Systems and methods to compute carbon footprint of network services with network function virtualization (nfv) and software defined networking (sdn)
CN106485606A (en) * 2015-08-27 2017-03-08 天津圣光投资集团有限公司 hotel guest carbon footprint detecting system
CN108885730A (en) * 2016-03-12 2018-11-23 电信信息发展中心公司 Centralized carbon footprint based on GIS monitors system and method
CN113609443A (en) * 2021-10-08 2021-11-05 国网浙江省电力有限公司 Block chain-based carbon footprint tracking processing method and device and storage medium
CN114037585A (en) * 2022-01-07 2022-02-11 阿里云计算有限公司 Carbon data processing method, carbon data interaction method, carbon data presentation method, electronic device, and storage medium
CN114070829A (en) * 2021-10-22 2022-02-18 南通软云智能科技有限公司 MQTT-based abnormal data acquisition method and system
CN114358668A (en) * 2022-03-22 2022-04-15 广东埃文低碳科技股份有限公司 Carbon footprint big data analysis method and system based on industrial internet identification
US20220138649A1 (en) * 2020-10-30 2022-05-05 Cibo Technologies, Inc. Method and system for verification of carbon footprint in agricultural parcels
CN114463144A (en) * 2022-02-09 2022-05-10 深圳市建筑科学研究院股份有限公司 Carbon metering method, device, ammeter, server, storage medium and product
WO2022101658A1 (en) * 2020-11-11 2022-05-19 Telefonaktiebolaget Lm Ericsson (Publ) Estimating a total energy consumption of a user equipment

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100191998A1 (en) * 2009-01-23 2010-07-29 Microsoft Corporation Apportioning and reducing data center environmental impacts, including a carbon footprint
KR20110111198A (en) * 2010-04-02 2011-10-10 임송택 Carbon footprint system and method for agricultural products
CN102289721A (en) * 2011-04-22 2011-12-21 华中科技大学 Carbon emission monitoring and measuring service system for daily life
CN203366310U (en) * 2013-05-21 2013-12-25 马慧 Device capable of displaying carbon footprint consumption/flow
US20160057039A1 (en) * 2014-08-20 2016-02-25 Ciena Corporation Systems and methods to compute carbon footprint of network services with network function virtualization (nfv) and software defined networking (sdn)
CN104269930A (en) * 2014-10-20 2015-01-07 国网山西省电力公司晋城供电公司 Electric network pollution data bus type analysis system based on PQDIF standard
CN106485606A (en) * 2015-08-27 2017-03-08 天津圣光投资集团有限公司 hotel guest carbon footprint detecting system
CN108885730A (en) * 2016-03-12 2018-11-23 电信信息发展中心公司 Centralized carbon footprint based on GIS monitors system and method
US20220138649A1 (en) * 2020-10-30 2022-05-05 Cibo Technologies, Inc. Method and system for verification of carbon footprint in agricultural parcels
WO2022101658A1 (en) * 2020-11-11 2022-05-19 Telefonaktiebolaget Lm Ericsson (Publ) Estimating a total energy consumption of a user equipment
CN113609443A (en) * 2021-10-08 2021-11-05 国网浙江省电力有限公司 Block chain-based carbon footprint tracking processing method and device and storage medium
CN114070829A (en) * 2021-10-22 2022-02-18 南通软云智能科技有限公司 MQTT-based abnormal data acquisition method and system
CN114037585A (en) * 2022-01-07 2022-02-11 阿里云计算有限公司 Carbon data processing method, carbon data interaction method, carbon data presentation method, electronic device, and storage medium
CN114463144A (en) * 2022-02-09 2022-05-10 深圳市建筑科学研究院股份有限公司 Carbon metering method, device, ammeter, server, storage medium and product
CN114358668A (en) * 2022-03-22 2022-04-15 广东埃文低碳科技股份有限公司 Carbon footprint big data analysis method and system based on industrial internet identification

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116468201A (en) * 2023-04-23 2023-07-21 国网上海市电力公司 Carbon footprint monitoring method and system based on power cable production and manufacturing
CN116468201B (en) * 2023-04-23 2023-12-22 国网上海市电力公司 Carbon footprint monitoring method and system based on power cable production and manufacturing

Also Published As

Publication number Publication date
CN114996195B (en) 2023-12-12

Similar Documents

Publication Publication Date Title
CN107240247A (en) A kind of ammeter data acquisition system based on NB IoT
CN112738755B (en) Method for interaction between wireless communication module and sensor in electric power Internet of things field
CN104602332A (en) Control processing method and control processing device for transmitting power, and terminal
CN105335316A (en) Motor assembling line serial port server based on cloud computation
CN103050000A (en) STM32-based handheld automatic meter reader
CN114996195A (en) Method, system, device and medium for acquiring carbon footprint data
CN113709689A (en) Interaction method of wireless communication module and sensor of power internet of things
CN113965904B (en) Device registration method, device and storage medium
CN103024023B (en) Digital Reading Room network audit method
CN215364960U (en) Internet of things water purification control system based on OpenCPU and water purifier
CN110362055A (en) A kind of industrial data acquisition system that terminal is expansible and method
CN114827967B (en) Software updating method, bluetooth device and storage medium
CN112637370B (en) Data processing method, device, equipment and storage medium
CN210143023U (en) Photovoltaic power generation data acquisition gateway device
CN109845346A (en) A kind of method, sending device and the receiving device of wake on wireless equipment
CN209248754U (en) Data collector based on the communication of networking module
CN205375162U (en) Remote monitering system based on WIFI of family network
CN202372494U (en) Monitoring system for wirelessly transmitting corrosion data
CN110675613A (en) Communication method and device between 4G communication module and metering ammeter, computer equipment and storage medium
CN111866274A (en) Data transmission method and device, mobile device, intelligent terminal and medium
CN117956006B (en) Non-invasive anti-countercurrent acquisition terminal
CN105187305B (en) LTE dongle adaptive approach and system for LTE uplink home gateways
CN204392305U (en) A kind of DTU data service system based on GPRS communication
CN115086446B (en) Data transmission method, system, device, equipment and computer readable storage medium
CN210839641U (en) Device for realizing OTA firmware upgrade based on LoRa proprietary protocol

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant