Block chain-based SIM card carbon account data management method and device, and medium

By activating a carbon account on a SIM card and utilizing edge computing and blockchain technology to monitor carbon emissions and execute smart contracts, the problem of insufficient dynamic adjustment in existing carbon credit mechanisms is solved, thereby improving the foresight and economic efficiency of carbon management.

CN121436723AInactive Publication Date: 2026-01-30BEIJING SEGLIANKE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511601956.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-04
Publication Date
2026-01-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing technologies cannot use AI algorithms to identify high carbon emission trends in advance and intervene accordingly. The carbon credit mechanism lacks dynamic adjustment capabilities, and the incentive strategies are not timely or adaptable.

Method used

By activating SIM card carbon accounts, combining edge computing devices and blockchain technology, SIM card usage is monitored, carbon emission data is generated and carbon footprint is calculated, smart contracts are used to execute reward and penalty mechanisms, and AI algorithms are used to predict carbon emission trends and adjust carbon account management strategies.

Benefits of technology

Significantly reduce implementation costs, improve the foresight and economy of carbon management, ensure data accuracy through identity binding, reduce the risk of human intervention, enhance the sensitivity and sustainability of incentive mechanisms, and optimize resource use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121436723A_ABST
    Figure CN121436723A_ABST
Patent Text Reader

Abstract

The invention discloses an SIM card carbon account data management method and device based on a block chain, and a medium, and relates to the technical field of data encryption, and the method comprises the steps: activating an SIM card, obtaining an SIM card carbon account, binding the SIM card carbon account with the user identity information of the SIM card, and generating the initial carbon emission data of the SIM card; monitoring the use condition of the SIM card through an edge computing device, and performing carbon footprint calculation on the use condition of the SIM card and the initial carbon emission data to generate new carbon emission data; and the edge computing device performs carbon emission trend prediction on the final carbon point balance through an AI algorithm to generate a carbon emission prediction value, and the intelligent contract adjusts a management strategy of the SIM card carbon account through the carbon emission prediction value to generate a carbon emission optimization suggestion. According to the invention, the overall carbon emission is reduced through advanced intervention, the resource use is optimized, and the perspectiveness and economy of carbon management are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data encryption technology, and in particular to a blockchain-based method, device, and medium for managing SIM card carbon account data. Background Technology

[0002] Refined carbon footprint measurement and incentive mechanisms have become key supports for green and low-carbon transformation, mainly focusing on industrial energy consumption monitoring and transportation. Data is collected through dedicated sensors, GPS positioning and electricity metering equipment, and centralized carbon accounting is carried out in conjunction with cloud computing platforms. In recent years, blockchain has been introduced into the carbon trading system due to its tamper-proof and traceable characteristics to build a trustworthy carbon asset registration platform. Edge computing technology alleviates the pressure on the cloud by processing data locally, and AI algorithms are also gradually being applied to carbon emission prediction and analysis.

[0003] However, existing technologies still have the following drawbacks: data collection relies on dedicated hardware or complex manual input, resulting in high implementation costs and difficulty in scaling up coverage; carbon credit mechanisms are mostly static rewards and penalties, lacking dynamic adjustment capabilities based on user behavior prediction; they cannot use AI algorithms to identify high carbon emission trends in advance and implement interventions; and the incentive strategies lack real-time performance and adaptability. Summary of the Invention

[0004] In view of the aforementioned existing problems, the present invention is proposed.

[0005] Therefore, this invention provides a blockchain-based SIM card carbon account data management method to solve the problem of not being able to identify high carbon emission trends in advance and implement interventions through AI algorithms.

