Method and device for detecting carbon emission of logistics enterprise based on edge calculation

A carbon emission, edge computing technology, applied in computing, complex mathematical operations, data processing applications, etc., can solve the problems of data tampering, data real-time is not guaranteed, lost, etc., to achieve the effect of strengthening the sense of social responsibility

Pending Publication Date: 2022-07-29
深圳市环国运物流股份有限公司
8 Cites 0 Cited by

AI-Extracted Technical Summary

Problems solved by technology

[0003] There are many indicators of carbon emissions, the calculation is complicated, and the amount of detected data is very large. If all the data are transmitted t...
View more

Method used

It should be noted that this embodiment builds an edge computing system based on the mutual coordination and cooperation of the edge gateway and the cloud server. The whole system builds up including the design of hardware and the build of a software platform. The high-performance jetson nano processor hardware platform, while the software platform is built using edge computing and cloud computing to release and execute specific tasks, using Docker containers (a lightweight virtualization technology and an open source application) The container operating environment builds a platform that allows developers to package applications in a portable container in a convenient way, and then install them on any server running Linux or Windows) technology to build edge gateways and cloud server clusters, through cloud servers. The edge gateway manages and upgrades, and distributes tasks to each edge gateway, so that the data collected by the sensor can be processed at the edge gateway, and autonomous decision-making at the edge can be realized. When a problem is found in the gas index, the problem will be fed back, so as to achieve the management of the carbon emissions of the logistics enterprise.
[0073] In an embodiment of the present application, when the server receives the computing resource margin corresponding to the current cycle sent by the edge gateway, it will then follow the preset rules and the corresponding to the current cycle The remaining amount of computing resources determines the second edge gateway; the server sends a computing request to the second edge gateway; wherein, the computing request includes the collected data corresponding to the target vehicle; the second edge gateway is used to determining an index corresponding to a target emission factor of the target vehicle according to the configuration data corresponding to the target vehicle, and the second edge gateway is further used for emission according to the specified cycle frequency and the target emission factor corresponding to the target vehicle Determine the average emission amount corresponding to the target emission factor of the target vehicle; the server receives the index corresponding to the target emission factor of the target vehicle and the target emission factor corresponding to the target vehicle sent by the second edge gateway The average emission of the factor; the server generate...
View more

Abstract

The invention provides a logistics enterprise carbon emission detection method and device based on edge computing, and the method comprises the steps: determining a second edge gateway according to a preset rule and a computing resource margin when a server receives the corresponding computing resource margin sent by an edge gateway; the server sends a calculation request to a second edge gateway; the second edge gateway is used for determining an index of a target emission factor according to configuration data corresponding to the target vehicle, and the second edge gateway is used for determining an average emission amount of the target emission factor according to a specified period frequency and the emission amount of the target emission factor; the server receives the target emission factor index and the average emission amount of the target emission factor sent by the second edge gateway; the server generates a comparison result according to the index corresponding to the target emission factor and the average emission amount of the target emission factor. The carbon emission of the target vehicle of the logistics enterprise is collected and analyzed through the edge gateway, data analysis can be rapidly carried out, and the social responsibility of the enterprise is enhanced.

Application Domain

ResourcesComplex mathematical operations

Technology Topic

Real-time computingOperations research +7

Image

  • Method and device for detecting carbon emission of logistics enterprise based on edge calculation
  • Method and device for detecting carbon emission of logistics enterprise based on edge calculation
  • Method and device for detecting carbon emission of logistics enterprise based on edge calculation

Examples

  • Experimental program(1)

Example Embodiment

