Carbon emission reduction data updating method, device, equipment, medium and product
By receiving the final carbon emission factor released by the government system, update the card's monthly carbon emission reduction data table and generate a change details, the poor user experience and resource waste caused by lagging update of carbon emission factor are solved, and the efficiency of carbon emission reduction data is improved. and accuracy.
Patent Information
- Application Number
- CN202410962418.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-07-18
AI Technical Summary
The lagging update of carbon emission factors leads to delays in the calculation of user carbon emission reduction, resulting in waste of resources and poor user experience. Especially in megacities, the relationship between users and traffic cards has changed frequently, and the recalculation is complex and affects the redeemed carbon points.
By receiving the final carbon emission factor released by the government system, update the card's monthly carbon emission reduction data table, generate a detailed list of carbon emission reduction changes and notify users, use the initial and final carbon emission factors to calculate deviations, optimize the carbon emission reduction data table, and improve the data Update efficiency and user experience.
The problem of lag in carbon emission factor updates has been solved, the efficiency and accuracy of carbon emission reduction data updates have been improved, resource waste has been reduced, user experience has been improved, and the accuracy of redeemed carbon points have been ensured.
Smart Images

Figure CN118568113B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of carbon emission technology, and in particular to a carbon emission reduction data updating method, device, equipment, medium and product. Background Art
[0002] When calculating the carbon emission reductions of users' public transportation travel according to the methodology, the calculation formula needs to use carbon emission parameters such as urban transportation travel emission factors, pure electric bus travel emission factors and subway travel emission factors. These calculation factors are different every year, and the annual carbon emission factors are usually delayed by more than one year. For example, the carbon emission factors for 2023 will be provided after 2024, that is, the carbon emission factors are usually provided with a lag.
[0003] When the carbon emission factor is provided with a lag, the user's carbon emission reduction cannot be calculated one year later. The current practice is to first complete the initial calculation of carbon emission reduction based on the carbon emission factor of the previous year, and then recalculate based on the new parameters when the carbon emission factor of the current year is updated.
[0004] In some super-large cities, the amount of travel data in a year reaches 2 billion to 3 billion, and the binding relationship between users and transportation cards changes frequently. There are three problems in recalculating based on detailed itineraries: First, it is necessary to store all itinerary details and changes in the binding between users and cards. The amount of calculation is too large during recalculation, resulting in a waste of resources; second, after recalculating based on the itinerary, it is also necessary to re-complete the relationship between carbon emission reduction and user attribution based on the binding relationship between users and transportation cards. When the binding relationship between users and transportation cards changes frequently, the calculation of carbon emission reduction user attribution is complicated; third, when recalculating and adjusting after one year, it will affect the carbon emission reduction that users have known and displayed, and even affect the carbon points that have been redeemed, and the user experience is too poor.
[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0006] The main purpose of this application is to provide a carbon emission reduction data updating method, device, equipment, storage medium and computer program product, aiming to solve the technical problem that there is a lag in the update of carbon emission factors, and if a comprehensive update is performed after the carbon emission factors are released, it is easy to lead to a poor user experience.
[0007] To achieve the above purpose, the present application proposes a method for updating carbon emission reduction data, which includes:
[0008] Receive the final carbon emission factor released by the government affairs system;
[0009] Based on the final carbon emission factor, the card monthly carbon emission reduction data table is updated to obtain a final card monthly carbon emission reduction data table;
[0010] The carbon emission reduction change details are generated through the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table and notified to the corresponding users.
[0011] In one embodiment, before the step of receiving the final carbon emission factor issued by the government affairs system, the method further includes:
[0012] Receive the initial carbon emission factor published by the government affairs system;
[0013] Acquire the user's travel data, and calculate the travel data using the initial carbon emission factor to obtain the travel carbon emission reduction;
[0014] Storing the travel carbon emission reduction amount in a preset travel carbon emission reduction detailed list;
[0015] Acquire the card travel data of the transportation card, calculate the card travel data by the initial carbon emission factor, and obtain the carbon emission reduction of the transportation card travel;
[0016] The transportation card travel carbon emission reduction amount is stored in a preset card carbon account data table.
[0017] In one embodiment, after the step of storing the carbon emission reduction of the transportation card in a preset card carbon account data table, the method further includes:
[0018] Analyze the card information of the transportation card to obtain the transportation card binding relationship;
[0019] Based on the transportation card binding relationship, the card carbon account data table and the travel carbon emission reduction detailed table are attributed and calculated to obtain user attribute information;
[0020] Storing the user attribution information in a preset user carbon account table;
[0021] Based on the transportation card binding relationship, the card carbon account data table, travel carbon emission reduction details table and user carbon account table are stored in a preset initial card monthly carbon emission reduction data table to obtain a card monthly carbon emission reduction data table.
[0022] In one embodiment, the step of updating the card monthly carbon emission reduction data table based on the final carbon emission factor to obtain the final card monthly carbon emission reduction data table includes:
[0023] Analyze the final carbon emission factor to obtain the update range of the card monthly carbon emission reduction data table;
[0024] Based on the update range, the deviation of the card monthly carbon emission reduction data table is calculated by using the initial carbon emission factor and the final carbon emission factor to obtain a deviation value;
[0025] The card monthly carbon emission reduction data table is updated based on the deviation value to obtain a final card monthly carbon emission reduction data table.
[0026] In one embodiment, the step of generating carbon emission reduction change details through the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table and notifying the corresponding user includes:
[0027] Analyze the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table to obtain the correction amount;
[0028] Generating a correction record through the correction amount, and generating a carbon emission reduction change detail based on the correction record;
[0029] The carbon emission reduction change details are notified to the corresponding users.
[0030] In one embodiment, after the step of generating carbon emission reduction change details through the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table and notifying the corresponding user, the method further includes:
[0031] Analyze the travel data in the final card's monthly carbon emission reduction to obtain the ride type, ride distance, and ride frequency;
[0032] Perform carbon emission reduction optimization analysis based on the ride type, ride distance, and ride frequency to obtain an optimization strategy;
[0033] A corresponding reward mechanism is configured for the optimization strategy and sent to the corresponding user.
[0034] In addition, to achieve the above purpose, the present application also proposes a carbon emission reduction data updating device, the carbon emission reduction data updating device comprising:
[0035] A receiving module, used to receive the final carbon emission factor published by the government affairs system;
[0036] An updating module, used to update the card monthly carbon emission reduction data table based on the final carbon emission factor to obtain a final card monthly carbon emission reduction data table;
[0037] The notification module is used to generate carbon emission reduction change details through the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table and notify the corresponding users.
[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes a carbon emission reduction data updating device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the carbon emission reduction data updating method as described above.
[0039] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the carbon emission reduction data updating method described above are implemented.
[0040] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the carbon emission reduction data updating method as described above are implemented.
[0041] One or more technical solutions proposed in this application have at least the following technical effects:
[0042] The embodiments of the present application propose a method, device, equipment, storage medium and computer program product for updating carbon emission reduction data, which receives the final carbon emission factor issued by the government affairs system; updates the monthly carbon emission reduction data table of the card based on the final carbon emission factor to obtain the final monthly carbon emission reduction data table of the card; generates carbon emission reduction change details through the final monthly carbon emission reduction data table of the card and the monthly carbon emission reduction data table of the card and notifies the corresponding user. Thus, after receiving the final carbon emission factor issued by the government affairs system, the monthly carbon emission reduction data table of the card is updated to obtain the final monthly carbon emission reduction data table of the card, and finally the carbon emission reduction change details are obtained through the final monthly carbon emission reduction data table of the card and the monthly carbon emission reduction data table of the card, which solves the problem of lag in the update of carbon emission factors. If a comprehensive update is performed after the carbon emission factor is released, it is easy to cause a poor user experience, and improves the efficiency of carbon emission reduction data update. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0045] Figure 1 A flowchart of the first embodiment of the carbon emission reduction data updating method of the present application is provided;
[0046] Figure 2 A flowchart diagram of the second embodiment of the carbon emission reduction data updating method of the present application is provided;
[0047] Figure 3 A brief flowchart of the carbon emission reduction data update method for this application;
[0048] Figure 4 This is a schematic diagram of the module structure of the carbon emission reduction data updating device according to an embodiment of the present application;
[0049] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the carbon emission reduction data updating method in the embodiment of the present application. DETAILED DESCRIPTION
[0050] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0051] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0052] The main solution of the embodiment of the present application is: receiving the initial carbon emission factor issued by the government affairs system; obtaining the user's travel data, and calculating the travel data through the initial carbon emission factor to obtain the travel carbon emission reduction; storing the travel carbon emission reduction in a preset travel carbon emission reduction detailed table; obtaining the card travel data of the transportation card, calculating the card travel data through the initial carbon emission factor to obtain the transportation card travel carbon emission reduction; storing the transportation card travel carbon emission reduction in a preset card carbon account data table. Analyze the card information of the transportation card to obtain the transportation card binding relationship; perform attribution calculation on the card carbon account data table and the travel carbon emission reduction detailed table based on the transportation card binding relationship to obtain user attribution information; store the user attribution information in a preset user carbon account table; based on the transportation card binding relationship, store the card carbon account data table, the travel carbon emission reduction detailed table and the user carbon account table in the preset initial card monthly carbon emission reduction data table to obtain the card monthly carbon emission reduction data table. Analyze the final carbon emission factor to obtain the update range of the card monthly carbon emission reduction data table; based on the update range, calculate the deviation of the card monthly carbon emission reduction data table through the initial carbon emission factor and the final carbon emission factor to obtain the deviation value; update the card monthly carbon emission reduction data table based on the deviation value to obtain the final card monthly carbon emission reduction data table. Analyze the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table to obtain the correction amount; generate a correction record through the correction amount, and generate a carbon emission reduction change detail based on the correction record; notify the corresponding user of the carbon emission reduction change detail. Analyze the travel data in the final card monthly carbon emission reduction to obtain the ride type, ride distance and number of rides; perform carbon emission reduction optimization analysis based on the ride type, ride distance and number of rides to obtain an optimization strategy; configure a corresponding reward mechanism for the optimization strategy and send it to the corresponding user. Thereby, the problem of hysteresis in the update of carbon emission factors, which may easily lead to poor user experience if a comprehensive update is performed after the carbon emission factors are released, is solved, the update of carbon emission reduction data is realized, and the accuracy of the intention is improved. Based on the scheme of the present invention, when calculating the carbon emission reduction of users' public transportation travel according to the methodology in reality, carbon emission parameters such as urban transportation travel emission factors, pure electric bus travel emission factors, and subway travel emission factors are needed in the calculation formula. These calculation factors are different every year, and the annual carbon emission factors are usually delayed for more than one year to provide, such as: the carbon emission factors for 2023 will be provided after 2024, that is, the carbon emission factors are usually provided with a lag, so that the efficiency of carbon emission reduction data update is low, resulting in poor user experience. Starting from the problem, a carbon emission reduction data update method is designed, and the effectiveness of the carbon emission reduction data update method of the present invention is verified when the carbon emission reduction data is updated. Finally, the accuracy of carbon emission reduction data update by the method of the present invention is significantly improved.
[0053] In this embodiment, for the convenience of description, the carbon emission reduction data updating device is used as the execution body for explanation below.
[0054] Since the carbon emission factors in the prior art are usually provided with a lag, the user's carbon emission reduction cannot be calculated one year later when the carbon emission factors are provided with a lag. The current practice is to first complete the initial calculation of the carbon emission reduction based on the carbon emission factors of the previous year, and then recalculate based on the new parameters when the carbon emission factors of the current year are updated. The amount of travel data in Shenzhen in one year is 2 billion to 3 billion, and the binding relationship between users and transportation cards often changes. There are three problems with recalculating based on detailed itineraries: First, it is necessary to store all itinerary details and changes in the binding between users and cards. The amount of calculation is too large during recalculation, resulting in a waste of resources; second, after recalculating based on the itinerary, it is also necessary to re-complete the attribution of carbon emission reduction to the user based on the binding relationship between the user and the transportation card. When the binding relationship between the user and the transportation card often changes, the user attribution calculation of carbon emission reduction is complicated; third, when recalculating and adjusting one year later, it affects the carbon emission reduction that the user has known and displayed, and even affects the carbon points that have been redeemed, and the user experience is too poor.
[0055] The present application provides a solution. When the carbon emission reduction data is updated, the monthly carbon emission reduction data table on the card is used to update the carbon emission reduction data table, thereby improving the efficiency of updating the carbon emission reduction data. At the same time, the carbon emission reduction change details are generated through the final monthly carbon emission reduction data table on the card and the monthly carbon emission reduction data table on the card, thereby providing users with better services.
[0056] From the above embodiments, it can be seen that the present application receives the final carbon emission factor issued by the government affairs system; updates the monthly carbon emission reduction data table of the card based on the final carbon emission factor to obtain the final monthly carbon emission reduction data table of the card; generates carbon emission reduction change details through the final monthly carbon emission reduction data table of the card and the monthly carbon emission reduction data table of the card and notifies the corresponding user. Thus, after receiving the final carbon emission factor issued by the government affairs system, the monthly carbon emission reduction data table of the card is updated to obtain the final monthly carbon emission reduction data table of the card, and finally the carbon emission reduction change details are obtained through the final monthly carbon emission reduction data table of the card and the monthly carbon emission reduction data table of the card, which solves the problem of lag in the update of carbon emission factors. If a comprehensive update is performed after the carbon emission factor is released, it is easy to cause a poor user experience, and improves the efficiency of carbon emission reduction data update.
[0057] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a carbon emission reduction data updating device, etc. The following takes the carbon emission reduction data updating device as an example to illustrate this embodiment and the following embodiments.
[0058] Based on this, the present application embodiment provides a carbon emission reduction data updating method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the carbon emission reduction data updating method of the present application.
[0059] In this embodiment, the carbon emission reduction data updating method includes steps S06 to S11:
[0060] It should be clear that when calculating the carbon emission reductions of users' public transportation travel according to the methodology, the calculation formula needs to use carbon emission parameters such as urban transportation travel emission factors, pure electric bus travel emission factors, and subway travel emission factors. These calculation factors are different every year, and the annual carbon emission factors are usually delayed by more than one year before they are provided. For example, the carbon emission factors for 2023 will be provided after 2024, that is, the carbon emission factors are usually provided with a lag.
[0061] When the carbon emission factor is provided with a lag, the user's carbon emission reduction cannot be calculated one year later. The current practice is to first complete the initial calculation of carbon emission reduction based on the carbon emission factor of the previous year, and then recalculate based on the new parameters when the carbon emission factor of the current year is updated.
[0062] Shenzhen has 2-3 billion trip data in a year, and the binding relationship between users and transportation cards changes frequently. There are three problems with recalculating based on detailed itineraries:
[0063] (1) It is necessary to store all itinerary details and changes in the binding between users and cards. The amount of calculation required for recalculation is too large, resulting in a waste of resources.
[0064] (2) After recalculating based on the itinerary, it is also necessary to recompile the attribution relationship between carbon emission reduction and the user based on the binding relationship between the user and the transportation card. When the binding relationship between the user and the transportation card changes frequently, the calculation of carbon emission reduction user attribution is complicated;
[0065] (3) When the calculation and adjustment are recalculated one year later, it will affect the carbon emission reduction that users have known and displayed, and even affect the carbon points that have been redeemed, which will lead to a very poor user experience.
[0066] Therefore, this embodiment proposes a method for updating carbon emission data, as shown in the following steps:
[0067] Step S06, receiving the final carbon emission factor issued by the government affairs system;
[0068] The carbon emission factor published by the government affairs system refers to an indicator that measures the amount of carbon dioxide emissions generated during the production process of a specific activity or product. It is usually expressed in terms of unit energy consumption or production units, and is used to assess the carbon footprint of different activities. By calculating the carbon emission factor, people can understand the impact of various activities on climate change and environmental health, and take corresponding emission reduction measures. However, the release of the carbon emission factor is delayed, because the carbon emission factor changes every year according to the actual travel volume of the year. Therefore, when performing calculations, most of them can only use the carbon emission factor published in the previous year. Therefore, when receiving a new carbon emission factor, it is necessary to update the previously calculated carbon emission reduction data, that is, when the carbon emission factor is published by the government affairs system, the embodiment of the present application receives it and performs subsequent update operations.
[0069] Step S10, updating the card monthly carbon emission reduction data table based on the final carbon emission factor to obtain a final card monthly carbon emission reduction data table;
[0070] In order to enable the carbon emission reduction data to be updated quickly and with minimal impact, the embodiment of the present application uses a card-based monthly carbon emission reduction data table to record the carbon emission reduction data. When the final carbon emission factor (i.e., the latest carbon emission factor released by the government system) is received, the card-based monthly carbon emission reduction data table is updated to obtain the final card-based monthly carbon emission reduction data table.
[0071] Step S11, generating carbon emission reduction change details through the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table and notifying the corresponding user.
[0072] After obtaining the final card monthly carbon emission reduction data table, it is necessary to notify the user of the change details. Therefore, the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table are used to query the change details, so as to obtain the carbon emission reduction change details and then notify the corresponding users, thereby minimizing the impact on user use and improving the user experience.
[0073] Specifically, before the above step S06, the step of receiving the final carbon emission factor issued by the government affairs system, the method further includes:
[0074] Step S01, receiving the initial carbon emission factor issued by the government affairs system;
[0075] Step S02, obtaining the user's travel data, and calculating the travel data using the initial carbon emission factor to obtain the travel carbon emission reduction;
[0076] Step S03, storing the travel carbon emission reduction amount into a preset travel carbon emission reduction detailed list;
[0077] Step S04, obtaining the card travel data of the transportation card, calculating the card travel data by the initial carbon emission factor, and obtaining the carbon emission reduction of the transportation card travel;
[0078] Step S05, storing the carbon emission reduction amount of the transportation card in a preset card carbon account data table.
[0079] Before obtaining the final carbon emission factor issued by the government system, it is necessary to bind the transportation card and the user accordingly to reduce the amount of data required for the final update. In this embodiment, the initial carbon emission factor issued by the government system is first received, and then the user's travel data is obtained. It should be clear that the travel data in this embodiment includes but is not limited to buses, subways, private cars, shared bicycles, and walking, etc.;
[0080] Then, the initial carbon emission factor can be used to calculate the travel data to obtain the travel data corresponding to the user. Since there are many people traveling every day, the calculated travel carbon emission reduction is stored in the preset travel carbon emission reduction detailed table;
[0081] In addition to calculating the user's travel data, it is also necessary to calculate the travel data of the transportation cards corresponding to various transportation applications. The transportation card in this embodiment is a card with NFC function, which can be physical or virtual, and can be used for various transportation and payment. Therefore, when the user uses transportation, the transportation card will have corresponding records. Therefore, in this embodiment, the card travel data of the transportation card is collected, and the card travel data is calculated through the initial carbon emission reduction factor to obtain the transportation card travel carbon emission reduction. Similarly, due to the large number of people traveling, the transportation card travel carbon emission reduction is stored in the preset card carbon account data table.
[0082] More specifically, after the above step S05, storing the carbon emission reduction of the transportation card in a preset card carbon account data table, the method further includes:
[0083] Step S06, analyzing the card information of the transportation card to obtain the transportation card binding relationship;
[0084] Step S07, performing attribution calculation on the card carbon account data table and the travel carbon emission reduction detailed table based on the transportation card binding relationship to obtain user attribution information;
[0085] Step S08, storing the user attribution information into a preset user carbon account table;
[0086] Step S09, based on the transportation card binding relationship, the card carbon account data table, the travel carbon emission reduction details table and the user carbon account table are stored in the preset initial card monthly carbon emission reduction data table to obtain the card monthly carbon emission reduction data table.
[0087] After obtaining the card carbon account data table and the travel carbon emission reduction detailed table, since there may be overlaps, that is, some users have bound corresponding transportation cards, if they are not combined and calculated, it may lead to overlaps in data volume and a large number of data. Therefore, in this embodiment, the card information of the transportation card is parsed to obtain the binding relationship corresponding to the transportation card. In addition, in the process of parsing the transportation card, the transportation card number, transaction record, ride type, total ride distance and total number of times corresponding to the transportation card can also be obtained;
[0088] After determining that the transportation card has a corresponding binding relationship, since the transportation card already has the corresponding user information (mainly referring to the unique user ID in this embodiment), the travel carbon emission reduction detailed table can be calculated for attribution, that is, the travel carbon emission reduction data is calculated into the transportation card to obtain the user attribution information;
[0089] Since the attribution information of some users has been stored previously, the user carbon account table in this embodiment is pre-built, and its attributes include but are not limited to: transportation card number, month, carbon reduction type (normal, correction), ride type (bus, subway), user ID, carbon reduction factor, total ride distance, total number of times, carbon reduction amount, recording time, etc., which can more intuitively show the binding status and usage of each user and transportation card, which is more conducive to the update and recording of carbon reduction data;
[0090] Since some users are not bound to their transportation cards, and transportation cards may be bound, unbound, or rebound during actual use, which are uncertain factors in the carbon emission reduction data update process, a monthly carbon emission reduction data table for the card is provided in this embodiment to record the carbon emission reduction data of users and transportation cards every month. For users who have been bound, there is no need to record twice, while unbound users and transportation cards are recorded and updated when the binding status of the two is received, which can reduce the storage amount and increase the system usage space;
[0091] It should be clear that the process of recording based on different binding relationships in this embodiment can be:
[0092] 1. If the card is not bound, the accumulation is directly based on the transportation card and the month, without recording the user ID;
[0093] 2. If the card is bound and the binding relationship remains unchanged, the accumulation is directly based on the transportation card, month, and user ID;
[0094] 3. If the card is bound and the binding relationship has changed, a new record needs to be added to record the transportation card, month, and new user ID;
[0095] 4. If the card has been unbound by the user and has not been bound by anyone yet, a new record needs to be added, recording according to the transportation card and month, without the user ID;
[0096] 5. If the card is changed from unbound to bound by the user, it is necessary to accumulate according to the transportation card and month, and update the user ID to the bound user ID.
[0097] This embodiment adopts the above scheme, specifically by receiving the final carbon emission factor issued by the government system; updating the monthly carbon emission reduction data table of the card based on the final carbon emission factor to obtain the final monthly carbon emission reduction data table of the card; generating carbon emission reduction change details through the final monthly carbon emission reduction data table of the card and the monthly carbon emission reduction data table of the card and notifying the corresponding user. Thus, after receiving the final carbon emission factor issued by the government system, the monthly carbon emission reduction data table of the card is updated to obtain the final monthly carbon emission reduction data table of the card, and finally the carbon emission reduction change details are obtained through the final monthly carbon emission reduction data table of the card and the monthly carbon emission reduction data table of the card, which solves the problem of lag in the update of carbon emission factors. If a comprehensive update is performed after the carbon emission factor is released, it is easy to cause a poor user experience, and improves the efficiency of carbon emission reduction data update.
[0098] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 , step S10, updating the card monthly carbon emission reduction data table based on the final carbon emission factor to obtain the final card monthly carbon emission reduction data table, the carbon emission reduction data updating method further includes steps S101~S103:
[0099] Step S101, analyzing the final carbon emission factor to obtain the update range of the card monthly carbon emission reduction data table;
[0100] Step S102, based on the update range, performing deviation calculation on the card monthly carbon emission reduction data table by using the initial carbon emission factor and the final carbon emission factor to obtain a deviation value;
[0101] Step S103: updating the card monthly carbon emission reduction data table based on the deviation value to obtain a final card monthly carbon emission reduction data table.
[0102] It can be known from the above embodiments that the card monthly carbon emission reduction data table in this embodiment can realize the carbon emission reduction data recording of the transportation card and the user;
[0103] Therefore, after receiving the final carbon emission factor released by the government affairs system, it can be analyzed to obtain the update range of the monthly carbon emission reduction data table of the card. It should be clear that since the transportation system includes a variety of travel modes, some travel data do not need to be updated when updating carbon emission reduction data, and the carbon emission factor has a time node, so the data that is not within the calculation range of the final carbon emission factor does not need to be updated. Therefore, after analyzing the final carbon emission factor and obtaining the specific update range, the data that needs to be updated can be updated;
[0104] After obtaining the updated range, the deviation of the card monthly carbon emission reduction data table is calculated through the initial carbon emission factor and the final carbon emission factor to obtain the deviation value between the two. Specifically, the annual and monthly ranges of carbon emission reductions are recalculated as needed using the corrected carbon emission reduction factor, and the "Card Monthly Carbon Emission Reduction Summary" records that need to be recalculated are circled, and the recalculation is performed one by one. According to the difference between the new carbon emission reduction factor and the used carbon emission reduction factor, the carbon emission reduction deviation (which may be a positive or negative number) of each monthly cumulative data is calculated;
[0105] Finally, the card monthly carbon emission reduction data table is updated based on the deviation value to obtain the final card monthly carbon emission reduction data table.
[0106] Specifically, the above step S11, the step of generating carbon emission reduction change details through the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table and notifying the corresponding user includes:
[0107] Step S111, analyzing the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table to obtain the correction amount;
[0108] Step S112, generating a correction record according to the correction amount, and generating a carbon emission reduction change detail based on the correction record;
[0109] Step S113, notifying the corresponding user of the carbon emission reduction change details.
[0110] After completing the update of the carbon emission reduction data, since the user may have exchanged the corresponding carbon points, such as gifts, bus card discounts and other convenient services, the amount may change after recalculation. If it is recycled at this time, in addition to the complicated process and low feasibility, it may also cause user dissatisfaction. Therefore, in this embodiment, the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table are analyzed to obtain the correction amount of the two, and the corresponding correction record is generated based on the correction amount, and a correction record is added to the card monthly carbon emission reduction data table at the same time, and the carbon emission reduction type is modified to "correction". At the same time, a new record of the correction amount is added to the "travel transaction emission reduction details" database table, accumulated in the "card carbon account" database table according to the card number, and accumulated in the "user carbon account" database table according to the user ID;
[0111] At this point, the records of many users and transportation cards are completed, and the correction records are used to generate the corresponding carbon emission reduction change details and send them to the corresponding users. In addition, due to the use of points, in this embodiment, the points redeemed by the user are converted into corresponding points, and the excess points are compensated. If the remaining points are not enough to compensate, the points obtained by subsequent users will be deducted, and corresponding records will be generated for users to view, thereby improving the user experience.
[0112] More specifically, after the above step S11, generating carbon emission reduction change details through the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table and notifying the corresponding user, the method further includes:
[0113] Step S12, analyzing the travel data in the final card's monthly carbon emission reduction to obtain the ride type, ride distance, and ride number;
[0114] Step S13, performing carbon emission reduction optimization analysis based on the riding type, riding distance and riding number to obtain an optimization strategy;
[0115] Step S14, configuring a corresponding reward mechanism for the optimization strategy and sending it to the corresponding user.
[0116] In order to enable more people to respond to carbon emission reduction, this embodiment also provides a corresponding reward mechanism, specifically:
[0117] Analyze the travel data in the final card's monthly carbon emission reduction to obtain the ride type, ride distance, and ride frequency, that is, the user's riding habits;
[0118] Then, a carbon reduction optimization analysis is performed based on the user's riding habits to obtain an optimization strategy that the user can execute. It should be clear that the carbon reduction optimization analysis in this embodiment should be based on the consideration of the same length of time for users, because the user's travel may be commuting time, so the strategy optimization should give priority to the timeliness issue. For example, the user will take a taxi on the way to the subway station, but riding a bicycle may be more convenient at this time, and the time deviation does not exceed 3 minutes, so it will be recommended. For the user's travel during vacation, carbon reduction optimization recommendations will also be made accordingly;
[0119] While pushing the optimization strategy, it is also necessary to provide a corresponding reward mechanism, such as point rewards. For example, you can get double points if you travel according to the optimization strategy this time, or you can enjoy a discount on the second trip (subway) if you travel according to the optimization strategy this time, and you can accumulate free times after accumulating a certain number of times. It should be clear that the reward mechanism in this embodiment should be set according to actual business needs and flexibly changed to change the reward mechanism for different travelers and methods. It can also be changed by analyzing the user's personal preferences. For example, if the user likes prize items, the point doubling mechanism is recommended first.
[0120] This embodiment adopts the above scheme, specifically by analyzing the final carbon emission factor to obtain the update range of the card monthly carbon emission reduction data table; based on the update range, the card monthly carbon emission reduction data table is subjected to deviation calculation through the initial carbon emission factor and the final carbon emission factor to obtain the deviation value; based on the deviation value, the card monthly carbon emission reduction data table is updated to obtain the final card monthly carbon emission reduction data table. Thus, after receiving the final carbon emission factor issued by the government affairs system, the card monthly carbon emission reduction data table is updated to obtain the final card monthly carbon emission reduction data table, and finally the carbon emission reduction change details are obtained through the final monthly card carbon emission reduction data table and the card monthly carbon emission reduction data table, which solves the problem of lag in the update of the carbon emission factor. If a comprehensive update is performed after the carbon emission factor is released, it is easy to cause a poor user experience, and improves the efficiency of carbon emission reduction data update.
[0121] For example, to help understand the implementation process of the carbon emission reduction data updating method obtained by combining this embodiment with the above-mentioned embodiment 1, please refer to Figure 3 , Figure 3 A brief flowchart of a carbon emission reduction data update method is provided, specifically:
[0122] Initial carbon emission reduction data shall be used first to complete the construction or update of the monthly carbon emission reduction data table of the card;
[0123] After receiving the final carbon emission factor issued by the government affairs system, the monthly carbon emission data table of the card is updated to obtain the final monthly carbon emission reduction data table of the card;
[0124] Then, based on the card monthly carbon emission reduction data table and the final card monthly carbon emission reduction data table, the corresponding carbon emission reduction change details are generated;
[0125] Finally, the carbon emission reduction change details are notified to the corresponding users, completing the update of the carbon emission reduction data.
[0126] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the carbon emission reduction data method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0127] This application also provides a carbon reduction data update device, please refer to Figure 4 , the carbon emission reduction data updating device comprises:
[0128] A receiving module 10, used to receive the final carbon emission factor issued by the government affairs system;
[0129] An updating module 20, configured to update the card monthly carbon emission reduction data table based on the final carbon emission factor to obtain a final card monthly carbon emission reduction data table;
[0130] The notification module 30 is used to generate carbon emission reduction change details through the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table and notify the corresponding user.
[0131] The carbon emission reduction data updating device provided by the present application adopts the carbon emission reduction data updating method in the above embodiment, which can solve the technical problem that the update of carbon emission factors has a lag, and if a comprehensive update is performed after the carbon emission factors are released, it is easy to cause a poor user experience. Compared with the prior art, the beneficial effects of the carbon emission reduction data updating device provided by the present application are the same as the beneficial effects of the carbon emission reduction data updating method provided by the above embodiment, and the other technical features in the carbon emission reduction data updating device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0132] The present application provides a carbon emission reduction data updating device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the carbon emission reduction data updating method in the above-mentioned embodiment one.
[0133] Reference below Figure 5, which shows a schematic diagram of the structure of a carbon emission reduction data update device suitable for implementing the embodiment of the present application. The carbon emission reduction data update device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The carbon emission reduction data updating device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0134] like Figure 5 As shown, the carbon emission reduction data updating device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM: Read Only Memory) 1002 or the program loaded from the storage device 1003 to the random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the xxx device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the carbon reduction data update device to communicate with other devices wirelessly or by wire to exchange data. Although the carbon reduction data update device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0135] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0136] The carbon emission reduction data update device provided by the present application adopts the carbon emission reduction data update method in the above embodiment, which can solve the technical problem that the update of carbon emission factors is delayed, and if a comprehensive update is performed after the carbon emission factors are released, it is easy to cause poor user experience. Compared with the prior art, the beneficial effects of the carbon emission reduction data update device provided by the present application are the same as the beneficial effects of the carbon emission reduction data update method provided by the above embodiment, and the other technical features in the carbon emission reduction data update device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0137] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0138] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0139] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the carbon emission reduction data updating method in the above-mentioned embodiment.
[0140] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0141] The computer-readable storage medium may be included in the carbon emission reduction data updating device; or may exist independently without being assembled into the carbon emission reduction data updating device.
[0142] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the carbon emission reduction data update device, the carbon emission reduction data update device: receives the final carbon emission factor released by the government system; updates the card monthly carbon emission reduction data table based on the final carbon emission factor to obtain the final card monthly carbon emission reduction data table; generates carbon emission reduction change details through the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table and notifies the corresponding user.
[0143] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0144] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0145] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0146] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned carbon emission reduction data update method, and can solve the technical problem that the update of carbon emission factors is delayed, and if a comprehensive update is performed after the carbon emission factors are released, it is easy to cause poor user experience. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the carbon emission reduction data update method provided by the above-mentioned embodiment, and will not be repeated here.
[0147] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned carbon emission reduction data updating method when executed by a processor.
[0148] The computer program product provided by this application can solve the technical problem that the update of carbon emission factors is delayed, and if a comprehensive update is performed after the carbon emission factors are released, it is easy to cause poor user experience. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the carbon emission reduction data update method provided in the above embodiment, which will not be repeated here.
[0149] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for updating carbon emission reduction data, characterized in that: The method includes: Receive the final carbon emission factor released by the government affairs system; Before the step of receiving the final carbon emission factor issued by the government affairs system, the method further includes: Receive the initial carbon emission factor published by the government affairs system; Acquire the user's travel data, and calculate the travel data using the initial carbon emission factor to obtain the travel carbon emission reduction; Storing the travel carbon emission reduction amount in a preset travel carbon emission reduction detailed list; Acquire the card travel data of the transportation card, calculate the card travel data by the initial carbon emission factor, and obtain the carbon emission reduction of the transportation card travel; Storing the carbon emission reduction of the transportation card in a preset card carbon account data table; Wherein, after the step of storing the carbon emission reduction of the transportation card in a preset card carbon account data table, the method further includes: Analyze the card information of the transportation card to obtain the transportation card binding relationship; Based on the transportation card binding relationship, the card carbon account data table and the travel carbon emission reduction detailed table are attributed and calculated to obtain user attribute information; Storing the user attribution information in a preset user carbon account table; Based on the transportation card binding relationship, the card carbon account data table, the travel carbon emission reduction details table and the user carbon account table are stored in a preset initial card monthly carbon emission reduction data table to obtain a card monthly carbon emission reduction data table; Based on the final carbon emission factor, the card monthly carbon emission reduction data table is updated to obtain a final card monthly carbon emission reduction data table; The step of updating the card monthly carbon emission reduction data table based on the final carbon emission factor to obtain the final card monthly carbon emission reduction data table includes: Analyze the final carbon emission factor to obtain the update range of the card monthly carbon emission reduction data table; Based on the update range, the deviation of the card monthly carbon emission reduction data table is calculated by using the initial carbon emission factor and the final carbon emission factor to obtain a deviation value; The card monthly carbon emission reduction data table is updated based on the deviation value to obtain a final card monthly carbon emission reduction data table; Generate carbon emission reduction change details through the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table and notify the corresponding users; The step of generating carbon emission reduction change details through the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table and notifying the corresponding user includes: Analyze the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table to obtain the correction amount; Generating a correction record through the correction amount, and generating a carbon emission reduction change detail based on the correction record; The carbon emission reduction change details are notified to the corresponding users.
2. The method according to claim 1, characterized in that After the step of generating carbon emission reduction change details through the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table and notifying the corresponding user, the method further includes: Analyze the travel data in the final card's monthly carbon emission reduction to obtain the ride type, ride distance, and ride frequency; Perform carbon emission reduction optimization analysis based on the ride type, ride distance, and ride frequency to obtain an optimization strategy; A corresponding reward mechanism is configured for the optimization strategy and sent to the corresponding user.
3. A carbon emission reduction data updating device, characterized in that: The device comprises: A receiving module, used to receive the final carbon emission factor published by the government affairs system; Wherein, the receiving module is also used to receive the initial carbon emission factor issued by the government affairs system; Acquire the user's travel data, and calculate the travel data using the initial carbon emission factor to obtain the travel carbon emission reduction; Storing the travel carbon emission reduction amount in a preset travel carbon emission reduction detailed list; Acquire the card travel data of the transportation card, calculate the card travel data by the initial carbon emission factor, and obtain the carbon emission reduction of the transportation card travel; Storing the carbon emission reduction of the transportation card in a preset card carbon account data table; Wherein, the receiving module is also used to analyze the card information of the transportation card to obtain the transportation card binding relationship; Based on the transportation card binding relationship, the card carbon account data table and the travel carbon emission reduction detailed table are attributed and calculated to obtain user attribute information; Storing the user attribution information in a preset user carbon account table; Based on the transportation card binding relationship, the card carbon account data table, the travel carbon emission reduction details table and the user carbon account table are stored in a preset initial card monthly carbon emission reduction data table to obtain a card monthly carbon emission reduction data table; An updating module, used to update the card monthly carbon emission reduction data table based on the final carbon emission factor to obtain a final card monthly carbon emission reduction data table; The updating module is further used to analyze the final carbon emission factor to obtain the update range of the card monthly carbon emission reduction data table; Based on the update range, the deviation of the card monthly carbon emission reduction data table is calculated by using the initial carbon emission factor and the final carbon emission factor to obtain a deviation value; The card monthly carbon emission reduction data table is updated based on the deviation value to obtain a final card monthly carbon emission reduction data table; A notification module, used to generate carbon emission reduction change details through the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table and notify the corresponding user; Wherein, the notification module is further used to analyze the final card monthly carbon emission reduction data table and the card monthly carbon emission reduction data table to obtain the correction amount; Generating a correction record through the correction amount, and generating a carbon emission reduction change detail based on the correction record; The carbon emission reduction change details are notified to the corresponding users.
4. A carbon emission reduction data updating device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the carbon emission reduction data updating method according to any one of claims 1 to 2.
5. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the carbon emission reduction data updating method according to any one of claims 1 to 2 are implemented.
6. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the carbon emission reduction data updating method according to any one of claims 1 to 2 are implemented.