[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution: In a first aspect, the present invention provides a blockchain-based method for managing SIM card carbon account data, comprising, Activate the SIM card and obtain the SIM card carbon account, bind the SIM card carbon account with the user identity information of the SIM card, and generate the initial carbon emission data of the SIM card; By monitoring SIM card usage through edge computing devices, carbon footprint calculations are performed on SIM card usage and initial carbon emission data to generate new carbon emission data; New carbon emission data is preprocessed and encrypted to generate encrypted carbon emission data packets. Edge computing devices upload the encrypted carbon emission data packets to the blockchain via smart contracts, calculate carbon account points, generate carbon point balances, and credit the carbon point balances to the SIM card carbon account. When new carbon emission data exceeds the carbon emission threshold, a penalty mechanism is executed on the carbon credit balance through a smart contract; conversely, a reward mechanism is executed. The carbon credit balance is adjusted through the reward and penalty mechanisms to generate the final carbon credit balance. Edge computing devices use AI algorithms to predict carbon emission trends based on the final carbon credit balance, generating carbon emission forecast values. Smart contracts then adjust the management strategy of the SIM card carbon account based on these forecast values, generating carbon emission optimization suggestions.

[0007] As a preferred embodiment of the blockchain-based SIM card carbon account data management method of the present invention, the specific steps for generating the initial carbon emission data of the SIM card are as follows: Activate the SIM card to obtain the SIM card carbon account, perform identity authentication and data registration for the SIM card carbon account, and generate the SIM card carbon account ID; Bind the SIM card carbon account ID to the user's identity information to generate binding information; Carbon emissions are calculated based on the user identity attributes and SIM card activation parameters in the binding information to generate initial carbon emission data for the SIM card.

[0008] As a preferred embodiment of the blockchain-based SIM card carbon account data management method of the present invention, the specific steps for generating new carbon emission data are as follows: The edge computing device receives and records the usage of SIM cards, sorts the usage of SIM cards by timestamp according to fixed time windows, and adds a time window index to generate a time windowed original usage record. Data cleaning and aggregation are performed on the original usage records in the time window to generate a usage statistics table; By using edge computing devices, emission factors are generated by mapping various usage indicators in the usage statistics table to the emission factor table. Carbon footprint calculations are performed on emission factors to generate incremental carbon emission values; The initial carbon emission data and incremental carbon emission values ​​of the SIM card are accumulated and merged according to timestamps to generate new carbon emission data.

[0009] As a preferred embodiment of the blockchain-based SIM card carbon account data management method of the present invention, the specific steps for generating encrypted carbon emission data packets are as follows: Perform data integrity verification on the new carbon emission data and generate new carbon emission data that passes the verification. The newly verified carbon emission data is formatted to generate a standardized carbon emission dataset. The standardized carbon emission dataset is compressed and encoded to generate encoded data. The encoded data is then encrypted using an encryption algorithm to generate an encrypted carbon emission data packet.

[0010] As a preferred embodiment of the blockchain-based SIM card carbon account data management method of the present invention, the specific steps for generating carbon credit balance are as follows: Edge computing devices verify the digital signature and timestamp information of encrypted carbon emission data packets through smart contracts. Once the verification is successful, the encrypted carbon emission data packets are uploaded to the blockchain. Read carbon emission information from encrypted carbon emission data packets from the blockchain, calculate carbon account points for the carbon emission information, and generate carbon points values. The carbon credit value is weighted and summed with the current carbon credit balance in the SIM card's carbon account to generate the carbon credit balance.

[0011] As a preferred embodiment of the blockchain-based SIM card carbon account data management method of the present invention, the specific steps for generating the final carbon credit balance are as follows: Carbon emission thresholds are set based on users' historical carbon emission data; When new carbon emission data exceeds the carbon emission threshold, a penalty mechanism is implemented on the carbon credit balance through a smart contract to generate a deducted carbon credit balance. When the new carbon emission data does not exceed the carbon emission threshold, a reward mechanism is executed on the carbon credit balance through a smart contract to generate an increased carbon credit balance. The carbon credit balance is dynamically adjusted and updated by deducting and adding carbon credit balances to generate the final carbon credit balance.

[0012] As a preferred embodiment of the blockchain-based SIM card carbon account data management method of the present invention, the generation of carbon emission prediction values ​​refers to obtaining historical carbon emission data, and the edge computing device performs time series analysis on the historical carbon emission data and the final carbon credit balance through a neural network to generate carbon emission prediction values.

[0013] As a preferred embodiment of the blockchain-based SIM card carbon account data management method of the present invention, the specific steps for generating carbon emission optimization suggestions are as follows: Carbon emission target thresholds are set based on users' actual carbon emissions and carbon reduction targets; When the predicted carbon emissions exceed the carbon emission target threshold, the penalties for the SIM card carbon account will be strengthened through smart contracts. When the predicted carbon emissions do not exceed the carbon emission target threshold, the reward for the SIM card carbon account will be strengthened through smart contracts. Smart contracts optimize the management strategy of SIM card carbon accounts by enhancing the incentives and penalties, and generate suggestions for optimizing carbon emissions.

[0014] In a second aspect, the present invention provides a computer device including a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program is executed by the processor, it implements any step of the blockchain-based SIM card carbon account data management method as described in the first aspect of the present invention.

[0015] Thirdly, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, it implements any step of the blockchain-based SIM card carbon account data management method as described in the first aspect of the present invention.

[0016] The beneficial effects of this invention are as follows: by using the ubiquitous SIM card as a device, implementation costs are significantly reduced; by identity binding and parameter estimation, the personalization and accuracy of data are ensured; by edge processing, the amount of data uploaded is reduced, thus reducing the computing pressure on the cloud; by using smart contracts to automatically calculate points, the risk of human intervention is reduced; by using smart contracts to automatically execute rewards and penalties, combined with dynamic adjustment coefficients, excessive fluctuations in points are avoided, thereby improving the sensitivity and sustainability of the incentive mechanism; and by intervening in advance, overall carbon emissions are reduced, resource use is optimized, and the foresight and economy of carbon management are enhanced. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a flowchart of a blockchain-based SIM card carbon account data management method.

[0019] Figure 2 A flowchart for binding a SIM card carbon account and generating initial carbon emission data.

[0020] Figure 3 A flowchart for generating new carbon emission data.

[0021] Figure 4 A flowchart for generating the final carbon integral balance. Detailed Implementation

[0022] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0023] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.

[0024] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The phrase "in one embodiment" appearing in different places in this specification does not necessarily refer to the same embodiment, nor is it a single or selective embodiment that is mutually exclusive with other embodiments.