[0065] In order to make the objects, features and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are some, but not all, embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0066] It should be noted that this embodiment builds an edge computing system based on the mutual coordination and cooperation of an edge gateway and a cloud server. The entire system construction includes hardware design and software platform construction. The jetson nano processor hardware platform, and the software platform is built by using edge computing and cloud computing to release and execute specific tasks, using Docker containers (a lightweight virtualization technology, and an open source application container runtime environment). Building a platform allows developers to package applications in a portable container in a convenient way, and then install them on any server running Linux or Windows. Manage and upgrade, and distribute tasks to each edge gateway, so that the data collected by the sensor can be processed at the edge gateway, and autonomous decision-making at the edge can be realized. When it is found that there is a problem with the gas index, the problem will be fed back, so as to achieve the management of the carbon emission of the logistics enterprise.
[0067] refer to figure 1 , showing a method for detecting carbon emissions of a logistics enterprise based on edge computing provided by an embodiment of the present application; the method involves a collection node, a server, and an edge gateway, wherein the edge gateway includes a first edge gateway and the second edge gateway; the collection node is used to collect collection data corresponding to the target vehicle, the collection data includes the configuration data of the target vehicle and the emission amount of the target emission factor of the target vehicle; the edge gateway is used for a specified period The frequency corresponding to the computing resource margin in the current period is sent to the server; the first edge gateway is configured to receive the collected data corresponding to the target vehicle sent by the collection node, and send the data corresponding to the target vehicle. collecting data to the server;
[0068] The method includes:
[0069] S110. When the server receives the computing resource margin corresponding to the current period sent by the edge gateway, determine a second edge gateway according to a preset rule and the computing resource margin corresponding to the current period ;
[0070] S120. The server sends a calculation request to the second edge gateway; wherein, the calculation request includes the collected data corresponding to the target vehicle; the second edge gateway is configured to be configured according to the configuration corresponding to the target vehicle The data determines an index corresponding to the target emission factor of the target vehicle, and the second edge gateway is further configured to determine the target emission corresponding to the target vehicle according to the specified cycle frequency and the emission amount corresponding to the target emission factor of the target vehicle the average emission of the factor;
[0071] S130. The server receives the indicator corresponding to the target emission factor of the target vehicle and the average emission amount corresponding to the target emission factor of the target vehicle sent by the second edge gateway;
[0072] S140. The server generates a comparison result according to the index corresponding to the target emission factor of the target vehicle and the average emission amount corresponding to the target emission factor of the target vehicle.
[0073] In the embodiment of the present application, when the server receives the remaining amount of computing resources corresponding to the current period sent by the edge gateway, then according to preset rules and the computing resources corresponding to the current period The margin determines a second edge gateway; the server sends a calculation request to the second edge gateway; wherein, the calculation request includes the collected data corresponding to the target vehicle; the second edge gateway is used for The configuration data of the target vehicle determines an index corresponding to the target emission factor of the target vehicle, and the second edge gateway is further configured to determine the corresponding target emission factor according to the specified cycle frequency and the emission amount corresponding to the target emission factor of the target vehicle. the average emission amount corresponding to the target emission factor of the target vehicle; the server receives the indicator corresponding to the target emission factor of the target vehicle and the average of the target emission factor corresponding to the target vehicle sent by the second edge gateway Emission amount; the server generates a comparison result according to the index corresponding to the target emission factor of the target vehicle and the average emission amount corresponding to the target emission factor of the target vehicle. Through the edge gateway to collect and analyze the carbon emissions of the target vehicles of the logistics enterprise, the data can be analyzed quickly, to ensure that the logistics enterprise can consciously and actively control various indicators of carbon emissions, and to strengthen the social responsibility of the enterprise.
[0074] Next, a method for detecting carbon emissions of a logistics enterprise based on edge computing in this exemplary embodiment will be further described.
[0075] As described in step S110, when the server receives the computing resource remaining amount corresponding to the current period sent by the edge gateway, then according to a preset rule and the computing resource remaining amount corresponding to the current period Quantity determines the second edge gateway.
[0076] In an embodiment of the present invention, the step S110 can be further described in conjunction with the following description: "When the server receives the computing resource balance corresponding to the current period sent by the edge gateway, according to preset rules and The specific process of determining the second edge gateway "corresponding to the remaining amount of computing resources in the current period".
[0077] As described in the following steps, when the remaining amount of computing resources in the current period is the same, the preset rule and the remaining amount of computing resources corresponding to the current period determine the second closest distance to the server. edge gateway;
[0078] As described in the following steps, when the amount of computing resources in the current period is different, the second edge with the largest amount of resources is determined according to the preset rule and the amount of computing resources corresponding to the current period. gateway.
[0079] It should be noted that the emission factor refers to greenhouse gases such as carbon dioxide, carbon monoxide, nitrogen dioxide, sulfur dioxide and dust particles; the emission amount refers to the emission amount of the emission factor.
[0080] As an example, this application involves three parts, namely collection nodes, edge gateways, and servers, refer to figure 2 , which is a cluster structure diagram of edge gateways and servers. Multiple edge gateways are used as service nodes to establish clusters with servers. The servers are set as management nodes, and the edge gateways are used as service nodes. The server can centrally manage and upgrade the edge gateway. Building a cluster through servers and edge gateways ensures that the server can perform unified system management and configuration on the edge gateways, and can also operate each edge gateway deployment application on the server to ensure the long-term operation and maintenance of the application. The edge gateway supports the deployment of Docker containers. Users can install their own business APPs (applications) on the deployed containers. At the same time, the gateway device provides various eSDK interfaces for containers and APPs to call their resources.
[0081] As an example, the server can abstract resources for the edge gateway through the Mesos cluster resource scheduling platform (abstract resources are equivalent to concentrating the resources of the entire cluster, multiple applications can use all the resources of the entire cluster to perform tasks, and users do not need to care about the use of The resource of which gateway is the resource, you only need to care about whether the task is executed) and task scheduling. When the task is executed on the server, the edge gateway will first integrate its own computing resource margin and report its calculation corresponding to the current cycle at the specified cycle frequency. The resource margin is given to the server, and then the computing resource margin of each edge gateway allocates the corresponding memory and CPU to jointly perform tasks.
[0082] Mesos can support large-scale scenarios with tens of thousands of nodes, which is very suitable for monitoring and management in the logistics industry. Through Mesos combined with Marathon to quickly deploy applications and automatically keep tasks running. By applying this technology in this application, the cloud server can be set as the master node, and the edge gateway can be set as the slave node. The status and resources of the edge gateway can be monitored through the server, so as to ensure that the edge gateway is online and can allocate tasks according to the existing resources of the edge gateway, and can well coordinate limited resources for fast task processing. The scheduling scheme using the Mesos task algorithm can enable the edge gateway to quickly process tasks, reduce the delay of processing tasks, ensure data security and reduce the pressure on cloud servers.
[0083] It should be noted that the Mesos project is an open source project that abstracts and manages cluster resources. Similar to the operating system kernel, users can use it to easily implement automated scheduling of distributed applications. At the same time, Mesos itself has well combined and hosted related container technologies such as Docker. Based on the large number of existing application frameworks of Mesos, user applications can be quickly launched. Marathon cooperates with the Mesos platform to deploy specific tasks. Marathon is deployed on the server, and the tasks are edited on the server through Marathon, and resources are allocated according to Mesos to complete the task. Marathon tasks can be shell script tasks or Docker container tasks.
[0084] refer to image 3 , is the basic framework diagram of Mesos, Mesos consists of a master daemon (main program) to manage the operation of slave daemon (slave program) on each cluster node, Mesos applications (Mesos application, also known as frameworks application framework) in These slaves (slave nodes, i.e. edge gateways) run tasks on them. The master (master node, that is, the server) uses Resource Offers (resource sharing) to achieve fine-grained resource sharing across applications, such as CPU, memory, disk, network, etc. The master decides how many resources to allocate to the framework (application framework) according to preset rules, such as fair sharing policy (edge ​​gateways that satisfy CPU and memory resources can process this task, mainly for the same edge gateway performance, random allocation Several edge gateways process the task), or priority strategy (the task is handed over to the edge gateway with good performance, if its resources meet the resource requirements, the edge gateway will execute the task, and then select according to the priority. other edge gateways jointly handle this task). In order to support more diverse strategies, the master adopts a modular structure, so that new distribution modules can be easily added in the form of plug-ins.
[0085] The framework (application framework) running on Mesos consists of two parts: one is the scheduler (scheduler), which obtains cluster resources by registering with the master, image 3 There are Hadoop scheduler (Hadoop distributed system infrastructure scheduler) and MPI scheduler (distributed operating system kernel scheduler). The other is the executor (executor) process running on the slave node, which can execute the task (task) of the framework, image 3 There are Hadoop executor and MPI executor respectively. The Mesos master decides how many resources to provide for each framework, and the framework's scheduler chooses which resources to provide. When the framework agrees to the provided resource, it sends the task through the master to the Mesos slaves that provide the resource to run.
[0086] In a specific implementation, after the country's emphasis on carbon emissions in recent years and the continuous calculation and analysis of the mobile source combustion carbon emission indicators, indicators of emission factors for various gas emissions have been formed. When the indicators are not met, the national The corresponding logistics companies will be rectified. Since the emission factor indicators and fuel types are closely related to the type of truck, their emission factor indicators will be different. During the analysis, the collection node first collects the configuration data of the target vehicle, that is, the type of the target vehicle and the fuel type of the target vehicle, and then collects the carbon emission of the target factor and sends it to the first edge gateway. An edge gateway then sends the collected data of the target vehicle to the server. The edge gateway is further configured to send the computing resource margin corresponding to the current cycle to the server at a specified cycle frequency.
[0087] As an example, because the whole system adopts cluster distribution, load balancing is required, and multiple edge gateways are used for computing, so which edge gateway should be used specifically, which requires servers to balance and distribute tasks. When the server receives the remaining computing resources from the application framework, it calculates the edge gateway with more resources to the working framework according to the preset rules. After receiving the task, the working framework decides whether to process it or not. If it is processed, a second edge gateway with more resources will be designated to execute the task, and the extra resources will be recycled by the server.
[0088] In a specific implementation, when the server performs a task, the task is allocated according to the margin of computing resources of the edge gateway. The margin of computing resources is mainly CPU and memory. When it is found that the resources of an edge gateway (ie, the second edge gateway) are sufficient When this task is completed, it is automatically scheduled for task processing. For example: when executing a task requires 0.1 CPU resources and 10M memory space, if the second edge gateway of the specified task has more resources, the server will recycle other resources, which is equivalent to recording the second edge gateway. How much resources are left in the edge gateway, which can be used for other tasks.
[0089] As described in step S120, the server sends a calculation request to the second edge gateway; wherein, the calculation request includes the collected data corresponding to the target vehicle; the second edge gateway is used for The configuration data of the target vehicle determines an index corresponding to the target emission factor of the target vehicle, and the second edge gateway is further configured to determine the corresponding target emission factor according to the specified cycle frequency and the emission amount corresponding to the target emission factor of the target vehicle. Average emissions at the target emission factor of the target vehicle.
[0090] In an embodiment of the present invention, in step S120, "the server sends a calculation request to the second edge gateway; wherein, the calculation request includes the collected data corresponding to the target vehicle in combination with the following description; The second edge gateway is configured to determine the target emission factor index corresponding to the target vehicle according to the configuration data corresponding to the target vehicle, and the second edge gateway is further configured to determine the target emission factor index corresponding to the target vehicle according to the specified periodic frequency and corresponding to the target vehicle. The specific process of determining the average emission of the target emission factor corresponding to the target emission factor of the target vehicle".
[0091] It should be noted that the indicators of emission factors are specified by relevant industries, such as the maximum carbon dioxide emissions per kilowatt produced by the power generation industry, and the maximum amount of greenhouse gases produced by automobile fuel.
[0092] As an example, the server sends a calculation request to the second edge gateway according to the specific allocation situation of the working framework, and the second edge gateway performs task processing according to the allocated resources.
[0093] As an example, the second edge gateway determines the target emission factor index corresponding to the target vehicle according to the configuration data corresponding to the target vehicle according to the calculation request, and the second edge gateway further according to the specified periodic frequency and the target emission factor corresponding to the target vehicle The real-time average emission amount corresponding to the target emission factor of the target vehicle is obtained by calculating the emission amount of the target emission factor of the vehicle.
[0094] As described in step S130, the server receives the index corresponding to the target emission factor of the target vehicle and the average emission amount corresponding to the target emission factor of the target vehicle sent by the second edge gateway.
[0095] In an embodiment of the present invention, the step S130 may be further described with reference to the following description: “the server receives the indicator corresponding to the target emission factor of the target vehicle and the indicator corresponding to the target vehicle sent by the second edge gateway. The specific process of the average emission of the target emission factor".
[0096] As an example, after the second edge gateway completes the calculation, the second edge gateway will correspond to the target emission factor index of the target vehicle and the average emission amount corresponding to the target emission factor of the target vehicle sent to the server.
[0097] As described in step S140, the server generates a comparison result according to the index corresponding to the target emission factor of the target vehicle and the average emission amount corresponding to the target emission factor of the target vehicle.
[0098] In an embodiment of the present invention, the step S140 may be further described in conjunction with the following description: “The server is based on the index corresponding to the target emission factor of the target vehicle and the average emission amount corresponding to the target emission factor of the target vehicle. The specific process of generating comparative results".
[0099]As an example, the server judges the carbon emission of the target vehicle of the logistics enterprise according to the average emission amount of the target emission factor corresponding to the target vehicle and the index corresponding to the target emission factor of the target vehicle, so as to confirm the target logistics enterprise Whether the carbon emissions comply with national regulations.
[0100] refer to Figure 4 , showing another edge computing-based method for detecting carbon emissions of a logistics enterprise provided by an embodiment of the present application; the method involves a collection node, a server, and an edge gateway, wherein the edge gateway includes a first edge gateway and a second edge gateway;
[0101] The method includes:
[0102] S410. The collection node collects collection data corresponding to the target vehicle, and sends the collection data to the first edge gateway.
[0103] Next, a method for detecting carbon emissions of a logistics enterprise based on edge computing in this exemplary embodiment will be further described.
[0104] As described in step S410, the collection node collects the collected data corresponding to the target vehicle, and sends the collected data to the first edge gateway.
[0105] In an embodiment of the present invention, the specific process of "the collection node collects the collected data corresponding to the target vehicle and sends the collected data to the first edge gateway" in step S410 can be further described with reference to the following description.
[0106] As described in the following steps, the collection node collects the flag bit, destination address, source address, load and CRC corresponding to the target vehicle;
[0107] As described in the following steps, the collection node generates the collected data corresponding to the target vehicle according to the flag bit, the destination address, the source address, the load and the CRC corresponding to the target vehicle, and Send the collected data to the first edge gateway.
[0108] As an example, the data collected by the collection node is implemented in a self-defined data packet, and the self-defined data packet mainly includes a flag bit, a destination address, a source address, a payload and a CRC. Among them, the flag bit can analyze the type of the target vehicle and its fuel type; the load part includes the emission data of the target emission factor of the target vehicle collected by the sensor, etc.; the destination address is the address of the receiver, and the source address is the address of the data sender. ; CRC check (Cyclic Redundancy Check) is used to ensure the reliability, integrity and security of the data, and to verify whether the data has been modified. Because the memory computing power of the collection node is limited, the data collected by the collection node is immediately sent to the edge gateway for processing.
[0109] As an example, the edge gateway will first integrate its own computing resource margin and report its computing resource margin corresponding to the current cycle to the server at a specified periodic frequency, and then allocate the corresponding memory and CPU to perform tasks together. The server then decides the second edge gateway for computing according to the preset rule and the remaining computing resource. After the second edge gateway is determined, the server sends the collected data corresponding to the target vehicle to the second edge gateway.
[0110] In a specific implementation, the customized data package is text data in the form of JSON, and then the collected data in the JSON text is analyzed and solved on the second edge gateway.
[0111] refer to Figure 5 , showing another edge computing-based method for detecting carbon emissions of a logistics enterprise provided by an embodiment of the present application; the method involves a collection node, a server, and an edge gateway, wherein the edge gateway includes a first edge gateway and a second edge gateway; the collection node is used to collect the collection data corresponding to the target vehicle, the collection data includes the configuration data of the target vehicle and the emission of the target emission factor of the target vehicle; the edge gateway is used to specify The periodic frequency sends the computing resource margin corresponding to the current cycle to the server; the first edge gateway is configured to receive the collected data corresponding to the target vehicle sent by the collection node, and send all the data corresponding to the target vehicle. The collected data is sent to the server; when the server is configured to receive the remaining amount of computing resources corresponding to the current period sent by the edge gateway, the server is configured to receive the computing resources corresponding to the current period according to preset rules and the computing resources corresponding to the current period. The margin determines a second edge gateway, and sends a calculation request to the second edge gateway, wherein the calculation request includes the collected data corresponding to the target vehicle;
[0112] The method includes:
[0113] S510. When the second edge gateway receives the calculation request sent by the server, determine an index corresponding to the target emission factor of the target vehicle according to the configuration data corresponding to the target vehicle;
[0114] S520. The second edge gateway determines an average emission amount corresponding to the target emission factor of the target vehicle according to the specified periodic frequency and the emission amount corresponding to the target emission factor of the target vehicle;
[0115] S530. The second edge gateway sends an average emission amount corresponding to the target emission factor of the target vehicle and an indicator corresponding to the target emission factor of the target vehicle to the server; the server is configured to The index of the target emission factor of the vehicle and the average emission amount corresponding to the target emission factor of the target vehicle generate a comparison result.
[0116] Next, a method for detecting carbon emissions of a logistics enterprise based on edge computing in this exemplary embodiment will be further described.
[0117] As described in step S510, when the second edge gateway receives the calculation request sent by the server, it determines the target emission factor index corresponding to the target vehicle according to the configuration data corresponding to the target vehicle.
[0118] In an embodiment of the present invention, the step S510 may be further described in conjunction with the following description: “When the second edge gateway receives the calculation request sent by the server, determine according to the configuration data corresponding to the target vehicle. The specific process corresponding to the target emission factor of the target vehicle".
[0119] As described in the following steps, the second edge gateway determines an index corresponding to the target emission factor of the target vehicle according to the flag position corresponding to the target vehicle.
[0120] It should be noted that the collected data includes a flag bit, a destination address, a source address, a load, and a CRC.
[0121] As an example, the second edge gateway determines the index corresponding to the target emission factor of the target vehicle according to the flag bit of the data packet in the JSON text, that is, the type of the target vehicle and its fuel type. Emissions is an umbrella term or abbreviation for greenhouse gas emissions. The most important component of the greenhouse gas is carbon dioxide (CO2), so the target emission factor of this embodiment is carbon dioxide.
[0122] As described in step S520, the second edge gateway determines the average emission amount corresponding to the target emission factor of the target vehicle according to the specified cycle frequency and the emission amount corresponding to the target emission factor of the target vehicle.
[0123] In an embodiment of the present invention, the step S520 may be further described with reference to the following description: “The second edge gateway determines the emission amount corresponding to the target vehicle according to the specified periodic frequency and the target emission factor corresponding to the target vehicle. The specific process of the average emission of the target emission factor”.
[0124] As an example, it is unreasonable to judge the carbon emission of a logistics enterprise only based on the data collected by the collection node at a certain moment because the carbon emission when the vehicle is started will be greater than the carbon emission when the vehicle is running normally. Therefore, The data collected by the collection node in this embodiment is collected and immediately sent to the edge gateway for processing, and the second edge gateway interacts with the server after processing the data with a specified periodic frequency. The second edge gateway obtains an average emission amount corresponding to the target emission factor of the target vehicle by dividing the emission amount corresponding to the target emission factor of the target vehicle by the specified cycle frequency.
[0125] As described in step S530, the second edge gateway sends the average emission amount corresponding to the target emission factor of the target vehicle and an indicator corresponding to the target emission factor of the target vehicle to the server; the server for generating a comparison result according to the index corresponding to the target emission factor of the target vehicle and the average emission amount corresponding to the target emission factor of the target vehicle.
[0126] In an embodiment of the present invention, the following description can be further described in step S530: “The second edge gateway sends the average emission amount corresponding to the target emission factor of the target vehicle and the target emission corresponding to the target vehicle. A specific process for generating a comparison result according to the index corresponding to the target emission factor of the target vehicle and the average emission amount corresponding to the target emission factor of the target vehicle.
[0127] As an example, after the second edge gateway completes the calculation, the second edge gateway will correspond to the target emission factor index of the target vehicle and the average emission amount corresponding to the target emission factor of the target vehicle Send the data to the server, and the server compares the average emission amount corresponding to the target emission factor of the target vehicle with the index corresponding to the target emission factor of the target vehicle, so as to determine the carbon emission situation of the target vehicle of the logistics enterprise.
[0128] As for the apparatus embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for related parts.
[0129] refer to Image 6 , which shows a device for detecting carbon emissions of a logistics enterprise based on edge computing provided by an embodiment of the present application; the device involves a collection node, a server, and an edge gateway, wherein the edge gateway includes a first edge gateway and the second edge gateway; the collection node is used to collect collection data corresponding to the target vehicle, the collection data includes the configuration data of the target vehicle and the emission amount of the target emission factor of the target vehicle; the edge gateway is used for a specified period The frequency corresponding to the computing resource margin in the current period is sent to the server; the first edge gateway is configured to receive the collected data corresponding to the target vehicle sent by the collection node, and send the data corresponding to the target vehicle. collecting data to the server;
[0130] Specifically include:
[0131] The second edge gateway determining module 610 is configured to, when the server receives the computing resource margin corresponding to the current cycle sent by the edge gateway, determine the calculation resource corresponding to the current cycle according to a preset rule and the computing resources corresponding to the current cycle. The resource margin determines the second edge gateway;
[0132] The calculation request sending module 620 is used for the server to send a calculation request to the second edge gateway; wherein, the calculation request includes the collected data corresponding to the target vehicle; the second edge gateway is used for according to the corresponding The configuration data of the target vehicle determines an index corresponding to the target emission factor of the target vehicle, and the second edge gateway is further configured to determine the corresponding target emission factor according to the specified cycle frequency and the emission amount corresponding to the target emission factor of the target vehicle. the average emissions at the target emission factor of the target vehicle;
[0133] A data receiving module 630, configured to receive, by the server, an indicator corresponding to the target emission factor of the target vehicle and an average emission amount corresponding to the target emission factor of the target vehicle sent by the second edge gateway;
[0134]A comparison result determination module 640 is used for the server to generate a comparison result according to the index corresponding to the target emission factor of the target vehicle and the average emission amount corresponding to the target emission factor of the target vehicle.
[0135] In an embodiment of the present invention, the second edge gateway determining module 610 includes:
[0136] The first preset rule sub-module is configured to determine, according to the preset rule and the remaining amount of computing resources corresponding to the current period, that the remaining amount of computing resources in the current period is the same as that of the server. The nearest second edge gateway;
[0137] or;
[0138] The second preset rule sub-module is configured to, when the remaining amount of computing resources in the current period is different, determine the one with the largest remaining amount of resources from the preset rule and the remaining amount of computing resources corresponding to the current period. Second edge gateway.
[0139] refer to Figure 7 , which shows a device for detecting carbon emissions of a logistics enterprise based on edge computing provided by another embodiment of the present application; the device involves a collection node, a server, and an edge gateway, wherein the edge gateway includes a first edge gateway and a second edge gateway;
[0140] Specifically include:
[0141] The data collection module 710 is used for the collection node to collect collection data corresponding to the target vehicle, and send the collection data to the first edge gateway.
[0142] In an embodiment of the present invention, the data collection module 710 includes:
[0143] A collection sub-module for the collection node to collect the flag bit, destination address, source address, load and CRC corresponding to the target vehicle; wherein the flag bit includes the configuration data of the target vehicle, and the load includes the target of the target vehicle Emissions of emission factors;
[0144] a data generation sub-module for the collection node to generate the collection data corresponding to the target vehicle according to the flag bit, the destination address, the source address, the load and the CRC corresponding to the target vehicle, and sending the collected data to the first edge gateway.
[0145] refer to Figure 8 , which shows a device for detecting carbon emissions of a logistics enterprise based on edge computing provided by another embodiment of the present application; the device involves a collection node, a server, and an edge gateway, wherein the edge gateway includes a first edge gateway and a second edge gateway; the collection node is used to collect collection data corresponding to the target vehicle, the collection data includes the configuration data of the target vehicle and the emission of the target emission factor of the target vehicle; the edge gateway is used to specify The periodic frequency sends the computing resource margin corresponding to the current cycle to the server; the first edge gateway is configured to receive the collected data corresponding to the target vehicle sent by the collection node, and send all the data corresponding to the target vehicle. The collected data is sent to the server; when the server is configured to receive the remaining amount of computing resources corresponding to the current period sent by the edge gateway, then according to preset rules and the computing resources corresponding to the current period The margin determines a second edge gateway, and sends a calculation request to the second edge gateway, wherein the calculation request includes the collected data corresponding to the target vehicle;
[0146] The device includes:
[0147] an indicator determination module 810, configured to determine an indicator corresponding to the target emission factor of the target vehicle according to the configuration data corresponding to the target vehicle when the second edge gateway receives the calculation request sent by the server;
[0148] an average emission determination module 820, for the second edge gateway to determine an average emission corresponding to the target emission factor of the target vehicle according to the specified cycle frequency and the emission corresponding to the target emission factor of the target vehicle;
[0149] The calculation data sending module 830 is used for the second edge gateway to send the average emission amount corresponding to the target emission factor of the target vehicle and the index corresponding to the target emission factor of the target vehicle to the server; the server for generating a comparison result according to the index corresponding to the target emission factor of the target vehicle and the average emission amount corresponding to the target emission factor of the target vehicle.
[0150] In an embodiment of the present invention, the collected data includes a flag bit, a destination address, a source address, a load, and a CRC; the indicator determination module 810 includes:
[0151] A marker sub-module, used for the second edge gateway to determine an index corresponding to the target emission factor of the target vehicle according to the marker corresponding to the target vehicle.
[0152] The present application also provides a system for detecting carbon emissions of a logistics enterprise based on edge computing, the system involves a collection node, a server and an edge gateway, wherein the edge gateway includes a first edge gateway and a second edge gateway;
[0153] The system includes:
[0154] The collection node is configured to collect collection data corresponding to the target vehicle, and send the collection data to the first edge gateway;
[0155] The first edge gateway is configured to receive the collection data corresponding to the target vehicle sent by the collection node, and send the collection data corresponding to the target vehicle to the server;
[0156] The edge gateway is configured to send the computing resource margin corresponding to the current cycle to the server at a specified cycle frequency;
[0157] The server is configured to, when the server receives the computing resource surplus corresponding to the current period sent by the edge gateway, determine the first computing resource according to the preset rule and the computing resource surplus corresponding to the current period. Two edge gateways;
[0158] The server is further configured to send a calculation request to the second edge gateway; wherein the calculation request includes the collected data corresponding to the target vehicle;
[0159] The second edge gateway is configured to, when the second edge gateway receives the calculation request sent by the server, determine the target emission factor index corresponding to the target vehicle according to the configuration data corresponding to the target vehicle;
[0160] The second edge gateway is further configured to determine an average emission amount corresponding to the target emission factor of the target vehicle according to the specified cycle frequency and the emission amount corresponding to the target emission factor of the target vehicle;
[0161] The second edge gateway is further configured to send an average emission amount corresponding to the target emission factor of the target vehicle and an indicator corresponding to the target emission factor of the target vehicle to the server;
[0162] The server is further configured to receive an indicator corresponding to the target emission factor of the target vehicle and an average emission amount corresponding to the target emission factor of the target vehicle sent by the second edge gateway;
[0163] The server is further configured to generate a comparison result according to the index corresponding to the target emission factor of the target vehicle and the average emission amount corresponding to the target emission factor of the target vehicle.
[0164] Although the preferred embodiments of the embodiments of the present application have been described, additional changes and modifications to these embodiments may be made by those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiments as well as all changes and modifications that fall within the scope of the embodiments of the present application.
[0165] Finally, it should also be noted that in this document, relational terms such as first and second are used only to distinguish one entity or operation from another, and do not necessarily require or imply these entities or that there is any such actual relationship or sequence between operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion such that a process, method, article or terminal device that includes a list of elements includes not only those elements, but also a non-exclusive list of elements. other elements, or also include elements inherent to such a process, method, article or terminal equipment. Without further limitation, an element defined by the phrase "comprises a..." does not preclude the presence of additional identical elements in the process, method, article or terminal device comprising said element.
[0166] A method and device for detecting carbon emissions of a logistics enterprise based on edge computing provided by the present application have been described above in detail. In this article, specific examples are used to illustrate the principles and implementations of the present application. The description is only used to help understand the method of the present application and its core idea; meanwhile, for those of ordinary skill in the art, according to the idea of ​​the present application, there will be changes in the specific implementation manner and the scope of application. In summary, the above , the contents of this specification should not be construed as limiting the application.

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products