[0025] Reference Figures 1-4 This is one embodiment of the present invention, which provides a blockchain-based SIM card carbon account data management method, device, and medium, including the following steps: S1: Activate the SIM card and obtain the SIM card carbon account, bind the SIM card carbon account with the SIM card user identity information, and generate the initial carbon emission data of the SIM card.

[0026] S1.1: Activate the SIM card to obtain the SIM card carbon account, perform identity authentication and data registration for the SIM card carbon account, and generate the SIM card carbon account ID.

[0027] When the SIM card is initially inactive, it is activated via the communication network. During activation, the SIM card is identified through the communication network, a unique identification code is output, and this unique identification code is entered into the SIM card carbon account. After receiving the unique identification code, the SIM card carbon account management terminal binds the SIM card carbon account to the unique identification code and performs identity authentication on the SIM card carbon account. Specifically, it verifies the consistency between the unique identification code and the information registered on the communication network, and checks the consistency between the user registration information of the SIM card and the user identity information in the operator. After identity authentication is completed, data registration is performed on the SIM card carbon account to generate a SIM card carbon account ID. Data registration includes recording the basic information of the SIM card, communication network information, and user identity information.

[0028] S1.2: Bind the SIM card carbon account ID to the user's identity information and generate binding information.

[0029] The SIM card carbon account management terminal receives the SIM card carbon account ID and user identity information, and performs association matching processing on the SIM card carbon account ID and user identity information. Specifically, it maps the SIM card carbon account ID to the corresponding user identity information one-to-one to ensure a unique correspondence between the SIM card carbon account ID and user identity information. After completing the association matching, it integrates the SIM card carbon account ID and user identity information to generate a structured binding data record, and stores the structured binding data record as binding information.

[0030] S1.3: Calculate carbon emissions from the user identity attributes and SIM card activation parameters in the binding information to generate initial carbon emission data for the SIM card.

[0031] User identity attributes and SIM card activation parameters are extracted from the binding information using data parsing methods. User identity attributes include the user's region, service type, regional energy consumption coefficient, and communication frequency. SIM card activation parameters include activation time, initial communication rate, signal type, and network connection energy consumption. Carbon emission estimation methods are used to analyze these attributes and parameters, generating carbon emission values ​​corresponding to each attribute and parameter. Specifically, the product of user service type, regional energy consumption coefficient, and communication frequency is used as the carbon emission value for the user identity attribute, and the product of activation time, initial communication rate, and network connection energy consumption is used as the carbon emission value for the SIM card activation parameter. The carbon emission values ​​corresponding to user identity attributes and SIM card activation parameters are weighted and aggregated to generate preliminary carbon emission data. The weights of the aggregate are determined by the user's business activity level and the business energy consumption level of the SIM card activation parameters, reflecting the user's carbon emission characteristics in the initial stage of SIM card activation. For example, when the user's business activity level is high, the weight of the carbon emission value corresponding to the user identity attribute can be set to 0.6, and the weight of the carbon emission value corresponding to the SIM card activation parameters can be set to 0.4. The preliminary carbon emission data is then standardized by converting carbon emission values ​​of different dimensions into standard carbon emission units to obtain standardized carbon emission data. This standardized carbon emission data is used as the initial carbon emission data for the SIM card carbon account.

[0032] S2: Monitor SIM card usage through edge computing devices, calculate carbon footprint based on SIM card usage and initial carbon emission data, and generate new carbon emission data.

[0033] S2.1: Receive and record SIM card usage information through edge computing devices, sort SIM card usage information by timestamp according to fixed time windows, and attach time window indexes to generate time-windowed raw usage records.

[0034] The edge computing device receives SIM card usage data during operation, including voice call records, SMS sending records, data traffic records, and network access records. After receiving the data, the edge computing device adds timestamps to the different data in the usage data according to the order of receipt and sorts them by timestamp. The timestamp sorting rearranges the usage data according to the order of timestamps to generate sorted usage data to ensure the temporal continuity of data records. The edge computing device then groups the sorted usage data into fixed time windows. The length of the fixed time window is set according to actual business needs, for example, 5 minutes, 10 minutes, and 30 minutes as a time window, and assigns a unique time window index to each time window. The usage data within each time window is bound to the corresponding time window index to generate a structured dataset with time window index. All structured datasets within all time windows are summarized in chronological order to generate time-windowed raw usage records. The time-windowed raw usage records are used to represent the usage behavior characteristics of the SIM card within a continuous time period.

[0035] S2.2: Perform data cleaning and aggregation on the original usage records in the time window to generate a usage statistics table.

[0036] Data cleaning is performed on the original usage records in the time window format. Specifically, duplicate records, records with abnormal timestamps and missing records are removed. Format errors in voice call records, SMS sending records, data traffic records, and network access records are identified and corrected to generate cleaned original usage records in the time window format. Data aggregation processing is then performed on the cleaned original usage records in the time window format. Specifically, for voice call records within each time window, the number of calls and call duration are counted; for SMS sending records, the number of SMS messages sent is counted; for data traffic records, the total data traffic is counted; and for network access records, the number of network accesses and connection duration are counted. The number of calls, call duration, number of SMS messages sent, total data traffic, number of network accesses, and connection duration corresponding to each time window are integrated according to the time window index to generate a usage statistics table.

[0037] S2.3: Using an emission factor table via edge computing devices, the usage indicators in the usage statistics table are mapped to emission factors.

[0038] The edge computing device reads various usage metrics from the usage statistics table. These metrics include the number of calls, call duration, number of SMS messages sent, total data traffic, number of network accesses, and connection duration within each time window. An emission factor table is used to map these metrics, outputting the corresponding emission factors. Specifically, the edge computing device retrieves the emission factors corresponding to each usage metric from the emission factor table based on the communication service type: voice service, SMS service, data transmission, and network connection. For example, the number of calls and call duration correspond to the voice service emission factor, the number of SMS messages sent corresponds to the SMS service emission factor, the total data traffic corresponds to the data transmission emission factor, and the number of network accesses and connection duration correspond to the network connection emission factor.

[0039] It should be noted that the emission factor table is a comparison table established by communication service type, energy consumption coefficient and carbon emission coefficient, used to determine the carbon emission level corresponding to different communication behaviors.

[0040] S2.4: Calculate the carbon footprint of emission factors to generate incremental carbon emission values.

[0041] Carbon emissions are calculated for each emission factor corresponding to each usage indicator. The carbon emissions are determined by multiplying energy consumption by the emission factor. For example, the carbon emissions for voice service emission factor are the product of call duration and voice service emission factor. Similarly, the carbon emissions for SMS service emission factor are the product of SMS number sent and SMS service emission factor. The carbon emissions for data transmission service emission factor are the product of total data traffic and data transmission emission factor. The carbon emissions for network connection service emission factor are the product of connection duration and network connection emission factor. The carbon emissions corresponding to each communication service type are accumulated and summarized according to the time window index to generate the total carbon emissions within each time window. The change in total carbon emissions between adjacent time windows is used as the incremental carbon emissions value.

[0042] S2.5: The initial carbon emission data and incremental carbon emission values ​​of the SIM card are accumulated and merged according to the timestamp to generate new carbon emission data.

[0043] The initial carbon emission data and incremental carbon emission values ​​of the SIM card are accumulated and merged by aligning with timestamps. Specifically, the initial carbon emission data and incremental carbon emission values ​​of the SIM card are time-matched by timestamps to ensure that the incremental carbon emission values ​​correspond one-to-one with the initial carbon emission data at the same timestamp. If there is a time deviation between the initial carbon emission data and the incremental carbon emission values, the timestamps are calibrated by time interpolation to ensure consistency of the time series. After time matching is completed, the incremental carbon emission values ​​of each time window are superimposed on the corresponding initial carbon emission data according to the time window index to form a continuous carbon emission accumulation sequence. The carbon emission accumulation sequence is then smoothed to eliminate carbon emission anomalies caused by fluctuations in communication services. The smoothed carbon emission accumulation sequence is then integrated in chronological order to generate new carbon emission data.

[0044] S3: Preprocess and encrypt new carbon emission data to generate encrypted carbon emission data packets. Edge computing devices upload the encrypted carbon emission data packets to the blockchain via smart contracts, calculate carbon account points, generate carbon point balances, and credit the carbon point balances to the SIM card carbon account.

[0045] S3.1: Perform data integrity verification on the new carbon emission data, generate new carbon emission data that passes the verification, format the new carbon emission data that passes the verification, and generate a standardized carbon emission dataset.

[0046] The new carbon emission data undergoes data integrity verification. Specifically, field validation methods are used to check the completeness of timestamps, time window indexes, and carbon emission values ​​in the new carbon emission data. If missing records are found, they are filled in using time interpolation. Logical validation is performed on the numerical range of the new carbon emission data. If abnormal data is found, it is removed or replaced. After completing field validation and logical validation, the new carbon emission data undergoes a duplicate check. Duplicate records are identified by comparing timestamps and time window indexes, and duplicate records are deleted to prevent cumulative errors. The validated new carbon emission data is then output. The validated new carbon emission data is then formatted. Specifically, the time field in the validated new carbon emission data is uniformly converted to a standard time format, and the carbon emission value field is uniformly converted to a standard carbon emission unit. The formatted new carbon emission data is then organized according to the field order and data standard structure to generate a standardized carbon emission dataset.

[0047] S3.2: Compress and encode the standardized carbon emission dataset to generate encoded data, and encrypt the encoded data using an encryption algorithm to generate an encrypted carbon emission data packet.

[0048] The duplicate fields and redundant records in the standardized carbon emission dataset are deduplicated and reorganized. After deduplication, the data is reorganized into a compressible data sequence in the order of arrangement. The compressible data sequence is then encoded using a compression algorithm, such as Huffman coding, to generate encoded data. The encoded data is then encrypted using a symmetric encryption algorithm to generate encrypted encoded data. Finally, the encrypted encoded data is structured and organized to generate an encrypted carbon emission data packet.

[0049] S3.3: Edge computing devices verify the digital signature and timestamp information of encrypted carbon emission data packets through smart contracts, and upload the encrypted carbon emission data packets to the blockchain after successful verification.

[0050] Digital signatures and timestamps are extracted from encrypted carbon emission data packets using edge computing devices. The digital signature identifies the trustworthiness of the encrypted carbon emission data packet's origin, while the timestamp verifies the validity of the data packet's generation time. The digital signature is verified using a built-in digital signature verification method within a smart contract, checking the match between the signature key and public key to determine the authenticity of the data packet's origin. If the digital signature verification fails, a failure message is recorded, and the upload operation is terminated. If the digital signature verification succeeds, the timestamp information is compared and verified via the smart contract, specifically based on real-time requirements and the number of carbon accounts. According to management requirements, an allowed time range is set, typically ±24 hours. This means that timestamp information must be within 24 hours before or after the current time to be considered valid data. If the timestamp information exceeds the allowed time range, it is judged as an invalid data packet and will not be uploaded. Using a range of ±24 hours can effectively ensure the timeliness of encrypted carbon emission data packets. Outdated encrypted carbon emission data packets may not comply with the current carbon emission management strategy, leading to misjudgments. Once the digital signature and timestamp information of the encrypted carbon emission data packet are verified, the smart contract generates a verification pass identifier and writes the encrypted carbon emission data packet to the blockchain through an edge computing device, completing the on-chain operation of the encrypted carbon emission data packet.

[0051] S3.4: Read carbon emission information from the encrypted carbon emission data packet from the blockchain, calculate carbon account points for the carbon emission information, and generate carbon points value.

[0052] The edge computing device reads carbon emission information from encrypted carbon emission data packets in the blockchain. This carbon emission information represents the carbon emission value of the SIM card within a specific time window. The carbon emission information is decrypted using a decryption algorithm matched to the encryption algorithm to recover the plaintext content of the carbon emission information, ensuring the identifiability and accuracy of the read data. The decrypted carbon emission information is then generated, and carbon account points are calculated. Specifically, when the carbon emission value corresponding to the carbon emission information is low, a high points ratio is used to calculate the carbon points value; when the carbon emission value corresponding to the carbon emission information is high, a low points ratio is used to calculate the carbon points value. The carbon points value is calculated using a fixed points ratio per unit of carbon emission. For example, when the carbon emission value is lower than 80% of the user's historical average carbon emission value, it is considered a low carbon emission value, and 1 unit of carbon emission value corresponds to 1.5 carbon points. When the carbon emission value is higher than 120% of the user's historical average carbon emission value, it is considered a high carbon emission value, and 1 unit of carbon emission value corresponds to 0.5 carbon points.

[0053] S3.5: Weighted summation of carbon credits value and current carbon credit balance in SIM card carbon account to generate carbon credit balance.

[0054] The edge computing device reads the current carbon credit balance from the SIM card's carbon account and pairs the current carbon credit balance with the carbon credit value to ensure consistent account correspondence. A weighted accumulation coefficient is determined based on the time attribute and carbon credit change trend of the carbon credit value to balance the influence of historical and new credits in the account. Specifically, when the time window corresponding to the carbon credit value is close, the weighted accumulation coefficient can be set to a higher value to enhance the immediate impact of new credits on the carbon account; when the time window corresponding to the carbon credit value is far away, the weighted accumulation coefficient can be set to a lower value to maintain the stability of account credits. The terms "recent" and "farther" refer to different time windows for carbon credit values. For example, if the time window is in days, a carbon credit value within the current time window is considered "recent" and the weighted accumulation factor is set to 0.7. Conversely, a carbon credit value within the current time window is considered "farther" and the weighted accumulation factor is set to 0.3. A weighted accumulation operation is then performed on the carbon credit value and the current carbon credit balance in the SIM card's carbon account to generate the carbon credit balance.

[0055] The expression for the carbon integral balance is:

[0056] in, For carbon credit balance, This refers to the current carbon credit balance in the SIM card's carbon account. The weighted cumulative coefficient, This represents the carbon integral value.

[0057] S4: When new carbon emission data exceeds the carbon emission threshold, a penalty mechanism is executed on the carbon credit balance through a smart contract; otherwise, a reward mechanism is executed. The carbon credit balance is adjusted through the reward and penalty mechanisms to generate the final carbon credit balance.

[0058] S4.1: Set carbon emission thresholds based on users' historical carbon emission data. When new carbon emission data exceeds the carbon emission threshold, execute a penalty mechanism on the carbon credit balance through a smart contract to generate a deducted carbon credit balance.

[0059] Carbon emission thresholds are set based on users' historical carbon emission data. These thresholds are used to determine whether new carbon emission data exceeds the allowable range. A typical value range is 0.8-1.2. Using this range ensures sensitivity in carbon emission assessment while avoiding excessively low thresholds that lead to frequent penalties or excessively high thresholds that cause incentive failure. This improves the accuracy and stability of dynamic adjustments to the carbon account. The smart contract compares the new carbon emission data with the threshold. When the new carbon emission data exceeds the threshold, a penalty mechanism is triggered, deducting carbon credits from the balance. Specifically, the smart contract reads the carbon credit balance and determines the deduction percentage based on the extent of the exceedance. The greater the exceedance, the higher the deduction percentage. For example, if the new carbon emission data exceeds the threshold by 10%, the deduction percentage can be set to 5%; if it exceeds 20%, the deduction percentage can be set to 10%. The smart contract calculates the amount of carbon credits to be deducted based on the deduction percentage and deducts it from the carbon credit balance, generating the deducted carbon credit balance.

[0060] S4.2: When the new carbon emission data does not exceed the carbon emission threshold, a reward mechanism is executed on the carbon credit balance through a smart contract to generate an increased carbon credit balance.

[0061] The smart contract reads the current carbon credit balance through an edge computing device and associates it with new carbon emission data to determine the applicable time window for the reward mechanism. The smart contract calculates a reward coefficient based on the percentage deviation of the new carbon emission data from the carbon emission threshold. This reward coefficient determines the percentage increase in the carbon credit balance and typically ranges from 0.05 to 0.2. When the new carbon emission data is close to the carbon emission threshold, the reward coefficient is set to 0.05 to avoid over-rewarding. When the new carbon emission data is significantly lower than the carbon emission threshold, the reward coefficient is set to 0.2 to encourage low-carbon behavior. For example, when the new carbon emission data is 10% lower than the carbon emission threshold, the reward coefficient can be set to 0.05; when it is 30% lower, the reward coefficient can be set to 0.15; and when it is more than 50% lower, the reward coefficient can be set to 0.2. The smart contract performs reward calculations using the carbon credit balance and the reward coefficient, multiplying the carbon credit balance by the reward coefficient as the reward points value, and adding the reward points value to the original carbon credit balance to generate the increased carbon credit balance.

[0062] S4.3: The carbon credit balance is dynamically adjusted and updated by deducting the carbon credit balance and adding the carbon credit balance to generate the final carbon credit balance.

[0063] The edge computing device receives the carbon credit balance after deduction and the carbon credit balance after increase. It then performs time matching between the two balances using a time window index. Specifically, the percentage deviation between the deducted and increased carbon credit balances is used as the reduction rate, and similarly, the percentage deviation between the increased and increased carbon credit balances is used as the increase rate. A dynamic adjustment coefficient is determined based on these reduction and increase rates. This coefficient balances the combined impact of penalty and reward mechanisms on the carbon credit balance, typically ranging from 0.4 to 0.6. When the reduction is significant, a coefficient of 0.4 is used to weaken the impact of the reward mechanism; when the reduction is small and the increase is large, a coefficient of 0.6 is used to enhance the weight of the reward mechanism. For example, when the reduction exceeds 10%, the coefficient can be set to 0.4; when the reduction is less than 5%, the coefficient can be set to 0.6. A dynamic balance calculation is then performed on the deducted and increased carbon credit balances to generate the final carbon credit balance.

[0064] The expression for the final carbon integral balance is:

[0065] in, For the final carbon credit balance, This is the carbon credit balance after deduction. The increased carbon credit balance, This is a dynamically adjusted coefficient.

[0066] S5: Edge computing devices use AI algorithms to predict carbon emission trends based on the final carbon credit balance, generating carbon emission forecast values. Smart contracts then adjust the management strategy of the SIM card carbon account based on these forecast values, generating carbon emission optimization suggestions.

[0067] S5.1: Acquire historical carbon emission data. Edge computing devices use neural networks to perform time series analysis on historical carbon emission data and the final carbon credit balance to generate carbon emission prediction values.

[0068] Historical carbon emission data is acquired through edge computing devices and preprocessed. Specifically, missing carbon emission records are completed, abnormal carbon emission values ​​are removed, and timestamp formats are standardized to generate a continuous historical carbon emission sequence. This historical carbon emission sequence data is then fused with the final carbon credit balance. Specifically, the time index of the historical carbon emission sequence data is matched with the time window corresponding to the final carbon credit balance to generate a time series dataset with a one-to-one correspondence between the carbon emission sequence data and the final carbon credit balance. The edge computing device performs time series analysis on the fused time series dataset using a neural network. The neural network consists of an input layer, a hidden layer, and an output layer. The input layer receives the historical carbon emission sequence data and the final carbon credit balance of the corresponding time window. The hidden layer extracts time-dependent features and periodic fluctuation features. The output layer outputs the initial carbon emission prediction value. The initial carbon emission prediction value is weighted and averaged using a moving average method to generate the carbon emission prediction value.

[0069] S5.2: Set carbon emission target thresholds based on the user's actual carbon emissions and carbon reduction targets. When the predicted carbon emissions exceed the carbon emission target threshold, strengthen the penalty for the SIM card carbon account through smart contracts. When the predicted carbon emissions do not exceed the carbon emission target threshold, strengthen the reward for the SIM card carbon account through smart contracts.

[0070] The carbon emission target threshold is determined based on the ratio between the user's actual carbon emissions and the carbon reduction target. Specifically, the user's actual average carbon emissions are multiplied by the carbon reduction target to generate the carbon emission target threshold. The value is typically set between 0.6 and 1.0 times the user's actual average carbon emissions. For example, when the user's carbon reduction target is 10%, the carbon emission target threshold can be set at 0.9 times the user's average carbon emissions. When the user's carbon reduction target is 20%, the carbon emission target threshold can be set at 0.8 times the user's average carbon emissions. Using a value between 0.6 and 1.0 can balance the tolerance for prediction errors with the achievability of the user's target, avoid misjudgments caused by slight fluctuations in carbon emission predictions, and ensure that the carbon emission target threshold can reflect the dynamic balance between the user's emission reduction target requirements and the actual emission baseline.

[0071] The smart contract compares the predicted carbon emissions with the target threshold. When the predicted carbon emissions exceed the target threshold, the smart contract triggers a penalty mechanism, applying a stronger penalty to the carbon credit balance in the SIM card carbon account. For example, if the predicted carbon emissions exceed the target threshold by 10%, the penalty intensity is set to 1.2 times the original penalty ratio; if the predicted carbon emissions exceed the target threshold by 20%, the penalty intensity is set to 1.5 times the original penalty ratio. The smart contract calculates the carbon credits to be deducted based on the penalty intensity and applies the corresponding reduction to the carbon credit balance in the SIM card carbon account, thus creating a stronger penalty. Similarly, if the predicted carbon emissions do not exceed the target threshold, the smart contract triggers a reward mechanism, applying a stronger reward to the carbon credit balance in the SIM card carbon account and accumulating the reward points to create a stronger reward.

[0072] S5.3: The smart contract optimizes the management strategy of the SIM card carbon account by strengthening the reward and penalty measures, and generates carbon emission optimization suggestions.

[0073] The smart contract receives the enhanced reward and penalty levels, encapsulates the current carbon credit balance, historical carbon credit change rate, and carbon emission prediction value of the SIM card carbon account as input datasets, and determines adjustable parameters of the management strategy through the smart contract. These parameters include the carbon credit adjustment ratio, the credit calculation cycle, and the carbon emission threshold correction coefficient. The carbon credit adjustment ratio controls the sensitivity of credit changes, the credit calculation cycle sets the time interval for carbon credit updates, and the carbon emission threshold correction coefficient dynamically adjusts the threshold range to adapt to changes in user carbon emission behavior. The adjusted parameters are weighted by the enhanced reward and penalty levels to generate adjusted adjustable parameters. Specifically, when the enhanced reward level is high, the carbon credit adjustment ratio is increased and the credit calculation cycle is shortened to improve the positive feedback speed of credits. For example, when the enhanced reward level is 1.5 times or more of the base reward level, it indicates a high enhanced reward level and significant low-carbon behavior by the user. When the enhanced penalty level is high, the carbon credit adjustment ratio is decreased and the credit calculation cycle is extended. To enhance the sustained binding effect of penalties, for example, when the enhanced penalty intensity is 1.5 times or more of the base penalty intensity, it indicates that the enhanced penalty intensity is high and the user's carbon emission behavior is relatively serious. The smart contract recalculates the operating configuration of the SIM card carbon account based on the adjusted adjustable parameters, generating parameter optimization results. The smart contract performs decision rule analysis on the parameter optimization results. The decision rule analysis includes matching judgments on the enhanced reward intensity, enhanced penalty intensity, carbon credit adjustment ratio, and credit calculation cycle. Specifically, when the enhanced reward intensity is higher, it indicates that the user's carbon emission behavior is lower. The carbon credit adjustment ratio should be increased and the credit calculation cycle shortened to quickly respond to and encourage low-carbon behavior. When the enhanced penalty intensity is higher, it indicates that the user's carbon emission behavior is higher. The carbon credit adjustment ratio should be reduced and the credit calculation cycle extended to increase the sustained binding force of the penalty. The optimization direction of the management strategy is determined by the enhanced reward intensity, enhanced penalty intensity, carbon credit adjustment ratio, and credit calculation cycle, generating carbon emission optimization suggestions.

[0074] This embodiment also provides a computer device applicable to the blockchain-based SIM card carbon account data management method, device, and medium, including: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the blockchain-based SIM card carbon account data management method, device, and medium proposed in the above embodiment.

[0075] The computer device can be a terminal, comprising a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, carrier networks, NFC (Near Field Communication), or other technologies. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.

[0076] This embodiment also provides a storage medium storing a computer program. When executed by a processor, the program implements the blockchain-based SIM card carbon account data management method, device, and medium as proposed in the above embodiments. The storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Red-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0077] In summary, this invention significantly reduces implementation costs by utilizing the ubiquitous SIM card; ensures data personalization and accuracy through identity binding and parameter estimation; reduces data upload volume and cloud computing pressure through edge processing; minimizes the risk of human intervention by automatically calculating points through smart contracts; automatically executes rewards and penalties through smart contracts, combined with dynamic adjustment coefficients, to avoid excessive point fluctuations and improve the sensitivity and sustainability of the incentive mechanism; and reduces overall carbon emissions and optimizes resource use through early intervention, thereby enhancing the foresight and economy of carbon management.

[0078] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A blockchain-based method for managing carbon account data of a SIM card, characterized in that: comprising, activating the SIM card and obtaining a SIM card carbon account, binding the SIM card carbon account with user identity information of the SIM card, and generating initial carbon emission data of the SIM card; monitoring the use of the SIM card by the edge computing device, performing carbon footprint calculation on the use of the SIM card and the initial carbon emission data, and generating new carbon emission data; preprocessing and encrypting the new carbon emission data to generate an encrypted carbon emission data package, uploading the encrypted carbon emission data package to the blockchain through the smart contract by the edge computing device, and performing carbon account point calculation to generate a carbon point balance, and adding the carbon point balance to the SIM card carbon account; when the new carbon emission data exceeds the carbon emission threshold, performing a penalty mechanism on the carbon point balance through the smart contract, otherwise, performing a reward mechanism, adjusting the carbon point balance through the reward mechanism and the penalty mechanism, and generating a final carbon point balance; the edge computing device performs carbon emission trend prediction on the final carbon point balance through an AI algorithm to generate a carbon emission prediction value, and the smart contract adjusts the management strategy of the SIM card carbon account through the carbon emission prediction value to generate a carbon emission optimization suggestion. 2.The blockchain-based SIM card carbon account data management method of claim 1, wherein: The specific steps of generating the initial carbon emission data of the SIM card are as follows, activating the SIM card to obtain a SIM card carbon account, performing identity authentication and data registration on the SIM card carbon account, and generating a SIM card carbon account ID; binding the SIM card carbon account ID with the user identity information to generate binding information; calculating the carbon emission amount of the user identity attribute and the SIM card activation parameter in the binding information to generate the initial carbon emission data of the SIM card. 3.The blockchain-based SIM card carbon account data management method of claim 1, wherein: The specific steps of generating the new carbon emission data are as follows, receiving and recording the use of the SIM card by the edge computing device, timestamp sorting the use of the SIM card according to a fixed time window, and attaching a time window index to generate a time windowed original use record; performing data cleaning and aggregation on the time windowed original use record to generate a use statistics table; mapping each use index in the use statistics table using an emission factor table through the edge computing device to generate an emission factor; performing carbon footprint calculation on the emission factor to generate an incremental carbon emission value; adding and merging the initial carbon emission data of the SIM card and the incremental carbon emission value according to the timestamp to generate the new carbon emission data. 4.The blockchain-based SIM card carbon account data management method of claim 1, wherein: The specific steps of generating the encrypted carbon emission data package are as follows, performing data integrity verification on the new carbon emission data to generate verified new carbon emission data; formatting the verified new carbon emission data to generate a standardized carbon emission data set; compressing and encoding the standardized carbon emission data set to generate encoded data, encrypting the encoded data through an encryption algorithm to generate an encrypted carbon emission data package. 5.The blockchain-based SIM card carbon account data management method of claim 1, wherein: The specific steps of generating the carbon point balance are as follows, the edge computing device verifies the digital signature and timestamp information of the encrypted carbon emission data package through the smart contract, and uploads the encrypted carbon emission data package to the blockchain after verification; reading the carbon emission amount information in the encrypted carbon emission data package from the blockchain, and performing carbon account point calculation on the carbon emission amount information to generate a carbon point value; The carbon credit value is weighted and accumulated with the current carbon credit balance of the SIM card carbon account to generate a carbon credit balance. 6.The blockchain-based SIM card carbon account data management method of claim 1, wherein: The final carbon credit balance is generated, and the specific steps are as follows, A carbon emission threshold is set according to historical carbon emission data of the user. When the new carbon emission data exceeds the carbon emission threshold, a penalty mechanism is executed on the carbon credit balance through the smart contract to generate a deducted carbon credit balance. When the new carbon emission data does not exceed the carbon emission threshold, a reward mechanism is executed on the carbon credit balance through the smart contract to generate an increased carbon credit balance. The final carbon credit balance is generated by dynamically adjusting and updating the carbon credit balance through the deducted carbon credit balance and the increased carbon credit balance. 7.The blockchain-based SIM card carbon account data management method of claim 1, wherein: The generation of the carbon emission prediction value refers to obtaining historical carbon emission data, and the edge computing device performs time series analysis on the historical carbon emission data and the final carbon credit balance through a neural network to generate a carbon emission prediction value. 8.The blockchain-based SIM card carbon account data management method of claim 1, wherein: The generation of the carbon emission optimization suggestion, and the specific steps are as follows, A carbon emission target threshold is set according to the actual carbon emission situation and the carbon emission reduction target of the user. When the carbon emission prediction value exceeds the carbon emission target threshold, the SIM card carbon account is punished more severely through the smart contract. When the carbon emission prediction value does not exceed the carbon emission target threshold, the SIM card carbon account is rewarded more severely through the smart contract. The smart contract optimizes the management strategy of the SIM card carbon account through the strengthened reward intensity and punishment intensity to generate a carbon emission optimization suggestion. 9.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is characterized in that: The processor executes the computer program to realize the steps of the SIM card carbon account data management method based on the blockchain in any one of claims 1-8.

10. A computer readable storage medium having stored thereon a computer program, characterized in that: The computer program is executed by the processor to realize the steps of the SIM card carbon account data management method based on the blockchain in any one of claims 1-8.